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

Go to the source code of this file.

Data Structures

struct  pci_iommu_arena
 

Macros

#define EISA_DEFAULT_IO_BASE   0x9000 /* start above 8th slot */
 
#define DEFAULT_IO_BASE   0x8000 /* start at 8th slot */
 
#define XL_DEFAULT_MEM_BASE   ((16+2)*1024*1024) /* 16M to 64M-1 is avail */
 
#define APECS_AND_LCA_DEFAULT_MEM_BASE   ((16+2)*1024*1024)
 
#define MCPCIA_DEFAULT_MEM_BASE   ((32+2)*1024*1024)
 
#define T2_DEFAULT_MEM_BASE   ((16+1)*1024*1024)
 
#define DEFAULT_MEM_BASE   ((128+16)*1024*1024)
 
#define CIA_DEFAULT_MEM_BASE   ((32+2)*1024*1024)
 
#define IRONGATE_DEFAULT_MEM_BASE   ((256*8-16)*1024*1024)
 
#define DEFAULT_AGP_APER_SIZE   (64*1024*1024)
 
#define COMMON_TABLE_LOOKUP
 
#define IOMMU_INVALID_PTE   0x2 /* 32:63 bits MBZ */
 
#define IOMMU_RESERVED_PTE   0xface
 
#define pdev_save_srm_config(dev)   do {} while (0)
 
#define pci_restore_srm_config()   do {} while (0)
 
#define common_swizzle   pci_common_swizzle
 

Functions

void common_init_pci (void)
 
struct pci_controlleralloc_pci_controller (void)
 
struct resourcealloc_resource (void)
 
struct pci_iommu_arenaiommu_arena_new_node (int, struct pci_controller *, dma_addr_t, unsigned long, unsigned long)
 
struct pci_iommu_arenaiommu_arena_new (struct pci_controller *, dma_addr_t, unsigned long, unsigned long)
 
unsigned long size_for_memory (unsigned long max)
 
int iommu_reserve (struct pci_iommu_arena *, long, long)
 
int iommu_release (struct pci_iommu_arena *, long, long)
 
int iommu_bind (struct pci_iommu_arena *, long, long, struct page **)
 
int iommu_unbind (struct pci_iommu_arena *, long, long)
 

Variables

struct pci_controllerhose_head
 
struct pci_controller ** hose_tail
 
struct pci_controllerpci_isa_hose
 
unsigned long alpha_agpgart_size
 
const char *const pci_io_names []
 
const char *const pci_mem_names []
 
const char pci_hae0_name []
 

Macro Definition Documentation

#define APECS_AND_LCA_DEFAULT_MEM_BASE   ((16+2)*1024*1024)

Definition at line 52 of file pci_impl.h.

#define CIA_DEFAULT_MEM_BASE   ((32+2)*1024*1024)

Definition at line 70 of file pci_impl.h.

#define common_swizzle   pci_common_swizzle

Definition at line 179 of file pci_impl.h.

#define COMMON_TABLE_LOOKUP
Value:
({ long _ctl_ = -1; \
if (slot >= min_idsel && slot <= max_idsel && pin < irqs_per_slot) \
_ctl_ = irq_tab[slot - min_idsel][pin]; \
_ctl_; })

Definition at line 118 of file pci_impl.h.

#define DEFAULT_AGP_APER_SIZE   (64*1024*1024)

Definition at line 74 of file pci_impl.h.

#define DEFAULT_IO_BASE   0x8000 /* start at 8th slot */

Definition at line 26 of file pci_impl.h.

#define DEFAULT_MEM_BASE   ((128+16)*1024*1024)

Definition at line 67 of file pci_impl.h.

#define EISA_DEFAULT_IO_BASE   0x9000 /* start above 8th slot */

Definition at line 25 of file pci_impl.h.

#define IOMMU_INVALID_PTE   0x2 /* 32:63 bits MBZ */

Definition at line 136 of file pci_impl.h.

#define IOMMU_RESERVED_PTE   0xface

Definition at line 137 of file pci_impl.h.

#define IRONGATE_DEFAULT_MEM_BASE   ((256*8-16)*1024*1024)

Definition at line 72 of file pci_impl.h.

#define MCPCIA_DEFAULT_MEM_BASE   ((32+2)*1024*1024)

Definition at line 60 of file pci_impl.h.

#define pci_restore_srm_config ( )    do {} while (0)

Definition at line 169 of file pci_impl.h.

#define pdev_save_srm_config (   dev)    do {} while (0)

Definition at line 168 of file pci_impl.h.

#define T2_DEFAULT_MEM_BASE   ((16+1)*1024*1024)

Definition at line 61 of file pci_impl.h.

#define XL_DEFAULT_MEM_BASE   ((16+2)*1024*1024) /* 16M to 64M-1 is avail */

Definition at line 46 of file pci_impl.h.

Function Documentation

struct pci_controller* alloc_pci_controller ( void  )
read

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

struct resource* alloc_resource ( void  )
read

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

void common_init_pci ( void  )

Definition at line 315 of file pci.c.

struct pci_iommu_arena* iommu_arena_new ( struct pci_controller ,
dma_addr_t  ,
unsigned  long,
unsigned  long 
)
read

Definition at line 113 of file pci_iommu.c.

struct pci_iommu_arena* iommu_arena_new_node ( int  ,
struct pci_controller ,
dma_addr_t  ,
unsigned  long,
unsigned  long 
)
read

Definition at line 58 of file pci_iommu.c.

int iommu_bind ( struct pci_iommu_arena ,
long  ,
long  ,
struct page **   
)

Definition at line 898 of file pci_iommu.c.

int iommu_release ( struct pci_iommu_arena ,
long  ,
long   
)

Definition at line 879 of file pci_iommu.c.

int iommu_reserve ( struct pci_iommu_arena ,
long  ,
long   
)

Definition at line 848 of file pci_iommu.c.

int iommu_unbind ( struct pci_iommu_arena ,
long  ,
long   
)

Definition at line 927 of file pci_iommu.c.

unsigned long size_for_memory ( unsigned long  max)

Definition at line 49 of file pci_iommu.c.

Variable Documentation

unsigned long alpha_agpgart_size

Definition at line 114 of file setup.c.

struct pci_controller* hose_head

Definition at line 25 of file pci-noop.c.

struct pci_controller ** hose_tail

Definition at line 25 of file pci-noop.c.

const char pci_hae0_name[]

Definition at line 44 of file pci.c.

const char* const pci_io_names[]

Definition at line 34 of file pci.c.

struct pci_controller* pci_isa_hose

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

const char* const pci_mem_names[]

Definition at line 39 of file pci.c.