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

Go to the source code of this file.

Macros

#define IOP13XX_MAX_RAM_SIZE   0x80000000UL /* 2GB */
 
#define IOP13XX_PCI_OFFSET   IOP13XX_MAX_RAM_SIZE
 
#define IOP13XX_PCIX_LOWER_IO_PA   0xfffb0000UL
 
#define IOP13XX_PCIX_LOWER_IO_BA   0x0UL /* OIOTVR */
 
#define IOP13XX_PCIX_MEM_PHYS_OFFSET   0x100000000ULL
 
#define IOP13XX_PCIX_MEM_WINDOW_SIZE   0x3a000000UL
 
#define IOP13XX_PCIX_LOWER_MEM_BA   (PHYS_OFFSET + IOP13XX_PCI_OFFSET)
 
#define IOP13XX_PCIX_LOWER_MEM_PA
 
#define IOP13XX_PCIX_UPPER_MEM_PA
 
#define IOP13XX_PCIX_UPPER_MEM_BA
 
#define IOP13XX_PCIX_MEM_COOKIE   0x80000000UL
 
#define IOP13XX_PCIX_LOWER_MEM_RA   IOP13XX_PCIX_MEM_COOKIE
 
#define IOP13XX_PCIX_UPPER_MEM_RA
 
#define IOP13XX_PCIX_MEM_OFFSET
 
#define IOP13XX_PCIE_LOWER_IO_PA   0xfffd0000UL
 
#define IOP13XX_PCIE_LOWER_IO_BA   0x10000UL /* OIOTVR */
 
#define IOP13XX_PCIE_MEM_PHYS_OFFSET   0x200000000ULL
 
#define IOP13XX_PCIE_MEM_WINDOW_SIZE   0x3a000000UL
 
#define IOP13XX_PCIE_LOWER_MEM_BA   (PHYS_OFFSET + IOP13XX_PCI_OFFSET)
 
#define IOP13XX_PCIE_LOWER_MEM_PA
 
#define IOP13XX_PCIE_UPPER_MEM_PA
 
#define IOP13XX_PCIE_UPPER_MEM_BA
 
#define IOP13XX_PCIE_MEM_COOKIE   0xc0000000UL
 
#define IOP13XX_PCIE_LOWER_MEM_RA   IOP13XX_PCIE_MEM_COOKIE
 
#define IOP13XX_PCIE_UPPER_MEM_RA
 
#define IOP13XX_PCIE_MEM_OFFSET
 
#define IOP13XX_PBI_LOWER_MEM_PA   0xf0000000UL
 
#define IOP13XX_PBI_MEM_WINDOW_SIZE   0x04000000UL
 
#define IOP13XX_PBI_MEM_COOKIE   0xfa000000UL
 
#define IOP13XX_PBI_LOWER_MEM_RA   IOP13XX_PBI_MEM_COOKIE
 
#define IOP13XX_PBI_UPPER_MEM_RA
 
#define IOP13XX_PMMR_PHYS_MEM_BASE   0xffd80000UL /* PMMR phys. address */
 
#define IOP13XX_PMMR_VIRT_MEM_BASE   (void __iomem *)(0xfee80000UL) /* PMMR phys. address */
 
#define IOP13XX_PMMR_MEM_WINDOW_SIZE   0x80000
 
#define IOP13XX_PMMR_UPPER_MEM_VA
 
#define IOP13XX_PMMR_UPPER_MEM_PA
 
#define IOP13XX_PMMR_VIRT_TO_PHYS(addr)
 
#define IOP13XX_PMMR_PHYS_TO_VIRT(addr)
 
#define IOP13XX_REG_ADDR32(reg)   (IOP13XX_PMMR_VIRT_MEM_BASE + (reg))
 
#define IOP13XX_REG_ADDR16(reg)   (IOP13XX_PMMR_VIRT_MEM_BASE + (reg))
 
#define IOP13XX_REG_ADDR8(reg)   (IOP13XX_PMMR_VIRT_MEM_BASE + (reg))
 
#define IOP13XX_REG_ADDR32_PHYS(reg)   (IOP13XX_PMMR_PHYS_MEM_BASE + (reg))
 
#define IOP13XX_REG_ADDR16_PHYS(reg)   (IOP13XX_PMMR_PHYS_MEM_BASE + (reg))
 
#define IOP13XX_REG_ADDR8_PHYS(reg)   (IOP13XX_PMMR_PHYS_MEM_BASE + (reg))
 
#define IOP13XX_PMMR_SIZE   0x00080000
 
#define IOP13XX_UART0_PHYS   (IOP13XX_PMMR_PHYS_MEM_BASE + 0x00002300)
 
#define IOP13XX_UART1_PHYS   (IOP13XX_PMMR_PHYS_MEM_BASE + 0x00002340)
 
#define IOP13XX_UART0_VIRT   (IOP13XX_PMMR_VIRT_MEM_BASE + 0x00002300)
 
#define IOP13XX_UART1_VIRT   (IOP13XX_PMMR_VIRT_MEM_BASE + 0x00002340)
 
#define IOP13XX_I2C0_PHYS   (IOP13XX_PMMR_PHYS_MEM_BASE | 0x00002500)
 
#define IOP13XX_I2C1_PHYS   (IOP13XX_PMMR_PHYS_MEM_BASE | 0x00002520)
 
#define IOP13XX_I2C2_PHYS   (IOP13XX_PMMR_PHYS_MEM_BASE | 0x00002540)
 
#define IOP13XX_I2C0_VIRT   (IOP13XX_PMMR_VIRT_MEM_BASE | 0x00002500)
 
#define IOP13XX_I2C1_VIRT   (IOP13XX_PMMR_VIRT_MEM_BASE | 0x00002520)
 
#define IOP13XX_I2C2_VIRT   (IOP13XX_PMMR_VIRT_MEM_BASE | 0x00002540)
 
#define IOP13XX_INIT_ATU_DEFAULT   (0)
 
#define IOP13XX_INIT_ATU_ATUX   (1 << 0)
 
#define IOP13XX_INIT_ATU_ATUE   (1 << 1)
 
#define IOP13XX_INIT_ATU_NONE   (1 << 2)
 
#define IOP13XX_INIT_UART_DEFAULT   (0)
 
#define IOP13XX_INIT_UART_0   (1 << 0)
 
#define IOP13XX_INIT_UART_1   (1 << 1)
 
#define IOP13XX_INIT_I2C_DEFAULT   (0)
 
#define IOP13XX_INIT_I2C_0   (1 << 0)
 
#define IOP13XX_INIT_I2C_1   (1 << 1)
 
#define IOP13XX_INIT_I2C_2   (1 << 2)
 
#define IOP13XX_INIT_ADMA_DEFAULT   (0)
 
#define IOP13XX_INIT_ADMA_0   (1 << 0)
 
#define IOP13XX_INIT_ADMA_1   (1 << 1)
 
#define IOP13XX_INIT_ADMA_2   (1 << 2)
 
#define IQ81340_NUM_UART   2
 
#define IQ81340_NUM_I2C   3
 
#define IQ81340_NUM_PHYS_MAP_FLASH   1
 
#define IQ81340_NUM_ADMA   3
 
#define IQ81340_MAX_PLAT_DEVICES
 
#define IOP13XX_ATU0_PMMR_OFFSET   0x00048000
 
#define IOP13XX_ATU1_PMMR_OFFSET   0x0004c000
 
#define IOP13XX_ATU2_PMMR_OFFSET   0x0004d000
 
#define IOP13XX_ADMA0_PMMR_OFFSET   0x00000000
 
#define IOP13XX_ADMA1_PMMR_OFFSET   0x00000200
 
#define IOP13XX_ADMA2_PMMR_OFFSET   0x00000400
 
#define IOP13XX_PBI_PMMR_OFFSET   0x00001580
 
#define IOP13XX_MU_PMMR_OFFSET   0x00004000
 
#define IOP13XX_ESSR0_PMMR_OFFSET   0x00002188
 
#define IOP13XX_ESSR0   IOP13XX_REG_ADDR32(0x00002188)
 
#define IOP13XX_ESSR0_IFACE_MASK   0x00004000 /* Interface PCI-X / PCI-E */
 
#define IOP13XX_CONTROLLER_ONLY   (1 << 14)
 
#define IOP13XX_INTERFACE_SEL_PCIX   (1 << 15)
 
#define IOP13XX_PMON_PMMR_OFFSET   0x0001A000
 
#define IOP13XX_PMON_BASE
 
#define IOP13XX_PMON_PHYSBASE
 
#define IOP13XX_PMON_CMD0   (IOP13XX_PMON_BASE + 0x0)
 
#define IOP13XX_PMON_EVR0   (IOP13XX_PMON_BASE + 0x4)
 
#define IOP13XX_PMON_STS0   (IOP13XX_PMON_BASE + 0x8)
 
#define IOP13XX_PMON_DATA0   (IOP13XX_PMON_BASE + 0xC)
 
#define IOP13XX_PMON_CMD3   (IOP13XX_PMON_BASE + 0x30)
 
#define IOP13XX_PMON_EVR3   (IOP13XX_PMON_BASE + 0x34)
 
#define IOP13XX_PMON_STS3   (IOP13XX_PMON_BASE + 0x38)
 
#define IOP13XX_PMON_DATA3   (IOP13XX_PMON_BASE + 0x3C)
 
#define IOP13XX_PMON_CMD7   (IOP13XX_PMON_BASE + 0x70)
 
#define IOP13XX_PMON_EVR7   (IOP13XX_PMON_BASE + 0x74)
 
#define IOP13XX_PMON_STS7   (IOP13XX_PMON_BASE + 0x78)
 
#define IOP13XX_PMON_DATA7   (IOP13XX_PMON_BASE + 0x7C)
 
#define IOP13XX_PMONEN   (IOP13XX_PMMR_VIRT_MEM_BASE + 0x4E040)
 
#define IOP13XX_PMONSTAT   (IOP13XX_PMMR_VIRT_MEM_BASE + 0x4E044)
 
#define IOP13XX_ATUX_OFFSET(ofs)
 
#define IOP13XX_ATUX_DID
 
#define IOP13XX_ATUX_ATUCMD
 
#define IOP13XX_ATUX_ATUSR
 
#define IOP13XX_ATUX_IABAR0   IOP13XX_ATUX_OFFSET(0x10)
 
#define IOP13XX_ATUX_IAUBAR0   IOP13XX_ATUX_OFFSET(0x14)
 
#define IOP13XX_ATUX_IABAR1   IOP13XX_ATUX_OFFSET(0x18)
 
#define IOP13XX_ATUX_IAUBAR1   IOP13XX_ATUX_OFFSET(0x1c)
 
#define IOP13XX_ATUX_IABAR2   IOP13XX_ATUX_OFFSET(0x20)
 
#define IOP13XX_ATUX_IAUBAR2   IOP13XX_ATUX_OFFSET(0x24)
 
#define IOP13XX_ATUX_IALR0   IOP13XX_ATUX_OFFSET(0x40)
 
#define IOP13XX_ATUX_IATVR0   IOP13XX_ATUX_OFFSET(0x44)
 
#define IOP13XX_ATUX_IAUTVR0   IOP13XX_ATUX_OFFSET(0x48)
 
#define IOP13XX_ATUX_IALR1   IOP13XX_ATUX_OFFSET(0x4c)
 
#define IOP13XX_ATUX_IATVR1   IOP13XX_ATUX_OFFSET(0x50)
 
#define IOP13XX_ATUX_IAUTVR1   IOP13XX_ATUX_OFFSET(0x54)
 
#define IOP13XX_ATUX_IALR2   IOP13XX_ATUX_OFFSET(0x58)
 
#define IOP13XX_ATUX_IATVR2   IOP13XX_ATUX_OFFSET(0x5c)
 
#define IOP13XX_ATUX_IAUTVR2   IOP13XX_ATUX_OFFSET(0x60)
 
#define IOP13XX_ATUX_ATUCR   IOP13XX_ATUX_OFFSET(0x70)
 
#define IOP13XX_ATUX_PCSR   IOP13XX_ATUX_OFFSET(0x74)
 
#define IOP13XX_ATUX_ATUISR   IOP13XX_ATUX_OFFSET(0x78)
 
#define IOP13XX_ATUX_PCIXSR   IOP13XX_ATUX_OFFSET(0xD4)
 
#define IOP13XX_ATUX_IABAR3   IOP13XX_ATUX_OFFSET(0x200)
 
#define IOP13XX_ATUX_IAUBAR3   IOP13XX_ATUX_OFFSET(0x204)
 
#define IOP13XX_ATUX_IALR3   IOP13XX_ATUX_OFFSET(0x208)
 
#define IOP13XX_ATUX_IATVR3   IOP13XX_ATUX_OFFSET(0x20c)
 
#define IOP13XX_ATUX_IAUTVR3   IOP13XX_ATUX_OFFSET(0x210)
 
#define IOP13XX_ATUX_OIOBAR   IOP13XX_ATUX_OFFSET(0x300)
 
#define IOP13XX_ATUX_OIOWTVR   IOP13XX_ATUX_OFFSET(0x304)
 
#define IOP13XX_ATUX_OUMBAR0   IOP13XX_ATUX_OFFSET(0x308)
 
#define IOP13XX_ATUX_OUMWTVR0   IOP13XX_ATUX_OFFSET(0x30c)
 
#define IOP13XX_ATUX_OUMBAR1   IOP13XX_ATUX_OFFSET(0x310)
 
#define IOP13XX_ATUX_OUMWTVR1   IOP13XX_ATUX_OFFSET(0x314)
 
#define IOP13XX_ATUX_OUMBAR2   IOP13XX_ATUX_OFFSET(0x318)
 
#define IOP13XX_ATUX_OUMWTVR2   IOP13XX_ATUX_OFFSET(0x31c)
 
#define IOP13XX_ATUX_OUMBAR3   IOP13XX_ATUX_OFFSET(0x320)
 
#define IOP13XX_ATUX_OUMWTVR3   IOP13XX_ATUX_OFFSET(0x324)
 
#define IOP13XX_ATUX_OUDMABAR   IOP13XX_ATUX_OFFSET(0x328)
 
#define IOP13XX_ATUX_OUMSIBAR   IOP13XX_ATUX_OFFSET(0x32c)
 
#define IOP13XX_ATUX_OCCAR   IOP13XX_ATUX_OFFSET(0x330)
 
#define IOP13XX_ATUX_OCCDR   IOP13XX_ATUX_OFFSET(0x334)
 
#define IOP13XX_ATUX_ATUCR_OUT_EN   (1 << 1)
 
#define IOP13XX_ATUX_PCSR_CENTRAL_RES   (1 << 25)
 
#define IOP13XX_ATUX_PCSR_P_RSTOUT   (1 << 21)
 
#define IOP13XX_ATUX_PCSR_OUT_Q_BUSY   (1 << 15)
 
#define IOP13XX_ATUX_PCSR_IN_Q_BUSY   (1 << 14)
 
#define IOP13XX_ATUX_PCSR_FREQ_OFFSET   (16)
 
#define IOP13XX_ATUX_STAT_PCI_IFACE_ERR   (1 << 18)
 
#define IOP13XX_ATUX_STAT_VPD_ADDR   (1 << 17)
 
#define IOP13XX_ATUX_STAT_INT_PAR_ERR   (1 << 16)
 
#define IOP13XX_ATUX_STAT_CFG_WRITE   (1 << 15)
 
#define IOP13XX_ATUX_STAT_ERR_COR   (1 << 14)
 
#define IOP13XX_ATUX_STAT_TX_SCEM   (1 << 13)
 
#define IOP13XX_ATUX_STAT_REC_SCEM   (1 << 12)
 
#define IOP13XX_ATUX_STAT_POWER_TRAN   (1 << 11)
 
#define IOP13XX_ATUX_STAT_TX_SERR   (1 << 10)
 
#define IOP13XX_ATUX_STAT_DET_PAR_ERR   (1 << 9 )
 
#define IOP13XX_ATUX_STAT_BIST   (1 << 8 )
 
#define IOP13XX_ATUX_STAT_INT_REC_MABORT   (1 << 7 )
 
#define IOP13XX_ATUX_STAT_REC_SERR   (1 << 4 )
 
#define IOP13XX_ATUX_STAT_EXT_REC_MABORT   (1 << 3 )
 
#define IOP13XX_ATUX_STAT_EXT_REC_TABORT   (1 << 2 )
 
#define IOP13XX_ATUX_STAT_EXT_SIG_TABORT   (1 << 1 )
 
#define IOP13XX_ATUX_STAT_MASTER_DATA_PAR   (1 << 0 )
 
#define IOP13XX_ATUX_PCIXSR_BUS_NUM   (8)
 
#define IOP13XX_ATUX_PCIXSR_DEV_NUM   (3)
 
#define IOP13XX_ATUX_PCIXSR_FUNC_NUM   (0)
 
#define IOP13XX_ATUX_IALR_DISABLE   0x00000001
 
#define IOP13XX_ATUX_OUMBAR_ENABLE   0x80000000
 
#define IOP13XX_ATUE_OFFSET(ofs)
 
#define IOP13XX_ATUE_DID
 
#define IOP13XX_ATUE_ATUCMD
 
#define IOP13XX_ATUE_ATUSR
 
#define IOP13XX_ATUE_IABAR0   IOP13XX_ATUE_OFFSET(0x10)
 
#define IOP13XX_ATUE_IAUBAR0   IOP13XX_ATUE_OFFSET(0x14)
 
#define IOP13XX_ATUE_IABAR1   IOP13XX_ATUE_OFFSET(0x18)
 
#define IOP13XX_ATUE_IAUBAR1   IOP13XX_ATUE_OFFSET(0x1c)
 
#define IOP13XX_ATUE_IABAR2   IOP13XX_ATUE_OFFSET(0x20)
 
#define IOP13XX_ATUE_IAUBAR2   IOP13XX_ATUE_OFFSET(0x24)
 
#define IOP13XX_ATUE_IALR0   IOP13XX_ATUE_OFFSET(0x40)
 
#define IOP13XX_ATUE_IATVR0   IOP13XX_ATUE_OFFSET(0x44)
 
#define IOP13XX_ATUE_IAUTVR0   IOP13XX_ATUE_OFFSET(0x48)
 
#define IOP13XX_ATUE_IALR1   IOP13XX_ATUE_OFFSET(0x4c)
 
#define IOP13XX_ATUE_IATVR1   IOP13XX_ATUE_OFFSET(0x50)
 
#define IOP13XX_ATUE_IAUTVR1   IOP13XX_ATUE_OFFSET(0x54)
 
#define IOP13XX_ATUE_IALR2   IOP13XX_ATUE_OFFSET(0x58)
 
#define IOP13XX_ATUE_IATVR2   IOP13XX_ATUE_OFFSET(0x5c)
 
#define IOP13XX_ATUE_IAUTVR2   IOP13XX_ATUE_OFFSET(0x60)
 
#define IOP13XX_ATUE_PE_LSTS
 
#define IOP13XX_ATUE_OIOWTVR   IOP13XX_ATUE_OFFSET(0x304)
 
#define IOP13XX_ATUE_OUMBAR0   IOP13XX_ATUE_OFFSET(0x308)
 
#define IOP13XX_ATUE_OUMWTVR0   IOP13XX_ATUE_OFFSET(0x30c)
 
#define IOP13XX_ATUE_OUMBAR1   IOP13XX_ATUE_OFFSET(0x310)
 
#define IOP13XX_ATUE_OUMWTVR1   IOP13XX_ATUE_OFFSET(0x314)
 
#define IOP13XX_ATUE_OUMBAR2   IOP13XX_ATUE_OFFSET(0x318)
 
#define IOP13XX_ATUE_OUMWTVR2   IOP13XX_ATUE_OFFSET(0x31c)
 
#define IOP13XX_ATUE_OUMBAR3   IOP13XX_ATUE_OFFSET(0x320)
 
#define IOP13XX_ATUE_OUMWTVR3   IOP13XX_ATUE_OFFSET(0x324)
 
#define IOP13XX_ATUE_ATUCR   IOP13XX_ATUE_OFFSET(0x70)
 
#define IOP13XX_ATUE_PCSR   IOP13XX_ATUE_OFFSET(0x74)
 
#define IOP13XX_ATUE_ATUISR   IOP13XX_ATUE_OFFSET(0x78)
 
#define IOP13XX_ATUE_OIOBAR   IOP13XX_ATUE_OFFSET(0x300)
 
#define IOP13XX_ATUE_OCCAR   IOP13XX_ATUE_OFFSET(0x32c)
 
#define IOP13XX_ATUE_OCCDR   IOP13XX_ATUE_OFFSET(0x330)
 
#define IOP13XX_ATUE_PIE_STS   IOP13XX_ATUE_OFFSET(0x384)
 
#define IOP13XX_ATUE_PIE_MSK   IOP13XX_ATUE_OFFSET(0x388)
 
#define IOP13XX_ATUE_ATUCR_IVM   (1 << 6)
 
#define IOP13XX_ATUE_ATUCR_OUT_EN   (1 << 1)
 
#define IOP13XX_ATUE_OCCAR_BUS_NUM   (24)
 
#define IOP13XX_ATUE_OCCAR_DEV_NUM   (19)
 
#define IOP13XX_ATUE_OCCAR_FUNC_NUM   (16)
 
#define IOP13XX_ATUE_OCCAR_EXT_REG   (8)
 
#define IOP13XX_ATUE_OCCAR_REG   (2)
 
#define IOP13XX_ATUE_PCSR_BUS_NUM   (24)
 
#define IOP13XX_ATUE_PCSR_DEV_NUM   (19)
 
#define IOP13XX_ATUE_PCSR_FUNC_NUM   (16)
 
#define IOP13XX_ATUE_PCSR_OUT_Q_BUSY   (1 << 15)
 
#define IOP13XX_ATUE_PCSR_IN_Q_BUSY   (1 << 14)
 
#define IOP13XX_ATUE_PCSR_END_POINT   (1 << 13)
 
#define IOP13XX_ATUE_PCSR_LLRB_BUSY   (1 << 12)
 
#define IOP13XX_ATUE_PCSR_BUS_NUM_MASK   (0xff)
 
#define IOP13XX_ATUE_PCSR_DEV_NUM_MASK   (0x1f)
 
#define IOP13XX_ATUE_PCSR_FUNC_NUM_MASK   (0x7)
 
#define IOP13XX_ATUE_PCSR_CORE_RESET   (8)
 
#define IOP13XX_ATUE_PCSR_FUNC_NUM   (16)
 
#define IOP13XX_ATUE_LSTS_TRAINING   (1 << 11)
 
#define IOP13XX_ATUE_STAT_SLOT_PWR_MSG   (1 << 28)
 
#define IOP13XX_ATUE_STAT_PME   (1 << 27)
 
#define IOP13XX_ATUE_STAT_HOT_PLUG_MSG   (1 << 26)
 
#define IOP13XX_ATUE_STAT_IVM   (1 << 25)
 
#define IOP13XX_ATUE_STAT_BIST   (1 << 24)
 
#define IOP13XX_ATUE_STAT_CFG_WRITE   (1 << 18)
 
#define IOP13XX_ATUE_STAT_VPD_ADDR   (1 << 17)
 
#define IOP13XX_ATUE_STAT_POWER_TRAN   (1 << 16)
 
#define IOP13XX_ATUE_STAT_HALT_ON_ERROR   (1 << 13)
 
#define IOP13XX_ATUE_STAT_ROOT_SYS_ERR   (1 << 12)
 
#define IOP13XX_ATUE_STAT_ROOT_ERR_MSG   (1 << 11)
 
#define IOP13XX_ATUE_STAT_PCI_IFACE_ERR   (1 << 10)
 
#define IOP13XX_ATUE_STAT_ERR_COR   (1 << 9 )
 
#define IOP13XX_ATUE_STAT_ERR_UNCOR   (1 << 8 )
 
#define IOP13XX_ATUE_STAT_CRS   (1 << 7 )
 
#define IOP13XX_ATUE_STAT_LNK_DWN   (1 << 6 )
 
#define IOP13XX_ATUE_STAT_INT_REC_MABORT   (1 << 5 )
 
#define IOP13XX_ATUE_STAT_DET_PAR_ERR   (1 << 4 )
 
#define IOP13XX_ATUE_STAT_EXT_REC_MABORT   (1 << 3 )
 
#define IOP13XX_ATUE_STAT_SIG_TABORT   (1 << 2 )
 
#define IOP13XX_ATUE_STAT_EXT_REC_TABORT   (1 << 1 )
 
#define IOP13XX_ATUE_STAT_MASTER_DATA_PAR   (1 << 0 )
 
#define IOP13XX_ATUE_ESTAT_REC_UNSUPPORTED_COMP_REQ   (1 << 31)
 
#define IOP13XX_ATUE_ESTAT_REC_COMPLETER_ABORT   (1 << 30)
 
#define IOP13XX_ATUE_ESTAT_TX_POISONED_TLP   (1 << 29)
 
#define IOP13XX_ATUE_ESTAT_TX_PAR_ERR   (1 << 28)
 
#define IOP13XX_ATUE_ESTAT_REC_UNSUPPORTED_REQ   (1 << 20)
 
#define IOP13XX_ATUE_ESTAT_REC_ECRC_ERR   (1 << 19)
 
#define IOP13XX_ATUE_ESTAT_REC_MALFORMED_TLP   (1 << 18)
 
#define IOP13XX_ATUE_ESTAT_TX_RECEIVER_OVERFLOW   (1 << 17)
 
#define IOP13XX_ATUE_ESTAT_REC_UNEXPECTED_COMP   (1 << 16)
 
#define IOP13XX_ATUE_ESTAT_INT_COMP_ABORT   (1 << 15)
 
#define IOP13XX_ATUE_ESTAT_COMP_TIMEOUT   (1 << 14)
 
#define IOP13XX_ATUE_ESTAT_FLOW_CONTROL_ERR   (1 << 13)
 
#define IOP13XX_ATUE_ESTAT_REC_POISONED_TLP   (1 << 12)
 
#define IOP13XX_ATUE_ESTAT_DATA_LNK_ERR   (1 << 4 )
 
#define IOP13XX_ATUE_ESTAT_TRAINING_ERR   (1 << 0 )
 
#define IOP13XX_ATUE_IALR_DISABLE   (0x00000001)
 
#define IOP13XX_ATUE_OUMBAR_ENABLE   (0x80000000)
 
#define IOP13XX_ATU_OUMBAR_FUNC_NUM   (28)
 
#define IOP13XX_ATU_OUMBAR_FUNC_NUM_MASK   (0x7)
 
#define IOP13XX_MU_OFFSET(ofs)
 
#define IOP13XX_MU_IMR0   IOP13XX_MU_OFFSET(0x10)
 
#define IOP13XX_MU_IMR1   IOP13XX_MU_OFFSET(0x14)
 
#define IOP13XX_MU_OMR0   IOP13XX_MU_OFFSET(0x18)
 
#define IOP13XX_MU_OMR1   IOP13XX_MU_OFFSET(0x1C)
 
#define IOP13XX_MU_IDR   IOP13XX_MU_OFFSET(0x20)
 
#define IOP13XX_MU_IISR   IOP13XX_MU_OFFSET(0x24)
 
#define IOP13XX_MU_IIMR   IOP13XX_MU_OFFSET(0x28)
 
#define IOP13XX_MU_ODR   IOP13XX_MU_OFFSET(0x2C)
 
#define IOP13XX_MU_OISR   IOP13XX_MU_OFFSET(0x30)
 
#define IOP13XX_MU_OIMR   IOP13XX_MU_OFFSET(0x34)
 
#define IOP13XX_MU_IRCSR   IOP13XX_MU_OFFSET(0x38)
 
#define IOP13XX_MU_ORCSR   IOP13XX_MU_OFFSET(0x3C)
 
#define IOP13XX_MU_MIMR   IOP13XX_MU_OFFSET(0x48)
 
#define IOP13XX_MU_MUCR   IOP13XX_MU_OFFSET(0x50)
 
#define IOP13XX_MU_QBAR   IOP13XX_MU_OFFSET(0x54)
 
#define IOP13XX_MU_MUBAR   IOP13XX_MU_OFFSET(0x84)
 
#define IOP13XX_MU_WINDOW_SIZE   (8 * 1024)
 
#define IOP13XX_MU_BASE_PHYS   (0xff000000)
 
#define IOP13XX_MU_BASE_PCI   (0xff000000)
 
#define IOP13XX_MU_MIMR_PCI   (IOP13XX_MU_BASE_PCI + 0x48)
 
#define IOP13XX_MU_MIMR_CORE_SELECT   (15)
 
#define IOP13XX_ADMA_PHYS_BASE(chan)   IOP13XX_REG_ADDR32_PHYS((chan << 9))
 
#define IOP13XX_ADMA_UPPER_PA(chan)   (IOP13XX_ADMA_PHYS_BASE(chan) + 0xc0)
 
#define IOP13XX_XBG_BECSR   IOP13XX_REG_ADDR32(0x178c)
 
#define IOP13XX_XBG_BERAR   IOP13XX_REG_ADDR32(0x1790)
 
#define IOP13XX_XBG_BERUAR   IOP13XX_REG_ADDR32(0x1794)
 
#define is_atue_occdr_error(x)
 
#define is_atux_occdr_error(x)
 
#define IOP13XX_PBI_OFFSET(ofs)
 
#define IOP13XX_PBI_CR   IOP13XX_PBI_OFFSET(0x0)
 
#define IOP13XX_PBI_SR   IOP13XX_PBI_OFFSET(0x4)
 
#define IOP13XX_PBI_BAR0   IOP13XX_PBI_OFFSET(0x8)
 
#define IOP13XX_PBI_LR0   IOP13XX_PBI_OFFSET(0xc)
 
#define IOP13XX_PBI_BAR1   IOP13XX_PBI_OFFSET(0x10)
 
#define IOP13XX_PBI_LR1   IOP13XX_PBI_OFFSET(0x14)
 
#define IOP13XX_PROCESSOR_FREQ   IOP13XX_REG_ADDR32(0x2180)
 
#define IOP_WDTCR_EN_ARM   0x1e1e1e1e
 
#define IOP_WDTCR_EN   0xe1e1e1e1
 
#define IOP_WDTCR_DIS_ARM   0x1f1f1f1f
 
#define IOP_WDTCR_DIS   0xf1f1f1f1
 
#define IOP_RCSR_WDT   (1 << 5) /* reset caused by watchdog timer */
 
#define IOP13XX_WDTSR_WRITE_EN   (1 << 31) /* used to speed up reset requests */
 
#define IOP13XX_WDTCR_IB_RESET   (1 << 0)
 

Functions

void iop13xx_init_early (void)
 
void iop13xx_init_irq (void)
 
void iop13xx_map_io (void)
 
void iop13xx_platform_init (void)
 
void iop13xx_add_tpmi_devices (void)
 
void iop13xx_restart (char, const char *)
 
unsigned long get_iop_tick_rate (void)
 

Variables

u32 iop13xx_atux_pmmr_offset
 
u32 iop13xx_atue_pmmr_offset
 

Macro Definition Documentation

#define IOP13XX_ADMA0_PMMR_OFFSET   0x00000000

Definition at line 201 of file iop13xx.h.

#define IOP13XX_ADMA1_PMMR_OFFSET   0x00000200

Definition at line 202 of file iop13xx.h.

#define IOP13XX_ADMA2_PMMR_OFFSET   0x00000400

Definition at line 203 of file iop13xx.h.

#define IOP13XX_ADMA_PHYS_BASE (   chan)    IOP13XX_REG_ADDR32_PHYS((chan << 9))

Definition at line 466 of file iop13xx.h.

#define IOP13XX_ADMA_UPPER_PA (   chan)    (IOP13XX_ADMA_PHYS_BASE(chan) + 0xc0)

Definition at line 467 of file iop13xx.h.

#define IOP13XX_ATU0_PMMR_OFFSET   0x00048000

Definition at line 198 of file iop13xx.h.

#define IOP13XX_ATU1_PMMR_OFFSET   0x0004c000

Definition at line 199 of file iop13xx.h.

#define IOP13XX_ATU2_PMMR_OFFSET   0x0004d000

Definition at line 200 of file iop13xx.h.

#define IOP13XX_ATU_OUMBAR_FUNC_NUM   (28)

Definition at line 433 of file iop13xx.h.

#define IOP13XX_ATU_OUMBAR_FUNC_NUM_MASK   (0x7)

Definition at line 434 of file iop13xx.h.

#define IOP13XX_ATUE_ATUCMD
Value:

Definition at line 326 of file iop13xx.h.

#define IOP13XX_ATUE_ATUCR   IOP13XX_ATUE_OFFSET(0x70)

Definition at line 358 of file iop13xx.h.

#define IOP13XX_ATUE_ATUCR_IVM   (1 << 6)

Definition at line 368 of file iop13xx.h.

#define IOP13XX_ATUE_ATUCR_OUT_EN   (1 << 1)

Definition at line 369 of file iop13xx.h.

#define IOP13XX_ATUE_ATUISR   IOP13XX_ATUE_OFFSET(0x78)

Definition at line 360 of file iop13xx.h.

#define IOP13XX_ATUE_ATUSR
Value:

Definition at line 328 of file iop13xx.h.

#define IOP13XX_ATUE_DID
Value:

Definition at line 324 of file iop13xx.h.

#define IOP13XX_ATUE_ESTAT_COMP_TIMEOUT   (1 << 14)

Definition at line 425 of file iop13xx.h.

#define IOP13XX_ATUE_ESTAT_DATA_LNK_ERR   (1 << 4 )

Definition at line 428 of file iop13xx.h.

#define IOP13XX_ATUE_ESTAT_FLOW_CONTROL_ERR   (1 << 13)

Definition at line 426 of file iop13xx.h.

#define IOP13XX_ATUE_ESTAT_INT_COMP_ABORT   (1 << 15)

Definition at line 424 of file iop13xx.h.

#define IOP13XX_ATUE_ESTAT_REC_COMPLETER_ABORT   (1 << 30)

Definition at line 416 of file iop13xx.h.

#define IOP13XX_ATUE_ESTAT_REC_ECRC_ERR   (1 << 19)

Definition at line 420 of file iop13xx.h.

#define IOP13XX_ATUE_ESTAT_REC_MALFORMED_TLP   (1 << 18)

Definition at line 421 of file iop13xx.h.

#define IOP13XX_ATUE_ESTAT_REC_POISONED_TLP   (1 << 12)

Definition at line 427 of file iop13xx.h.

#define IOP13XX_ATUE_ESTAT_REC_UNEXPECTED_COMP   (1 << 16)

Definition at line 423 of file iop13xx.h.

#define IOP13XX_ATUE_ESTAT_REC_UNSUPPORTED_COMP_REQ   (1 << 31)

Definition at line 415 of file iop13xx.h.

#define IOP13XX_ATUE_ESTAT_REC_UNSUPPORTED_REQ   (1 << 20)

Definition at line 419 of file iop13xx.h.

#define IOP13XX_ATUE_ESTAT_TRAINING_ERR   (1 << 0 )

Definition at line 429 of file iop13xx.h.

#define IOP13XX_ATUE_ESTAT_TX_PAR_ERR   (1 << 28)

Definition at line 418 of file iop13xx.h.

#define IOP13XX_ATUE_ESTAT_TX_POISONED_TLP   (1 << 29)

Definition at line 417 of file iop13xx.h.

#define IOP13XX_ATUE_ESTAT_TX_RECEIVER_OVERFLOW   (1 << 17)

Definition at line 422 of file iop13xx.h.

#define IOP13XX_ATUE_IABAR0   IOP13XX_ATUE_OFFSET(0x10)

Definition at line 331 of file iop13xx.h.

#define IOP13XX_ATUE_IABAR1   IOP13XX_ATUE_OFFSET(0x18)

Definition at line 333 of file iop13xx.h.

#define IOP13XX_ATUE_IABAR2   IOP13XX_ATUE_OFFSET(0x20)

Definition at line 335 of file iop13xx.h.

#define IOP13XX_ATUE_IALR0   IOP13XX_ATUE_OFFSET(0x40)

Definition at line 337 of file iop13xx.h.

#define IOP13XX_ATUE_IALR1   IOP13XX_ATUE_OFFSET(0x4c)

Definition at line 340 of file iop13xx.h.

#define IOP13XX_ATUE_IALR2   IOP13XX_ATUE_OFFSET(0x58)

Definition at line 343 of file iop13xx.h.

#define IOP13XX_ATUE_IALR_DISABLE   (0x00000001)

Definition at line 431 of file iop13xx.h.

#define IOP13XX_ATUE_IATVR0   IOP13XX_ATUE_OFFSET(0x44)

Definition at line 338 of file iop13xx.h.

#define IOP13XX_ATUE_IATVR1   IOP13XX_ATUE_OFFSET(0x50)

Definition at line 341 of file iop13xx.h.

#define IOP13XX_ATUE_IATVR2   IOP13XX_ATUE_OFFSET(0x5c)

Definition at line 344 of file iop13xx.h.

#define IOP13XX_ATUE_IAUBAR0   IOP13XX_ATUE_OFFSET(0x14)

Definition at line 332 of file iop13xx.h.

#define IOP13XX_ATUE_IAUBAR1   IOP13XX_ATUE_OFFSET(0x1c)

Definition at line 334 of file iop13xx.h.

#define IOP13XX_ATUE_IAUBAR2   IOP13XX_ATUE_OFFSET(0x24)

Definition at line 336 of file iop13xx.h.

#define IOP13XX_ATUE_IAUTVR0   IOP13XX_ATUE_OFFSET(0x48)

Definition at line 339 of file iop13xx.h.

#define IOP13XX_ATUE_IAUTVR1   IOP13XX_ATUE_OFFSET(0x54)

Definition at line 342 of file iop13xx.h.

#define IOP13XX_ATUE_IAUTVR2   IOP13XX_ATUE_OFFSET(0x60)

Definition at line 345 of file iop13xx.h.

#define IOP13XX_ATUE_LSTS_TRAINING   (1 << 11)

Definition at line 391 of file iop13xx.h.

#define IOP13XX_ATUE_OCCAR   IOP13XX_ATUE_OFFSET(0x32c)

Definition at line 362 of file iop13xx.h.

#define IOP13XX_ATUE_OCCAR_BUS_NUM   (24)

Definition at line 370 of file iop13xx.h.

#define IOP13XX_ATUE_OCCAR_DEV_NUM   (19)

Definition at line 371 of file iop13xx.h.

#define IOP13XX_ATUE_OCCAR_EXT_REG   (8)

Definition at line 373 of file iop13xx.h.

#define IOP13XX_ATUE_OCCAR_FUNC_NUM   (16)

Definition at line 372 of file iop13xx.h.

#define IOP13XX_ATUE_OCCAR_REG   (2)

Definition at line 374 of file iop13xx.h.

#define IOP13XX_ATUE_OCCDR   IOP13XX_ATUE_OFFSET(0x330)

Definition at line 363 of file iop13xx.h.

#define IOP13XX_ATUE_OFFSET (   ofs)
Value:

Definition at line 321 of file iop13xx.h.

#define IOP13XX_ATUE_OIOBAR   IOP13XX_ATUE_OFFSET(0x300)

Definition at line 361 of file iop13xx.h.

#define IOP13XX_ATUE_OIOWTVR   IOP13XX_ATUE_OFFSET(0x304)

Definition at line 348 of file iop13xx.h.

#define IOP13XX_ATUE_OUMBAR0   IOP13XX_ATUE_OFFSET(0x308)

Definition at line 349 of file iop13xx.h.

#define IOP13XX_ATUE_OUMBAR1   IOP13XX_ATUE_OFFSET(0x310)

Definition at line 351 of file iop13xx.h.

#define IOP13XX_ATUE_OUMBAR2   IOP13XX_ATUE_OFFSET(0x318)

Definition at line 353 of file iop13xx.h.

#define IOP13XX_ATUE_OUMBAR3   IOP13XX_ATUE_OFFSET(0x320)

Definition at line 355 of file iop13xx.h.

#define IOP13XX_ATUE_OUMBAR_ENABLE   (0x80000000)

Definition at line 432 of file iop13xx.h.

#define IOP13XX_ATUE_OUMWTVR0   IOP13XX_ATUE_OFFSET(0x30c)

Definition at line 350 of file iop13xx.h.

#define IOP13XX_ATUE_OUMWTVR1   IOP13XX_ATUE_OFFSET(0x314)

Definition at line 352 of file iop13xx.h.

#define IOP13XX_ATUE_OUMWTVR2   IOP13XX_ATUE_OFFSET(0x31c)

Definition at line 354 of file iop13xx.h.

#define IOP13XX_ATUE_OUMWTVR3   IOP13XX_ATUE_OFFSET(0x324)

Definition at line 356 of file iop13xx.h.

#define IOP13XX_ATUE_PCSR   IOP13XX_ATUE_OFFSET(0x74)

Definition at line 359 of file iop13xx.h.

#define IOP13XX_ATUE_PCSR_BUS_NUM   (24)

Definition at line 376 of file iop13xx.h.

#define IOP13XX_ATUE_PCSR_BUS_NUM_MASK   (0xff)

Definition at line 384 of file iop13xx.h.

#define IOP13XX_ATUE_PCSR_CORE_RESET   (8)

Definition at line 388 of file iop13xx.h.

#define IOP13XX_ATUE_PCSR_DEV_NUM   (19)

Definition at line 377 of file iop13xx.h.

#define IOP13XX_ATUE_PCSR_DEV_NUM_MASK   (0x1f)

Definition at line 385 of file iop13xx.h.

#define IOP13XX_ATUE_PCSR_END_POINT   (1 << 13)

Definition at line 381 of file iop13xx.h.

#define IOP13XX_ATUE_PCSR_FUNC_NUM   (16)

Definition at line 389 of file iop13xx.h.

#define IOP13XX_ATUE_PCSR_FUNC_NUM   (16)

Definition at line 389 of file iop13xx.h.

#define IOP13XX_ATUE_PCSR_FUNC_NUM_MASK   (0x7)

Definition at line 386 of file iop13xx.h.

#define IOP13XX_ATUE_PCSR_IN_Q_BUSY   (1 << 14)

Definition at line 380 of file iop13xx.h.

#define IOP13XX_ATUE_PCSR_LLRB_BUSY   (1 << 12)

Definition at line 382 of file iop13xx.h.

#define IOP13XX_ATUE_PCSR_OUT_Q_BUSY   (1 << 15)

Definition at line 379 of file iop13xx.h.

#define IOP13XX_ATUE_PE_LSTS
Value:

Definition at line 346 of file iop13xx.h.

#define IOP13XX_ATUE_PIE_MSK   IOP13XX_ATUE_OFFSET(0x388)

Definition at line 366 of file iop13xx.h.

#define IOP13XX_ATUE_PIE_STS   IOP13XX_ATUE_OFFSET(0x384)

Definition at line 365 of file iop13xx.h.

#define IOP13XX_ATUE_STAT_BIST   (1 << 24)

Definition at line 396 of file iop13xx.h.

#define IOP13XX_ATUE_STAT_CFG_WRITE   (1 << 18)

Definition at line 397 of file iop13xx.h.

#define IOP13XX_ATUE_STAT_CRS   (1 << 7 )

Definition at line 406 of file iop13xx.h.

#define IOP13XX_ATUE_STAT_DET_PAR_ERR   (1 << 4 )

Definition at line 409 of file iop13xx.h.

#define IOP13XX_ATUE_STAT_ERR_COR   (1 << 9 )

Definition at line 404 of file iop13xx.h.

#define IOP13XX_ATUE_STAT_ERR_UNCOR   (1 << 8 )

Definition at line 405 of file iop13xx.h.

#define IOP13XX_ATUE_STAT_EXT_REC_MABORT   (1 << 3 )

Definition at line 410 of file iop13xx.h.

#define IOP13XX_ATUE_STAT_EXT_REC_TABORT   (1 << 1 )

Definition at line 412 of file iop13xx.h.

#define IOP13XX_ATUE_STAT_HALT_ON_ERROR   (1 << 13)

Definition at line 400 of file iop13xx.h.

#define IOP13XX_ATUE_STAT_HOT_PLUG_MSG   (1 << 26)

Definition at line 394 of file iop13xx.h.

#define IOP13XX_ATUE_STAT_INT_REC_MABORT   (1 << 5 )

Definition at line 408 of file iop13xx.h.

#define IOP13XX_ATUE_STAT_IVM   (1 << 25)

Definition at line 395 of file iop13xx.h.

#define IOP13XX_ATUE_STAT_LNK_DWN   (1 << 6 )

Definition at line 407 of file iop13xx.h.

#define IOP13XX_ATUE_STAT_MASTER_DATA_PAR   (1 << 0 )

Definition at line 413 of file iop13xx.h.

#define IOP13XX_ATUE_STAT_PCI_IFACE_ERR   (1 << 10)

Definition at line 403 of file iop13xx.h.

#define IOP13XX_ATUE_STAT_PME   (1 << 27)

Definition at line 393 of file iop13xx.h.

#define IOP13XX_ATUE_STAT_POWER_TRAN   (1 << 16)

Definition at line 399 of file iop13xx.h.

#define IOP13XX_ATUE_STAT_ROOT_ERR_MSG   (1 << 11)

Definition at line 402 of file iop13xx.h.

#define IOP13XX_ATUE_STAT_ROOT_SYS_ERR   (1 << 12)

Definition at line 401 of file iop13xx.h.

#define IOP13XX_ATUE_STAT_SIG_TABORT   (1 << 2 )

Definition at line 411 of file iop13xx.h.

#define IOP13XX_ATUE_STAT_SLOT_PWR_MSG   (1 << 28)

Definition at line 392 of file iop13xx.h.

#define IOP13XX_ATUE_STAT_VPD_ADDR   (1 << 17)

Definition at line 398 of file iop13xx.h.

#define IOP13XX_ATUX_ATUCMD
Value:

Definition at line 244 of file iop13xx.h.

#define IOP13XX_ATUX_ATUCR   IOP13XX_ATUX_OFFSET(0x70)

Definition at line 264 of file iop13xx.h.

#define IOP13XX_ATUX_ATUCR_OUT_EN   (1 << 1)

Definition at line 289 of file iop13xx.h.

#define IOP13XX_ATUX_ATUISR   IOP13XX_ATUX_OFFSET(0x78)

Definition at line 266 of file iop13xx.h.

#define IOP13XX_ATUX_ATUSR
Value:

Definition at line 246 of file iop13xx.h.

#define IOP13XX_ATUX_DID
Value:

Definition at line 241 of file iop13xx.h.

#define IOP13XX_ATUX_IABAR0   IOP13XX_ATUX_OFFSET(0x10)

Definition at line 249 of file iop13xx.h.

#define IOP13XX_ATUX_IABAR1   IOP13XX_ATUX_OFFSET(0x18)

Definition at line 251 of file iop13xx.h.

#define IOP13XX_ATUX_IABAR2   IOP13XX_ATUX_OFFSET(0x20)

Definition at line 253 of file iop13xx.h.

#define IOP13XX_ATUX_IABAR3   IOP13XX_ATUX_OFFSET(0x200)

Definition at line 268 of file iop13xx.h.

#define IOP13XX_ATUX_IALR0   IOP13XX_ATUX_OFFSET(0x40)

Definition at line 255 of file iop13xx.h.

#define IOP13XX_ATUX_IALR1   IOP13XX_ATUX_OFFSET(0x4c)

Definition at line 258 of file iop13xx.h.

#define IOP13XX_ATUX_IALR2   IOP13XX_ATUX_OFFSET(0x58)

Definition at line 261 of file iop13xx.h.

#define IOP13XX_ATUX_IALR3   IOP13XX_ATUX_OFFSET(0x208)

Definition at line 270 of file iop13xx.h.

#define IOP13XX_ATUX_IALR_DISABLE   0x00000001

Definition at line 318 of file iop13xx.h.

#define IOP13XX_ATUX_IATVR0   IOP13XX_ATUX_OFFSET(0x44)

Definition at line 256 of file iop13xx.h.

#define IOP13XX_ATUX_IATVR1   IOP13XX_ATUX_OFFSET(0x50)

Definition at line 259 of file iop13xx.h.

#define IOP13XX_ATUX_IATVR2   IOP13XX_ATUX_OFFSET(0x5c)

Definition at line 262 of file iop13xx.h.

#define IOP13XX_ATUX_IATVR3   IOP13XX_ATUX_OFFSET(0x20c)

Definition at line 271 of file iop13xx.h.

#define IOP13XX_ATUX_IAUBAR0   IOP13XX_ATUX_OFFSET(0x14)

Definition at line 250 of file iop13xx.h.

#define IOP13XX_ATUX_IAUBAR1   IOP13XX_ATUX_OFFSET(0x1c)

Definition at line 252 of file iop13xx.h.

#define IOP13XX_ATUX_IAUBAR2   IOP13XX_ATUX_OFFSET(0x24)

Definition at line 254 of file iop13xx.h.

#define IOP13XX_ATUX_IAUBAR3   IOP13XX_ATUX_OFFSET(0x204)

Definition at line 269 of file iop13xx.h.

#define IOP13XX_ATUX_IAUTVR0   IOP13XX_ATUX_OFFSET(0x48)

Definition at line 257 of file iop13xx.h.

#define IOP13XX_ATUX_IAUTVR1   IOP13XX_ATUX_OFFSET(0x54)

Definition at line 260 of file iop13xx.h.

#define IOP13XX_ATUX_IAUTVR2   IOP13XX_ATUX_OFFSET(0x60)

Definition at line 263 of file iop13xx.h.

#define IOP13XX_ATUX_IAUTVR3   IOP13XX_ATUX_OFFSET(0x210)

Definition at line 272 of file iop13xx.h.

#define IOP13XX_ATUX_OCCAR   IOP13XX_ATUX_OFFSET(0x330)

Definition at line 286 of file iop13xx.h.

#define IOP13XX_ATUX_OCCDR   IOP13XX_ATUX_OFFSET(0x334)

Definition at line 287 of file iop13xx.h.

#define IOP13XX_ATUX_OFFSET (   ofs)
Value:

Definition at line 238 of file iop13xx.h.

#define IOP13XX_ATUX_OIOBAR   IOP13XX_ATUX_OFFSET(0x300)

Definition at line 274 of file iop13xx.h.

#define IOP13XX_ATUX_OIOWTVR   IOP13XX_ATUX_OFFSET(0x304)

Definition at line 275 of file iop13xx.h.

#define IOP13XX_ATUX_OUDMABAR   IOP13XX_ATUX_OFFSET(0x328)

Definition at line 284 of file iop13xx.h.

#define IOP13XX_ATUX_OUMBAR0   IOP13XX_ATUX_OFFSET(0x308)

Definition at line 276 of file iop13xx.h.

#define IOP13XX_ATUX_OUMBAR1   IOP13XX_ATUX_OFFSET(0x310)

Definition at line 278 of file iop13xx.h.

#define IOP13XX_ATUX_OUMBAR2   IOP13XX_ATUX_OFFSET(0x318)

Definition at line 280 of file iop13xx.h.

#define IOP13XX_ATUX_OUMBAR3   IOP13XX_ATUX_OFFSET(0x320)

Definition at line 282 of file iop13xx.h.

#define IOP13XX_ATUX_OUMBAR_ENABLE   0x80000000

Definition at line 319 of file iop13xx.h.

#define IOP13XX_ATUX_OUMSIBAR   IOP13XX_ATUX_OFFSET(0x32c)

Definition at line 285 of file iop13xx.h.

#define IOP13XX_ATUX_OUMWTVR0   IOP13XX_ATUX_OFFSET(0x30c)

Definition at line 277 of file iop13xx.h.

#define IOP13XX_ATUX_OUMWTVR1   IOP13XX_ATUX_OFFSET(0x314)

Definition at line 279 of file iop13xx.h.

#define IOP13XX_ATUX_OUMWTVR2   IOP13XX_ATUX_OFFSET(0x31c)

Definition at line 281 of file iop13xx.h.

#define IOP13XX_ATUX_OUMWTVR3   IOP13XX_ATUX_OFFSET(0x324)

Definition at line 283 of file iop13xx.h.

#define IOP13XX_ATUX_PCIXSR   IOP13XX_ATUX_OFFSET(0xD4)

Definition at line 267 of file iop13xx.h.

#define IOP13XX_ATUX_PCIXSR_BUS_NUM   (8)

Definition at line 314 of file iop13xx.h.

#define IOP13XX_ATUX_PCIXSR_DEV_NUM   (3)

Definition at line 315 of file iop13xx.h.

#define IOP13XX_ATUX_PCIXSR_FUNC_NUM   (0)

Definition at line 316 of file iop13xx.h.

#define IOP13XX_ATUX_PCSR   IOP13XX_ATUX_OFFSET(0x74)

Definition at line 265 of file iop13xx.h.

#define IOP13XX_ATUX_PCSR_CENTRAL_RES   (1 << 25)

Definition at line 290 of file iop13xx.h.

#define IOP13XX_ATUX_PCSR_FREQ_OFFSET   (16)

Definition at line 294 of file iop13xx.h.

#define IOP13XX_ATUX_PCSR_IN_Q_BUSY   (1 << 14)

Definition at line 293 of file iop13xx.h.

#define IOP13XX_ATUX_PCSR_OUT_Q_BUSY   (1 << 15)

Definition at line 292 of file iop13xx.h.

#define IOP13XX_ATUX_PCSR_P_RSTOUT   (1 << 21)

Definition at line 291 of file iop13xx.h.

#define IOP13XX_ATUX_STAT_BIST   (1 << 8 )

Definition at line 306 of file iop13xx.h.

#define IOP13XX_ATUX_STAT_CFG_WRITE   (1 << 15)

Definition at line 299 of file iop13xx.h.

#define IOP13XX_ATUX_STAT_DET_PAR_ERR   (1 << 9 )

Definition at line 305 of file iop13xx.h.

#define IOP13XX_ATUX_STAT_ERR_COR   (1 << 14)

Definition at line 300 of file iop13xx.h.

#define IOP13XX_ATUX_STAT_EXT_REC_MABORT   (1 << 3 )

Definition at line 309 of file iop13xx.h.

#define IOP13XX_ATUX_STAT_EXT_REC_TABORT   (1 << 2 )

Definition at line 310 of file iop13xx.h.

#define IOP13XX_ATUX_STAT_EXT_SIG_TABORT   (1 << 1 )

Definition at line 311 of file iop13xx.h.

#define IOP13XX_ATUX_STAT_INT_PAR_ERR   (1 << 16)

Definition at line 298 of file iop13xx.h.

#define IOP13XX_ATUX_STAT_INT_REC_MABORT   (1 << 7 )

Definition at line 307 of file iop13xx.h.

#define IOP13XX_ATUX_STAT_MASTER_DATA_PAR   (1 << 0 )

Definition at line 312 of file iop13xx.h.

#define IOP13XX_ATUX_STAT_PCI_IFACE_ERR   (1 << 18)

Definition at line 296 of file iop13xx.h.

#define IOP13XX_ATUX_STAT_POWER_TRAN   (1 << 11)

Definition at line 303 of file iop13xx.h.

#define IOP13XX_ATUX_STAT_REC_SCEM   (1 << 12)

Definition at line 302 of file iop13xx.h.

#define IOP13XX_ATUX_STAT_REC_SERR   (1 << 4 )

Definition at line 308 of file iop13xx.h.

#define IOP13XX_ATUX_STAT_TX_SCEM   (1 << 13)

Definition at line 301 of file iop13xx.h.

#define IOP13XX_ATUX_STAT_TX_SERR   (1 << 10)

Definition at line 304 of file iop13xx.h.

#define IOP13XX_ATUX_STAT_VPD_ADDR   (1 << 17)

Definition at line 297 of file iop13xx.h.

#define IOP13XX_CONTROLLER_ONLY   (1 << 14)

Definition at line 210 of file iop13xx.h.

#define IOP13XX_ESSR0   IOP13XX_REG_ADDR32(0x00002188)

Definition at line 207 of file iop13xx.h.

#define IOP13XX_ESSR0_IFACE_MASK   0x00004000 /* Interface PCI-X / PCI-E */

Definition at line 209 of file iop13xx.h.

#define IOP13XX_ESSR0_PMMR_OFFSET   0x00002188

Definition at line 206 of file iop13xx.h.

#define IOP13XX_I2C0_PHYS   (IOP13XX_PMMR_PHYS_MEM_BASE | 0x00002500)

Definition at line 153 of file iop13xx.h.

#define IOP13XX_I2C0_VIRT   (IOP13XX_PMMR_VIRT_MEM_BASE | 0x00002500)

Definition at line 156 of file iop13xx.h.

#define IOP13XX_I2C1_PHYS   (IOP13XX_PMMR_PHYS_MEM_BASE | 0x00002520)

Definition at line 154 of file iop13xx.h.

#define IOP13XX_I2C1_VIRT   (IOP13XX_PMMR_VIRT_MEM_BASE | 0x00002520)

Definition at line 157 of file iop13xx.h.

#define IOP13XX_I2C2_PHYS   (IOP13XX_PMMR_PHYS_MEM_BASE | 0x00002540)

Definition at line 155 of file iop13xx.h.

#define IOP13XX_I2C2_VIRT   (IOP13XX_PMMR_VIRT_MEM_BASE | 0x00002540)

Definition at line 158 of file iop13xx.h.

#define IOP13XX_INIT_ADMA_0   (1 << 0)

Definition at line 183 of file iop13xx.h.

#define IOP13XX_INIT_ADMA_1   (1 << 1)

Definition at line 184 of file iop13xx.h.

#define IOP13XX_INIT_ADMA_2   (1 << 2)

Definition at line 185 of file iop13xx.h.

#define IOP13XX_INIT_ADMA_DEFAULT   (0)

Definition at line 182 of file iop13xx.h.

#define IOP13XX_INIT_ATU_ATUE   (1 << 1)

Definition at line 164 of file iop13xx.h.

#define IOP13XX_INIT_ATU_ATUX   (1 << 0)

Definition at line 163 of file iop13xx.h.

#define IOP13XX_INIT_ATU_DEFAULT   (0)

Definition at line 162 of file iop13xx.h.

#define IOP13XX_INIT_ATU_NONE   (1 << 2)

Definition at line 165 of file iop13xx.h.

#define IOP13XX_INIT_I2C_0   (1 << 0)

Definition at line 176 of file iop13xx.h.

#define IOP13XX_INIT_I2C_1   (1 << 1)

Definition at line 177 of file iop13xx.h.

#define IOP13XX_INIT_I2C_2   (1 << 2)

Definition at line 178 of file iop13xx.h.

#define IOP13XX_INIT_I2C_DEFAULT   (0)

Definition at line 175 of file iop13xx.h.

#define IOP13XX_INIT_UART_0   (1 << 0)

Definition at line 170 of file iop13xx.h.

#define IOP13XX_INIT_UART_1   (1 << 1)

Definition at line 171 of file iop13xx.h.

#define IOP13XX_INIT_UART_DEFAULT   (0)

Definition at line 169 of file iop13xx.h.

#define IOP13XX_INTERFACE_SEL_PCIX   (1 << 15)

Definition at line 211 of file iop13xx.h.

#define IOP13XX_MAX_RAM_SIZE   0x80000000UL /* 2GB */

Definition at line 62 of file iop13xx.h.

#define IOP13XX_MU_BASE_PCI   (0xff000000)

Definition at line 460 of file iop13xx.h.

#define IOP13XX_MU_BASE_PHYS   (0xff000000)

Definition at line 459 of file iop13xx.h.

#define IOP13XX_MU_IDR   IOP13XX_MU_OFFSET(0x20)

Definition at line 445 of file iop13xx.h.

#define IOP13XX_MU_IIMR   IOP13XX_MU_OFFSET(0x28)

Definition at line 447 of file iop13xx.h.

#define IOP13XX_MU_IISR   IOP13XX_MU_OFFSET(0x24)

Definition at line 446 of file iop13xx.h.

#define IOP13XX_MU_IMR0   IOP13XX_MU_OFFSET(0x10)

Definition at line 441 of file iop13xx.h.

#define IOP13XX_MU_IMR1   IOP13XX_MU_OFFSET(0x14)

Definition at line 442 of file iop13xx.h.

#define IOP13XX_MU_IRCSR   IOP13XX_MU_OFFSET(0x38)

Definition at line 451 of file iop13xx.h.

#define IOP13XX_MU_MIMR   IOP13XX_MU_OFFSET(0x48)

Definition at line 453 of file iop13xx.h.

#define IOP13XX_MU_MIMR_CORE_SELECT   (15)

Definition at line 462 of file iop13xx.h.

#define IOP13XX_MU_MIMR_PCI   (IOP13XX_MU_BASE_PCI + 0x48)

Definition at line 461 of file iop13xx.h.

#define IOP13XX_MU_MUBAR   IOP13XX_MU_OFFSET(0x84)

Definition at line 456 of file iop13xx.h.

#define IOP13XX_MU_MUCR   IOP13XX_MU_OFFSET(0x50)

Definition at line 454 of file iop13xx.h.

#define IOP13XX_MU_ODR   IOP13XX_MU_OFFSET(0x2C)

Definition at line 448 of file iop13xx.h.

#define IOP13XX_MU_OFFSET (   ofs)
Value:

Definition at line 438 of file iop13xx.h.

#define IOP13XX_MU_OIMR   IOP13XX_MU_OFFSET(0x34)

Definition at line 450 of file iop13xx.h.

#define IOP13XX_MU_OISR   IOP13XX_MU_OFFSET(0x30)

Definition at line 449 of file iop13xx.h.

#define IOP13XX_MU_OMR0   IOP13XX_MU_OFFSET(0x18)

Definition at line 443 of file iop13xx.h.

#define IOP13XX_MU_OMR1   IOP13XX_MU_OFFSET(0x1C)

Definition at line 444 of file iop13xx.h.

#define IOP13XX_MU_ORCSR   IOP13XX_MU_OFFSET(0x3C)

Definition at line 452 of file iop13xx.h.

#define IOP13XX_MU_PMMR_OFFSET   0x00004000

Definition at line 205 of file iop13xx.h.

#define IOP13XX_MU_QBAR   IOP13XX_MU_OFFSET(0x54)

Definition at line 455 of file iop13xx.h.

#define IOP13XX_MU_WINDOW_SIZE   (8 * 1024)

Definition at line 458 of file iop13xx.h.

#define IOP13XX_PBI_BAR0   IOP13XX_PBI_OFFSET(0x8)

Definition at line 488 of file iop13xx.h.

#define IOP13XX_PBI_BAR1   IOP13XX_PBI_OFFSET(0x10)

Definition at line 490 of file iop13xx.h.

#define IOP13XX_PBI_CR   IOP13XX_PBI_OFFSET(0x0)

Definition at line 486 of file iop13xx.h.

#define IOP13XX_PBI_LOWER_MEM_PA   0xf0000000UL

Definition at line 118 of file iop13xx.h.

#define IOP13XX_PBI_LOWER_MEM_RA   IOP13XX_PBI_MEM_COOKIE

Definition at line 121 of file iop13xx.h.

#define IOP13XX_PBI_LR0   IOP13XX_PBI_OFFSET(0xc)

Definition at line 489 of file iop13xx.h.

#define IOP13XX_PBI_LR1   IOP13XX_PBI_OFFSET(0x14)

Definition at line 491 of file iop13xx.h.

#define IOP13XX_PBI_MEM_COOKIE   0xfa000000UL

Definition at line 120 of file iop13xx.h.

#define IOP13XX_PBI_MEM_WINDOW_SIZE   0x04000000UL

Definition at line 119 of file iop13xx.h.

#define IOP13XX_PBI_OFFSET (   ofs)
Value:

Definition at line 483 of file iop13xx.h.

#define IOP13XX_PBI_PMMR_OFFSET   0x00001580

Definition at line 204 of file iop13xx.h.

#define IOP13XX_PBI_SR   IOP13XX_PBI_OFFSET(0x4)

Definition at line 487 of file iop13xx.h.

#define IOP13XX_PBI_UPPER_MEM_RA
Value:
IOP13XX_PBI_MEM_WINDOW_SIZE - 1)

Definition at line 122 of file iop13xx.h.

#define IOP13XX_PCI_OFFSET   IOP13XX_MAX_RAM_SIZE

Definition at line 63 of file iop13xx.h.

#define IOP13XX_PCIE_LOWER_IO_BA   0x10000UL /* OIOTVR */

Definition at line 97 of file iop13xx.h.

#define IOP13XX_PCIE_LOWER_IO_PA   0xfffd0000UL

Definition at line 96 of file iop13xx.h.

#define IOP13XX_PCIE_LOWER_MEM_BA   (PHYS_OFFSET + IOP13XX_PCI_OFFSET)

Definition at line 101 of file iop13xx.h.

#define IOP13XX_PCIE_LOWER_MEM_PA
Value:
IOP13XX_PCIE_LOWER_MEM_BA)

Definition at line 102 of file iop13xx.h.

#define IOP13XX_PCIE_LOWER_MEM_RA   IOP13XX_PCIE_MEM_COOKIE

Definition at line 111 of file iop13xx.h.

#define IOP13XX_PCIE_MEM_COOKIE   0xc0000000UL

Definition at line 110 of file iop13xx.h.

#define IOP13XX_PCIE_MEM_OFFSET
Value:
IOP13XX_PCIE_LOWER_MEM_BA)

Definition at line 114 of file iop13xx.h.

#define IOP13XX_PCIE_MEM_PHYS_OFFSET   0x200000000ULL

Definition at line 99 of file iop13xx.h.

#define IOP13XX_PCIE_MEM_WINDOW_SIZE   0x3a000000UL

Definition at line 100 of file iop13xx.h.

#define IOP13XX_PCIE_UPPER_MEM_BA
Value:
IOP13XX_PCIE_MEM_WINDOW_SIZE - 1)

Definition at line 106 of file iop13xx.h.

#define IOP13XX_PCIE_UPPER_MEM_PA
Value:
IOP13XX_PCIE_MEM_WINDOW_SIZE - 1)

Definition at line 104 of file iop13xx.h.

#define IOP13XX_PCIE_UPPER_MEM_RA
Value:
IOP13XX_PCIE_MEM_WINDOW_SIZE - 1)

Definition at line 112 of file iop13xx.h.

#define IOP13XX_PCIX_LOWER_IO_BA   0x0UL /* OIOTVR */

Definition at line 76 of file iop13xx.h.

#define IOP13XX_PCIX_LOWER_IO_PA   0xfffb0000UL

Definition at line 75 of file iop13xx.h.

#define IOP13XX_PCIX_LOWER_MEM_BA   (PHYS_OFFSET + IOP13XX_PCI_OFFSET)

Definition at line 80 of file iop13xx.h.

#define IOP13XX_PCIX_LOWER_MEM_PA
Value:
IOP13XX_PCIX_LOWER_MEM_BA)

Definition at line 81 of file iop13xx.h.

#define IOP13XX_PCIX_LOWER_MEM_RA   IOP13XX_PCIX_MEM_COOKIE

Definition at line 89 of file iop13xx.h.

#define IOP13XX_PCIX_MEM_COOKIE   0x80000000UL

Definition at line 88 of file iop13xx.h.

#define IOP13XX_PCIX_MEM_OFFSET
Value:
IOP13XX_PCIX_LOWER_MEM_BA)

Definition at line 92 of file iop13xx.h.

#define IOP13XX_PCIX_MEM_PHYS_OFFSET   0x100000000ULL

Definition at line 78 of file iop13xx.h.

#define IOP13XX_PCIX_MEM_WINDOW_SIZE   0x3a000000UL

Definition at line 79 of file iop13xx.h.

#define IOP13XX_PCIX_UPPER_MEM_BA
Value:
IOP13XX_PCIX_MEM_WINDOW_SIZE - 1)

Definition at line 85 of file iop13xx.h.

#define IOP13XX_PCIX_UPPER_MEM_PA
Value:
IOP13XX_PCIX_MEM_WINDOW_SIZE - 1)

Definition at line 83 of file iop13xx.h.

#define IOP13XX_PCIX_UPPER_MEM_RA
Value:
IOP13XX_PCIX_MEM_WINDOW_SIZE - 1)

Definition at line 90 of file iop13xx.h.

#define IOP13XX_PMMR_MEM_WINDOW_SIZE   0x80000

Definition at line 130 of file iop13xx.h.

#define IOP13XX_PMMR_PHYS_MEM_BASE   0xffd80000UL /* PMMR phys. address */

Definition at line 128 of file iop13xx.h.

#define IOP13XX_PMMR_PHYS_TO_VIRT (   addr)
Value:

Definition at line 137 of file iop13xx.h.

#define IOP13XX_PMMR_SIZE   0x00080000

Definition at line 145 of file iop13xx.h.

#define IOP13XX_PMMR_UPPER_MEM_PA
Value:
IOP13XX_PMMR_MEM_WINDOW_SIZE - 1)

Definition at line 133 of file iop13xx.h.

#define IOP13XX_PMMR_UPPER_MEM_VA
Value:
IOP13XX_PMMR_MEM_WINDOW_SIZE - 1)

Definition at line 131 of file iop13xx.h.

#define IOP13XX_PMMR_VIRT_MEM_BASE   (void __iomem *)(0xfee80000UL) /* PMMR phys. address */

Definition at line 129 of file iop13xx.h.

#define IOP13XX_PMMR_VIRT_TO_PHYS (   addr)
Value:

Definition at line 135 of file iop13xx.h.

#define IOP13XX_PMON_BASE
Value:
IOP13XX_PMON_PMMR_OFFSET)

Definition at line 214 of file iop13xx.h.

#define IOP13XX_PMON_CMD0   (IOP13XX_PMON_BASE + 0x0)

Definition at line 219 of file iop13xx.h.

#define IOP13XX_PMON_CMD3   (IOP13XX_PMON_BASE + 0x30)

Definition at line 224 of file iop13xx.h.

#define IOP13XX_PMON_CMD7   (IOP13XX_PMON_BASE + 0x70)

Definition at line 229 of file iop13xx.h.

#define IOP13XX_PMON_DATA0   (IOP13XX_PMON_BASE + 0xC)

Definition at line 222 of file iop13xx.h.

#define IOP13XX_PMON_DATA3   (IOP13XX_PMON_BASE + 0x3C)

Definition at line 227 of file iop13xx.h.

#define IOP13XX_PMON_DATA7   (IOP13XX_PMON_BASE + 0x7C)

Definition at line 232 of file iop13xx.h.

#define IOP13XX_PMON_EVR0   (IOP13XX_PMON_BASE + 0x4)

Definition at line 220 of file iop13xx.h.

#define IOP13XX_PMON_EVR3   (IOP13XX_PMON_BASE + 0x34)

Definition at line 225 of file iop13xx.h.

#define IOP13XX_PMON_EVR7   (IOP13XX_PMON_BASE + 0x74)

Definition at line 230 of file iop13xx.h.

#define IOP13XX_PMON_PHYSBASE
Value:
IOP13XX_PMON_PMMR_OFFSET)

Definition at line 216 of file iop13xx.h.

#define IOP13XX_PMON_PMMR_OFFSET   0x0001A000

Definition at line 213 of file iop13xx.h.

#define IOP13XX_PMON_STS0   (IOP13XX_PMON_BASE + 0x8)

Definition at line 221 of file iop13xx.h.

#define IOP13XX_PMON_STS3   (IOP13XX_PMON_BASE + 0x38)

Definition at line 226 of file iop13xx.h.

#define IOP13XX_PMON_STS7   (IOP13XX_PMON_BASE + 0x78)

Definition at line 231 of file iop13xx.h.

#define IOP13XX_PMONEN   (IOP13XX_PMMR_VIRT_MEM_BASE + 0x4E040)

Definition at line 234 of file iop13xx.h.

#define IOP13XX_PMONSTAT   (IOP13XX_PMMR_VIRT_MEM_BASE + 0x4E044)

Definition at line 235 of file iop13xx.h.

#define IOP13XX_PROCESSOR_FREQ   IOP13XX_REG_ADDR32(0x2180)

Definition at line 493 of file iop13xx.h.

#define IOP13XX_REG_ADDR16 (   reg)    (IOP13XX_PMMR_VIRT_MEM_BASE + (reg))

Definition at line 140 of file iop13xx.h.

#define IOP13XX_REG_ADDR16_PHYS (   reg)    (IOP13XX_PMMR_PHYS_MEM_BASE + (reg))

Definition at line 143 of file iop13xx.h.

#define IOP13XX_REG_ADDR32 (   reg)    (IOP13XX_PMMR_VIRT_MEM_BASE + (reg))

Definition at line 139 of file iop13xx.h.

#define IOP13XX_REG_ADDR32_PHYS (   reg)    (IOP13XX_PMMR_PHYS_MEM_BASE + (reg))

Definition at line 142 of file iop13xx.h.

#define IOP13XX_REG_ADDR8 (   reg)    (IOP13XX_PMMR_VIRT_MEM_BASE + (reg))

Definition at line 141 of file iop13xx.h.

#define IOP13XX_REG_ADDR8_PHYS (   reg)    (IOP13XX_PMMR_PHYS_MEM_BASE + (reg))

Definition at line 144 of file iop13xx.h.

#define IOP13XX_UART0_PHYS   (IOP13XX_PMMR_PHYS_MEM_BASE + 0x00002300)

Definition at line 148 of file iop13xx.h.

#define IOP13XX_UART0_VIRT   (IOP13XX_PMMR_VIRT_MEM_BASE + 0x00002300)

Definition at line 150 of file iop13xx.h.

#define IOP13XX_UART1_PHYS   (IOP13XX_PMMR_PHYS_MEM_BASE + 0x00002340)

Definition at line 149 of file iop13xx.h.

#define IOP13XX_UART1_VIRT   (IOP13XX_PMMR_VIRT_MEM_BASE + 0x00002340)

Definition at line 151 of file iop13xx.h.

#define IOP13XX_WDTCR_IB_RESET   (1 << 0)

Definition at line 502 of file iop13xx.h.

#define IOP13XX_WDTSR_WRITE_EN   (1 << 31) /* used to speed up reset requests */

Definition at line 501 of file iop13xx.h.

#define IOP13XX_XBG_BECSR   IOP13XX_REG_ADDR32(0x178c)

Definition at line 470 of file iop13xx.h.

#define IOP13XX_XBG_BERAR   IOP13XX_REG_ADDR32(0x1790)

Definition at line 471 of file iop13xx.h.

#define IOP13XX_XBG_BERUAR   IOP13XX_REG_ADDR32(0x1794)

Definition at line 472 of file iop13xx.h.

#define IOP_RCSR_WDT   (1 << 5) /* reset caused by watchdog timer */

Definition at line 500 of file iop13xx.h.

#define IOP_WDTCR_DIS   0xf1f1f1f1

Definition at line 499 of file iop13xx.h.

#define IOP_WDTCR_DIS_ARM   0x1f1f1f1f

Definition at line 498 of file iop13xx.h.

#define IOP_WDTCR_EN   0xe1e1e1e1

Definition at line 497 of file iop13xx.h.

#define IOP_WDTCR_EN_ARM   0x1e1e1e1e

Definition at line 496 of file iop13xx.h.

#define IQ81340_MAX_PLAT_DEVICES
Value:
IQ81340_NUM_I2C + \
IQ81340_NUM_PHYS_MAP_FLASH + \
IQ81340_NUM_ADMA)

Definition at line 192 of file iop13xx.h.

#define IQ81340_NUM_ADMA   3

Definition at line 191 of file iop13xx.h.

#define IQ81340_NUM_I2C   3

Definition at line 189 of file iop13xx.h.

#define IQ81340_NUM_PHYS_MAP_FLASH   1

Definition at line 190 of file iop13xx.h.

#define IQ81340_NUM_UART   2

Definition at line 188 of file iop13xx.h.

#define is_atue_occdr_error (   x)
Value:
IOP13XX_PMMR_VIRT_TO_PHYS(\

Definition at line 473 of file iop13xx.h.

#define is_atux_occdr_error (   x)
Value:
IOP13XX_PMMR_VIRT_TO_PHYS(\

Definition at line 477 of file iop13xx.h.

Function Documentation

unsigned long get_iop_tick_rate ( void  )

Definition at line 135 of file time.c.

void iop13xx_add_tpmi_devices ( void  )

Definition at line 199 of file tpmi.c.

void iop13xx_init_early ( void  )

Definition at line 86 of file io.c.

void iop13xx_init_irq ( void  )

Definition at line 203 of file irq.c.

void iop13xx_map_io ( void  )

Definition at line 354 of file setup.c.

void iop13xx_platform_init ( void  )

Definition at line 364 of file setup.c.

void iop13xx_restart ( char  ,
const char  
)

Definition at line 600 of file setup.c.

Variable Documentation

u32 iop13xx_atue_pmmr_offset

Definition at line 36 of file pci.c.

u32 iop13xx_atux_pmmr_offset

Definition at line 35 of file pci.c.