summaryrefslogtreecommitdiff
path: root/include/linux/mmc/sdio.h
diff options
context:
space:
mode:
authorPierre Ossman <drzeus@drzeus.cx>2007-07-06 13:35:01 +0200
committerPierre Ossman <drzeus@drzeus.cx>2007-09-23 21:09:34 +0200
commit112c9db91ee6bf19eca7cbb6854be3127381c229 (patch)
treee2d45c7d18a4a218cc0716d7aef79aa04b73a498 /include/linux/mmc/sdio.h
parent5ed334a1f8caaae98806d572f78c5802975ea20f (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.h12
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 @@
/* SDIO commands type argument response */
#define SD_IO_SEND_OP_COND 5 /* bcr [23:0] OCR R4 */
#define SD_IO_RW_DIRECT 52 /* ac [31:0] See below R5 */
+#define SD_IO_RW_EXTENDED 53 /* adtc [31:0] See below R5 */
/*
* SD_IO_RW_DIRECT argument format:
@@ -27,6 +28,17 @@
*/
/*
+ * SD_IO_RW_EXTENDED argument format:
+ *
+ * [31] R/W flag
+ * [30:28] Function number
+ * [27] Block mode
+ * [26] Increment address
+ * [25:9] Register address
+ * [8:0] Byte/block count
+ */
+
+/*
SDIO status in R5
Type
e : error bit