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

Go to the source code of this file.

Macros

#define TCIC_BASE   0x240
 
#define TCIC_DATA   0x00
 
#define TCIC_ADDR   0x02
 
#define TCIC_SCTRL   0x06
 
#define TCIC_SSTAT   0x07
 
#define TCIC_MODE   0x08
 
#define TCIC_PWR   0x09
 
#define TCIC_EDC   0x0A
 
#define TCIC_ICSR   0x0C
 
#define TCIC_IENA   0x0D
 
#define TCIC_AUX   0x0E
 
#define TCIC_SS_SHFT   12
 
#define TCIC_SS_MASK   0x7000
 
#define TCIC_ADR2_REG   0x8000
 
#define TCIC_ADR2_INDREG   0x0800
 
#define TCIC_ADDR_REG   0x80000000
 
#define TCIC_ADDR_SS_SHFT   (TCIC_SS_SHFT+16)
 
#define TCIC_ADDR_SS_MASK   (TCIC_SS_MASK<<16)
 
#define TCIC_ADDR_INDREG   0x08000000
 
#define TCIC_ADDR_IO   0x04000000
 
#define TCIC_ADDR_MASK   0x03ffffff
 
#define TCIC_SCTRL_ENA   0x01
 
#define TCIC_SCTRL_INCMODE   0x18
 
#define TCIC_SCTRL_INCMODE_HOLD   0x00
 
#define TCIC_SCTRL_INCMODE_WORD   0x08
 
#define TCIC_SCTRL_INCMODE_REG   0x10
 
#define TCIC_SCTRL_INCMODE_AUTO   0x18
 
#define TCIC_SCTRL_EDCSUM   0x20
 
#define TCIC_SCTRL_RESET   0x80
 
#define TCIC_SSTAT_6US   0x01
 
#define TCIC_SSTAT_10US   0x02
 
#define TCIC_SSTAT_PROGTIME   0x04
 
#define TCIC_SSTAT_LBAT1   0x08
 
#define TCIC_SSTAT_LBAT2   0x10
 
#define TCIC_SSTAT_RDY   0x20 /* Inverted */
 
#define TCIC_SSTAT_WP   0x40
 
#define TCIC_SSTAT_CD   0x80 /* Card detect */
 
#define TCIC_MODE_PGMMASK   0x1f
 
#define TCIC_MODE_NORMAL   0x00
 
#define TCIC_MODE_PGMWR   0x01
 
#define TCIC_MODE_PGMRD   0x02
 
#define TCIC_MODE_PGMCE   0x04
 
#define TCIC_MODE_PGMDBW   0x08
 
#define TCIC_MODE_PGMWORD   0x10
 
#define TCIC_MODE_AUXSEL_MASK   0xe0
 
#define TCIC_AUX_TCTL   (0<<5)
 
#define TCIC_AUX_PCTL   (1<<5)
 
#define TCIC_AUX_WCTL   (2<<5)
 
#define TCIC_AUX_EXTERN   (3<<5)
 
#define TCIC_AUX_PDATA   (4<<5)
 
#define TCIC_AUX_SYSCFG   (5<<5)
 
#define TCIC_AUX_ILOCK   (6<<5)
 
#define TCIC_AUX_TEST   (7<<5)
 
#define TCIC_PWR_VCC(sock)   (0x01<<(sock))
 
#define TCIC_PWR_VCC_MASK   0x03
 
#define TCIC_PWR_VPP(sock)   (0x08<<(sock))
 
#define TCIC_PWR_VPP_MASK   0x18
 
#define TCIC_PWR_CLIMENA   0x40
 
#define TCIC_PWR_CLIMSTAT   0x80
 
#define TCIC_ICSR_CLEAR   0x01
 
#define TCIC_ICSR_SET   0x02
 
#define TCIC_ICSR_JAM   (TCIC_ICSR_CLEAR|TCIC_ICSR_SET)
 
#define TCIC_ICSR_STOPCPU   0x04
 
#define TCIC_ICSR_ILOCK   0x08
 
#define TCIC_ICSR_PROGTIME   0x10
 
#define TCIC_ICSR_ERR   0x20
 
#define TCIC_ICSR_CDCHG   0x40
 
#define TCIC_ICSR_IOCHK   0x80
 
#define TCIC_IENA_CFG_MASK   0x03
 
#define TCIC_IENA_CFG_OFF   0x00 /* disabled */
 
#define TCIC_IENA_CFG_OD   0x01 /* active low, open drain */
 
#define TCIC_IENA_CFG_LOW   0x02 /* active low, totem pole */
 
#define TCIC_IENA_CFG_HIGH   0x03 /* active high, totem pole */
 
#define TCIC_IENA_ILOCK   0x08
 
#define TCIC_IENA_PROGTIME   0x10
 
#define TCIC_IENA_ERR   0x20 /* overcurrent or iochk */
 
#define TCIC_IENA_CDCHG   0x40
 
#define TCIC_WAIT_COUNT_MASK   0x001f
 
#define TCIC_WAIT_ASYNC   0x0020
 
#define TCIC_WAIT_SENSE   0x0040
 
#define TCIC_WAIT_SRC   0x0080
 
#define TCIC_WCTL_WR   0x0100
 
#define TCIC_WCTL_RD   0x0200
 
#define TCIC_WCTL_CE   0x0400
 
#define TCIC_WCTL_LLBAT1   0x0800
 
#define TCIC_WCTL_LLBAT2   0x1000
 
#define TCIC_WCTL_LRDY   0x2000
 
#define TCIC_WCTL_LWP   0x4000
 
#define TCIC_WCTL_LCD   0x8000
 
#define TCIC_SYSCFG_IRQ_MASK   0x000f
 
#define TCIC_SYSCFG_MCSFULL   0x0010
 
#define TCIC_SYSCFG_IO1723   0x0020
 
#define TCIC_SYSCFG_MCSXB   0x0040
 
#define TCIC_SYSCFG_ICSXB   0x0080
 
#define TCIC_SYSCFG_NOPDN   0x0100
 
#define TCIC_SYSCFG_MPSEL_SHFT   9
 
#define TCIC_SYSCFG_MPSEL_MASK   0x0e00
 
#define TCIC_SYSCFG_MPSENSE   0x2000
 
#define TCIC_SYSCFG_AUTOBUSY   0x4000
 
#define TCIC_SYSCFG_ACC   0x8000
 
#define TCIC_ILOCK_OUT   0x01
 
#define TCIC_ILOCK_SENSE   0x02
 
#define TCIC_ILOCK_CRESET   0x04
 
#define TCIC_ILOCK_CRESENA   0x08
 
#define TCIC_ILOCK_CWAIT   0x10
 
#define TCIC_ILOCK_CWAITSNS   0x20
 
#define TCIC_ILOCK_HOLD_MASK   0xc0
 
#define TCIC_ILOCK_HOLD_CCLK   0xc0
 
#define TCIC_ILOCKTEST_ID_SH   8
 
#define TCIC_ILOCKTEST_ID_MASK   0x7f00
 
#define TCIC_ILOCKTEST_MCIC_1   0x8000
 
#define TCIC_ID_DB86082   0x02
 
#define TCIC_ID_DB86082A   0x03
 
#define TCIC_ID_DB86084   0x04
 
#define TCIC_ID_DB86084A   0x08
 
#define TCIC_ID_DB86072   0x15
 
#define TCIC_ID_DB86184   0x14
 
#define TCIC_ID_DB86082B   0x17
 
#define TCIC_TEST_DIAG   0x8000
 
#define TCIC_SCF1(sock)   ((sock)<<3)
 
#define TCIC_SCF2(sock)   (((sock)<<3)+2)
 
#define TCIC_SCF1_IRQ_MASK   0x000f
 
#define TCIC_SCF1_IRQ_OFF   0x0000
 
#define TCIC_SCF1_IRQOC   0x0010
 
#define TCIC_SCF1_PCVT   0x0020
 
#define TCIC_SCF1_IRDY   0x0040
 
#define TCIC_SCF1_ATA   0x0080
 
#define TCIC_SCF1_DMA_SHIFT   8
 
#define TCIC_SCF1_DMA_MASK   0x0700
 
#define TCIC_SCF1_DMA_OFF   0
 
#define TCIC_SCF1_DREQ2   2
 
#define TCIC_SCF1_IOSTS   0x0800
 
#define TCIC_SCF1_SPKR   0x1000
 
#define TCIC_SCF1_FINPACK   0x2000
 
#define TCIC_SCF1_DELWR   0x4000
 
#define TCIC_SCF1_HD7IDE   0x8000
 
#define TCIC_SCF2_RI   0x0001
 
#define TCIC_SCF2_IDBR   0x0002
 
#define TCIC_SCF2_MDBR   0x0004
 
#define TCIC_SCF2_MLBAT1   0x0008
 
#define TCIC_SCF2_MLBAT2   0x0010
 
#define TCIC_SCF2_MRDY   0x0020
 
#define TCIC_SCF2_MWP   0x0040
 
#define TCIC_SCF2_MCD   0x0080
 
#define TCIC_SCF2_MALL   0x00f8
 
#define TCIC_MWIN(sock, map)   (0x100+(((map)+((sock)<<2))<<3))
 
#define TCIC_MBASE_X   2
 
#define TCIC_MMAP_X   4
 
#define TCIC_MCTL_X   6
 
#define TCIC_MBASE_4K_BIT   0x4000
 
#define TCIC_MBASE_HA_SHFT   12
 
#define TCIC_MBASE_HA_MASK   0x0fff
 
#define TCIC_MMAP_REG   0x8000
 
#define TCIC_MMAP_CA_SHFT   12
 
#define TCIC_MMAP_CA_MASK   0x3fff
 
#define TCIC_MCTL_WSCNT_MASK   0x001f
 
#define TCIC_MCTL_WCLK   0x0020
 
#define TCIC_MCTL_WCLK_CCLK   0x0000
 
#define TCIC_MCTL_WCLK_BCLK   0x0020
 
#define TCIC_MCTL_QUIET   0x0040
 
#define TCIC_MCTL_WP   0x0080
 
#define TCIC_MCTL_ACC   0x0100
 
#define TCIC_MCTL_KE   0x0200
 
#define TCIC_MCTL_EDC   0x0400
 
#define TCIC_MCTL_B8   0x0800
 
#define TCIC_MCTL_SS_SHFT   TCIC_SS_SHFT
 
#define TCIC_MCTL_SS_MASK   TCIC_SS_MASK
 
#define TCIC_MCTL_ENA   0x8000
 
#define TCIC_IWIN(sock, map)   (0x200+(((map)+((sock)<<1))<<2))
 
#define TCIC_IBASE_X   0
 
#define TCIC_ICTL_X   2
 
#define TCIC_ICTL_WSCNT_MASK   TCIC_MCTL_WSCNT_MASK
 
#define TCIC_ICTL_QUIET   TCIC_MCTL_QUIET
 
#define TCIC_ICTL_1K   0x0080
 
#define TCIC_ICTL_PASS16   0x0100
 
#define TCIC_ICTL_ACC   TCIC_MCTL_ACC
 
#define TCIC_ICTL_TINY   0x0200
 
#define TCIC_ICTL_B16   0x0400
 
#define TCIC_ICTL_B8   TCIC_MCTL_B8
 
#define TCIC_ICTL_BW_MASK   (TCIC_ICTL_B16|TCIC_ICTL_B8)
 
#define TCIC_ICTL_BW_DYN   0
 
#define TCIC_ICTL_BW_8   TCIC_ICTL_B8
 
#define TCIC_ICTL_BW_16   TCIC_ICTL_B16
 
#define TCIC_ICTL_BW_ATA   (TCIC_ICTL_B16|TCIC_ICTL_B8)
 
#define TCIC_ICTL_SS_SHFT   TCIC_SS_SHFT
 
#define TCIC_ICTL_SS_MASK   TCIC_SS_MASK
 
#define TCIC_ICTL_ENA   TCIC_MCTL_ENA
 

Macro Definition Documentation

#define TCIC_ADDR   0x02

Definition at line 37 of file tcic.h.

#define TCIC_ADDR_INDREG   0x08000000

Definition at line 57 of file tcic.h.

#define TCIC_ADDR_IO   0x04000000

Definition at line 58 of file tcic.h.

#define TCIC_ADDR_MASK   0x03ffffff

Definition at line 59 of file tcic.h.

#define TCIC_ADDR_REG   0x80000000

Definition at line 54 of file tcic.h.

#define TCIC_ADDR_SS_MASK   (TCIC_SS_MASK<<16)

Definition at line 56 of file tcic.h.

#define TCIC_ADDR_SS_SHFT   (TCIC_SS_SHFT+16)

Definition at line 55 of file tcic.h.

#define TCIC_ADR2_INDREG   0x0800

Definition at line 52 of file tcic.h.

#define TCIC_ADR2_REG   0x8000

Definition at line 51 of file tcic.h.

#define TCIC_AUX   0x0E

Definition at line 45 of file tcic.h.

#define TCIC_AUX_EXTERN   (3<<5)

Definition at line 95 of file tcic.h.

#define TCIC_AUX_ILOCK   (6<<5)

Definition at line 98 of file tcic.h.

#define TCIC_AUX_PCTL   (1<<5)

Definition at line 93 of file tcic.h.

#define TCIC_AUX_PDATA   (4<<5)

Definition at line 96 of file tcic.h.

#define TCIC_AUX_SYSCFG   (5<<5)

Definition at line 97 of file tcic.h.

#define TCIC_AUX_TCTL   (0<<5)

Definition at line 92 of file tcic.h.

#define TCIC_AUX_TEST   (7<<5)

Definition at line 99 of file tcic.h.

#define TCIC_AUX_WCTL   (2<<5)

Definition at line 94 of file tcic.h.

#define TCIC_BASE   0x240

Definition at line 33 of file tcic.h.

#define TCIC_DATA   0x00

Definition at line 36 of file tcic.h.

#define TCIC_EDC   0x0A

Definition at line 42 of file tcic.h.

#define TCIC_IBASE_X   0

Definition at line 246 of file tcic.h.

#define TCIC_ICSR   0x0C

Definition at line 43 of file tcic.h.

#define TCIC_ICSR_CDCHG   0x40

Definition at line 117 of file tcic.h.

#define TCIC_ICSR_CLEAR   0x01

Definition at line 110 of file tcic.h.

#define TCIC_ICSR_ERR   0x20

Definition at line 116 of file tcic.h.

#define TCIC_ICSR_ILOCK   0x08

Definition at line 114 of file tcic.h.

#define TCIC_ICSR_IOCHK   0x80

Definition at line 118 of file tcic.h.

#define TCIC_ICSR_JAM   (TCIC_ICSR_CLEAR|TCIC_ICSR_SET)

Definition at line 112 of file tcic.h.

#define TCIC_ICSR_PROGTIME   0x10

Definition at line 115 of file tcic.h.

#define TCIC_ICSR_SET   0x02

Definition at line 111 of file tcic.h.

#define TCIC_ICSR_STOPCPU   0x04

Definition at line 113 of file tcic.h.

#define TCIC_ICTL_1K   0x0080

Definition at line 251 of file tcic.h.

#define TCIC_ICTL_ACC   TCIC_MCTL_ACC

Definition at line 253 of file tcic.h.

#define TCIC_ICTL_B16   0x0400

Definition at line 255 of file tcic.h.

#define TCIC_ICTL_B8   TCIC_MCTL_B8

Definition at line 256 of file tcic.h.

#define TCIC_ICTL_BW_16   TCIC_ICTL_B16

Definition at line 260 of file tcic.h.

#define TCIC_ICTL_BW_8   TCIC_ICTL_B8

Definition at line 259 of file tcic.h.

#define TCIC_ICTL_BW_ATA   (TCIC_ICTL_B16|TCIC_ICTL_B8)

Definition at line 261 of file tcic.h.

#define TCIC_ICTL_BW_DYN   0

Definition at line 258 of file tcic.h.

#define TCIC_ICTL_BW_MASK   (TCIC_ICTL_B16|TCIC_ICTL_B8)

Definition at line 257 of file tcic.h.

#define TCIC_ICTL_ENA   TCIC_MCTL_ENA

Definition at line 264 of file tcic.h.

#define TCIC_ICTL_PASS16   0x0100

Definition at line 252 of file tcic.h.

#define TCIC_ICTL_QUIET   TCIC_MCTL_QUIET

Definition at line 250 of file tcic.h.

#define TCIC_ICTL_SS_MASK   TCIC_SS_MASK

Definition at line 263 of file tcic.h.

#define TCIC_ICTL_SS_SHFT   TCIC_SS_SHFT

Definition at line 262 of file tcic.h.

#define TCIC_ICTL_TINY   0x0200

Definition at line 254 of file tcic.h.

#define TCIC_ICTL_WSCNT_MASK   TCIC_MCTL_WSCNT_MASK

Definition at line 249 of file tcic.h.

#define TCIC_ICTL_X   2

Definition at line 247 of file tcic.h.

#define TCIC_ID_DB86072   0x15

Definition at line 175 of file tcic.h.

#define TCIC_ID_DB86082   0x02

Definition at line 171 of file tcic.h.

#define TCIC_ID_DB86082A   0x03

Definition at line 172 of file tcic.h.

#define TCIC_ID_DB86082B   0x17

Definition at line 177 of file tcic.h.

#define TCIC_ID_DB86084   0x04

Definition at line 173 of file tcic.h.

#define TCIC_ID_DB86084A   0x08

Definition at line 174 of file tcic.h.

#define TCIC_ID_DB86184   0x14

Definition at line 176 of file tcic.h.

#define TCIC_IENA   0x0D

Definition at line 44 of file tcic.h.

#define TCIC_IENA_CDCHG   0x40

Definition at line 129 of file tcic.h.

#define TCIC_IENA_CFG_HIGH   0x03 /* active high, totem pole */

Definition at line 125 of file tcic.h.

#define TCIC_IENA_CFG_LOW   0x02 /* active low, totem pole */

Definition at line 124 of file tcic.h.

#define TCIC_IENA_CFG_MASK   0x03

Definition at line 121 of file tcic.h.

#define TCIC_IENA_CFG_OD   0x01 /* active low, open drain */

Definition at line 123 of file tcic.h.

#define TCIC_IENA_CFG_OFF   0x00 /* disabled */

Definition at line 122 of file tcic.h.

#define TCIC_IENA_ERR   0x20 /* overcurrent or iochk */

Definition at line 128 of file tcic.h.

#define TCIC_IENA_ILOCK   0x08

Definition at line 126 of file tcic.h.

#define TCIC_IENA_PROGTIME   0x10

Definition at line 127 of file tcic.h.

#define TCIC_ILOCK_CRESENA   0x08

Definition at line 161 of file tcic.h.

#define TCIC_ILOCK_CRESET   0x04

Definition at line 160 of file tcic.h.

#define TCIC_ILOCK_CWAIT   0x10

Definition at line 162 of file tcic.h.

#define TCIC_ILOCK_CWAITSNS   0x20

Definition at line 163 of file tcic.h.

#define TCIC_ILOCK_HOLD_CCLK   0xc0

Definition at line 165 of file tcic.h.

#define TCIC_ILOCK_HOLD_MASK   0xc0

Definition at line 164 of file tcic.h.

#define TCIC_ILOCK_OUT   0x01

Definition at line 158 of file tcic.h.

#define TCIC_ILOCK_SENSE   0x02

Definition at line 159 of file tcic.h.

#define TCIC_ILOCKTEST_ID_MASK   0x7f00

Definition at line 168 of file tcic.h.

#define TCIC_ILOCKTEST_ID_SH   8

Definition at line 167 of file tcic.h.

#define TCIC_ILOCKTEST_MCIC_1   0x8000

Definition at line 169 of file tcic.h.

#define TCIC_IWIN (   sock,
  map 
)    (0x200+(((map)+((sock)<<1))<<2))

Definition at line 245 of file tcic.h.

#define TCIC_MBASE_4K_BIT   0x4000

Definition at line 222 of file tcic.h.

#define TCIC_MBASE_HA_MASK   0x0fff

Definition at line 224 of file tcic.h.

#define TCIC_MBASE_HA_SHFT   12

Definition at line 223 of file tcic.h.

#define TCIC_MBASE_X   2

Definition at line 218 of file tcic.h.

#define TCIC_MCTL_ACC   0x0100

Definition at line 236 of file tcic.h.

#define TCIC_MCTL_B8   0x0800

Definition at line 239 of file tcic.h.

#define TCIC_MCTL_EDC   0x0400

Definition at line 238 of file tcic.h.

#define TCIC_MCTL_ENA   0x8000

Definition at line 242 of file tcic.h.

#define TCIC_MCTL_KE   0x0200

Definition at line 237 of file tcic.h.

#define TCIC_MCTL_QUIET   0x0040

Definition at line 234 of file tcic.h.

#define TCIC_MCTL_SS_MASK   TCIC_SS_MASK

Definition at line 241 of file tcic.h.

#define TCIC_MCTL_SS_SHFT   TCIC_SS_SHFT

Definition at line 240 of file tcic.h.

#define TCIC_MCTL_WCLK   0x0020

Definition at line 231 of file tcic.h.

#define TCIC_MCTL_WCLK_BCLK   0x0020

Definition at line 233 of file tcic.h.

#define TCIC_MCTL_WCLK_CCLK   0x0000

Definition at line 232 of file tcic.h.

#define TCIC_MCTL_WP   0x0080

Definition at line 235 of file tcic.h.

#define TCIC_MCTL_WSCNT_MASK   0x001f

Definition at line 230 of file tcic.h.

#define TCIC_MCTL_X   6

Definition at line 220 of file tcic.h.

#define TCIC_MMAP_CA_MASK   0x3fff

Definition at line 228 of file tcic.h.

#define TCIC_MMAP_CA_SHFT   12

Definition at line 227 of file tcic.h.

#define TCIC_MMAP_REG   0x8000

Definition at line 226 of file tcic.h.

#define TCIC_MMAP_X   4

Definition at line 219 of file tcic.h.

#define TCIC_MODE   0x08

Definition at line 40 of file tcic.h.

#define TCIC_MODE_AUXSEL_MASK   0xe0

Definition at line 89 of file tcic.h.

#define TCIC_MODE_NORMAL   0x00

Definition at line 83 of file tcic.h.

#define TCIC_MODE_PGMCE   0x04

Definition at line 86 of file tcic.h.

#define TCIC_MODE_PGMDBW   0x08

Definition at line 87 of file tcic.h.

#define TCIC_MODE_PGMMASK   0x1f

Definition at line 82 of file tcic.h.

#define TCIC_MODE_PGMRD   0x02

Definition at line 85 of file tcic.h.

#define TCIC_MODE_PGMWORD   0x10

Definition at line 88 of file tcic.h.

#define TCIC_MODE_PGMWR   0x01

Definition at line 84 of file tcic.h.

#define TCIC_MWIN (   sock,
  map 
)    (0x100+(((map)+((sock)<<2))<<3))

Definition at line 217 of file tcic.h.

#define TCIC_PWR   0x09

Definition at line 41 of file tcic.h.

#define TCIC_PWR_CLIMENA   0x40

Definition at line 106 of file tcic.h.

#define TCIC_PWR_CLIMSTAT   0x80

Definition at line 107 of file tcic.h.

#define TCIC_PWR_VCC (   sock)    (0x01<<(sock))

Definition at line 102 of file tcic.h.

#define TCIC_PWR_VCC_MASK   0x03

Definition at line 103 of file tcic.h.

#define TCIC_PWR_VPP (   sock)    (0x08<<(sock))

Definition at line 104 of file tcic.h.

#define TCIC_PWR_VPP_MASK   0x18

Definition at line 105 of file tcic.h.

#define TCIC_SCF1 (   sock)    ((sock)<<3)

Definition at line 185 of file tcic.h.

#define TCIC_SCF1_ATA   0x0080

Definition at line 194 of file tcic.h.

#define TCIC_SCF1_DELWR   0x4000

Definition at line 202 of file tcic.h.

#define TCIC_SCF1_DMA_MASK   0x0700

Definition at line 196 of file tcic.h.

#define TCIC_SCF1_DMA_OFF   0

Definition at line 197 of file tcic.h.

#define TCIC_SCF1_DMA_SHIFT   8

Definition at line 195 of file tcic.h.

#define TCIC_SCF1_DREQ2   2

Definition at line 198 of file tcic.h.

#define TCIC_SCF1_FINPACK   0x2000

Definition at line 201 of file tcic.h.

#define TCIC_SCF1_HD7IDE   0x8000

Definition at line 203 of file tcic.h.

#define TCIC_SCF1_IOSTS   0x0800

Definition at line 199 of file tcic.h.

#define TCIC_SCF1_IRDY   0x0040

Definition at line 193 of file tcic.h.

#define TCIC_SCF1_IRQ_MASK   0x000f

Definition at line 189 of file tcic.h.

#define TCIC_SCF1_IRQ_OFF   0x0000

Definition at line 190 of file tcic.h.

#define TCIC_SCF1_IRQOC   0x0010

Definition at line 191 of file tcic.h.

#define TCIC_SCF1_PCVT   0x0020

Definition at line 192 of file tcic.h.

#define TCIC_SCF1_SPKR   0x1000

Definition at line 200 of file tcic.h.

#define TCIC_SCF2 (   sock)    (((sock)<<3)+2)

Definition at line 186 of file tcic.h.

#define TCIC_SCF2_IDBR   0x0002

Definition at line 207 of file tcic.h.

#define TCIC_SCF2_MALL   0x00f8

Definition at line 214 of file tcic.h.

#define TCIC_SCF2_MCD   0x0080

Definition at line 213 of file tcic.h.

#define TCIC_SCF2_MDBR   0x0004

Definition at line 208 of file tcic.h.

#define TCIC_SCF2_MLBAT1   0x0008

Definition at line 209 of file tcic.h.

#define TCIC_SCF2_MLBAT2   0x0010

Definition at line 210 of file tcic.h.

#define TCIC_SCF2_MRDY   0x0020

Definition at line 211 of file tcic.h.

#define TCIC_SCF2_MWP   0x0040

Definition at line 212 of file tcic.h.

#define TCIC_SCF2_RI   0x0001

Definition at line 206 of file tcic.h.

#define TCIC_SCTRL   0x06

Definition at line 38 of file tcic.h.

#define TCIC_SCTRL_EDCSUM   0x20

Definition at line 68 of file tcic.h.

#define TCIC_SCTRL_ENA   0x01

Definition at line 62 of file tcic.h.

#define TCIC_SCTRL_INCMODE   0x18

Definition at line 63 of file tcic.h.

#define TCIC_SCTRL_INCMODE_AUTO   0x18

Definition at line 67 of file tcic.h.

#define TCIC_SCTRL_INCMODE_HOLD   0x00

Definition at line 64 of file tcic.h.

#define TCIC_SCTRL_INCMODE_REG   0x10

Definition at line 66 of file tcic.h.

#define TCIC_SCTRL_INCMODE_WORD   0x08

Definition at line 65 of file tcic.h.

#define TCIC_SCTRL_RESET   0x80

Definition at line 69 of file tcic.h.

#define TCIC_SS_MASK   0x7000

Definition at line 48 of file tcic.h.

#define TCIC_SS_SHFT   12

Definition at line 47 of file tcic.h.

#define TCIC_SSTAT   0x07

Definition at line 39 of file tcic.h.

#define TCIC_SSTAT_10US   0x02

Definition at line 73 of file tcic.h.

#define TCIC_SSTAT_6US   0x01

Definition at line 72 of file tcic.h.

#define TCIC_SSTAT_CD   0x80 /* Card detect */

Definition at line 79 of file tcic.h.

#define TCIC_SSTAT_LBAT1   0x08

Definition at line 75 of file tcic.h.

#define TCIC_SSTAT_LBAT2   0x10

Definition at line 76 of file tcic.h.

#define TCIC_SSTAT_PROGTIME   0x04

Definition at line 74 of file tcic.h.

#define TCIC_SSTAT_RDY   0x20 /* Inverted */

Definition at line 77 of file tcic.h.

#define TCIC_SSTAT_WP   0x40

Definition at line 78 of file tcic.h.

#define TCIC_SYSCFG_ACC   0x8000

Definition at line 156 of file tcic.h.

#define TCIC_SYSCFG_AUTOBUSY   0x4000

Definition at line 155 of file tcic.h.

#define TCIC_SYSCFG_ICSXB   0x0080

Definition at line 150 of file tcic.h.

#define TCIC_SYSCFG_IO1723   0x0020

Definition at line 148 of file tcic.h.

#define TCIC_SYSCFG_IRQ_MASK   0x000f

Definition at line 146 of file tcic.h.

#define TCIC_SYSCFG_MCSFULL   0x0010

Definition at line 147 of file tcic.h.

#define TCIC_SYSCFG_MCSXB   0x0040

Definition at line 149 of file tcic.h.

#define TCIC_SYSCFG_MPSEL_MASK   0x0e00

Definition at line 153 of file tcic.h.

#define TCIC_SYSCFG_MPSEL_SHFT   9

Definition at line 152 of file tcic.h.

#define TCIC_SYSCFG_MPSENSE   0x2000

Definition at line 154 of file tcic.h.

#define TCIC_SYSCFG_NOPDN   0x0100

Definition at line 151 of file tcic.h.

#define TCIC_TEST_DIAG   0x8000

Definition at line 179 of file tcic.h.

#define TCIC_WAIT_ASYNC   0x0020

Definition at line 133 of file tcic.h.

#define TCIC_WAIT_COUNT_MASK   0x001f

Definition at line 132 of file tcic.h.

#define TCIC_WAIT_SENSE   0x0040

Definition at line 134 of file tcic.h.

#define TCIC_WAIT_SRC   0x0080

Definition at line 135 of file tcic.h.

#define TCIC_WCTL_CE   0x0400

Definition at line 138 of file tcic.h.

#define TCIC_WCTL_LCD   0x8000

Definition at line 143 of file tcic.h.

#define TCIC_WCTL_LLBAT1   0x0800

Definition at line 139 of file tcic.h.

#define TCIC_WCTL_LLBAT2   0x1000

Definition at line 140 of file tcic.h.

#define TCIC_WCTL_LRDY   0x2000

Definition at line 141 of file tcic.h.

#define TCIC_WCTL_LWP   0x4000

Definition at line 142 of file tcic.h.

#define TCIC_WCTL_RD   0x0200

Definition at line 137 of file tcic.h.

#define TCIC_WCTL_WR   0x0100

Definition at line 136 of file tcic.h.