Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
pci_x86.h File Reference

Go to the source code of this file.

Data Structures

struct  irq_info
 
struct  irq_routing_table
 
struct  pci_raw_ops
 
struct  pci_mmcfg_region
 

Macros

#define DBG(fmt,...)
 
#define PCI_PROBE_BIOS   0x0001
 
#define PCI_PROBE_CONF1   0x0002
 
#define PCI_PROBE_CONF2   0x0004
 
#define PCI_PROBE_MMCONF   0x0008
 
#define PCI_PROBE_MASK   0x000f
 
#define PCI_PROBE_NOEARLY   0x0010
 
#define PCI_NO_CHECKS   0x0400
 
#define PCI_USE_PIRQ_MASK   0x0800
 
#define PCI_ASSIGN_ROMS   0x1000
 
#define PCI_BIOS_IRQ_SCAN   0x2000
 
#define PCI_ASSIGN_ALL_BUSSES   0x4000
 
#define PCI_CAN_SKIP_ISA_ALIGN   0x8000
 
#define PCI_USE__CRS   0x10000
 
#define PCI_CHECK_ENABLE_AMD_MMCONF   0x20000
 
#define PCI_HAS_IO_ECS   0x40000
 
#define PCI_NOASSIGN_ROMS   0x80000
 
#define PCI_ROOT_NO_CRS   0x100000
 
#define PCI_NOASSIGN_BARS   0x200000
 
#define PCI_MMCFG_RESOURCE_NAME_LEN   (22 + 4 + 2 + 2)
 
#define PCI_MMCFG_BUS_OFFSET(bus)   ((bus) << 20)
 
#define x86_default_pci_init   NULL
 
#define x86_default_pci_init_irq   NULL
 
#define x86_default_pci_fixup_irqs   NULL
 

Enumerations

enum  pci_bf_sort_state { pci_bf_sort_default, pci_force_nobf, pci_force_bf, pci_dmi_bf }
 

Functions

void pcibios_resource_survey (void)
 
void pcibios_set_cache_line_size (void)
 
void pcibios_scan_specific_bus (int busn)
 
struct irq_info __attribute__ ((packed))
 
int pci_direct_probe (void)
 
void pci_direct_init (int type)
 
void pci_pcbios_init (void)
 
void __init dmi_check_pciprobe (void)
 
void __init dmi_check_skip_isa_align (void)
 
int __init pci_acpi_init (void)
 
void __init pcibios_irq_init (void)
 
int __init pcibios_init (void)
 
int pci_legacy_init (void)
 
void pcibios_fixup_irqs (void)
 
int __init pci_mmcfg_arch_init (void)
 
void __init pci_mmcfg_arch_free (void)
 
int __devinit pci_mmcfg_arch_map (struct pci_mmcfg_region *cfg)
 
void pci_mmcfg_arch_unmap (struct pci_mmcfg_region *cfg)
 
int __devinit pci_mmconfig_insert (struct device *dev, u16 seg, u8 start, u8 end, phys_addr_t addr)
 
int pci_mmconfig_delete (u16 seg, u8 start, u8 end)
 
struct pci_mmcfg_regionpci_mmconfig_lookup (int segment, int bus)
 

Variables

unsigned int pci_probe
 
unsigned long pirq_table_addr
 
int pcibios_last_bus
 
struct pci_buspci_root_bus
 
struct pci_ops pci_root_ops
 
u8 link
 
u16 bitmap
 
u8 bus
 
u8 devfn
 
u8 slot
 
u8 rfu
 
u32 signature
 
u16 version
 
u16 size
 
u8 rtr_bus
 
u8 rtr_devfn
 
u16 exclusive_irqs
 
u16 rtr_vendor
 
u16 rtr_device
 
u32 miniport_data
 
u8 checksum
 
struct irq_info slots [0]
 
unsigned int pcibios_irq_mask
 
raw_spinlock_t pci_config_lock
 
int(* pcibios_enable_irq )(struct pci_dev *dev)
 
void(* pcibios_disable_irq )(struct pci_dev *dev)
 
struct pci_raw_ops __attribute__
 
struct pci_raw_opsraw_pci_ops
 
struct pci_raw_opsraw_pci_ext_ops
 
struct pci_raw_ops pci_mmcfg
 
struct pci_raw_ops pci_direct_conf1
 
bool port_cf9_safe
 
struct list_head pci_mmcfg_list
 

Macro Definition Documentation

#define DBG (   fmt,
  ... 
)
Value:
do { \
if (0) \
printk(fmt, ##__VA_ARGS__); \
} while (0)

Definition at line 12 of file pci_x86.h.

#define PCI_ASSIGN_ALL_BUSSES   0x4000

Definition at line 30 of file pci_x86.h.

#define PCI_ASSIGN_ROMS   0x1000

Definition at line 28 of file pci_x86.h.

#define PCI_BIOS_IRQ_SCAN   0x2000

Definition at line 29 of file pci_x86.h.

#define PCI_CAN_SKIP_ISA_ALIGN   0x8000

Definition at line 31 of file pci_x86.h.

#define PCI_CHECK_ENABLE_AMD_MMCONF   0x20000

Definition at line 33 of file pci_x86.h.

#define PCI_HAS_IO_ECS   0x40000

Definition at line 34 of file pci_x86.h.

#define PCI_MMCFG_BUS_OFFSET (   bus)    ((bus) << 20)

Definition at line 153 of file pci_x86.h.

#define PCI_MMCFG_RESOURCE_NAME_LEN   (22 + 4 + 2 + 2)

Definition at line 128 of file pci_x86.h.

#define PCI_NO_CHECKS   0x0400

Definition at line 26 of file pci_x86.h.

#define PCI_NOASSIGN_BARS   0x200000

Definition at line 37 of file pci_x86.h.

#define PCI_NOASSIGN_ROMS   0x80000

Definition at line 35 of file pci_x86.h.

#define PCI_PROBE_BIOS   0x0001

Definition at line 19 of file pci_x86.h.

#define PCI_PROBE_CONF1   0x0002

Definition at line 20 of file pci_x86.h.

#define PCI_PROBE_CONF2   0x0004

Definition at line 21 of file pci_x86.h.

#define PCI_PROBE_MASK   0x000f

Definition at line 23 of file pci_x86.h.

#define PCI_PROBE_MMCONF   0x0008

Definition at line 22 of file pci_x86.h.

#define PCI_PROBE_NOEARLY   0x0010

Definition at line 24 of file pci_x86.h.

#define PCI_ROOT_NO_CRS   0x100000

Definition at line 36 of file pci_x86.h.

#define PCI_USE__CRS   0x10000

Definition at line 32 of file pci_x86.h.

#define PCI_USE_PIRQ_MASK   0x0800

Definition at line 27 of file pci_x86.h.

#define x86_default_pci_fixup_irqs   NULL

Definition at line 209 of file pci_x86.h.

#define x86_default_pci_init   NULL

Definition at line 207 of file pci_x86.h.

#define x86_default_pci_init_irq   NULL

Definition at line 208 of file pci_x86.h.

Enumeration Type Documentation

Enumerator:
pci_bf_sort_default 
pci_force_nobf 
pci_force_bf 
pci_dmi_bf 

Definition at line 42 of file pci_x86.h.

Function Documentation

struct irq_info __attribute__ ( (packed)  )
read

Definition at line 171 of file esd_usb2.c.

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 __init pci_acpi_init ( void  )

Definition at line 560 of file acpi.c.

void pci_direct_init ( int  type)

Definition at line 263 of file direct.c.

int pci_direct_probe ( void  )

Definition at line 283 of file direct.c.

int pci_legacy_init ( void  )

Definition at line 25 of file legacy.c.

void __init pci_mmcfg_arch_free ( void  )

Definition at line 141 of file mmconfig_32.c.

int __init pci_mmcfg_arch_init ( void  )

Definition at line 134 of file mmconfig_32.c.

int __devinit pci_mmcfg_arch_map ( struct pci_mmcfg_region cfg)

Definition at line 145 of file mmconfig_32.c.

void pci_mmcfg_arch_unmap ( struct pci_mmcfg_region cfg)

Definition at line 150 of file mmconfig_32.c.

int pci_mmconfig_delete ( u16  seg,
u8  start,
u8  end 
)

Definition at line 771 of file mmconfig-shared.c.

int __devinit pci_mmconfig_insert ( struct device dev,
u16  seg,
u8  start,
u8  end,
phys_addr_t  addr 
)

Definition at line 696 of file mmconfig-shared.c.

struct pci_mmcfg_region* pci_mmconfig_lookup ( int  segment,
int  bus 
)
read

Definition at line 118 of file mmconfig-shared.c.

void pci_pcbios_init ( void  )

Definition at line 448 of file pcbios.c.

void pcibios_fixup_irqs ( void  )

Definition at line 43 of file pci-irq.c.

int __init pcibios_init ( void  )

Definition at line 350 of file pci-vdk.c.

void __init pcibios_irq_init ( void  )

Definition at line 39 of file pci-irq.c.

void pcibios_resource_survey ( void  )

Definition at line 189 of file pci-frv.c.

void pcibios_scan_specific_bus ( int  busn)

Definition at line 37 of file legacy.c.

void pcibios_set_cache_line_size ( void  )

Definition at line 462 of file common.c.

Variable Documentation

u16 bitmap

Definition at line 73 of file pci_x86.h.

u8 bus

Definition at line 74 of file pci_x86.h.

u8 checksum

Definition at line 99 of file pci_x86.h.

u8 devfn

Definition at line 74 of file pci_x86.h.

u16 exclusive_irqs

Definition at line 93 of file pci_x86.h.

Definition at line 71 of file pci_x86.h.

u32 miniport_data

Definition at line 97 of file pci_x86.h.

raw_spinlock_t pci_config_lock
struct pci_raw_ops pci_direct_conf1

Definition at line 82 of file direct.c.

struct pci_raw_ops pci_mmcfg

Definition at line 129 of file mmconfig_32.c.

struct list_head pci_mmcfg_list
unsigned int pci_probe

Definition at line 26 of file pci-vdk.c.

struct pci_bus* pci_root_bus

Definition at line 29 of file pci-vdk.c.

struct pci_ops pci_root_ops

Definition at line 30 of file pci-vdk.c.

void(* pcibios_disable_irq)(struct pci_dev *dev)

Definition at line 56 of file irq.c.

int(* pcibios_enable_irq)(struct pci_dev *dev)

Definition at line 55 of file irq.c.

unsigned int pcibios_irq_mask

Definition at line 35 of file irq.c.

int pcibios_last_bus

Definition at line 28 of file pci-vdk.c.

unsigned long pirq_table_addr

Definition at line 35 of file common.c.

bool port_cf9_safe

Definition at line 64 of file reboot.c.

struct pci_raw_ops* raw_pci_ext_ops

Definition at line 38 of file common.c.

struct pci_raw_ops* raw_pci_ops

Definition at line 37 of file common.c.

u8 rfu[11]

Definition at line 81 of file pci_x86.h.

u8 rtr_bus

Definition at line 92 of file pci_x86.h.

u8 rtr_devfn

Definition at line 92 of file pci_x86.h.

u16 rtr_device

Definition at line 95 of file pci_x86.h.

u16 rtr_vendor

Definition at line 95 of file pci_x86.h.

u32 signature

Definition at line 89 of file pci_x86.h.

u16 size

Definition at line 91 of file pci_x86.h.

Definition at line 80 of file pci_x86.h.

struct irq_info slots[0]

Definition at line 100 of file pci_x86.h.

u16 version

Definition at line 90 of file pci_x86.h.