diff options
author | Pierre Ossman <drzeus@drzeus.cx> | 2007-07-06 07:35:01 -0400 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2007-09-23 15:09:34 -0400 |
commit | 112c9db91ee6bf19eca7cbb6854be3127381c229 (patch) | |
tree | e2d45c7d18a4a218cc0716d7aef79aa04b73a498 /include/linux/mmc/sdio.h | |
parent | 5ed334a1f8caaae98806d572f78c5802975ea20f (diff) |
sdio: support IO_RW_EXTENDED
Support the multi-byte transfer operation, including handlers for
common operations like writel()/readl().
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'include/linux/mmc/sdio.h')
-rw-r--r-- | include/linux/mmc/sdio.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/mmc/sdio.h b/include/linux/mmc/sdio.h index 56239f4aab04..9b1ec76cac37 100644 --- a/include/linux/mmc/sdio.h +++ b/include/linux/mmc/sdio.h | |||
@@ -15,6 +15,7 @@ | |||
15 | /* SDIO commands type argument response */ | 15 | /* SDIO commands type argument response */ |
16 | #define SD_IO_SEND_OP_COND 5 /* bcr [23:0] OCR R4 */ | 16 | #define SD_IO_SEND_OP_COND 5 /* bcr [23:0] OCR R4 */ |
17 | #define SD_IO_RW_DIRECT 52 /* ac [31:0] See below R5 */ | 17 | #define SD_IO_RW_DIRECT 52 /* ac [31:0] See below R5 */ |
18 | #define SD_IO_RW_EXTENDED 53 /* adtc [31:0] See below R5 */ | ||
18 | 19 | ||
19 | /* | 20 | /* |
20 | * SD_IO_RW_DIRECT argument format: | 21 | * SD_IO_RW_DIRECT argument format: |
@@ -27,6 +28,17 @@ | |||
27 | */ | 28 | */ |
28 | 29 | ||
29 | /* | 30 | /* |
31 | * SD_IO_RW_EXTENDED argument format: | ||
32 | * | ||
33 | * [31] R/W flag | ||
34 | * [30:28] Function number | ||
35 | * [27] Block mode | ||
36 | * [26] Increment address | ||
37 | * [25:9] Register address | ||
38 | * [8:0] Byte/block count | ||
39 | */ | ||
40 | |||
41 | /* | ||
30 | SDIO status in R5 | 42 | SDIO status in R5 |
31 | Type | 43 | Type |
32 | e : error bit | 44 | e : error bit |