Lines Matching refs:mmc_send_cmd
47 static int mmc_send_cmd(unsigned int idx, unsigned int arg, in mmc_send_cmd() function
91 ret = mmc_send_cmd(MMC_CMD(13), rca << RCA_SHIFT_OFFSET, in mmc_device_state()
112 ret = mmc_send_cmd(MMC_CMD(6), in mmc_set_ext_csd()
142 ret = mmc_send_cmd(MMC_CMD(55), rca << RCA_SHIFT_OFFSET, in mmc_sd_switch()
150 ret = mmc_send_cmd(MMC_ACMD(51), 0, MMC_RESPONSE_R1, NULL); in mmc_sd_switch()
171 ret = mmc_send_cmd(MMC_CMD(55), rca << RCA_SHIFT_OFFSET, in mmc_sd_switch()
178 ret = mmc_send_cmd(MMC_ACMD(6), bus_width_arg, MMC_RESPONSE_R1, NULL); in mmc_sd_switch()
240 ret = mmc_send_cmd(MMC_CMD(8), 0, MMC_RESPONSE_R1, NULL); in mmc_fill_device_info()
339 ret = mmc_send_cmd(MMC_CMD(55), 0, MMC_RESPONSE_R1, NULL); in sd_send_op_cond()
345 ret = mmc_send_cmd(MMC_ACMD(41), OCR_HCS | in sd_send_op_cond()
377 ret = mmc_send_cmd(MMC_CMD(0), 0, 0, NULL); in mmc_reset_to_idle()
398 ret = mmc_send_cmd(MMC_CMD(1), OCR_SECTOR_MODE | in mmc_send_op_cond()
434 ret = mmc_send_cmd(MMC_CMD(8), VHS_2_7_3_6_V | CMD8_CHECK_PATTERN, in mmc_enumerate()
446 ret = mmc_send_cmd(MMC_CMD(2), 0, MMC_RESPONSE_R2, NULL); in mmc_enumerate()
454 ret = mmc_send_cmd(MMC_CMD(3), rca << RCA_SHIFT_OFFSET, in mmc_enumerate()
460 ret = mmc_send_cmd(MMC_CMD(3), 0, in mmc_enumerate()
470 ret = mmc_send_cmd(MMC_CMD(9), rca << RCA_SHIFT_OFFSET, in mmc_enumerate()
479 ret = mmc_send_cmd(MMC_CMD(7), rca << RCA_SHIFT_OFFSET, in mmc_enumerate()
517 ret = mmc_send_cmd(MMC_CMD(23), size / MMC_BLOCK_SIZE, in mmc_read_blocks()
539 ret = mmc_send_cmd(cmd_idx, cmd_arg, MMC_RESPONSE_R1, NULL); in mmc_read_blocks()
558 ret = mmc_send_cmd(MMC_CMD(12), 0, MMC_RESPONSE_R1B, NULL); in mmc_read_blocks()
585 ret = mmc_send_cmd(MMC_CMD(23), size / MMC_BLOCK_SIZE, in mmc_write_blocks()
606 ret = mmc_send_cmd(cmd_idx, cmd_arg, MMC_RESPONSE_R1, NULL); in mmc_write_blocks()
625 ret = mmc_send_cmd(MMC_CMD(12), 0, MMC_RESPONSE_R1B, NULL); in mmc_write_blocks()
641 ret = mmc_send_cmd(MMC_CMD(35), lba, MMC_RESPONSE_R1, NULL); in mmc_erase_blocks()
646 ret = mmc_send_cmd(MMC_CMD(36), lba + (size / MMC_BLOCK_SIZE) - 1U, in mmc_erase_blocks()
652 ret = mmc_send_cmd(MMC_CMD(38), lba, MMC_RESPONSE_R1B, NULL); in mmc_erase_blocks()