Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | pci_block_copy |
struct | msp_pci_regs |
Macros | |
#define | MSP_HAS_PCI(ID) (((u32)(ID) <= 0x4236) && ((u32)(ID) >= 0x4220)) |
#define | MSP_PCI_OATRAN 0xB8000000UL |
#define | MSP_PCI_SPACE_BASE (MSP_PCI_OATRAN + 0x1002000UL) |
#define | MSP_PCI_SPACE_SIZE (0x3000000UL - 0x2000) |
#define | MSP_PCI_SPACE_END (MSP_PCI_SPACE_BASE + MSP_PCI_SPACE_SIZE - 1) |
#define | MSP_PCI_IOSPACE_BASE (MSP_PCI_OATRAN + 0x1001000UL) |
#define | MSP_PCI_IOSPACE_SIZE 0x1000 |
#define | MSP_PCI_IOSPACE_END (MSP_PCI_IOSPACE_BASE + MSP_PCI_IOSPACE_SIZE - 1) |
#define | PCI_STAT_IRQ 20 |
#define | QFLUSH_REG_1 0xB7F40000 |
#define | BPCI_CFGADDR_BUSNUM_SHF 16 |
#define | BPCI_CFGADDR_FUNCTNUM_SHF 8 |
#define | BPCI_CFGADDR_REGNUM_SHF 2 |
#define | BPCI_CFGADDR_ENABLE (1<<31) |
#define | BPCI_IFCONTROL_RTO (1<<20) /* Retry timeout */ |
#define | BPCI_IFCONTROL_HCE (1<<16) /* Host configuration enable */ |
#define | BPCI_IFCONTROL_CTO_SHF 12 /* Shift count for CTO bits */ |
#define | BPCI_IFCONTROL_SE (1<<5) /* Enable exceptions on errors */ |
#define | BPCI_IFCONTROL_BIST (1<<4) /* Use BIST in per. mode */ |
#define | BPCI_IFCONTROL_CAP (1<<3) /* Enable capabilities */ |
#define | BPCI_IFCONTROL_MMC_SHF 0 /* Shift count for MMC bits */ |
#define | BPCI_IFSTATUS_MGT (1<<8) /* Master Grant timeout */ |
#define | BPCI_IFSTATUS_MTT (1<<9) /* Master TRDY timeout */ |
#define | BPCI_IFSTATUS_MRT (1<<10) /* Master retry timeout */ |
#define | BPCI_IFSTATUS_BC0F (1<<13) /* Block copy 0 fault */ |
#define | BPCI_IFSTATUS_BC1F (1<<14) /* Block copy 1 fault */ |
#define | BPCI_IFSTATUS_PCIU (1<<15) /* PCI unable to respond */ |
#define | BPCI_IFSTATUS_BSIZ (1<<16) /* PCI access with illegal size */ |
#define | BPCI_IFSTATUS_BADD (1<<17) /* PCI access with illegal addr */ |
#define | BPCI_IFSTATUS_RTO (1<<18) /* Retry time out */ |
#define | BPCI_IFSTATUS_SER (1<<19) /* System error */ |
#define | BPCI_IFSTATUS_PER (1<<20) /* Parity error */ |
#define | BPCI_IFSTATUS_LCA (1<<21) /* Local CPU abort */ |
#define | BPCI_IFSTATUS_MEM (1<<22) /* Memory prot. violation */ |
#define | BPCI_IFSTATUS_ARB (1<<23) /* Arbiter timed out */ |
#define | BPCI_IFSTATUS_STA (1<<27) /* Signaled target abort */ |
#define | BPCI_IFSTATUS_TA (1<<28) /* Target abort */ |
#define | BPCI_IFSTATUS_MA (1<<29) /* Master abort */ |
#define | BPCI_IFSTATUS_PEI (1<<30) /* Parity error as initiator */ |
#define | BPCI_IFSTATUS_PET (1<<31) /* Parity error as target */ |
#define | BPCI_RESETCTL_PR (1<<0) /* True if reset asserted */ |
#define | BPCI_RESETCTL_RT (1<<4) /* Release time */ |
#define | BPCI_RESETCTL_CT (1<<8) /* Config time */ |
#define | BPCI_RESETCTL_PE (1<<12) /* PCI enabled */ |
#define | BPCI_RESETCTL_HM (1<<13) /* PCI host mode */ |
#define | BPCI_RESETCTL_RI (1<<14) /* PCI reset in */ |
Typedefs | |
typedef volatile unsigned int | pcireg |
typedef void *volatile | ppcireg |
Functions | |
struct msp_pci_regs msp_pci_regs | __attribute__ ((section(".register"))) |
#define BPCI_IFCONTROL_CAP (1<<3) /* Enable capabilities */ |
#define BPCI_IFCONTROL_HCE (1<<16) /* Host configuration enable */ |
#define BPCI_IFCONTROL_SE (1<<5) /* Enable exceptions on errors */ |
#define BPCI_IFSTATUS_BC0F (1<<13) /* Block copy 0 fault */ |
#define BPCI_IFSTATUS_BC1F (1<<14) /* Block copy 1 fault */ |
#define BPCI_IFSTATUS_MEM (1<<22) /* Memory prot. violation */ |
#define BPCI_IFSTATUS_MGT (1<<8) /* Master Grant timeout */ |
#define BPCI_IFSTATUS_MTT (1<<9) /* Master TRDY timeout */ |
#define BPCI_IFSTATUS_PCIU (1<<15) /* PCI unable to respond */ |
#define MSP_PCI_IOSPACE_BASE (MSP_PCI_OATRAN + 0x1001000UL) |
#define MSP_PCI_IOSPACE_END (MSP_PCI_IOSPACE_BASE + MSP_PCI_IOSPACE_SIZE - 1) |
#define MSP_PCI_SPACE_BASE (MSP_PCI_OATRAN + 0x1002000UL) |
#define MSP_PCI_SPACE_END (MSP_PCI_SPACE_BASE + MSP_PCI_SPACE_SIZE - 1) |
anonymous enum |
|
read |