Lines Matching refs:emmc_cmd
874 struct emmc_cmd_config emmc_cmd; in emmc_send_cmd_no_data() local
876 emmc_cmd.sdhc_cmd = cmd; in emmc_send_cmd_no_data()
877 emmc_cmd.cmd_idx = cmd_idx; in emmc_send_cmd_no_data()
878 emmc_cmd.cmd_type = EMMC_HOST_CMD_NORMAL; in emmc_send_cmd_no_data()
879 emmc_cmd.data_present = false; in emmc_send_cmd_no_data()
880 emmc_cmd.idx_check_en = false; in emmc_send_cmd_no_data()
881 emmc_cmd.crc_check_en = false; in emmc_send_cmd_no_data()
883 return emmc_host_send_cmd(dev, &emmc_cmd); in emmc_send_cmd_no_data()
889 struct emmc_cmd_config emmc_cmd; in emmc_send_cmd_data() local
892 emmc_cmd.sdhc_cmd = cmd; in emmc_send_cmd_data()
893 emmc_cmd.cmd_idx = cmd_idx; in emmc_send_cmd_data()
894 emmc_cmd.cmd_type = EMMC_HOST_CMD_NORMAL; in emmc_send_cmd_data()
895 emmc_cmd.data_present = true; in emmc_send_cmd_data()
896 emmc_cmd.idx_check_en = true; in emmc_send_cmd_data()
897 emmc_cmd.crc_check_en = true; in emmc_send_cmd_data()
905 ret = emmc_host_send_cmd(dev, &emmc_cmd); in emmc_send_cmd_data()
928 struct emmc_cmd_config emmc_cmd; in emmc_xfr() local
935 emmc_cmd.sdhc_cmd = cmd; in emmc_xfr()
936 emmc_cmd.cmd_type = EMMC_HOST_CMD_NORMAL; in emmc_xfr()
937 emmc_cmd.data_present = true; in emmc_xfr()
938 emmc_cmd.idx_check_en = true; in emmc_xfr()
939 emmc_cmd.crc_check_en = true; in emmc_xfr()
945 emmc_cmd.cmd_idx = read ? SD_READ_MULTIPLE_BLOCK : SD_WRITE_MULTIPLE_BLOCK; in emmc_xfr()
946 ret = emmc_host_send_cmd(dev, &emmc_cmd); in emmc_xfr()
948 emmc_cmd.cmd_idx = read ? SD_READ_SINGLE_BLOCK : SD_WRITE_SINGLE_BLOCK; in emmc_xfr()
949 ret = emmc_host_send_cmd(dev, &emmc_cmd); in emmc_xfr()