Lines Matching refs:mrq
36 struct mmc_request *mrq; member
136 static void mvsd_request(struct mmc_host *mmc, struct mmc_request *mrq) in mvsd_request() argument
140 struct mmc_command *cmd = mrq->cmd; in mvsd_request()
145 BUG_ON(host->mrq != NULL); in mvsd_request()
146 host->mrq = mrq; in mvsd_request()
173 if (mrq->data) { in mvsd_request()
174 struct mmc_data *data = mrq->data; in mvsd_request()
463 struct mmc_request *mrq = host->mrq; in mvsd_irq() local
464 struct mmc_command *cmd = mrq->cmd; in mvsd_irq()
468 host->mrq = NULL; in mvsd_irq()
484 if (mrq->data) in mvsd_irq()
485 err_status = mvsd_finish_data(host, mrq->data, err_status); in mvsd_irq()
492 mmc_request_done(host->mmc, mrq); in mvsd_irq()
514 struct mmc_request *mrq; in mvsd_timeout_timer() local
518 mrq = host->mrq; in mvsd_timeout_timer()
519 if (mrq) { in mvsd_timeout_timer()
526 host->mrq = NULL; in mvsd_timeout_timer()
538 mrq->cmd->error = -ETIMEDOUT; in mvsd_timeout_timer()
539 mvsd_finish_cmd(host, mrq->cmd, 0); in mvsd_timeout_timer()
540 if (mrq->data) { in mvsd_timeout_timer()
541 mrq->data->error = -ETIMEDOUT; in mvsd_timeout_timer()
542 mvsd_finish_data(host, mrq->data, 0); in mvsd_timeout_timer()
547 if (mrq) in mvsd_timeout_timer()
548 mmc_request_done(host->mmc, mrq); in mvsd_timeout_timer()