Lines Matching defs:resp

86 #define MMC_R1(resp)			((resp)[0])  argument
87 #define MMC_R3(resp) ((resp)[0]) argument
88 #define SD_R6(resp) ((resp)[0]) argument
92 #define SD_R6_RCA(resp) (SD_R6((resp)) >> 16) argument
143 #define MMC_CSD_CSDVER(resp) MMC_RSP_BITS((resp), 126, 2) argument
147 #define MMC_CSD_MMCVER(resp) MMC_RSP_BITS((resp), 122, 4) argument
153 #define MMC_CSD_READ_BL_LEN(resp) MMC_RSP_BITS((resp), 80, 4) argument
154 #define MMC_CSD_C_SIZE(resp) MMC_RSP_BITS((resp), 62, 12) argument
155 #define MMC_CSD_CAPACITY(resp) ((MMC_CSD_C_SIZE((resp))+1) << \ argument
157 #define MMC_CSD_C_SIZE_MULT(resp) MMC_RSP_BITS((resp), 47, 3) argument
160 #define MMC_CID_MID_V1(resp) MMC_RSP_BITS((resp), 104, 24) argument
161 #define MMC_CID_PNM_V1_CPY(resp, pnm) \ argument
172 #define MMC_CID_REV_V1(resp) MMC_RSP_BITS((resp), 40, 8) argument
173 #define MMC_CID_PSN_V1(resp) MMC_RSP_BITS((resp), 16, 24) argument
174 #define MMC_CID_MDT_V1(resp) MMC_RSP_BITS((resp), 8, 8) argument
177 #define MMC_CID_MID_V2(resp) MMC_RSP_BITS((resp), 120, 8) argument
178 #define MMC_CID_OID_V2(resp) MMC_RSP_BITS((resp), 104, 16) argument
179 #define MMC_CID_PNM_V2_CPY(resp, pnm) \ argument
189 #define MMC_CID_PSN_V2(resp) MMC_RSP_BITS((resp), 16, 32) argument
192 #define SD_CSD_CSDVER(resp) MMC_RSP_BITS((resp), 126, 2) argument
195 #define SD_CSD_TAAC(resp) MMC_RSP_BITS((resp), 112, 8) argument
197 #define SD_CSD_NSAC(resp) MMC_RSP_BITS((resp), 104, 8) argument
198 #define SD_CSD_SPEED(resp) MMC_RSP_BITS((resp), 96, 8) argument
201 #define SD_CSD_CCC(resp) MMC_RSP_BITS((resp), 84, 12) argument
211 #define SD_CSD_READ_BL_LEN(resp) MMC_RSP_BITS((resp), 80, 4) argument
212 #define SD_CSD_READ_BL_PARTIAL(resp) MMC_RSP_BITS((resp), 79, 1) argument
213 #define SD_CSD_WRITE_BLK_MISALIGN(resp) MMC_RSP_BITS((resp), 78, 1) argument
214 #define SD_CSD_READ_BLK_MISALIGN(resp) MMC_RSP_BITS((resp), 77, 1) argument
215 #define SD_CSD_DSR_IMP(resp) MMC_RSP_BITS((resp), 76, 1) argument
216 #define SD_CSD_C_SIZE(resp) MMC_RSP_BITS((resp), 62, 12) argument
217 #define SD_CSD_CAPACITY(resp) ((SD_CSD_C_SIZE((resp))+1) << \ argument
219 #define SD_CSD_V2_C_SIZE(resp) MMC_RSP_BITS((resp), 48, 22) argument
220 #define SD_CSD_V2_CAPACITY(resp) ((SD_CSD_V2_C_SIZE((resp))+1) << 10) argument
222 #define SD_CSD_VDD_R_CURR_MIN(resp) MMC_RSP_BITS((resp), 59, 3) argument
223 #define SD_CSD_VDD_R_CURR_MAX(resp) MMC_RSP_BITS((resp), 56, 3) argument
224 #define SD_CSD_VDD_W_CURR_MIN(resp) MMC_RSP_BITS((resp), 53, 3) argument
225 #define SD_CSD_VDD_W_CURR_MAX(resp) MMC_RSP_BITS((resp), 50, 3) argument
228 #define SD_CSD_C_SIZE_MULT(resp) MMC_RSP_BITS((resp), 47, 3) argument
229 #define SD_CSD_ERASE_BLK_EN(resp) MMC_RSP_BITS((resp), 46, 1) argument
230 #define SD_CSD_SECTOR_SIZE(resp) MMC_RSP_BITS((resp), 39, 7) /* +1 */ argument
231 #define SD_CSD_WP_GRP_SIZE(resp) MMC_RSP_BITS((resp), 32, 7) /* +1 */ argument
232 #define SD_CSD_WP_GRP_ENABLE(resp) MMC_RSP_BITS((resp), 31, 1) argument
233 #define SD_CSD_R2W_FACTOR(resp) MMC_RSP_BITS((resp), 26, 3) argument
234 #define SD_CSD_WRITE_BL_LEN(resp) MMC_RSP_BITS((resp), 22, 4) argument
237 #define SD_CSD_WRITE_BL_PARTIAL(resp) MMC_RSP_BITS((resp), 21, 1) argument
238 #define SD_CSD_FILE_FORMAT_GRP(resp) MMC_RSP_BITS((resp), 15, 1) argument
239 #define SD_CSD_COPY(resp) MMC_RSP_BITS((resp), 14, 1) argument
240 #define SD_CSD_PERM_WRITE_PROTECT(resp) MMC_RSP_BITS((resp), 13, 1) argument
241 #define SD_CSD_TMP_WRITE_PROTECT(resp) MMC_RSP_BITS((resp), 12, 1) argument
242 #define SD_CSD_FILE_FORMAT(resp) MMC_RSP_BITS((resp), 10, 2) argument
245 #define SD_CID_MID(resp) MMC_RSP_BITS((resp), 120, 8) argument
246 #define SD_CID_OID(resp) MMC_RSP_BITS((resp), 104, 16) argument
247 #define SD_CID_PNM_CPY(resp, pnm) \ argument
256 #define SD_CID_REV(resp) MMC_RSP_BITS((resp), 56, 8) argument
257 #define SD_CID_PSN(resp) MMC_RSP_BITS((resp), 24, 32) argument
258 #define SD_CID_MDT(resp) MMC_RSP_BITS((resp), 8, 12) argument
294 #define MMC_RSP_BITS(resp, start, len) __bitfield((resp), (start)-8, (len)) argument