diff options
Diffstat (limited to 'arch/blackfin/mach-bf518/include/mach/cdefBF516.h')
-rw-r--r-- | arch/blackfin/mach-bf518/include/mach/cdefBF516.h | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf518/include/mach/cdefBF516.h b/arch/blackfin/mach-bf518/include/mach/cdefBF516.h index 4e26ccfcef9..14df43d4677 100644 --- a/arch/blackfin/mach-bf518/include/mach/cdefBF516.h +++ b/arch/blackfin/mach-bf518/include/mach/cdefBF516.h | |||
@@ -210,4 +210,71 @@ | |||
210 | #define bfin_read_EMAC_TXC_ABORT() bfin_read32(EMAC_TXC_ABORT) | 210 | #define bfin_read_EMAC_TXC_ABORT() bfin_read32(EMAC_TXC_ABORT) |
211 | #define bfin_write_EMAC_TXC_ABORT(val) bfin_write32(EMAC_TXC_ABORT, val) | 211 | #define bfin_write_EMAC_TXC_ABORT(val) bfin_write32(EMAC_TXC_ABORT, val) |
212 | 212 | ||
213 | /* Removable Storage Interface Registers */ | ||
214 | |||
215 | #define bfin_read_RSI_PWR_CTL() bfin_read16(RSI_PWR_CONTROL) | ||
216 | #define bfin_write_RSI_PWR_CTL(val) bfin_write16(RSI_PWR_CONTROL, val) | ||
217 | #define bfin_read_RSI_CLK_CTL() bfin_read16(RSI_CLK_CONTROL) | ||
218 | #define bfin_write_RSI_CLK_CTL(val) bfin_write16(RSI_CLK_CONTROL, val) | ||
219 | #define bfin_read_RSI_ARGUMENT() bfin_read32(RSI_ARGUMENT) | ||
220 | #define bfin_write_RSI_ARGUMENT(val) bfin_write32(RSI_ARGUMENT, val) | ||
221 | #define bfin_read_RSI_COMMAND() bfin_read16(RSI_COMMAND) | ||
222 | #define bfin_write_RSI_COMMAND(val) bfin_write16(RSI_COMMAND, val) | ||
223 | #define bfin_read_RSI_RESP_CMD() bfin_read16(RSI_RESP_CMD) | ||
224 | #define bfin_write_RSI_RESP_CMD(val) bfin_write16(RSI_RESP_CMD, val) | ||
225 | #define bfin_read_RSI_RESPONSE0() bfin_read32(RSI_RESPONSE0) | ||
226 | #define bfin_write_RSI_RESPONSE0(val) bfin_write32(RSI_RESPONSE0, val) | ||
227 | #define bfin_read_RSI_RESPONSE1() bfin_read32(RSI_RESPONSE1) | ||
228 | #define bfin_write_RSI_RESPONSE1(val) bfin_write32(RSI_RESPONSE1, val) | ||
229 | #define bfin_read_RSI_RESPONSE2() bfin_read32(RSI_RESPONSE2) | ||
230 | #define bfin_write_RSI_RESPONSE2(val) bfin_write32(RSI_RESPONSE2, val) | ||
231 | #define bfin_read_RSI_RESPONSE3() bfin_read32(RSI_RESPONSE3) | ||
232 | #define bfin_write_RSI_RESPONSE3(val) bfin_write32(RSI_RESPONSE3, val) | ||
233 | #define bfin_read_RSI_DATA_TIMER() bfin_read32(RSI_DATA_TIMER) | ||
234 | #define bfin_write_RSI_DATA_TIMER(val) bfin_write32(RSI_DATA_TIMER, val) | ||
235 | #define bfin_read_RSI_DATA_LGTH() bfin_read16(RSI_DATA_LGTH) | ||
236 | #define bfin_write_RSI_DATA_LGTH(val) bfin_write16(RSI_DATA_LGTH, val) | ||
237 | #define bfin_read_RSI_DATA_CTL() bfin_read16(RSI_DATA_CONTROL) | ||
238 | #define bfin_write_RSI_DATA_CTL(val) bfin_write16(RSI_DATA_CONTROL, val) | ||
239 | #define bfin_read_RSI_DATA_CNT() bfin_read16(RSI_DATA_CNT) | ||
240 | #define bfin_write_RSI_DATA_CNT(val) bfin_write16(RSI_DATA_CNT, val) | ||
241 | #define bfin_read_RSI_STATUS() bfin_read32(RSI_STATUS) | ||
242 | #define bfin_write_RSI_STATUS(val) bfin_write32(RSI_STATUS, val) | ||
243 | #define bfin_read_RSI_STATUS_CLR() bfin_read16(RSI_STATUSCL) | ||
244 | #define bfin_write_RSI_STATUS_CLR(val) bfin_write16(RSI_STATUSCL, val) | ||
245 | #define bfin_read_RSI_MASK0() bfin_read32(RSI_MASK0) | ||
246 | #define bfin_write_RSI_MASK0(val) bfin_write32(RSI_MASK0, val) | ||
247 | #define bfin_read_RSI_MASK1() bfin_read32(RSI_MASK1) | ||
248 | #define bfin_write_RSI_MASK1(val) bfin_write32(RSI_MASK1, val) | ||
249 | #define bfin_read_RSI_FIFO_CNT() bfin_read16(RSI_FIFO_CNT) | ||
250 | #define bfin_write_RSI_FIFO_CNT(val) bfin_write16(RSI_FIFO_CNT, val) | ||
251 | #define bfin_read_RSI_CEATA_CTL() bfin_read16(RSI_CEATA_CONTROL) | ||
252 | #define bfin_write_RSI_CEATA_CTL(val) bfin_write16(RSI_CEATA_CONTROL, val) | ||
253 | #define bfin_read_RSI_FIFO() bfin_read32(RSI_FIFO) | ||
254 | #define bfin_write_RSI_FIFO(val) bfin_write32(RSI_FIFO, val) | ||
255 | #define bfin_read_RSI_E_STATUS() bfin_read16(RSI_ESTAT) | ||
256 | #define bfin_write_RSI_E_STATUS(val) bfin_write16(RSI_ESTAT, val) | ||
257 | #define bfin_read_RSI_E_MASK() bfin_read16(RSI_EMASK) | ||
258 | #define bfin_write_RSI_E_MASK(val) bfin_write16(RSI_EMASK, val) | ||
259 | #define bfin_read_RSI_CFG() bfin_read16(RSI_CONFIG) | ||
260 | #define bfin_write_RSI_CFG(val) bfin_write16(RSI_CONFIG, val) | ||
261 | #define bfin_read_RSI_RD_WAIT_EN() bfin_read16(RSI_RD_WAIT_EN) | ||
262 | #define bfin_write_RSI_RD_WAIT_EN(val) bfin_write16(RSI_RD_WAIT_EN, val) | ||
263 | #define bfin_read_RSI_PID0() bfin_read16(RSI_PID0) | ||
264 | #define bfin_write_RSI_PID0(val) bfin_write16(RSI_PID0, val) | ||
265 | #define bfin_read_RSI_PID1() bfin_read16(RSI_PID1) | ||
266 | #define bfin_write_RSI_PID1(val) bfin_write16(RSI_PID1, val) | ||
267 | #define bfin_read_RSI_PID2() bfin_read16(RSI_PID2) | ||
268 | #define bfin_write_RSI_PID2(val) bfin_write16(RSI_PID2, val) | ||
269 | #define bfin_read_RSI_PID3() bfin_read16(RSI_PID3) | ||
270 | #define bfin_write_RSI_PID3(val) bfin_write16(RSI_PID3, val) | ||
271 | #define bfin_read_RSI_PID4() bfin_read16(RSI_PID4) | ||
272 | #define bfin_write_RSI_PID4(val) bfin_write16(RSI_PID4, val) | ||
273 | #define bfin_read_RSI_PID5() bfin_read16(RSI_PID5) | ||
274 | #define bfin_write_RSI_PID5(val) bfin_write16(RSI_PID5, val) | ||
275 | #define bfin_read_RSI_PID6() bfin_read16(RSI_PID6) | ||
276 | #define bfin_write_RSI_PID6(val) bfin_write16(RSI_PID6, val) | ||
277 | #define bfin_read_RSI_PID7() bfin_read16(RSI_PID7) | ||
278 | #define bfin_write_RSI_PID7(val) bfin_write16(RSI_PID7, val) | ||
279 | |||
213 | #endif /* _CDEF_BF516_H */ | 280 | #endif /* _CDEF_BF516_H */ |