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

Go to the source code of this file.

Macros

#define TI113X_SYSTEM_CONTROL   0x0080 /* 32 bit */
 
#define TI113X_SCR_SMIROUTE   0x04000000
 
#define TI113X_SCR_SMISTATUS   0x02000000
 
#define TI113X_SCR_SMIENB   0x01000000
 
#define TI113X_SCR_VCCPROT   0x00200000
 
#define TI113X_SCR_REDUCEZV   0x00100000
 
#define TI113X_SCR_CDREQEN   0x00080000
 
#define TI113X_SCR_CDMACHAN   0x00070000
 
#define TI113X_SCR_SOCACTIVE   0x00002000
 
#define TI113X_SCR_PWRSTREAM   0x00000800
 
#define TI113X_SCR_DELAYUP   0x00000400
 
#define TI113X_SCR_DELAYDOWN   0x00000200
 
#define TI113X_SCR_INTERROGATE   0x00000100
 
#define TI113X_SCR_CLKRUN_SEL   0x00000080
 
#define TI113X_SCR_PWRSAVINGS   0x00000040
 
#define TI113X_SCR_SUBSYSRW   0x00000020
 
#define TI113X_SCR_CB_DPAR   0x00000010
 
#define TI113X_SCR_CDMA_EN   0x00000008
 
#define TI113X_SCR_ASYNC_IRQ   0x00000004
 
#define TI113X_SCR_KEEPCLK   0x00000002
 
#define TI113X_SCR_CLKRUN_ENA   0x00000001
 
#define TI122X_SCR_SER_STEP   0xc0000000
 
#define TI122X_SCR_INTRTIE   0x20000000
 
#define TIXX21_SCR_TIEALL   0x10000000
 
#define TI122X_SCR_CBRSVD   0x00400000
 
#define TI122X_SCR_MRBURSTDN   0x00008000
 
#define TI122X_SCR_MRBURSTUP   0x00004000
 
#define TI122X_SCR_RIMUX   0x00000001
 
#define TI1250_MULTIMEDIA_CTL   0x0084 /* 8 bit */
 
#define TI1250_MMC_ZVOUTEN   0x80
 
#define TI1250_MMC_PORTSEL   0x40
 
#define TI1250_MMC_ZVEN1   0x02
 
#define TI1250_MMC_ZVEN0   0x01
 
#define TI1250_GENERAL_STATUS   0x0085 /* 8 bit */
 
#define TI1250_GPIO0_CONTROL   0x0088 /* 8 bit */
 
#define TI1250_GPIO1_CONTROL   0x0089 /* 8 bit */
 
#define TI1250_GPIO2_CONTROL   0x008a /* 8 bit */
 
#define TI1250_GPIO3_CONTROL   0x008b /* 8 bit */
 
#define TI1250_GPIO_MODE_MASK   0xc0
 
#define TI122X_MFUNC   0x008c /* 32 bit */
 
#define TI122X_MFUNC0_MASK   0x0000000f
 
#define TI122X_MFUNC1_MASK   0x000000f0
 
#define TI122X_MFUNC2_MASK   0x00000f00
 
#define TI122X_MFUNC3_MASK   0x0000f000
 
#define TI122X_MFUNC4_MASK   0x000f0000
 
#define TI122X_MFUNC5_MASK   0x00f00000
 
#define TI122X_MFUNC6_MASK   0x0f000000
 
#define TI122X_MFUNC0_INTA   0x00000002
 
#define TI125X_MFUNC0_INTB   0x00000001
 
#define TI122X_MFUNC1_INTB   0x00000020
 
#define TI122X_MFUNC3_IRQSER   0x00001000
 
#define TI113X_RETRY_STATUS   0x0090 /* 8 bit */
 
#define TI113X_RSR_PCIRETRY   0x80
 
#define TI113X_RSR_CBRETRY   0x40
 
#define TI113X_RSR_TEXP_CBB   0x20
 
#define TI113X_RSR_MEXP_CBB   0x10
 
#define TI113X_RSR_TEXP_CBA   0x08
 
#define TI113X_RSR_MEXP_CBA   0x04
 
#define TI113X_RSR_TEXP_PCI   0x02
 
#define TI113X_RSR_MEXP_PCI   0x01
 
#define TI113X_CARD_CONTROL   0x0091 /* 8 bit */
 
#define TI113X_CCR_RIENB   0x80
 
#define TI113X_CCR_ZVENABLE   0x40
 
#define TI113X_CCR_PCI_IRQ_ENA   0x20
 
#define TI113X_CCR_PCI_IREQ   0x10
 
#define TI113X_CCR_PCI_CSC   0x08
 
#define TI113X_CCR_SPKROUTEN   0x02
 
#define TI113X_CCR_IFG   0x01
 
#define TI1220_CCR_PORT_SEL   0x20
 
#define TI122X_CCR_AUD2MUX   0x04
 
#define TI113X_DEVICE_CONTROL   0x0092 /* 8 bit */
 
#define TI113X_DCR_5V_FORCE   0x40
 
#define TI113X_DCR_3V_FORCE   0x20
 
#define TI113X_DCR_IMODE_MASK   0x06
 
#define TI113X_DCR_IMODE_ISA   0x02
 
#define TI113X_DCR_IMODE_SERIAL   0x04
 
#define TI12XX_DCR_IMODE_PCI_ONLY   0x00
 
#define TI12XX_DCR_IMODE_ALL_SERIAL   0x06
 
#define TI113X_BUFFER_CONTROL   0x0093 /* 8 bit */
 
#define TI113X_BCR_CB_READ_DEPTH   0x08
 
#define TI113X_BCR_CB_WRITE_DEPTH   0x04
 
#define TI113X_BCR_PCI_READ_DEPTH   0x02
 
#define TI113X_BCR_PCI_WRITE_DEPTH   0x01
 
#define TI1250_DIAGNOSTIC   0x0093 /* 8 bit */
 
#define TI1250_DIAG_TRUE_VALUE   0x80
 
#define TI1250_DIAG_PCI_IREQ   0x40
 
#define TI1250_DIAG_PCI_CSC   0x20
 
#define TI1250_DIAG_ASYNC_CSC   0x01
 
#define TI113X_DMA_0   0x0094 /* 32 bit */
 
#define TI113X_DMA_1   0x0098 /* 32 bit */
 
#define TI113X_IO_OFFSET(map)   (0x36+((map)<<1))
 
#define ENE_TEST_C9   0xc9 /* 8bit */
 
#define ENE_TEST_C9_TLTENABLE   0x02
 
#define ENE_TEST_C9_PFENABLE_F0   0x04
 
#define ENE_TEST_C9_PFENABLE_F1   0x08
 
#define ENE_TEST_C9_PFENABLE   (ENE_TEST_C9_PFENABLE_F0 | ENE_TEST_C9_PFENABLE_F1)
 
#define ENE_TEST_C9_WPDISALBLE_F0   0x40
 
#define ENE_TEST_C9_WPDISALBLE_F1   0x80
 
#define ENE_TEST_C9_WPDISALBLE   (ENE_TEST_C9_WPDISALBLE_F0 | ENE_TEST_C9_WPDISALBLE_F1)
 
#define ti_sysctl(socket)   ((socket)->private[0])
 
#define ti_cardctl(socket)   ((socket)->private[1])
 
#define ti_devctl(socket)   ((socket)->private[2])
 
#define ti_diag(socket)   ((socket)->private[3])
 
#define ti_mfunc(socket)   ((socket)->private[4])
 
#define ene_test_c9(socket)   ((socket)->private[5])
 
#define ene_override   ti1250_override
 

Macro Definition Documentation

#define ene_override   ti1250_override

EnE specific part. EnE bridges are register compatible with TI bridges but have their own test registers and more important their own little problems. Some fixup code to make everybody happy (TM).

Definition at line 980 of file ti113x.h.

#define ENE_TEST_C9   0xc9 /* 8bit */

Definition at line 154 of file ti113x.h.

#define ene_test_c9 (   socket)    ((socket)->private[5])

Definition at line 171 of file ti113x.h.

#define ENE_TEST_C9_PFENABLE   (ENE_TEST_C9_PFENABLE_F0 | ENE_TEST_C9_PFENABLE_F1)

Definition at line 158 of file ti113x.h.

#define ENE_TEST_C9_PFENABLE_F0   0x04

Definition at line 156 of file ti113x.h.

#define ENE_TEST_C9_PFENABLE_F1   0x08

Definition at line 157 of file ti113x.h.

#define ENE_TEST_C9_TLTENABLE   0x02

Definition at line 155 of file ti113x.h.

#define ENE_TEST_C9_WPDISALBLE   (ENE_TEST_C9_WPDISALBLE_F0 | ENE_TEST_C9_WPDISALBLE_F1)

Definition at line 161 of file ti113x.h.

#define ENE_TEST_C9_WPDISALBLE_F0   0x40

Definition at line 159 of file ti113x.h.

#define ENE_TEST_C9_WPDISALBLE_F1   0x80

Definition at line 160 of file ti113x.h.

#define TI113X_BCR_CB_READ_DEPTH   0x08

Definition at line 134 of file ti113x.h.

#define TI113X_BCR_CB_WRITE_DEPTH   0x04

Definition at line 135 of file ti113x.h.

#define TI113X_BCR_PCI_READ_DEPTH   0x02

Definition at line 136 of file ti113x.h.

#define TI113X_BCR_PCI_WRITE_DEPTH   0x01

Definition at line 137 of file ti113x.h.

#define TI113X_BUFFER_CONTROL   0x0093 /* 8 bit */

Definition at line 133 of file ti113x.h.

#define TI113X_CARD_CONTROL   0x0091 /* 8 bit */

Definition at line 109 of file ti113x.h.

#define TI113X_CCR_IFG   0x01

Definition at line 116 of file ti113x.h.

#define TI113X_CCR_PCI_CSC   0x08

Definition at line 114 of file ti113x.h.

#define TI113X_CCR_PCI_IREQ   0x10

Definition at line 113 of file ti113x.h.

#define TI113X_CCR_PCI_IRQ_ENA   0x20

Definition at line 112 of file ti113x.h.

#define TI113X_CCR_RIENB   0x80

Definition at line 110 of file ti113x.h.

#define TI113X_CCR_SPKROUTEN   0x02

Definition at line 115 of file ti113x.h.

#define TI113X_CCR_ZVENABLE   0x40

Definition at line 111 of file ti113x.h.

#define TI113X_DCR_3V_FORCE   0x20

Definition at line 124 of file ti113x.h.

#define TI113X_DCR_5V_FORCE   0x40

Definition at line 123 of file ti113x.h.

#define TI113X_DCR_IMODE_ISA   0x02

Definition at line 126 of file ti113x.h.

#define TI113X_DCR_IMODE_MASK   0x06

Definition at line 125 of file ti113x.h.

#define TI113X_DCR_IMODE_SERIAL   0x04

Definition at line 127 of file ti113x.h.

#define TI113X_DEVICE_CONTROL   0x0092 /* 8 bit */

Definition at line 122 of file ti113x.h.

#define TI113X_DMA_0   0x0094 /* 32 bit */

Definition at line 147 of file ti113x.h.

#define TI113X_DMA_1   0x0098 /* 32 bit */

Definition at line 148 of file ti113x.h.

#define TI113X_IO_OFFSET (   map)    (0x36+((map)<<1))

Definition at line 151 of file ti113x.h.

#define TI113X_RETRY_STATUS   0x0090 /* 8 bit */

Definition at line 98 of file ti113x.h.

#define TI113X_RSR_CBRETRY   0x40

Definition at line 100 of file ti113x.h.

#define TI113X_RSR_MEXP_CBA   0x04

Definition at line 104 of file ti113x.h.

#define TI113X_RSR_MEXP_CBB   0x10

Definition at line 102 of file ti113x.h.

#define TI113X_RSR_MEXP_PCI   0x01

Definition at line 106 of file ti113x.h.

#define TI113X_RSR_PCIRETRY   0x80

Definition at line 99 of file ti113x.h.

#define TI113X_RSR_TEXP_CBA   0x08

Definition at line 103 of file ti113x.h.

#define TI113X_RSR_TEXP_CBB   0x20

Definition at line 101 of file ti113x.h.

#define TI113X_RSR_TEXP_PCI   0x02

Definition at line 105 of file ti113x.h.

#define TI113X_SCR_ASYNC_IRQ   0x00000004

Definition at line 55 of file ti113x.h.

#define TI113X_SCR_CB_DPAR   0x00000010

Definition at line 53 of file ti113x.h.

#define TI113X_SCR_CDMA_EN   0x00000008

Definition at line 54 of file ti113x.h.

#define TI113X_SCR_CDMACHAN   0x00070000

Definition at line 44 of file ti113x.h.

#define TI113X_SCR_CDREQEN   0x00080000

Definition at line 43 of file ti113x.h.

#define TI113X_SCR_CLKRUN_ENA   0x00000001

Definition at line 57 of file ti113x.h.

#define TI113X_SCR_CLKRUN_SEL   0x00000080

Definition at line 50 of file ti113x.h.

#define TI113X_SCR_DELAYDOWN   0x00000200

Definition at line 48 of file ti113x.h.

#define TI113X_SCR_DELAYUP   0x00000400

Definition at line 47 of file ti113x.h.

#define TI113X_SCR_INTERROGATE   0x00000100

Definition at line 49 of file ti113x.h.

#define TI113X_SCR_KEEPCLK   0x00000002

Definition at line 56 of file ti113x.h.

#define TI113X_SCR_PWRSAVINGS   0x00000040

Definition at line 51 of file ti113x.h.

#define TI113X_SCR_PWRSTREAM   0x00000800

Definition at line 46 of file ti113x.h.

#define TI113X_SCR_REDUCEZV   0x00100000

Definition at line 42 of file ti113x.h.

#define TI113X_SCR_SMIENB   0x01000000

Definition at line 40 of file ti113x.h.

#define TI113X_SCR_SMIROUTE   0x04000000

Definition at line 38 of file ti113x.h.

#define TI113X_SCR_SMISTATUS   0x02000000

Definition at line 39 of file ti113x.h.

#define TI113X_SCR_SOCACTIVE   0x00002000

Definition at line 45 of file ti113x.h.

#define TI113X_SCR_SUBSYSRW   0x00000020

Definition at line 52 of file ti113x.h.

#define TI113X_SCR_VCCPROT   0x00200000

Definition at line 41 of file ti113x.h.

#define TI113X_SYSTEM_CONTROL   0x0080 /* 32 bit */

Definition at line 37 of file ti113x.h.

#define TI1220_CCR_PORT_SEL   0x20

Definition at line 118 of file ti113x.h.

#define TI122X_CCR_AUD2MUX   0x04

Definition at line 119 of file ti113x.h.

#define TI122X_MFUNC   0x008c /* 32 bit */

Definition at line 82 of file ti113x.h.

#define TI122X_MFUNC0_INTA   0x00000002

Definition at line 91 of file ti113x.h.

#define TI122X_MFUNC0_MASK   0x0000000f

Definition at line 83 of file ti113x.h.

#define TI122X_MFUNC1_INTB   0x00000020

Definition at line 93 of file ti113x.h.

#define TI122X_MFUNC1_MASK   0x000000f0

Definition at line 84 of file ti113x.h.

#define TI122X_MFUNC2_MASK   0x00000f00

Definition at line 85 of file ti113x.h.

#define TI122X_MFUNC3_IRQSER   0x00001000

Definition at line 94 of file ti113x.h.

#define TI122X_MFUNC3_MASK   0x0000f000

Definition at line 86 of file ti113x.h.

#define TI122X_MFUNC4_MASK   0x000f0000

Definition at line 87 of file ti113x.h.

#define TI122X_MFUNC5_MASK   0x00f00000

Definition at line 88 of file ti113x.h.

#define TI122X_MFUNC6_MASK   0x0f000000

Definition at line 89 of file ti113x.h.

#define TI122X_SCR_CBRSVD   0x00400000

Definition at line 62 of file ti113x.h.

#define TI122X_SCR_INTRTIE   0x20000000

Definition at line 60 of file ti113x.h.

#define TI122X_SCR_MRBURSTDN   0x00008000

Definition at line 63 of file ti113x.h.

#define TI122X_SCR_MRBURSTUP   0x00004000

Definition at line 64 of file ti113x.h.

#define TI122X_SCR_RIMUX   0x00000001

Definition at line 65 of file ti113x.h.

#define TI122X_SCR_SER_STEP   0xc0000000

Definition at line 59 of file ti113x.h.

#define TI1250_DIAG_ASYNC_CSC   0x01

Definition at line 144 of file ti113x.h.

#define TI1250_DIAG_PCI_CSC   0x20

Definition at line 143 of file ti113x.h.

#define TI1250_DIAG_PCI_IREQ   0x40

Definition at line 142 of file ti113x.h.

#define TI1250_DIAG_TRUE_VALUE   0x80

Definition at line 141 of file ti113x.h.

#define TI1250_DIAGNOSTIC   0x0093 /* 8 bit */

Definition at line 140 of file ti113x.h.

#define TI1250_GENERAL_STATUS   0x0085 /* 8 bit */

Definition at line 74 of file ti113x.h.

#define TI1250_GPIO0_CONTROL   0x0088 /* 8 bit */

Definition at line 75 of file ti113x.h.

#define TI1250_GPIO1_CONTROL   0x0089 /* 8 bit */

Definition at line 76 of file ti113x.h.

#define TI1250_GPIO2_CONTROL   0x008a /* 8 bit */

Definition at line 77 of file ti113x.h.

#define TI1250_GPIO3_CONTROL   0x008b /* 8 bit */

Definition at line 78 of file ti113x.h.

#define TI1250_GPIO_MODE_MASK   0xc0

Definition at line 79 of file ti113x.h.

#define TI1250_MMC_PORTSEL   0x40

Definition at line 70 of file ti113x.h.

#define TI1250_MMC_ZVEN0   0x01

Definition at line 72 of file ti113x.h.

#define TI1250_MMC_ZVEN1   0x02

Definition at line 71 of file ti113x.h.

#define TI1250_MMC_ZVOUTEN   0x80

Definition at line 69 of file ti113x.h.

#define TI1250_MULTIMEDIA_CTL   0x0084 /* 8 bit */

Definition at line 68 of file ti113x.h.

#define TI125X_MFUNC0_INTB   0x00000001

Definition at line 92 of file ti113x.h.

#define TI12XX_DCR_IMODE_ALL_SERIAL   0x06

Definition at line 130 of file ti113x.h.

#define TI12XX_DCR_IMODE_PCI_ONLY   0x00

Definition at line 129 of file ti113x.h.

#define ti_cardctl (   socket)    ((socket)->private[1])

Definition at line 167 of file ti113x.h.

#define ti_devctl (   socket)    ((socket)->private[2])

Definition at line 168 of file ti113x.h.

#define ti_diag (   socket)    ((socket)->private[3])

Definition at line 169 of file ti113x.h.

#define ti_mfunc (   socket)    ((socket)->private[4])

Definition at line 170 of file ti113x.h.

#define ti_sysctl (   socket)    ((socket)->private[0])

Definition at line 166 of file ti113x.h.

#define TIXX21_SCR_TIEALL   0x10000000

Definition at line 61 of file ti113x.h.