diff options
Diffstat (limited to 'drivers/net/wireless/libertas/if_spi.h')
-rw-r--r-- | drivers/net/wireless/libertas/if_spi.h | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/drivers/net/wireless/libertas/if_spi.h b/drivers/net/wireless/libertas/if_spi.h index 8b1417d3b71b..9745bd407d76 100644 --- a/drivers/net/wireless/libertas/if_spi.h +++ b/drivers/net/wireless/libertas/if_spi.h | |||
@@ -86,34 +86,34 @@ | |||
86 | #define IF_SPI_DEVICEID_CTRL_REG_TO_CARD_REV(dc) (dc & 0x000000ff) | 86 | #define IF_SPI_DEVICEID_CTRL_REG_TO_CARD_REV(dc) (dc & 0x000000ff) |
87 | 87 | ||
88 | /***************** IF_SPI_HOST_INT_CTRL_REG *****************/ | 88 | /***************** IF_SPI_HOST_INT_CTRL_REG *****************/ |
89 | /** Host Interrupt Control bit : Wake up */ | 89 | /* Host Interrupt Control bit : Wake up */ |
90 | #define IF_SPI_HICT_WAKE_UP (1<<0) | 90 | #define IF_SPI_HICT_WAKE_UP (1<<0) |
91 | /** Host Interrupt Control bit : WLAN ready */ | 91 | /* Host Interrupt Control bit : WLAN ready */ |
92 | #define IF_SPI_HICT_WLAN_READY (1<<1) | 92 | #define IF_SPI_HICT_WLAN_READY (1<<1) |
93 | /*#define IF_SPI_HICT_FIFO_FIRST_HALF_EMPTY (1<<2) */ | 93 | /*#define IF_SPI_HICT_FIFO_FIRST_HALF_EMPTY (1<<2) */ |
94 | /*#define IF_SPI_HICT_FIFO_SECOND_HALF_EMPTY (1<<3) */ | 94 | /*#define IF_SPI_HICT_FIFO_SECOND_HALF_EMPTY (1<<3) */ |
95 | /*#define IF_SPI_HICT_IRQSRC_WLAN (1<<4) */ | 95 | /*#define IF_SPI_HICT_IRQSRC_WLAN (1<<4) */ |
96 | /** Host Interrupt Control bit : Tx auto download */ | 96 | /* Host Interrupt Control bit : Tx auto download */ |
97 | #define IF_SPI_HICT_TX_DOWNLOAD_OVER_AUTO (1<<5) | 97 | #define IF_SPI_HICT_TX_DOWNLOAD_OVER_AUTO (1<<5) |
98 | /** Host Interrupt Control bit : Rx auto upload */ | 98 | /* Host Interrupt Control bit : Rx auto upload */ |
99 | #define IF_SPI_HICT_RX_UPLOAD_OVER_AUTO (1<<6) | 99 | #define IF_SPI_HICT_RX_UPLOAD_OVER_AUTO (1<<6) |
100 | /** Host Interrupt Control bit : Command auto download */ | 100 | /* Host Interrupt Control bit : Command auto download */ |
101 | #define IF_SPI_HICT_CMD_DOWNLOAD_OVER_AUTO (1<<7) | 101 | #define IF_SPI_HICT_CMD_DOWNLOAD_OVER_AUTO (1<<7) |
102 | /** Host Interrupt Control bit : Command auto upload */ | 102 | /* Host Interrupt Control bit : Command auto upload */ |
103 | #define IF_SPI_HICT_CMD_UPLOAD_OVER_AUTO (1<<8) | 103 | #define IF_SPI_HICT_CMD_UPLOAD_OVER_AUTO (1<<8) |
104 | 104 | ||
105 | /***************** IF_SPI_CARD_INT_CAUSE_REG *****************/ | 105 | /***************** IF_SPI_CARD_INT_CAUSE_REG *****************/ |
106 | /** Card Interrupt Case bit : Tx download over */ | 106 | /* Card Interrupt Case bit : Tx download over */ |
107 | #define IF_SPI_CIC_TX_DOWNLOAD_OVER (1<<0) | 107 | #define IF_SPI_CIC_TX_DOWNLOAD_OVER (1<<0) |
108 | /** Card Interrupt Case bit : Rx upload over */ | 108 | /* Card Interrupt Case bit : Rx upload over */ |
109 | #define IF_SPI_CIC_RX_UPLOAD_OVER (1<<1) | 109 | #define IF_SPI_CIC_RX_UPLOAD_OVER (1<<1) |
110 | /** Card Interrupt Case bit : Command download over */ | 110 | /* Card Interrupt Case bit : Command download over */ |
111 | #define IF_SPI_CIC_CMD_DOWNLOAD_OVER (1<<2) | 111 | #define IF_SPI_CIC_CMD_DOWNLOAD_OVER (1<<2) |
112 | /** Card Interrupt Case bit : Host event */ | 112 | /* Card Interrupt Case bit : Host event */ |
113 | #define IF_SPI_CIC_HOST_EVENT (1<<3) | 113 | #define IF_SPI_CIC_HOST_EVENT (1<<3) |
114 | /** Card Interrupt Case bit : Command upload over */ | 114 | /* Card Interrupt Case bit : Command upload over */ |
115 | #define IF_SPI_CIC_CMD_UPLOAD_OVER (1<<4) | 115 | #define IF_SPI_CIC_CMD_UPLOAD_OVER (1<<4) |
116 | /** Card Interrupt Case bit : Power down */ | 116 | /* Card Interrupt Case bit : Power down */ |
117 | #define IF_SPI_CIC_POWER_DOWN (1<<5) | 117 | #define IF_SPI_CIC_POWER_DOWN (1<<5) |
118 | 118 | ||
119 | /***************** IF_SPI_CARD_INT_STATUS_REG *****************/ | 119 | /***************** IF_SPI_CARD_INT_STATUS_REG *****************/ |
@@ -138,51 +138,51 @@ | |||
138 | #define IF_SPI_HICU_CMD_RD_FIFO_UNDERFLOW (1<<10) | 138 | #define IF_SPI_HICU_CMD_RD_FIFO_UNDERFLOW (1<<10) |
139 | 139 | ||
140 | /***************** IF_SPI_HOST_INT_STATUS_REG *****************/ | 140 | /***************** IF_SPI_HOST_INT_STATUS_REG *****************/ |
141 | /** Host Interrupt Status bit : Tx download ready */ | 141 | /* Host Interrupt Status bit : Tx download ready */ |
142 | #define IF_SPI_HIST_TX_DOWNLOAD_RDY (1<<0) | 142 | #define IF_SPI_HIST_TX_DOWNLOAD_RDY (1<<0) |
143 | /** Host Interrupt Status bit : Rx upload ready */ | 143 | /* Host Interrupt Status bit : Rx upload ready */ |
144 | #define IF_SPI_HIST_RX_UPLOAD_RDY (1<<1) | 144 | #define IF_SPI_HIST_RX_UPLOAD_RDY (1<<1) |
145 | /** Host Interrupt Status bit : Command download ready */ | 145 | /* Host Interrupt Status bit : Command download ready */ |
146 | #define IF_SPI_HIST_CMD_DOWNLOAD_RDY (1<<2) | 146 | #define IF_SPI_HIST_CMD_DOWNLOAD_RDY (1<<2) |
147 | /** Host Interrupt Status bit : Card event */ | 147 | /* Host Interrupt Status bit : Card event */ |
148 | #define IF_SPI_HIST_CARD_EVENT (1<<3) | 148 | #define IF_SPI_HIST_CARD_EVENT (1<<3) |
149 | /** Host Interrupt Status bit : Command upload ready */ | 149 | /* Host Interrupt Status bit : Command upload ready */ |
150 | #define IF_SPI_HIST_CMD_UPLOAD_RDY (1<<4) | 150 | #define IF_SPI_HIST_CMD_UPLOAD_RDY (1<<4) |
151 | /** Host Interrupt Status bit : I/O write FIFO overflow */ | 151 | /* Host Interrupt Status bit : I/O write FIFO overflow */ |
152 | #define IF_SPI_HIST_IO_WR_FIFO_OVERFLOW (1<<5) | 152 | #define IF_SPI_HIST_IO_WR_FIFO_OVERFLOW (1<<5) |
153 | /** Host Interrupt Status bit : I/O read FIFO underflow */ | 153 | /* Host Interrupt Status bit : I/O read FIFO underflow */ |
154 | #define IF_SPI_HIST_IO_RD_FIFO_UNDRFLOW (1<<6) | 154 | #define IF_SPI_HIST_IO_RD_FIFO_UNDRFLOW (1<<6) |
155 | /** Host Interrupt Status bit : Data write FIFO overflow */ | 155 | /* Host Interrupt Status bit : Data write FIFO overflow */ |
156 | #define IF_SPI_HIST_DATA_WR_FIFO_OVERFLOW (1<<7) | 156 | #define IF_SPI_HIST_DATA_WR_FIFO_OVERFLOW (1<<7) |
157 | /** Host Interrupt Status bit : Data read FIFO underflow */ | 157 | /* Host Interrupt Status bit : Data read FIFO underflow */ |
158 | #define IF_SPI_HIST_DATA_RD_FIFO_UNDERFLOW (1<<8) | 158 | #define IF_SPI_HIST_DATA_RD_FIFO_UNDERFLOW (1<<8) |
159 | /** Host Interrupt Status bit : Command write FIFO overflow */ | 159 | /* Host Interrupt Status bit : Command write FIFO overflow */ |
160 | #define IF_SPI_HIST_CMD_WR_FIFO_OVERFLOW (1<<9) | 160 | #define IF_SPI_HIST_CMD_WR_FIFO_OVERFLOW (1<<9) |
161 | /** Host Interrupt Status bit : Command read FIFO underflow */ | 161 | /* Host Interrupt Status bit : Command read FIFO underflow */ |
162 | #define IF_SPI_HIST_CMD_RD_FIFO_UNDERFLOW (1<<10) | 162 | #define IF_SPI_HIST_CMD_RD_FIFO_UNDERFLOW (1<<10) |
163 | 163 | ||
164 | /***************** IF_SPI_HOST_INT_STATUS_MASK_REG *****************/ | 164 | /***************** IF_SPI_HOST_INT_STATUS_MASK_REG *****************/ |
165 | /** Host Interrupt Status Mask bit : Tx download ready */ | 165 | /* Host Interrupt Status Mask bit : Tx download ready */ |
166 | #define IF_SPI_HISM_TX_DOWNLOAD_RDY (1<<0) | 166 | #define IF_SPI_HISM_TX_DOWNLOAD_RDY (1<<0) |
167 | /** Host Interrupt Status Mask bit : Rx upload ready */ | 167 | /* Host Interrupt Status Mask bit : Rx upload ready */ |
168 | #define IF_SPI_HISM_RX_UPLOAD_RDY (1<<1) | 168 | #define IF_SPI_HISM_RX_UPLOAD_RDY (1<<1) |
169 | /** Host Interrupt Status Mask bit : Command download ready */ | 169 | /* Host Interrupt Status Mask bit : Command download ready */ |
170 | #define IF_SPI_HISM_CMD_DOWNLOAD_RDY (1<<2) | 170 | #define IF_SPI_HISM_CMD_DOWNLOAD_RDY (1<<2) |
171 | /** Host Interrupt Status Mask bit : Card event */ | 171 | /* Host Interrupt Status Mask bit : Card event */ |
172 | #define IF_SPI_HISM_CARDEVENT (1<<3) | 172 | #define IF_SPI_HISM_CARDEVENT (1<<3) |
173 | /** Host Interrupt Status Mask bit : Command upload ready */ | 173 | /* Host Interrupt Status Mask bit : Command upload ready */ |
174 | #define IF_SPI_HISM_CMD_UPLOAD_RDY (1<<4) | 174 | #define IF_SPI_HISM_CMD_UPLOAD_RDY (1<<4) |
175 | /** Host Interrupt Status Mask bit : I/O write FIFO overflow */ | 175 | /* Host Interrupt Status Mask bit : I/O write FIFO overflow */ |
176 | #define IF_SPI_HISM_IO_WR_FIFO_OVERFLOW (1<<5) | 176 | #define IF_SPI_HISM_IO_WR_FIFO_OVERFLOW (1<<5) |
177 | /** Host Interrupt Status Mask bit : I/O read FIFO underflow */ | 177 | /* Host Interrupt Status Mask bit : I/O read FIFO underflow */ |
178 | #define IF_SPI_HISM_IO_RD_FIFO_UNDERFLOW (1<<6) | 178 | #define IF_SPI_HISM_IO_RD_FIFO_UNDERFLOW (1<<6) |
179 | /** Host Interrupt Status Mask bit : Data write FIFO overflow */ | 179 | /* Host Interrupt Status Mask bit : Data write FIFO overflow */ |
180 | #define IF_SPI_HISM_DATA_WR_FIFO_OVERFLOW (1<<7) | 180 | #define IF_SPI_HISM_DATA_WR_FIFO_OVERFLOW (1<<7) |
181 | /** Host Interrupt Status Mask bit : Data write FIFO underflow */ | 181 | /* Host Interrupt Status Mask bit : Data write FIFO underflow */ |
182 | #define IF_SPI_HISM_DATA_RD_FIFO_UNDERFLOW (1<<8) | 182 | #define IF_SPI_HISM_DATA_RD_FIFO_UNDERFLOW (1<<8) |
183 | /** Host Interrupt Status Mask bit : Command write FIFO overflow */ | 183 | /* Host Interrupt Status Mask bit : Command write FIFO overflow */ |
184 | #define IF_SPI_HISM_CMD_WR_FIFO_OVERFLOW (1<<9) | 184 | #define IF_SPI_HISM_CMD_WR_FIFO_OVERFLOW (1<<9) |
185 | /** Host Interrupt Status Mask bit : Command write FIFO underflow */ | 185 | /* Host Interrupt Status Mask bit : Command write FIFO underflow */ |
186 | #define IF_SPI_HISM_CMD_RD_FIFO_UNDERFLOW (1<<10) | 186 | #define IF_SPI_HISM_CMD_RD_FIFO_UNDERFLOW (1<<10) |
187 | 187 | ||
188 | /***************** IF_SPI_SPU_BUS_MODE_REG *****************/ | 188 | /***************** IF_SPI_SPU_BUS_MODE_REG *****************/ |