Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
common.c File Reference
#include <linux/sched.h>
#include <linux/pci.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/dmi.h>
#include <linux/slab.h>
#include <asm-generic/pci-bridge.h>
#include <asm/acpi.h>
#include <asm/segment.h>
#include <asm/io.h>
#include <asm/smp.h>
#include <asm/pci_x86.h>

Go to the source code of this file.

Functions

int raw_pci_read (unsigned int domain, unsigned int bus, unsigned int devfn, int reg, int len, u32 *val)
 
int raw_pci_write (unsigned int domain, unsigned int bus, unsigned int devfn, int reg, int len, u32 val)
 
 DEFINE_RAW_SPINLOCK (pci_config_lock)
 
void __init dmi_check_skip_isa_align (void)
 
void __devinit pcibios_fixup_bus (struct pci_bus *b)
 
void __init dmi_check_pciprobe (void)
 
struct pci_bus *__devinit pcibios_scan_root (int busnum)
 
void __init pcibios_set_cache_line_size (void)
 
int __init pcibios_init (void)
 
char *__init pcibios_setup (char *str)
 
unsigned int pcibios_assign_all_busses (void)
 
int pcibios_enable_device (struct pci_dev *dev, int mask)
 
void pcibios_disable_device (struct pci_dev *dev)
 
int pci_ext_cfg_avail (struct pci_dev *dev)
 
struct pci_bus *__devinit pci_scan_bus_on_node (int busno, struct pci_ops *ops, int node)
 
struct pci_bus *__devinit pci_scan_bus_with_sysdata (int busno)
 

Variables

unsigned int pci_probe
 
unsigned int pci_early_dump_regs
 
int pci_routeirq
 
int noioapicquirk
 
int noioapicreroute = 1
 
int pcibios_last_bus = -1
 
unsigned long pirq_table_addr
 
struct pci_buspci_root_bus
 
struct pci_raw_ops *__read_mostly raw_pci_ops
 
struct pci_raw_ops *__read_mostly raw_pci_ext_ops
 
struct pci_ops pci_root_ops
 

Function Documentation

DEFINE_RAW_SPINLOCK ( pci_config_lock  )
void __init dmi_check_pciprobe ( void  )

Definition at line 442 of file common.c.

void __init dmi_check_skip_isa_align ( void  )

Definition at line 122 of file common.c.

int pci_ext_cfg_avail ( struct pci_dev dev)

Definition at line 629 of file common.c.

struct pci_bus* __devinit pci_scan_bus_on_node ( int  busno,
struct pci_ops ops,
int  node 
)
read

Definition at line 637 of file common.c.

struct pci_bus* __devinit pci_scan_bus_with_sysdata ( int  busno)
read

Definition at line 665 of file common.c.

unsigned int pcibios_assign_all_busses ( void  )

Definition at line 606 of file common.c.

void pcibios_disable_device ( struct pci_dev dev)

Definition at line 623 of file common.c.

int pcibios_enable_device ( struct pci_dev dev,
int  mask 
)

Definition at line 611 of file common.c.

void __devinit pcibios_fixup_bus ( struct pci_bus b)

Definition at line 164 of file common.c.

int __init pcibios_init ( void  )

Definition at line 482 of file common.c.

struct pci_bus* __devinit pcibios_scan_root ( int  busnum)
read

Definition at line 447 of file common.c.

void __init pcibios_set_cache_line_size ( void  )

Definition at line 462 of file common.c.

char* __init pcibios_setup ( char str)

Definition at line 497 of file common.c.

int raw_pci_read ( unsigned int  domain,
unsigned int  bus,
unsigned int  devfn,
int  reg,
int  len,
u32 val 
)

Definition at line 40 of file common.c.

int raw_pci_write ( unsigned int  domain,
unsigned int  bus,
unsigned int  devfn,
int  reg,
int  len,
u32  val 
)

Definition at line 50 of file common.c.

Variable Documentation

int noioapicquirk

Definition at line 28 of file common.c.

int noioapicreroute = 1

Definition at line 32 of file common.c.

unsigned int pci_early_dump_regs

Definition at line 24 of file common.c.

unsigned int pci_probe
Initial value:

Definition at line 21 of file common.c.

struct pci_bus* pci_root_bus

Definition at line 36 of file common.c.

struct pci_ops pci_root_ops
Initial value:
= {
.read = pci_read,
.write = pci_write,
}

Definition at line 72 of file common.c.

int pci_routeirq

Definition at line 27 of file common.c.

int pcibios_last_bus = -1

Definition at line 34 of file common.c.

unsigned long pirq_table_addr

Definition at line 35 of file common.c.

struct pci_raw_ops* __read_mostly raw_pci_ext_ops

Definition at line 38 of file common.c.

Definition at line 37 of file common.c.