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.h File Reference

Go to the source code of this file.

Data Structures

struct  pnv_ioda_pe
 
struct  pnv_phb
 

Macros

#define PNV_PCI_DIAG_BUF_SIZE   4096
 
#define PNV_IODA_PE_DEV   (1 << 0) /* PE has single PCI device */
 
#define PNV_IODA_PE_BUS   (1 << 1) /* PE has primary PCI bus */
 
#define PNV_IODA_PE_BUS_ALL   (1 << 2) /* PE has subordinate buses */
 

Enumerations

enum  pnv_phb_type { PNV_PHB_P5IOC2, PNV_PHB_IODA1, PNV_PHB_IODA2 }
 
enum  pnv_phb_model { PNV_PHB_MODEL_UNKNOWN, PNV_PHB_MODEL_P5IOC2, PNV_PHB_MODEL_P7IOC }
 

Functions

void pnv_pci_setup_iommu_table (struct iommu_table *tbl, void *tce_mem, u64 tce_size, u64 dma_offset)
 
void pnv_pci_init_p5ioc2_hub (struct device_node *np)
 
void pnv_pci_init_ioda_hub (struct device_node *np)
 

Variables

struct pci_ops pnv_pci_ops
 

Macro Definition Documentation

#define PNV_IODA_PE_BUS   (1 << 1) /* PE has primary PCI bus */

Definition at line 21 of file pci.h.

#define PNV_IODA_PE_BUS_ALL   (1 << 2) /* PE has subordinate buses */

Definition at line 22 of file pci.h.

#define PNV_IODA_PE_DEV   (1 << 0) /* PE has single PCI device */

Definition at line 20 of file pci.h.

#define PNV_PCI_DIAG_BUF_SIZE   4096

Definition at line 19 of file pci.h.

Enumeration Type Documentation

Enumerator:
PNV_PHB_MODEL_UNKNOWN 
PNV_PHB_MODEL_P5IOC2 
PNV_PHB_MODEL_P7IOC 

Definition at line 13 of file pci.h.

Enumerator:
PNV_PHB_P5IOC2 
PNV_PHB_IODA1 
PNV_PHB_IODA2 

Definition at line 6 of file pci.h.

Function Documentation

void pnv_pci_init_ioda_hub ( struct device_node np)

Definition at line 1024 of file pci-ioda.c.

void pnv_pci_init_p5ioc2_hub ( struct device_node np)

Definition at line 175 of file pci-p5ioc2.c.

void pnv_pci_setup_iommu_table ( struct iommu_table tbl,
void tce_mem,
u64  tce_size,
u64  dma_offset 
)

Definition at line 454 of file pci.c.

Variable Documentation

struct pci_ops pnv_pci_ops

Definition at line 360 of file pci.c.