Lines Matching refs:sdhc_cmd
638 static void update_cmd_response(const struct device *dev, struct sdhc_command *sdhc_cmd) in update_cmd_response() argument
643 if (sdhc_cmd->response_type == SD_RSP_TYPE_NONE) { in update_cmd_response()
649 if (sdhc_cmd->response_type == SD_RSP_TYPE_R2) { in update_cmd_response()
656 sdhc_cmd->response[0u] = resp3; in update_cmd_response()
657 sdhc_cmd->response[1U] = resp2; in update_cmd_response()
658 sdhc_cmd->response[2U] = resp1; in update_cmd_response()
659 sdhc_cmd->response[3U] = resp0; in update_cmd_response()
662 sdhc_cmd->response[0u] = resp0; in update_cmd_response()
670 struct sdhc_command *sdhc_cmd = config->sdhc_cmd; in emmc_host_send_cmd() local
671 enum emmc_response_type resp_type = emmc_decode_resp_type(sdhc_cmd->response_type); in emmc_host_send_cmd()
695 regs->argument = sdhc_cmd->arg; in emmc_host_send_cmd()
707 ret = wait_for_cmd_complete(emmc, sdhc_cmd->timeout_ms); in emmc_host_send_cmd()
709 ret = poll_cmd_complete(dev, sdhc_cmd->timeout_ms); in emmc_host_send_cmd()
716 update_cmd_response(dev, sdhc_cmd); in emmc_host_send_cmd()
731 cmd.sdhc_cmd = &hdc_cmd; in emmc_stop_transfer()
876 emmc_cmd.sdhc_cmd = cmd; in emmc_send_cmd_no_data()
892 emmc_cmd.sdhc_cmd = cmd; in emmc_send_cmd_data()
935 emmc_cmd.sdhc_cmd = cmd; in emmc_xfr()