Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
pci.h File Reference
#include <asm/scatterlist.h>
#include <asm-generic/pci-dma-compat.h>

Go to the source code of this file.

Data Structures

struct  pci_hba_data
 
struct  pci_port_ops
 
struct  pci_bios_ops
 

Macros

#define PCI_MAX_BUSSES   256
 
#define pci_post_reset_delay   50
 
#define DINO_MAX_LMMIO_RESOURCES   3
 
#define HBA_NAME_SIZE   16
 
#define HBA_DATA(d)   ((struct pci_hba_data *) (d))
 
#define HBA_PORT_SPACE_BITS   16
 
#define HBA_PORT_BASE(h)   ((h) << HBA_PORT_SPACE_BITS)
 
#define HBA_PORT_SPACE_SIZE   (1UL << HBA_PORT_SPACE_BITS)
 
#define PCI_PORT_HBA(a)   ((a) >> HBA_PORT_SPACE_BITS)
 
#define PCI_PORT_ADDR(a)   ((a) & (HBA_PORT_SPACE_SIZE - 1))
 
#define PCI_F_EXTEND   0UL
 
#define PCI_DMA_BUS_IS_PHYS   1
 
#define parisc_has_iommu()   do { } while (0)
 
#define pcibios_assign_all_busses()   (1)
 
#define PCIBIOS_MIN_IO   0x10
 
#define PCIBIOS_MIN_MEM   0x1000 /* NBPG - but pci/setup-res.c dies */
 

Variables

struct pci_port_opspci_port
 
struct pci_bios_opspci_bios
 

Macro Definition Documentation

#define DINO_MAX_LMMIO_RESOURCES   3

Definition at line 55 of file pci.h.

#define HBA_DATA (   d)    ((struct pci_hba_data *) (d))

Definition at line 68 of file pci.h.

#define HBA_NAME_SIZE   16

Definition at line 61 of file pci.h.

#define HBA_PORT_BASE (   h)    ((h) << HBA_PORT_SPACE_BITS)

Definition at line 77 of file pci.h.

#define HBA_PORT_SPACE_BITS   16

Definition at line 75 of file pci.h.

#define HBA_PORT_SPACE_SIZE   (1UL << HBA_PORT_SPACE_BITS)

Definition at line 78 of file pci.h.

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

Definition at line 113 of file pci.h.

#define PCI_DMA_BUS_IS_PHYS   1

Definition at line 112 of file pci.h.

#define PCI_F_EXTEND   0UL

Definition at line 86 of file pci.h.

#define PCI_MAX_BUSSES   256

Definition at line 18 of file pci.h.

#define PCI_PORT_ADDR (   a)    ((a) & (HBA_PORT_SPACE_SIZE - 1))

Definition at line 81 of file pci.h.

#define PCI_PORT_HBA (   a)    ((a) >> HBA_PORT_SPACE_BITS)

Definition at line 80 of file pci.h.

#define pci_post_reset_delay   50

Definition at line 29 of file pci.h.

#define pcibios_assign_all_busses (   void)    (1)

Definition at line 191 of file pci.h.

#define PCIBIOS_MIN_IO   0x10

Definition at line 193 of file pci.h.

#define PCIBIOS_MIN_MEM   0x1000 /* NBPG - but pci/setup-res.c dies */

Definition at line 194 of file pci.h.

Variable Documentation

struct pci_bios_ops* pci_bios
struct pci_port_ops* pci_port