Lines Matching refs:cmd
128 dmmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data) in dmmc_send_cmd() argument
145 cmddata = cmd->cmdidx; in dmmc_send_cmd()
149 if (cmd->cmdidx == MMC_CMD_GO_IDLE_STATE) in dmmc_send_cmd()
152 switch (cmd->resp_type) { in dmmc_send_cmd()
213 set_val(®s->mmcarghl, cmd->cmdarg); in dmmc_send_cmd()
219 if (cmd->resp_type & MMC_RSP_CRC) in dmmc_send_cmd()
228 if (cmd->resp_type == MMC_RSP_R1b) in dmmc_send_cmd()
234 if (cmd->resp_type & MMC_RSP_136) { in dmmc_send_cmd()
235 cmd->response[0] = get_val(®s->mmcrsp67); in dmmc_send_cmd()
236 cmd->response[1] = get_val(®s->mmcrsp45); in dmmc_send_cmd()
237 cmd->response[2] = get_val(®s->mmcrsp23); in dmmc_send_cmd()
238 cmd->response[3] = get_val(®s->mmcrsp01); in dmmc_send_cmd()
239 } else if (cmd->resp_type & MMC_RSP_PRESENT) { in dmmc_send_cmd()
240 cmd->response[0] = get_val(®s->mmcrsp67); in dmmc_send_cmd()
279 if (cmd->cmdidx == MMC_CMD_SEND_EXT_CSD) in dmmc_send_cmd()