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

Go to the source code of this file.

Macros

#define PCI_CONFIG_SPACE_DELAY   10000
 
#define CVMX_PCIE_BAR1_PHYS_BASE   ((1ull << 32) - (1ull << 28))
 
#define CVMX_PCIE_BAR1_PHYS_SIZE   (1ull << 28)
 
#define CVMX_PCIE_BAR1_RC_BASE   (1ull << 41)
 
#define OCTEON_BAR2_PCI_ADDRESS   0x8000000000ull
 
#define OCTEON_PCI_BAR1_HOLE_BITS   5
 
#define OCTEON_PCI_BAR1_HOLE_SIZE   (1ul<<(OCTEON_PCI_BAR1_HOLE_BITS+3))
 

Enumerations

enum  octeon_dma_bar_type {
  OCTEON_DMA_BAR_TYPE_INVALID, OCTEON_DMA_BAR_TYPE_SMALL, OCTEON_DMA_BAR_TYPE_BIG, OCTEON_DMA_BAR_TYPE_PCIE,
  OCTEON_DMA_BAR_TYPE_PCIE2
}
 

Variables

int(* octeon_pcibios_map_irq )(const struct pci_dev *dev, u8 slot, u8 pin)
 
u64 octeon_bar1_pci_phys
 
enum octeon_dma_bar_type octeon_dma_bar_type
 

Macro Definition Documentation

#define CVMX_PCIE_BAR1_PHYS_BASE   ((1ull << 32) - (1ull << 28))

Definition at line 21 of file pci-octeon.h.

#define CVMX_PCIE_BAR1_PHYS_SIZE   (1ull << 28)

Definition at line 22 of file pci-octeon.h.

#define CVMX_PCIE_BAR1_RC_BASE   (1ull << 41)

Definition at line 28 of file pci-octeon.h.

#define OCTEON_BAR2_PCI_ADDRESS   0x8000000000ull

Definition at line 41 of file pci-octeon.h.

#define OCTEON_PCI_BAR1_HOLE_BITS   5

Definition at line 52 of file pci-octeon.h.

#define OCTEON_PCI_BAR1_HOLE_SIZE   (1ul<<(OCTEON_PCI_BAR1_HOLE_BITS+3))

Definition at line 53 of file pci-octeon.h.

#define PCI_CONFIG_SPACE_DELAY   10000

Definition at line 15 of file pci-octeon.h.

Enumeration Type Documentation

Enumerator:
OCTEON_DMA_BAR_TYPE_INVALID 
OCTEON_DMA_BAR_TYPE_SMALL 
OCTEON_DMA_BAR_TYPE_BIG 
OCTEON_DMA_BAR_TYPE_PCIE 
OCTEON_DMA_BAR_TYPE_PCIE2 

Definition at line 55 of file pci-octeon.h.

Variable Documentation

u64 octeon_bar1_pci_phys

Definition at line 38 of file pci-octeon.c.

Definition at line 63 of file pci-octeon.c.

int(* octeon_pcibios_map_irq)(const struct pci_dev *dev, u8 slot, u8 pin)

Definition at line 61 of file pci-octeon.c.