Go to the documentation of this file.
12 #ifndef LINUX_MMC_SD_H
13 #define LINUX_MMC_SD_H
18 #define SD_SEND_RELATIVE_ADDR 3
19 #define SD_SEND_IF_COND 8
20 #define SD_SWITCH_VOLTAGE 11
26 #define SD_ERASE_WR_BLK_START 32
27 #define SD_ERASE_WR_BLK_END 33
30 #define SD_APP_SET_BUS_WIDTH 6
31 #define SD_APP_SD_STATUS 13
32 #define SD_APP_SEND_NUM_WR_BLKS 22
33 #define SD_APP_OP_COND 41
34 #define SD_APP_SEND_SCR 51
37 #define SD_OCR_S18R (1 << 24)
38 #define SD_ROCR_S18A SD_OCR_S18R
39 #define SD_OCR_XPC (1 << 28)
40 #define SD_OCR_CCS (1 << 30)
67 #define SCR_SPEC_VER_0 0
68 #define SCR_SPEC_VER_1 1
69 #define SCR_SPEC_VER_2 2
74 #define SD_BUS_WIDTH_1 0
75 #define SD_BUS_WIDTH_4 2
80 #define SD_SWITCH_CHECK 0
81 #define SD_SWITCH_SET 1
86 #define SD_SWITCH_GRP_ACCESS 0
91 #define SD_SWITCH_ACCESS_DEF 0
92 #define SD_SWITCH_ACCESS_HS 1