Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
pnv_phb Struct Reference

#include <pci.h>

Data Fields

struct pci_controllerhose
 
enum pnv_phb_type type
 
enum pnv_phb_model model
 
u64 opal_id
 
void __iomemregs
 
int initialized
 
spinlock_t lock
 
int(* msi_setup )(struct pnv_phb *phb, struct pci_dev *dev, unsigned int hwirq, unsigned int is_64, struct msi_msg *msg)
 
void(* dma_dev_setup )(struct pnv_phb *phb, struct pci_dev *pdev)
 
void(* fixup_phb )(struct pci_controller *hose)
 
u32(* bdfn_to_pe )(struct pnv_phb *phb, struct pci_bus *bus, u32 devfn)
 
union {
   struct {
      struct iommu_table   iommu_table
 
   }   p5ioc2
 
   struct {
      unsigned int   total_pe
 
      unsigned int   m32_size
 
      unsigned int   m32_segsize
 
      unsigned int   m32_pci_base
 
      unsigned int   io_size
 
      unsigned int   io_segsize
 
      unsigned int   io_pci_base
 
      unsigned long *   pe_alloc
 
      unsigned int *   m32_segmap
 
      unsigned int *   io_segmap
 
      struct pnv_ioda_pe *   pe_array
 
      struct list_head   pe_list
 
      unsigned char   pe_rmap [0x10000]
 
      unsigned long   tce32_count
 
      unsigned int   dma_weight
 
      unsigned int   dma_pe_count
 
      struct list_head   pe_dma_list
 
   }   ioda
 
}; 
 
union {
   unsigned char   blob [PNV_PCI_DIAG_BUF_SIZE]
 
   struct OpalIoP7IOCPhbErrorData   p7ioc
 
diag
 

Detailed Description

Definition at line 66 of file pci.h.

Field Documentation

union { ... }
u32(* bdfn_to_pe)(struct pnv_phb *phb, struct pci_bus *bus, u32 devfn)

Definition at line 87 of file pci.h.

unsigned char blob[PNV_PCI_DIAG_BUF_SIZE]

Definition at line 141 of file pci.h.

union { ... } diag
void(* dma_dev_setup)(struct pnv_phb *phb, struct pci_dev *pdev)

Definition at line 85 of file pci.h.

unsigned int dma_pe_count

Definition at line 130 of file pci.h.

unsigned int dma_weight

Definition at line 129 of file pci.h.

void(* fixup_phb)(struct pci_controller *hose)

Definition at line 86 of file pci.h.

Definition at line 67 of file pci.h.

int initialized

Definition at line 72 of file pci.h.

unsigned int io_pci_base

Definition at line 102 of file pci.h.

unsigned int* io_segmap

Definition at line 109 of file pci.h.

unsigned int io_segsize

Definition at line 101 of file pci.h.

unsigned int io_size

Definition at line 100 of file pci.h.

struct { ... } ioda

Definition at line 91 of file pci.h.

spinlock_t lock

Definition at line 73 of file pci.h.

unsigned int m32_pci_base

Definition at line 99 of file pci.h.

unsigned int* m32_segmap

Definition at line 108 of file pci.h.

unsigned int m32_segsize

Definition at line 98 of file pci.h.

unsigned int m32_size

Definition at line 97 of file pci.h.

enum pnv_phb_model model

Definition at line 69 of file pci.h.

int(* msi_setup)(struct pnv_phb *phb, struct pci_dev *dev, unsigned int hwirq, unsigned int is_64, struct msi_msg *msg)

Definition at line 82 of file pci.h.

u64 opal_id

Definition at line 70 of file pci.h.

struct { ... } p5ioc2

Definition at line 142 of file pci.h.

unsigned long* pe_alloc

Definition at line 105 of file pci.h.

struct pnv_ioda_pe* pe_array

Definition at line 110 of file pci.h.

struct list_head pe_dma_list

Definition at line 135 of file pci.h.

struct list_head pe_list

Definition at line 115 of file pci.h.

unsigned char pe_rmap[0x10000]

Definition at line 121 of file pci.h.

Definition at line 71 of file pci.h.

unsigned long tce32_count

Definition at line 124 of file pci.h.

unsigned int total_pe

Definition at line 96 of file pci.h.

Definition at line 68 of file pci.h.


The documentation for this struct was generated from the following file: