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

Go to the source code of this file.

Macros

#define readW6692   readisac
 
#define writeW6692   writeisac
 
#define readW6692fifo   readisacfifo
 
#define writeW6692fifo   writeisacfifo
 
#define READW6692BFIFO(cs, bchan, ptr, count)   insb(cs->hw.w6692.iobase + W_B_RFIFO + (bchan ? 0x40 : 0), ptr, count)
 
#define WRITEW6692BFIFO(cs, bchan, ptr, count)   outsb(cs->hw.w6692.iobase + W_B_XFIFO + (bchan ? 0x40 : 0), ptr, count)
 
#define W_D_RFIFO   0x00 /* R */
 
#define W_D_XFIFO   0x04 /* W */
 
#define W_D_CMDR   0x08 /* W */
 
#define W_D_MODE   0x0c /* R/W */
 
#define W_D_TIMR   0x10 /* R/W */
 
#define W_ISTA   0x14 /* R_clr */
 
#define W_IMASK   0x18 /* R/W */
 
#define W_D_EXIR   0x1c /* R_clr */
 
#define W_D_EXIM   0x20 /* R/W */
 
#define W_D_STAR   0x24 /* R */
 
#define W_D_RSTA   0x28 /* R */
 
#define W_D_SAM   0x2c /* R/W */
 
#define W_D_SAP1   0x30 /* R/W */
 
#define W_D_SAP2   0x34 /* R/W */
 
#define W_D_TAM   0x38 /* R/W */
 
#define W_D_TEI1   0x3c /* R/W */
 
#define W_D_TEI2   0x40 /* R/W */
 
#define W_D_RBCH   0x44 /* R */
 
#define W_D_RBCL   0x48 /* R */
 
#define W_TIMR2   0x4c /* W */
 
#define W_L1_RC   0x50 /* R/W */
 
#define W_D_CTL   0x54 /* R/W */
 
#define W_CIR   0x58 /* R */
 
#define W_CIX   0x5c /* W */
 
#define W_SQR   0x60 /* R */
 
#define W_SQX   0x64 /* W */
 
#define W_PCTL   0x68 /* R/W */
 
#define W_MOR   0x6c /* R */
 
#define W_MOX   0x70 /* R/W */
 
#define W_MOSR   0x74 /* R_clr */
 
#define W_MOCR   0x78 /* R/W */
 
#define W_GCR   0x7c /* R/W */
 
#define W_B_RFIFO   0x80 /* R */
 
#define W_B_XFIFO   0x84 /* W */
 
#define W_B_CMDR   0x88 /* W */
 
#define W_B_MODE   0x8c /* R/W */
 
#define W_B_EXIR   0x90 /* R_clr */
 
#define W_B_EXIM   0x94 /* R/W */
 
#define W_B_STAR   0x98 /* R */
 
#define W_B_ADM1   0x9c /* R/W */
 
#define W_B_ADM2   0xa0 /* R/W */
 
#define W_B_ADR1   0xa4 /* R/W */
 
#define W_B_ADR2   0xa8 /* R/W */
 
#define W_B_RBCL   0xac /* R */
 
#define W_B_RBCH   0xb0 /* R */
 
#define W_XADDR   0xf4 /* R/W */
 
#define W_XDATA   0xf8 /* R/W */
 
#define W_EPCTL   0xfc /* W */
 
#define W_D_CMDR_XRST   0x01
 
#define W_D_CMDR_XME   0x02
 
#define W_D_CMDR_XMS   0x08
 
#define W_D_CMDR_STT   0x10
 
#define W_D_CMDR_RRST   0x40
 
#define W_D_CMDR_RACK   0x80
 
#define W_D_MODE_RLP   0x01
 
#define W_D_MODE_DLP   0x02
 
#define W_D_MODE_MFD   0x04
 
#define W_D_MODE_TEE   0x08
 
#define W_D_MODE_TMS   0x10
 
#define W_D_MODE_RACT   0x40
 
#define W_D_MODE_MMS   0x80
 
#define W_INT_B2_EXI   0x01
 
#define W_INT_B1_EXI   0x02
 
#define W_INT_D_EXI   0x04
 
#define W_INT_XINT0   0x08
 
#define W_INT_XINT1   0x10
 
#define W_INT_D_XFR   0x20
 
#define W_INT_D_RME   0x40
 
#define W_INT_D_RMR   0x80
 
#define W_D_EXI_WEXP   0x01
 
#define W_D_EXI_TEXP   0x02
 
#define W_D_EXI_ISC   0x04
 
#define W_D_EXI_MOC   0x08
 
#define W_D_EXI_TIN2   0x10
 
#define W_D_EXI_XCOL   0x20
 
#define W_D_EXI_XDUN   0x40
 
#define W_D_EXI_RDOV   0x80
 
#define W_D_STAR_DRDY   0x10
 
#define W_D_STAR_XBZ   0x20
 
#define W_D_STAR_XDOW   0x80
 
#define W_D_RSTA_RMB   0x10
 
#define W_D_RSTA_CRCE   0x20
 
#define W_D_RSTA_RDOV   0x40
 
#define W_D_CTL_SRST   0x20
 
#define W_CIR_SCC   0x80
 
#define W_CIR_ICC   0x40
 
#define W_CIR_COD_MASK   0x0f
 
#define W_B_CMDR_XRST   0x01
 
#define W_B_CMDR_XME   0x02
 
#define W_B_CMDR_XMS   0x04
 
#define W_B_CMDR_RACT   0x20
 
#define W_B_CMDR_RRST   0x40
 
#define W_B_CMDR_RACK   0x80
 
#define W_B_MODE_FTS0   0x01
 
#define W_B_MODE_FTS1   0x02
 
#define W_B_MODE_SW56   0x04
 
#define W_B_MODE_BSW0   0x08
 
#define W_B_MODE_BSW1   0x10
 
#define W_B_MODE_EPCM   0x20
 
#define W_B_MODE_ITF   0x40
 
#define W_B_MODE_MMS   0x80
 
#define W_B_EXI_XDUN   0x01
 
#define W_B_EXI_XFR   0x02
 
#define W_B_EXI_RDOV   0x10
 
#define W_B_EXI_RME   0x20
 
#define W_B_EXI_RMR   0x40
 
#define W_B_STAR_XBZ   0x01
 
#define W_B_STAR_XDOW   0x04
 
#define W_B_STAR_RMB   0x10
 
#define W_B_STAR_CRCE   0x20
 
#define W_B_STAR_RDOV   0x40
 
#define W_B_RBCH_LOV   0x20
 
#define W_L1CMD_ECK   0x00
 
#define W_L1CMD_RST   0x01
 
#define W_L1CMD_SCP   0x04
 
#define W_L1CMD_SSP   0x02
 
#define W_L1CMD_AR8   0x08
 
#define W_L1CMD_AR10   0x09
 
#define W_L1CMD_EAL   0x0a
 
#define W_L1CMD_DRC   0x0f
 
#define W_L1IND_CE   0x07
 
#define W_L1IND_DRD   0x00
 
#define W_L1IND_LD   0x04
 
#define W_L1IND_ARD   0x08
 
#define W_L1IND_TI   0x0a
 
#define W_L1IND_ATI   0x0b
 
#define W_L1IND_AI8   0x0c
 
#define W_L1IND_AI10   0x0d
 
#define W_L1IND_CD   0x0f
 
#define W_D_FIFO_THRESH   64
 
#define W_B_FIFO_THRESH   64
 

Macro Definition Documentation

#define readW6692   readisac

Definition at line 14 of file w6692.h.

#define READW6692BFIFO (   cs,
  bchan,
  ptr,
  count 
)    insb(cs->hw.w6692.iobase + W_B_RFIFO + (bchan ? 0x40 : 0), ptr, count)

Definition at line 21 of file w6692.h.

#define readW6692fifo   readisacfifo

Definition at line 16 of file w6692.h.

#define W_B_ADM1   0x9c /* R/W */

Definition at line 69 of file w6692.h.

#define W_B_ADM2   0xa0 /* R/W */

Definition at line 70 of file w6692.h.

#define W_B_ADR1   0xa4 /* R/W */

Definition at line 71 of file w6692.h.

#define W_B_ADR2   0xa8 /* R/W */

Definition at line 72 of file w6692.h.

#define W_B_CMDR   0x88 /* W */

Definition at line 64 of file w6692.h.

#define W_B_CMDR_RACK   0x80

Definition at line 134 of file w6692.h.

#define W_B_CMDR_RACT   0x20

Definition at line 132 of file w6692.h.

#define W_B_CMDR_RRST   0x40

Definition at line 133 of file w6692.h.

#define W_B_CMDR_XME   0x02

Definition at line 130 of file w6692.h.

#define W_B_CMDR_XMS   0x04

Definition at line 131 of file w6692.h.

#define W_B_CMDR_XRST   0x01

Definition at line 129 of file w6692.h.

#define W_B_EXI_RDOV   0x10

Definition at line 147 of file w6692.h.

#define W_B_EXI_RME   0x20

Definition at line 148 of file w6692.h.

#define W_B_EXI_RMR   0x40

Definition at line 149 of file w6692.h.

#define W_B_EXI_XDUN   0x01

Definition at line 145 of file w6692.h.

#define W_B_EXI_XFR   0x02

Definition at line 146 of file w6692.h.

#define W_B_EXIM   0x94 /* R/W */

Definition at line 67 of file w6692.h.

#define W_B_EXIR   0x90 /* R_clr */

Definition at line 66 of file w6692.h.

#define W_B_FIFO_THRESH   64

Definition at line 184 of file w6692.h.

#define W_B_MODE   0x8c /* R/W */

Definition at line 65 of file w6692.h.

#define W_B_MODE_BSW0   0x08

Definition at line 139 of file w6692.h.

#define W_B_MODE_BSW1   0x10

Definition at line 140 of file w6692.h.

#define W_B_MODE_EPCM   0x20

Definition at line 141 of file w6692.h.

#define W_B_MODE_FTS0   0x01

Definition at line 136 of file w6692.h.

#define W_B_MODE_FTS1   0x02

Definition at line 137 of file w6692.h.

#define W_B_MODE_ITF   0x40

Definition at line 142 of file w6692.h.

#define W_B_MODE_MMS   0x80

Definition at line 143 of file w6692.h.

#define W_B_MODE_SW56   0x04

Definition at line 138 of file w6692.h.

#define W_B_RBCH   0xb0 /* R */

Definition at line 74 of file w6692.h.

#define W_B_RBCH_LOV   0x20

Definition at line 157 of file w6692.h.

#define W_B_RBCL   0xac /* R */

Definition at line 73 of file w6692.h.

#define W_B_RFIFO   0x80 /* R */

Definition at line 62 of file w6692.h.

#define W_B_STAR   0x98 /* R */

Definition at line 68 of file w6692.h.

#define W_B_STAR_CRCE   0x20

Definition at line 154 of file w6692.h.

#define W_B_STAR_RDOV   0x40

Definition at line 155 of file w6692.h.

#define W_B_STAR_RMB   0x10

Definition at line 153 of file w6692.h.

#define W_B_STAR_XBZ   0x01

Definition at line 151 of file w6692.h.

#define W_B_STAR_XDOW   0x04

Definition at line 152 of file w6692.h.

#define W_B_XFIFO   0x84 /* W */

Definition at line 63 of file w6692.h.

#define W_CIR   0x58 /* R */

Definition at line 51 of file w6692.h.

#define W_CIR_COD_MASK   0x0f

Definition at line 127 of file w6692.h.

#define W_CIR_ICC   0x40

Definition at line 126 of file w6692.h.

#define W_CIR_SCC   0x80

Definition at line 125 of file w6692.h.

#define W_CIX   0x5c /* W */

Definition at line 52 of file w6692.h.

#define W_D_CMDR   0x08 /* W */

Definition at line 31 of file w6692.h.

#define W_D_CMDR_RACK   0x80

Definition at line 87 of file w6692.h.

#define W_D_CMDR_RRST   0x40

Definition at line 86 of file w6692.h.

#define W_D_CMDR_STT   0x10

Definition at line 85 of file w6692.h.

#define W_D_CMDR_XME   0x02

Definition at line 83 of file w6692.h.

#define W_D_CMDR_XMS   0x08

Definition at line 84 of file w6692.h.

#define W_D_CMDR_XRST   0x01

Definition at line 82 of file w6692.h.

#define W_D_CTL   0x54 /* R/W */

Definition at line 50 of file w6692.h.

#define W_D_CTL_SRST   0x20

Definition at line 123 of file w6692.h.

#define W_D_EXI_ISC   0x04

Definition at line 108 of file w6692.h.

#define W_D_EXI_MOC   0x08

Definition at line 109 of file w6692.h.

#define W_D_EXI_RDOV   0x80

Definition at line 113 of file w6692.h.

#define W_D_EXI_TEXP   0x02

Definition at line 107 of file w6692.h.

#define W_D_EXI_TIN2   0x10

Definition at line 110 of file w6692.h.

#define W_D_EXI_WEXP   0x01

Definition at line 106 of file w6692.h.

#define W_D_EXI_XCOL   0x20

Definition at line 111 of file w6692.h.

#define W_D_EXI_XDUN   0x40

Definition at line 112 of file w6692.h.

#define W_D_EXIM   0x20 /* R/W */

Definition at line 37 of file w6692.h.

#define W_D_EXIR   0x1c /* R_clr */

Definition at line 36 of file w6692.h.

#define W_D_FIFO_THRESH   64

Definition at line 183 of file w6692.h.

#define W_D_MODE   0x0c /* R/W */

Definition at line 32 of file w6692.h.

#define W_D_MODE_DLP   0x02

Definition at line 90 of file w6692.h.

#define W_D_MODE_MFD   0x04

Definition at line 91 of file w6692.h.

#define W_D_MODE_MMS   0x80

Definition at line 95 of file w6692.h.

#define W_D_MODE_RACT   0x40

Definition at line 94 of file w6692.h.

#define W_D_MODE_RLP   0x01

Definition at line 89 of file w6692.h.

#define W_D_MODE_TEE   0x08

Definition at line 92 of file w6692.h.

#define W_D_MODE_TMS   0x10

Definition at line 93 of file w6692.h.

#define W_D_RBCH   0x44 /* R */

Definition at line 46 of file w6692.h.

#define W_D_RBCL   0x48 /* R */

Definition at line 47 of file w6692.h.

#define W_D_RFIFO   0x00 /* R */

Definition at line 29 of file w6692.h.

#define W_D_RSTA   0x28 /* R */

Definition at line 39 of file w6692.h.

#define W_D_RSTA_CRCE   0x20

Definition at line 120 of file w6692.h.

#define W_D_RSTA_RDOV   0x40

Definition at line 121 of file w6692.h.

#define W_D_RSTA_RMB   0x10

Definition at line 119 of file w6692.h.

#define W_D_SAM   0x2c /* R/W */

Definition at line 40 of file w6692.h.

#define W_D_SAP1   0x30 /* R/W */

Definition at line 41 of file w6692.h.

#define W_D_SAP2   0x34 /* R/W */

Definition at line 42 of file w6692.h.

#define W_D_STAR   0x24 /* R */

Definition at line 38 of file w6692.h.

#define W_D_STAR_DRDY   0x10

Definition at line 115 of file w6692.h.

#define W_D_STAR_XBZ   0x20

Definition at line 116 of file w6692.h.

#define W_D_STAR_XDOW   0x80

Definition at line 117 of file w6692.h.

#define W_D_TAM   0x38 /* R/W */

Definition at line 43 of file w6692.h.

#define W_D_TEI1   0x3c /* R/W */

Definition at line 44 of file w6692.h.

#define W_D_TEI2   0x40 /* R/W */

Definition at line 45 of file w6692.h.

#define W_D_TIMR   0x10 /* R/W */

Definition at line 33 of file w6692.h.

#define W_D_XFIFO   0x04 /* W */

Definition at line 30 of file w6692.h.

#define W_EPCTL   0xfc /* W */

Definition at line 78 of file w6692.h.

#define W_GCR   0x7c /* R/W */

Definition at line 60 of file w6692.h.

#define W_IMASK   0x18 /* R/W */

Definition at line 35 of file w6692.h.

#define W_INT_B1_EXI   0x02

Definition at line 98 of file w6692.h.

#define W_INT_B2_EXI   0x01

Definition at line 97 of file w6692.h.

#define W_INT_D_EXI   0x04

Definition at line 99 of file w6692.h.

#define W_INT_D_RME   0x40

Definition at line 103 of file w6692.h.

#define W_INT_D_RMR   0x80

Definition at line 104 of file w6692.h.

#define W_INT_D_XFR   0x20

Definition at line 102 of file w6692.h.

#define W_INT_XINT0   0x08

Definition at line 100 of file w6692.h.

#define W_INT_XINT1   0x10

Definition at line 101 of file w6692.h.

#define W_ISTA   0x14 /* R_clr */

Definition at line 34 of file w6692.h.

#define W_L1_RC   0x50 /* R/W */

Definition at line 49 of file w6692.h.

#define W_L1CMD_AR10   0x09

Definition at line 166 of file w6692.h.

#define W_L1CMD_AR8   0x08

Definition at line 165 of file w6692.h.

#define W_L1CMD_DRC   0x0f

Definition at line 168 of file w6692.h.

#define W_L1CMD_EAL   0x0a

Definition at line 167 of file w6692.h.

#define W_L1CMD_ECK   0x00

Definition at line 161 of file w6692.h.

#define W_L1CMD_RST   0x01

Definition at line 162 of file w6692.h.

#define W_L1CMD_SCP   0x04

Definition at line 163 of file w6692.h.

#define W_L1CMD_SSP   0x02

Definition at line 164 of file w6692.h.

#define W_L1IND_AI10   0x0d

Definition at line 179 of file w6692.h.

#define W_L1IND_AI8   0x0c

Definition at line 178 of file w6692.h.

#define W_L1IND_ARD   0x08

Definition at line 175 of file w6692.h.

#define W_L1IND_ATI   0x0b

Definition at line 177 of file w6692.h.

#define W_L1IND_CD   0x0f

Definition at line 180 of file w6692.h.

#define W_L1IND_CE   0x07

Definition at line 172 of file w6692.h.

#define W_L1IND_DRD   0x00

Definition at line 173 of file w6692.h.

#define W_L1IND_LD   0x04

Definition at line 174 of file w6692.h.

#define W_L1IND_TI   0x0a

Definition at line 176 of file w6692.h.

#define W_MOCR   0x78 /* R/W */

Definition at line 59 of file w6692.h.

#define W_MOR   0x6c /* R */

Definition at line 56 of file w6692.h.

#define W_MOSR   0x74 /* R_clr */

Definition at line 58 of file w6692.h.

#define W_MOX   0x70 /* R/W */

Definition at line 57 of file w6692.h.

#define W_PCTL   0x68 /* R/W */

Definition at line 55 of file w6692.h.

#define W_SQR   0x60 /* R */

Definition at line 53 of file w6692.h.

#define W_SQX   0x64 /* W */

Definition at line 54 of file w6692.h.

#define W_TIMR2   0x4c /* W */

Definition at line 48 of file w6692.h.

#define W_XADDR   0xf4 /* R/W */

Definition at line 76 of file w6692.h.

#define W_XDATA   0xf8 /* R/W */

Definition at line 77 of file w6692.h.

#define writeW6692   writeisac

Definition at line 15 of file w6692.h.

#define WRITEW6692BFIFO (   cs,
  bchan,
  ptr,
  count 
)    outsb(cs->hw.w6692.iobase + W_B_XFIFO + (bchan ? 0x40 : 0), ptr, count)

Definition at line 24 of file w6692.h.

#define writeW6692fifo   writeisacfifo

Definition at line 17 of file w6692.h.