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

Go to the source code of this file.

Macros

#define IOP_PCI_STATUS_ERROR
 
#define IOP13XX_ATUE_ATUISR_ERROR
 
#define IOP13XX_ATUX_ATUISR_ERROR
 
#define ATUX_INTA   IRQ_IOP13XX_XINT0
 
#define ATUX_INTB   IRQ_IOP13XX_XINT1
 
#define ATUX_INTC   IRQ_IOP13XX_XINT2
 
#define ATUX_INTD   IRQ_IOP13XX_XINT3
 
#define ATUE_INTA   IRQ_IOP13XX_ATUE_IMA
 
#define ATUE_INTB   IRQ_IOP13XX_ATUE_IMB
 
#define ATUE_INTC   IRQ_IOP13XX_ATUE_IMC
 
#define ATUE_INTD   IRQ_IOP13XX_ATUE_IMD
 

Functions

int iop13xx_pci_setup (int nr, struct pci_sys_data *sys)
 
struct pci_busiop13xx_scan_bus (int nr, struct pci_sys_data *)
 
void iop13xx_atu_select (struct hw_pci *plat_pci)
 
void iop13xx_pci_init (void)
 
void iop13xx_map_pci_memory (void)
 

Macro Definition Documentation

#define ATUE_INTA   IRQ_IOP13XX_ATUE_IMA

Definition at line 52 of file pci.h.

#define ATUE_INTB   IRQ_IOP13XX_ATUE_IMB

Definition at line 53 of file pci.h.

#define ATUE_INTC   IRQ_IOP13XX_ATUE_IMC

Definition at line 54 of file pci.h.

#define ATUE_INTD   IRQ_IOP13XX_ATUE_IMD

Definition at line 55 of file pci.h.

#define ATUX_INTA   IRQ_IOP13XX_XINT0

Definition at line 47 of file pci.h.

#define ATUX_INTB   IRQ_IOP13XX_XINT1

Definition at line 48 of file pci.h.

#define ATUX_INTC   IRQ_IOP13XX_XINT2

Definition at line 49 of file pci.h.

#define ATUX_INTD   IRQ_IOP13XX_XINT3

Definition at line 50 of file pci.h.

#define IOP13XX_ATUE_ATUISR_ERROR
Value:
IOP13XX_ATUE_STAT_ROOT_SYS_ERR | \
IOP13XX_ATUE_STAT_PCI_IFACE_ERR | \
IOP13XX_ATUE_STAT_ERR_COR | \
IOP13XX_ATUE_STAT_ERR_UNCOR | \
IOP13XX_ATUE_STAT_CRS | \
IOP13XX_ATUE_STAT_DET_PAR_ERR | \
IOP13XX_ATUE_STAT_EXT_REC_MABORT | \
IOP13XX_ATUE_STAT_SIG_TABORT | \
IOP13XX_ATUE_STAT_EXT_REC_TABORT | \
IOP13XX_ATUE_STAT_MASTER_DATA_PAR)

Definition at line 22 of file pci.h.

#define IOP13XX_ATUX_ATUISR_ERROR
Value:
IOP13XX_ATUX_STAT_REC_SCEM | \
IOP13XX_ATUX_STAT_TX_SERR | \
IOP13XX_ATUX_STAT_DET_PAR_ERR | \
IOP13XX_ATUX_STAT_INT_REC_MABORT | \
IOP13XX_ATUX_STAT_REC_SERR | \
IOP13XX_ATUX_STAT_EXT_REC_MABORT | \
IOP13XX_ATUX_STAT_EXT_REC_TABORT | \
IOP13XX_ATUX_STAT_EXT_SIG_TABORT | \
IOP13XX_ATUX_STAT_MASTER_DATA_PAR)

Definition at line 34 of file pci.h.

#define IOP_PCI_STATUS_ERROR
Value:
PCI_STATUS_SIG_TARGET_ABORT | \
PCI_STATUS_REC_TARGET_ABORT | \
PCI_STATUS_REC_TARGET_ABORT | \
PCI_STATUS_REC_MASTER_ABORT | \
PCI_STATUS_SIG_SYSTEM_ERROR | \
PCI_STATUS_DETECTED_PARITY)

Definition at line 14 of file pci.h.

Function Documentation

void iop13xx_atu_select ( struct hw_pci plat_pci)

Definition at line 911 of file pci.c.

void iop13xx_map_pci_memory ( void  )

Definition at line 55 of file pci.c.

void iop13xx_pci_init ( void  )

Definition at line 965 of file pci.c.

int iop13xx_pci_setup ( int  nr,
struct pci_sys_data sys 
)

Definition at line 994 of file pci.c.

struct pci_bus* iop13xx_scan_bus ( int  nr,
struct pci_sys_data  
)
read

Definition at line 507 of file pci.c.