Lines Matching refs:resp_data
65 *r_data = cmd.resp_data[i]; in mmc_send_cmd()
80 unsigned int resp_data[4]; in mmc_device_state() local
92 MMC_RESPONSE_R1, &resp_data[0]); in mmc_device_state()
98 if ((resp_data[0] & STATUS_SWITCH_ERROR) != 0U) { in mmc_device_state()
103 } while ((resp_data[0] & STATUS_READY_FOR_DATA) == 0U); in mmc_device_state()
105 return MMC_GET_STATE(resp_data[0]); in mmc_device_state()
333 unsigned int resp_data[4]; in sd_send_op_cond() local
347 &resp_data[0]); in sd_send_op_cond()
352 if ((resp_data[0] & OCR_POWERUP) != 0U) { in sd_send_op_cond()
353 mmc_ocr_value = resp_data[0]; in sd_send_op_cond()
390 unsigned int resp_data[4]; in mmc_send_op_cond() local
400 MMC_RESPONSE_R3, &resp_data[0]); in mmc_send_op_cond()
405 if ((resp_data[0] & OCR_POWERUP) != 0U) { in mmc_send_op_cond()
406 mmc_ocr_value = resp_data[0]; in mmc_send_op_cond()
421 unsigned int resp_data[4]; in mmc_enumerate() local
435 MMC_RESPONSE_R5, &resp_data[0]); in mmc_enumerate()
437 if ((ret == 0) && ((resp_data[0] & 0xffU) == CMD8_CHECK_PATTERN)) { in mmc_enumerate()
461 MMC_RESPONSE_R6, &resp_data[0]); in mmc_enumerate()
466 rca = (resp_data[0] & 0xFFFF0000U) >> 16; in mmc_enumerate()
471 MMC_RESPONSE_R2, &resp_data[0]); in mmc_enumerate()
476 memcpy(&mmc_csd, &resp_data, sizeof(resp_data)); in mmc_enumerate()