Lines Matching defs:mrq
206 static void wbsd_request_end(struct wbsd_host *host, struct mmc_request *mrq)
210 DBGF("Ending request, cmd (%x)\n", mrq->cmd->opcode);
227 host->mrq = NULL;
233 mmc_request_done(host->mmc, mrq);
424 struct mmc_data *data = host->mrq->cmd->data;
486 struct mmc_data *data = host->mrq->cmd->data;
692 WARN_ON(host->mrq == NULL);
726 data->bytes_xfered = host->mrq->data->blocks *
727 host->mrq->data->blksz - count;
757 wbsd_request_end(host, host->mrq);
766 static void wbsd_request(struct mmc_host *mmc, struct mmc_request *mrq)
776 BUG_ON(host->mrq != NULL);
778 cmd = mrq->cmd;
780 host->mrq = mrq;
859 wbsd_request_end(host, mrq);
1002 WARN_ON(!host->mrq);
1003 if (!host->mrq)
1006 WARN_ON(!host->mrq->cmd);
1007 if (!host->mrq->cmd)
1010 WARN_ON(!host->mrq->cmd->data);
1011 if (!host->mrq->cmd->data)
1014 return host->mrq->cmd->data;
1044 if (host->mrq) {
1049 host->mrq->cmd->error = MMC_ERR_FAILED;
1073 if (!host->mrq)
1104 if (!host->mrq)
1128 if (!host->mrq)
1152 WARN_ON(!host->mrq);
1153 if (!host->mrq)