Lines Matching refs:mrq
300 struct mmc_request *mrq; member
613 if (cmd == host->mrq->stop) in via_sdc_send_command()
659 static void via_sdc_request(struct mmc_host *mmc, struct mmc_request *mrq) in via_sdc_request() argument
677 WARN_ON(host->mrq != NULL); in via_sdc_request()
678 host->mrq = mrq; in via_sdc_request()
682 host->mrq->cmd->error = -ENOMEDIUM; in via_sdc_request()
685 via_sdc_send_command(host, mrq->cmd); in via_sdc_request()
943 if (sdhost->mrq) { in via_sdc_timeout()
946 sdhost->mrq->cmd->opcode); in via_sdc_timeout()
957 sdhost->mrq->cmd->error = -ETIMEDOUT; in via_sdc_timeout()
970 struct mmc_request *mrq; in via_sdc_tasklet_finish() local
977 mrq = host->mrq; in via_sdc_tasklet_finish()
978 host->mrq = NULL; in via_sdc_tasklet_finish()
984 mmc_request_done(host->mmc, mrq); in via_sdc_tasklet_finish()
1007 if (host->mrq) { in via_sdc_card_detect()
1010 host->mrq->cmd->error = -ENOMEDIUM; in via_sdc_card_detect()
1194 if (sdhost->mrq) { in via_sd_remove()
1202 sdhost->mrq->cmd->error = -ENOMEDIUM; in via_sd_remove()
1203 if (sdhost->mrq->stop) in via_sd_remove()
1204 sdhost->mrq->stop->error = -ENOMEDIUM; in via_sd_remove()