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

Go to the source code of this file.

Macros

#define MSC01_PCI_ID_OFS   0x0000
 
#define MSC01_PCI_SC2PMBASL_OFS   0x0208
 
#define MSC01_PCI_SC2PMMSKL_OFS   0x0218
 
#define MSC01_PCI_SC2PMMAPL_OFS   0x0228
 
#define MSC01_PCI_SC2PIOBASL_OFS   0x0248
 
#define MSC01_PCI_SC2PIOMSKL_OFS   0x0258
 
#define MSC01_PCI_SC2PIOMAPL_OFS   0x0268
 
#define MSC01_PCI_P2SCMSKL_OFS   0x0308
 
#define MSC01_PCI_P2SCMAPL_OFS   0x0318
 
#define MSC01_PCI_INTCFG_OFS   0x0600
 
#define MSC01_PCI_INTSTAT_OFS   0x0608
 
#define MSC01_PCI_CFGADDR_OFS   0x0610
 
#define MSC01_PCI_CFGDATA_OFS   0x0618
 
#define MSC01_PCI_IACK_OFS   0x0620
 
#define MSC01_PCI_HEAD0_OFS   0x2000 /* DevID, VendorID */
 
#define MSC01_PCI_HEAD1_OFS   0x2008 /* Status, Command */
 
#define MSC01_PCI_HEAD2_OFS   0x2010 /* Class code, RevID */
 
#define MSC01_PCI_HEAD3_OFS   0x2018 /* bist, header, latency */
 
#define MSC01_PCI_HEAD4_OFS   0x2020 /* BAR 0 */
 
#define MSC01_PCI_HEAD5_OFS   0x2028 /* BAR 1 */
 
#define MSC01_PCI_HEAD6_OFS   0x2030 /* BAR 2 */
 
#define MSC01_PCI_HEAD7_OFS   0x2038 /* BAR 3 */
 
#define MSC01_PCI_HEAD8_OFS   0x2040 /* BAR 4 */
 
#define MSC01_PCI_HEAD9_OFS   0x2048 /* BAR 5 */
 
#define MSC01_PCI_HEAD10_OFS   0x2050 /* CardBus CIS Ptr */
 
#define MSC01_PCI_HEAD11_OFS   0x2058 /* SubSystem ID, -VendorID */
 
#define MSC01_PCI_HEAD12_OFS   0x2060 /* ROM BAR */
 
#define MSC01_PCI_HEAD13_OFS   0x2068 /* Capabilities ptr */
 
#define MSC01_PCI_HEAD14_OFS   0x2070 /* reserved */
 
#define MSC01_PCI_HEAD15_OFS   0x2078 /* Maxl, ming, intpin, int */
 
#define MSC01_PCI_BAR0_OFS   0x2220
 
#define MSC01_PCI_CFG_OFS   0x2380
 
#define MSC01_PCI_SWAP_OFS   0x2388
 
#define MSC01_PCI_ID_ID_SHF   16
 
#define MSC01_PCI_ID_ID_MSK   0x00ff0000
 
#define MSC01_PCI_ID_ID_HOSTBRIDGE   82
 
#define MSC01_PCI_ID_MAR_SHF   8
 
#define MSC01_PCI_ID_MAR_MSK   0x0000ff00
 
#define MSC01_PCI_ID_MIR_SHF   0
 
#define MSC01_PCI_ID_MIR_MSK   0x000000ff
 
#define MSC01_PCI_SC2PMBASL_BAS_SHF   24
 
#define MSC01_PCI_SC2PMBASL_BAS_MSK   0xff000000
 
#define MSC01_PCI_SC2PMMSKL_MSK_SHF   24
 
#define MSC01_PCI_SC2PMMSKL_MSK_MSK   0xff000000
 
#define MSC01_PCI_SC2PMMAPL_MAP_SHF   24
 
#define MSC01_PCI_SC2PMMAPL_MAP_MSK   0xff000000
 
#define MSC01_PCI_SC2PIOBASL_BAS_SHF   24
 
#define MSC01_PCI_SC2PIOBASL_BAS_MSK   0xff000000
 
#define MSC01_PCI_SC2PIOMSKL_MSK_SHF   24
 
#define MSC01_PCI_SC2PIOMSKL_MSK_MSK   0xff000000
 
#define MSC01_PCI_SC2PIOMAPL_MAP_SHF   24
 
#define MSC01_PCI_SC2PIOMAPL_MAP_MSK   0xff000000
 
#define MSC01_PCI_P2SCMSKL_MSK_SHF   24
 
#define MSC01_PCI_P2SCMSKL_MSK_MSK   0xff000000
 
#define MSC01_PCI_P2SCMAPL_MAP_SHF   24
 
#define MSC01_PCI_P2SCMAPL_MAP_MSK   0xff000000
 
#define MSC01_PCI_INTCFG_RST_SHF   10
 
#define MSC01_PCI_INTCFG_RST_MSK   0x00000400
 
#define MSC01_PCI_INTCFG_RST_BIT   0x00000400
 
#define MSC01_PCI_INTCFG_MWE_SHF   9
 
#define MSC01_PCI_INTCFG_MWE_MSK   0x00000200
 
#define MSC01_PCI_INTCFG_MWE_BIT   0x00000200
 
#define MSC01_PCI_INTCFG_DTO_SHF   8
 
#define MSC01_PCI_INTCFG_DTO_MSK   0x00000100
 
#define MSC01_PCI_INTCFG_DTO_BIT   0x00000100
 
#define MSC01_PCI_INTCFG_MA_SHF   7
 
#define MSC01_PCI_INTCFG_MA_MSK   0x00000080
 
#define MSC01_PCI_INTCFG_MA_BIT   0x00000080
 
#define MSC01_PCI_INTCFG_TA_SHF   6
 
#define MSC01_PCI_INTCFG_TA_MSK   0x00000040
 
#define MSC01_PCI_INTCFG_TA_BIT   0x00000040
 
#define MSC01_PCI_INTCFG_RTY_SHF   5
 
#define MSC01_PCI_INTCFG_RTY_MSK   0x00000020
 
#define MSC01_PCI_INTCFG_RTY_BIT   0x00000020
 
#define MSC01_PCI_INTCFG_MWP_SHF   4
 
#define MSC01_PCI_INTCFG_MWP_MSK   0x00000010
 
#define MSC01_PCI_INTCFG_MWP_BIT   0x00000010
 
#define MSC01_PCI_INTCFG_MRP_SHF   3
 
#define MSC01_PCI_INTCFG_MRP_MSK   0x00000008
 
#define MSC01_PCI_INTCFG_MRP_BIT   0x00000008
 
#define MSC01_PCI_INTCFG_SWP_SHF   2
 
#define MSC01_PCI_INTCFG_SWP_MSK   0x00000004
 
#define MSC01_PCI_INTCFG_SWP_BIT   0x00000004
 
#define MSC01_PCI_INTCFG_SRP_SHF   1
 
#define MSC01_PCI_INTCFG_SRP_MSK   0x00000002
 
#define MSC01_PCI_INTCFG_SRP_BIT   0x00000002
 
#define MSC01_PCI_INTCFG_SE_SHF   0
 
#define MSC01_PCI_INTCFG_SE_MSK   0x00000001
 
#define MSC01_PCI_INTCFG_SE_BIT   0x00000001
 
#define MSC01_PCI_INTSTAT_RST_SHF   10
 
#define MSC01_PCI_INTSTAT_RST_MSK   0x00000400
 
#define MSC01_PCI_INTSTAT_RST_BIT   0x00000400
 
#define MSC01_PCI_INTSTAT_MWE_SHF   9
 
#define MSC01_PCI_INTSTAT_MWE_MSK   0x00000200
 
#define MSC01_PCI_INTSTAT_MWE_BIT   0x00000200
 
#define MSC01_PCI_INTSTAT_DTO_SHF   8
 
#define MSC01_PCI_INTSTAT_DTO_MSK   0x00000100
 
#define MSC01_PCI_INTSTAT_DTO_BIT   0x00000100
 
#define MSC01_PCI_INTSTAT_MA_SHF   7
 
#define MSC01_PCI_INTSTAT_MA_MSK   0x00000080
 
#define MSC01_PCI_INTSTAT_MA_BIT   0x00000080
 
#define MSC01_PCI_INTSTAT_TA_SHF   6
 
#define MSC01_PCI_INTSTAT_TA_MSK   0x00000040
 
#define MSC01_PCI_INTSTAT_TA_BIT   0x00000040
 
#define MSC01_PCI_INTSTAT_RTY_SHF   5
 
#define MSC01_PCI_INTSTAT_RTY_MSK   0x00000020
 
#define MSC01_PCI_INTSTAT_RTY_BIT   0x00000020
 
#define MSC01_PCI_INTSTAT_MWP_SHF   4
 
#define MSC01_PCI_INTSTAT_MWP_MSK   0x00000010
 
#define MSC01_PCI_INTSTAT_MWP_BIT   0x00000010
 
#define MSC01_PCI_INTSTAT_MRP_SHF   3
 
#define MSC01_PCI_INTSTAT_MRP_MSK   0x00000008
 
#define MSC01_PCI_INTSTAT_MRP_BIT   0x00000008
 
#define MSC01_PCI_INTSTAT_SWP_SHF   2
 
#define MSC01_PCI_INTSTAT_SWP_MSK   0x00000004
 
#define MSC01_PCI_INTSTAT_SWP_BIT   0x00000004
 
#define MSC01_PCI_INTSTAT_SRP_SHF   1
 
#define MSC01_PCI_INTSTAT_SRP_MSK   0x00000002
 
#define MSC01_PCI_INTSTAT_SRP_BIT   0x00000002
 
#define MSC01_PCI_INTSTAT_SE_SHF   0
 
#define MSC01_PCI_INTSTAT_SE_MSK   0x00000001
 
#define MSC01_PCI_INTSTAT_SE_BIT   0x00000001
 
#define MSC01_PCI_CFGADDR_BNUM_SHF   16
 
#define MSC01_PCI_CFGADDR_BNUM_MSK   0x00ff0000
 
#define MSC01_PCI_CFGADDR_DNUM_SHF   11
 
#define MSC01_PCI_CFGADDR_DNUM_MSK   0x0000f800
 
#define MSC01_PCI_CFGADDR_FNUM_SHF   8
 
#define MSC01_PCI_CFGADDR_FNUM_MSK   0x00000700
 
#define MSC01_PCI_CFGADDR_RNUM_SHF   2
 
#define MSC01_PCI_CFGADDR_RNUM_MSK   0x000000fc
 
#define MSC01_PCI_CFGDATA_DATA_SHF   0
 
#define MSC01_PCI_CFGDATA_DATA_MSK   0xffffffff
 
#define MSC01_PCI_BAR0_SIZE_SHF   4
 
#define MSC01_PCI_BAR0_SIZE_MSK   0xfffffff0
 
#define MSC01_PCI_BAR0_P_SHF   3
 
#define MSC01_PCI_BAR0_P_MSK   0x00000008
 
#define MSC01_PCI_BAR0_P_BIT   MSC01_PCI_BAR0_P_MSK
 
#define MSC01_PCI_BAR0_D_SHF   1
 
#define MSC01_PCI_BAR0_D_MSK   0x00000006
 
#define MSC01_PCI_BAR0_T_SHF   0
 
#define MSC01_PCI_BAR0_T_MSK   0x00000001
 
#define MSC01_PCI_BAR0_T_BIT   MSC01_PCI_BAR0_T_MSK
 
#define MSC01_PCI_CFG_RA_SHF   17
 
#define MSC01_PCI_CFG_RA_MSK   0x00020000
 
#define MSC01_PCI_CFG_RA_BIT   MSC01_PCI_CFG_RA_MSK
 
#define MSC01_PCI_CFG_G_SHF   16
 
#define MSC01_PCI_CFG_G_MSK   0x00010000
 
#define MSC01_PCI_CFG_G_BIT   MSC01_PCI_CFG_G_MSK
 
#define MSC01_PCI_CFG_EN_SHF   15
 
#define MSC01_PCI_CFG_EN_MSK   0x00008000
 
#define MSC01_PCI_CFG_EN_BIT   MSC01_PCI_CFG_EN_MSK
 
#define MSC01_PCI_CFG_MAXRTRY_SHF   0
 
#define MSC01_PCI_CFG_MAXRTRY_MSK   0x00000fff
 
#define MSC01_PCI_SWAP_IO_SHF   18
 
#define MSC01_PCI_SWAP_IO_MSK   0x000c0000
 
#define MSC01_PCI_SWAP_MEM_SHF   16
 
#define MSC01_PCI_SWAP_MEM_MSK   0x00030000
 
#define MSC01_PCI_SWAP_BAR0_SHF   0
 
#define MSC01_PCI_SWAP_BAR0_MSK   0x00000003
 
#define MSC01_PCI_SWAP_NOSWAP   0
 
#define MSC01_PCI_SWAP_BYTESWAP   1
 
#define MIPS_MSC01_PCI_REG_BASE   0x1bd00000
 
#define MIPS_SOCITSC_PCI_REG_BASE   0x1ff10000
 
#define MSC01_PCI_REG_BASE   _pcictrl_msc
 
#define MSC_WRITE(reg, data)   do { *(volatile u32 *)(reg) = data; } while (0)
 
#define MSC_READ(reg, data)   do { data = *(volatile u32 *)(reg); } while (0)
 
#define MSC01_PCI_ID   (MSC01_PCI_REG_BASE + MSC01_PCI_ID_OFS)
 
#define MSC01_PCI_SC2PMBASL   (MSC01_PCI_REG_BASE + MSC01_PCI_SC2PMBASL_OFS)
 
#define MSC01_PCI_SC2PMMSKL   (MSC01_PCI_REG_BASE + MSC01_PCI_SC2PMMSKL_OFS)
 
#define MSC01_PCI_SC2PMMAPL   (MSC01_PCI_REG_BASE + MSC01_PCI_SC2PMMAPL_OFS)
 
#define MSC01_PCI_SC2PIOBASL   (MSC01_PCI_REG_BASE + MSC01_PCI_SC2PIOBASL_OFS)
 
#define MSC01_PCI_SC2PIOMSKL   (MSC01_PCI_REG_BASE + MSC01_PCI_SC2PIOMSKL_OFS)
 
#define MSC01_PCI_SC2PIOMAPL   (MSC01_PCI_REG_BASE + MSC01_PCI_SC2PIOMAPL_OFS)
 
#define MSC01_PCI_P2SCMSKL   (MSC01_PCI_REG_BASE + MSC01_PCI_P2SCMSKL_OFS)
 
#define MSC01_PCI_P2SCMAPL   (MSC01_PCI_REG_BASE + MSC01_PCI_P2SCMAPL_OFS)
 
#define MSC01_PCI_INTCFG   (MSC01_PCI_REG_BASE + MSC01_PCI_INTCFG_OFS)
 
#define MSC01_PCI_INTSTAT   (MSC01_PCI_REG_BASE + MSC01_PCI_INTSTAT_OFS)
 
#define MSC01_PCI_CFGADDR   (MSC01_PCI_REG_BASE + MSC01_PCI_CFGADDR_OFS)
 
#define MSC01_PCI_CFGDATA   (MSC01_PCI_REG_BASE + MSC01_PCI_CFGDATA_OFS)
 
#define MSC01_PCI_IACK   (MSC01_PCI_REG_BASE + MSC01_PCI_IACK_OFS)
 
#define MSC01_PCI_HEAD0   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD0_OFS)
 
#define MSC01_PCI_HEAD1   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD1_OFS)
 
#define MSC01_PCI_HEAD2   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD2_OFS)
 
#define MSC01_PCI_HEAD3   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD3_OFS)
 
#define MSC01_PCI_HEAD4   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD4_OFS)
 
#define MSC01_PCI_HEAD5   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD5_OFS)
 
#define MSC01_PCI_HEAD6   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD6_OFS)
 
#define MSC01_PCI_HEAD7   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD7_OFS)
 
#define MSC01_PCI_HEAD8   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD8_OFS)
 
#define MSC01_PCI_HEAD9   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD9_OFS)
 
#define MSC01_PCI_HEAD10   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD10_OFS)
 
#define MSC01_PCI_HEAD11   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD11_OFS)
 
#define MSC01_PCI_HEAD12   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD11_OFS)
 
#define MSC01_PCI_HEAD13   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD11_OFS)
 
#define MSC01_PCI_HEAD14   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD11_OFS)
 
#define MSC01_PCI_HEAD15   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD11_OFS)
 
#define MSC01_PCI_BAR0   (MSC01_PCI_REG_BASE + MSC01_PCI_BAR0_OFS)
 
#define MSC01_PCI_CFG   (MSC01_PCI_REG_BASE + MSC01_PCI_CFG_OFS)
 
#define MSC01_PCI_SWAP   (MSC01_PCI_REG_BASE + MSC01_PCI_SWAP_OFS)
 

Variables

unsigned long _pcictrl_msc
 

Macro Definition Documentation

#define MIPS_MSC01_PCI_REG_BASE   0x1bd00000

Definition at line 210 of file msc01_pci.h.

#define MIPS_SOCITSC_PCI_REG_BASE   0x1ff10000

Definition at line 211 of file msc01_pci.h.

#define MSC01_PCI_BAR0   (MSC01_PCI_REG_BASE + MSC01_PCI_BAR0_OFS)

Definition at line 254 of file msc01_pci.h.

#define MSC01_PCI_BAR0_D_MSK   0x00000006

Definition at line 177 of file msc01_pci.h.

#define MSC01_PCI_BAR0_D_SHF   1

Definition at line 176 of file msc01_pci.h.

#define MSC01_PCI_BAR0_OFS   0x2220

Definition at line 49 of file msc01_pci.h.

#define MSC01_PCI_BAR0_P_BIT   MSC01_PCI_BAR0_P_MSK

Definition at line 175 of file msc01_pci.h.

#define MSC01_PCI_BAR0_P_MSK   0x00000008

Definition at line 174 of file msc01_pci.h.

#define MSC01_PCI_BAR0_P_SHF   3

Definition at line 173 of file msc01_pci.h.

#define MSC01_PCI_BAR0_SIZE_MSK   0xfffffff0

Definition at line 172 of file msc01_pci.h.

#define MSC01_PCI_BAR0_SIZE_SHF   4

Definition at line 171 of file msc01_pci.h.

#define MSC01_PCI_BAR0_T_BIT   MSC01_PCI_BAR0_T_MSK

Definition at line 180 of file msc01_pci.h.

#define MSC01_PCI_BAR0_T_MSK   0x00000001

Definition at line 179 of file msc01_pci.h.

#define MSC01_PCI_BAR0_T_SHF   0

Definition at line 178 of file msc01_pci.h.

#define MSC01_PCI_CFG   (MSC01_PCI_REG_BASE + MSC01_PCI_CFG_OFS)

Definition at line 255 of file msc01_pci.h.

#define MSC01_PCI_CFG_EN_BIT   MSC01_PCI_CFG_EN_MSK

Definition at line 191 of file msc01_pci.h.

#define MSC01_PCI_CFG_EN_MSK   0x00008000

Definition at line 190 of file msc01_pci.h.

#define MSC01_PCI_CFG_EN_SHF   15

Definition at line 189 of file msc01_pci.h.

#define MSC01_PCI_CFG_G_BIT   MSC01_PCI_CFG_G_MSK

Definition at line 188 of file msc01_pci.h.

#define MSC01_PCI_CFG_G_MSK   0x00010000

Definition at line 187 of file msc01_pci.h.

#define MSC01_PCI_CFG_G_SHF   16

Definition at line 186 of file msc01_pci.h.

#define MSC01_PCI_CFG_MAXRTRY_MSK   0x00000fff

Definition at line 193 of file msc01_pci.h.

#define MSC01_PCI_CFG_MAXRTRY_SHF   0

Definition at line 192 of file msc01_pci.h.

#define MSC01_PCI_CFG_OFS   0x2380

Definition at line 50 of file msc01_pci.h.

#define MSC01_PCI_CFG_RA_BIT   MSC01_PCI_CFG_RA_MSK

Definition at line 185 of file msc01_pci.h.

#define MSC01_PCI_CFG_RA_MSK   0x00020000

Definition at line 184 of file msc01_pci.h.

#define MSC01_PCI_CFG_RA_SHF   17

Definition at line 183 of file msc01_pci.h.

#define MSC01_PCI_CFGADDR   (MSC01_PCI_REG_BASE + MSC01_PCI_CFGADDR_OFS)

Definition at line 235 of file msc01_pci.h.

#define MSC01_PCI_CFGADDR_BNUM_MSK   0x00ff0000

Definition at line 159 of file msc01_pci.h.

#define MSC01_PCI_CFGADDR_BNUM_SHF   16

Definition at line 158 of file msc01_pci.h.

#define MSC01_PCI_CFGADDR_DNUM_MSK   0x0000f800

Definition at line 161 of file msc01_pci.h.

#define MSC01_PCI_CFGADDR_DNUM_SHF   11

Definition at line 160 of file msc01_pci.h.

#define MSC01_PCI_CFGADDR_FNUM_MSK   0x00000700

Definition at line 163 of file msc01_pci.h.

#define MSC01_PCI_CFGADDR_FNUM_SHF   8

Definition at line 162 of file msc01_pci.h.

#define MSC01_PCI_CFGADDR_OFS   0x0610

Definition at line 30 of file msc01_pci.h.

#define MSC01_PCI_CFGADDR_RNUM_MSK   0x000000fc

Definition at line 165 of file msc01_pci.h.

#define MSC01_PCI_CFGADDR_RNUM_SHF   2

Definition at line 164 of file msc01_pci.h.

#define MSC01_PCI_CFGDATA   (MSC01_PCI_REG_BASE + MSC01_PCI_CFGDATA_OFS)

Definition at line 236 of file msc01_pci.h.

#define MSC01_PCI_CFGDATA_DATA_MSK   0xffffffff

Definition at line 168 of file msc01_pci.h.

#define MSC01_PCI_CFGDATA_DATA_SHF   0

Definition at line 167 of file msc01_pci.h.

#define MSC01_PCI_CFGDATA_OFS   0x0618

Definition at line 31 of file msc01_pci.h.

#define MSC01_PCI_HEAD0   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD0_OFS)

Definition at line 238 of file msc01_pci.h.

#define MSC01_PCI_HEAD0_OFS   0x2000 /* DevID, VendorID */

Definition at line 33 of file msc01_pci.h.

#define MSC01_PCI_HEAD1   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD1_OFS)

Definition at line 239 of file msc01_pci.h.

#define MSC01_PCI_HEAD10   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD10_OFS)

Definition at line 248 of file msc01_pci.h.

#define MSC01_PCI_HEAD10_OFS   0x2050 /* CardBus CIS Ptr */

Definition at line 43 of file msc01_pci.h.

#define MSC01_PCI_HEAD11   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD11_OFS)

Definition at line 249 of file msc01_pci.h.

#define MSC01_PCI_HEAD11_OFS   0x2058 /* SubSystem ID, -VendorID */

Definition at line 44 of file msc01_pci.h.

#define MSC01_PCI_HEAD12   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD11_OFS)

Definition at line 250 of file msc01_pci.h.

#define MSC01_PCI_HEAD12_OFS   0x2060 /* ROM BAR */

Definition at line 45 of file msc01_pci.h.

#define MSC01_PCI_HEAD13   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD11_OFS)

Definition at line 251 of file msc01_pci.h.

#define MSC01_PCI_HEAD13_OFS   0x2068 /* Capabilities ptr */

Definition at line 46 of file msc01_pci.h.

#define MSC01_PCI_HEAD14   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD11_OFS)

Definition at line 252 of file msc01_pci.h.

#define MSC01_PCI_HEAD14_OFS   0x2070 /* reserved */

Definition at line 47 of file msc01_pci.h.

#define MSC01_PCI_HEAD15   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD11_OFS)

Definition at line 253 of file msc01_pci.h.

#define MSC01_PCI_HEAD15_OFS   0x2078 /* Maxl, ming, intpin, int */

Definition at line 48 of file msc01_pci.h.

#define MSC01_PCI_HEAD1_OFS   0x2008 /* Status, Command */

Definition at line 34 of file msc01_pci.h.

#define MSC01_PCI_HEAD2   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD2_OFS)

Definition at line 240 of file msc01_pci.h.

#define MSC01_PCI_HEAD2_OFS   0x2010 /* Class code, RevID */

Definition at line 35 of file msc01_pci.h.

#define MSC01_PCI_HEAD3   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD3_OFS)

Definition at line 241 of file msc01_pci.h.

#define MSC01_PCI_HEAD3_OFS   0x2018 /* bist, header, latency */

Definition at line 36 of file msc01_pci.h.

#define MSC01_PCI_HEAD4   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD4_OFS)

Definition at line 242 of file msc01_pci.h.

#define MSC01_PCI_HEAD4_OFS   0x2020 /* BAR 0 */

Definition at line 37 of file msc01_pci.h.

#define MSC01_PCI_HEAD5   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD5_OFS)

Definition at line 243 of file msc01_pci.h.

#define MSC01_PCI_HEAD5_OFS   0x2028 /* BAR 1 */

Definition at line 38 of file msc01_pci.h.

#define MSC01_PCI_HEAD6   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD6_OFS)

Definition at line 244 of file msc01_pci.h.

#define MSC01_PCI_HEAD6_OFS   0x2030 /* BAR 2 */

Definition at line 39 of file msc01_pci.h.

#define MSC01_PCI_HEAD7   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD7_OFS)

Definition at line 245 of file msc01_pci.h.

#define MSC01_PCI_HEAD7_OFS   0x2038 /* BAR 3 */

Definition at line 40 of file msc01_pci.h.

#define MSC01_PCI_HEAD8   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD8_OFS)

Definition at line 246 of file msc01_pci.h.

#define MSC01_PCI_HEAD8_OFS   0x2040 /* BAR 4 */

Definition at line 41 of file msc01_pci.h.

#define MSC01_PCI_HEAD9   (MSC01_PCI_REG_BASE + MSC01_PCI_HEAD9_OFS)

Definition at line 247 of file msc01_pci.h.

#define MSC01_PCI_HEAD9_OFS   0x2048 /* BAR 5 */

Definition at line 42 of file msc01_pci.h.

#define MSC01_PCI_IACK   (MSC01_PCI_REG_BASE + MSC01_PCI_IACK_OFS)

Definition at line 237 of file msc01_pci.h.

#define MSC01_PCI_IACK_OFS   0x0620

Definition at line 32 of file msc01_pci.h.

#define MSC01_PCI_ID   (MSC01_PCI_REG_BASE + MSC01_PCI_ID_OFS)

Definition at line 224 of file msc01_pci.h.

#define MSC01_PCI_ID_ID_HOSTBRIDGE   82

Definition at line 60 of file msc01_pci.h.

#define MSC01_PCI_ID_ID_MSK   0x00ff0000

Definition at line 59 of file msc01_pci.h.

#define MSC01_PCI_ID_ID_SHF   16

Definition at line 58 of file msc01_pci.h.

#define MSC01_PCI_ID_MAR_MSK   0x0000ff00

Definition at line 62 of file msc01_pci.h.

#define MSC01_PCI_ID_MAR_SHF   8

Definition at line 61 of file msc01_pci.h.

#define MSC01_PCI_ID_MIR_MSK   0x000000ff

Definition at line 64 of file msc01_pci.h.

#define MSC01_PCI_ID_MIR_SHF   0

Definition at line 63 of file msc01_pci.h.

#define MSC01_PCI_ID_OFS   0x0000

Definition at line 19 of file msc01_pci.h.

#define MSC01_PCI_INTCFG   (MSC01_PCI_REG_BASE + MSC01_PCI_INTCFG_OFS)

Definition at line 233 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_DTO_BIT   0x00000100

Definition at line 98 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_DTO_MSK   0x00000100

Definition at line 97 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_DTO_SHF   8

Definition at line 96 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_MA_BIT   0x00000080

Definition at line 101 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_MA_MSK   0x00000080

Definition at line 100 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_MA_SHF   7

Definition at line 99 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_MRP_BIT   0x00000008

Definition at line 113 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_MRP_MSK   0x00000008

Definition at line 112 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_MRP_SHF   3

Definition at line 111 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_MWE_BIT   0x00000200

Definition at line 95 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_MWE_MSK   0x00000200

Definition at line 94 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_MWE_SHF   9

Definition at line 93 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_MWP_BIT   0x00000010

Definition at line 110 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_MWP_MSK   0x00000010

Definition at line 109 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_MWP_SHF   4

Definition at line 108 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_OFS   0x0600

Definition at line 28 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_RST_BIT   0x00000400

Definition at line 92 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_RST_MSK   0x00000400

Definition at line 91 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_RST_SHF   10

Definition at line 90 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_RTY_BIT   0x00000020

Definition at line 107 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_RTY_MSK   0x00000020

Definition at line 106 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_RTY_SHF   5

Definition at line 105 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_SE_BIT   0x00000001

Definition at line 122 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_SE_MSK   0x00000001

Definition at line 121 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_SE_SHF   0

Definition at line 120 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_SRP_BIT   0x00000002

Definition at line 119 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_SRP_MSK   0x00000002

Definition at line 118 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_SRP_SHF   1

Definition at line 117 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_SWP_BIT   0x00000004

Definition at line 116 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_SWP_MSK   0x00000004

Definition at line 115 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_SWP_SHF   2

Definition at line 114 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_TA_BIT   0x00000040

Definition at line 104 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_TA_MSK   0x00000040

Definition at line 103 of file msc01_pci.h.

#define MSC01_PCI_INTCFG_TA_SHF   6

Definition at line 102 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT   (MSC01_PCI_REG_BASE + MSC01_PCI_INTSTAT_OFS)

Definition at line 234 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_DTO_BIT   0x00000100

Definition at line 132 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_DTO_MSK   0x00000100

Definition at line 131 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_DTO_SHF   8

Definition at line 130 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_MA_BIT   0x00000080

Definition at line 135 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_MA_MSK   0x00000080

Definition at line 134 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_MA_SHF   7

Definition at line 133 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_MRP_BIT   0x00000008

Definition at line 147 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_MRP_MSK   0x00000008

Definition at line 146 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_MRP_SHF   3

Definition at line 145 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_MWE_BIT   0x00000200

Definition at line 129 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_MWE_MSK   0x00000200

Definition at line 128 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_MWE_SHF   9

Definition at line 127 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_MWP_BIT   0x00000010

Definition at line 144 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_MWP_MSK   0x00000010

Definition at line 143 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_MWP_SHF   4

Definition at line 142 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_OFS   0x0608

Definition at line 29 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_RST_BIT   0x00000400

Definition at line 126 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_RST_MSK   0x00000400

Definition at line 125 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_RST_SHF   10

Definition at line 124 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_RTY_BIT   0x00000020

Definition at line 141 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_RTY_MSK   0x00000020

Definition at line 140 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_RTY_SHF   5

Definition at line 139 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_SE_BIT   0x00000001

Definition at line 156 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_SE_MSK   0x00000001

Definition at line 155 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_SE_SHF   0

Definition at line 154 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_SRP_BIT   0x00000002

Definition at line 153 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_SRP_MSK   0x00000002

Definition at line 152 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_SRP_SHF   1

Definition at line 151 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_SWP_BIT   0x00000004

Definition at line 150 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_SWP_MSK   0x00000004

Definition at line 149 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_SWP_SHF   2

Definition at line 148 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_TA_BIT   0x00000040

Definition at line 138 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_TA_MSK   0x00000040

Definition at line 137 of file msc01_pci.h.

#define MSC01_PCI_INTSTAT_TA_SHF   6

Definition at line 136 of file msc01_pci.h.

#define MSC01_PCI_P2SCMAPL   (MSC01_PCI_REG_BASE + MSC01_PCI_P2SCMAPL_OFS)

Definition at line 232 of file msc01_pci.h.

#define MSC01_PCI_P2SCMAPL_MAP_MSK   0xff000000

Definition at line 88 of file msc01_pci.h.

#define MSC01_PCI_P2SCMAPL_MAP_SHF   24

Definition at line 87 of file msc01_pci.h.

#define MSC01_PCI_P2SCMAPL_OFS   0x0318

Definition at line 27 of file msc01_pci.h.

#define MSC01_PCI_P2SCMSKL   (MSC01_PCI_REG_BASE + MSC01_PCI_P2SCMSKL_OFS)

Definition at line 231 of file msc01_pci.h.

#define MSC01_PCI_P2SCMSKL_MSK_MSK   0xff000000

Definition at line 85 of file msc01_pci.h.

#define MSC01_PCI_P2SCMSKL_MSK_SHF   24

Definition at line 84 of file msc01_pci.h.

#define MSC01_PCI_P2SCMSKL_OFS   0x0308

Definition at line 26 of file msc01_pci.h.

#define MSC01_PCI_REG_BASE   _pcictrl_msc

Definition at line 215 of file msc01_pci.h.

#define MSC01_PCI_SC2PIOBASL   (MSC01_PCI_REG_BASE + MSC01_PCI_SC2PIOBASL_OFS)

Definition at line 228 of file msc01_pci.h.

#define MSC01_PCI_SC2PIOBASL_BAS_MSK   0xff000000

Definition at line 76 of file msc01_pci.h.

#define MSC01_PCI_SC2PIOBASL_BAS_SHF   24

Definition at line 75 of file msc01_pci.h.

#define MSC01_PCI_SC2PIOBASL_OFS   0x0248

Definition at line 23 of file msc01_pci.h.

#define MSC01_PCI_SC2PIOMAPL   (MSC01_PCI_REG_BASE + MSC01_PCI_SC2PIOMAPL_OFS)

Definition at line 230 of file msc01_pci.h.

#define MSC01_PCI_SC2PIOMAPL_MAP_MSK   0xff000000

Definition at line 82 of file msc01_pci.h.

#define MSC01_PCI_SC2PIOMAPL_MAP_SHF   24

Definition at line 81 of file msc01_pci.h.

#define MSC01_PCI_SC2PIOMAPL_OFS   0x0268

Definition at line 25 of file msc01_pci.h.

#define MSC01_PCI_SC2PIOMSKL   (MSC01_PCI_REG_BASE + MSC01_PCI_SC2PIOMSKL_OFS)

Definition at line 229 of file msc01_pci.h.

#define MSC01_PCI_SC2PIOMSKL_MSK_MSK   0xff000000

Definition at line 79 of file msc01_pci.h.

#define MSC01_PCI_SC2PIOMSKL_MSK_SHF   24

Definition at line 78 of file msc01_pci.h.

#define MSC01_PCI_SC2PIOMSKL_OFS   0x0258

Definition at line 24 of file msc01_pci.h.

#define MSC01_PCI_SC2PMBASL   (MSC01_PCI_REG_BASE + MSC01_PCI_SC2PMBASL_OFS)

Definition at line 225 of file msc01_pci.h.

#define MSC01_PCI_SC2PMBASL_BAS_MSK   0xff000000

Definition at line 67 of file msc01_pci.h.

#define MSC01_PCI_SC2PMBASL_BAS_SHF   24

Definition at line 66 of file msc01_pci.h.

#define MSC01_PCI_SC2PMBASL_OFS   0x0208

Definition at line 20 of file msc01_pci.h.

#define MSC01_PCI_SC2PMMAPL   (MSC01_PCI_REG_BASE + MSC01_PCI_SC2PMMAPL_OFS)

Definition at line 227 of file msc01_pci.h.

#define MSC01_PCI_SC2PMMAPL_MAP_MSK   0xff000000

Definition at line 73 of file msc01_pci.h.

#define MSC01_PCI_SC2PMMAPL_MAP_SHF   24

Definition at line 72 of file msc01_pci.h.

#define MSC01_PCI_SC2PMMAPL_OFS   0x0228

Definition at line 22 of file msc01_pci.h.

#define MSC01_PCI_SC2PMMSKL   (MSC01_PCI_REG_BASE + MSC01_PCI_SC2PMMSKL_OFS)

Definition at line 226 of file msc01_pci.h.

#define MSC01_PCI_SC2PMMSKL_MSK_MSK   0xff000000

Definition at line 70 of file msc01_pci.h.

#define MSC01_PCI_SC2PMMSKL_MSK_SHF   24

Definition at line 69 of file msc01_pci.h.

#define MSC01_PCI_SC2PMMSKL_OFS   0x0218

Definition at line 21 of file msc01_pci.h.

#define MSC01_PCI_SWAP   (MSC01_PCI_REG_BASE + MSC01_PCI_SWAP_OFS)

Definition at line 256 of file msc01_pci.h.

#define MSC01_PCI_SWAP_BAR0_MSK   0x00000003

Definition at line 200 of file msc01_pci.h.

#define MSC01_PCI_SWAP_BAR0_SHF   0

Definition at line 199 of file msc01_pci.h.

#define MSC01_PCI_SWAP_BYTESWAP   1

Definition at line 202 of file msc01_pci.h.

#define MSC01_PCI_SWAP_IO_MSK   0x000c0000

Definition at line 196 of file msc01_pci.h.

#define MSC01_PCI_SWAP_IO_SHF   18

Definition at line 195 of file msc01_pci.h.

#define MSC01_PCI_SWAP_MEM_MSK   0x00030000

Definition at line 198 of file msc01_pci.h.

#define MSC01_PCI_SWAP_MEM_SHF   16

Definition at line 197 of file msc01_pci.h.

#define MSC01_PCI_SWAP_NOSWAP   0

Definition at line 201 of file msc01_pci.h.

#define MSC01_PCI_SWAP_OFS   0x2388

Definition at line 51 of file msc01_pci.h.

#define MSC_READ (   reg,
  data 
)    do { data = *(volatile u32 *)(reg); } while (0)

Definition at line 218 of file msc01_pci.h.

#define MSC_WRITE (   reg,
  data 
)    do { *(volatile u32 *)(reg) = data; } while (0)

Definition at line 217 of file msc01_pci.h.

Variable Documentation

unsigned long _pcictrl_msc

Definition at line 63 of file malta-init.c.