Lines Matching defs:mrq
507 if (host->mrq->data && (cmd == host->mrq->data->stop))
689 static void sdhci_request(struct mmc_host *mmc, struct mmc_request *mrq)
698 WARN_ON(host->mrq != NULL);
702 host->mrq = mrq;
705 host->mrq->cmd->error = MMC_ERR_TIMEOUT;
708 sdhci_send_command(host, mrq->cmd);
797 if (host->mrq) {
806 host->mrq->cmd->error = MMC_ERR_FAILED;
820 struct mmc_request *mrq;
828 mrq = host->mrq;
830 DBG("Ending request, cmd (%x)\n", mrq->cmd->opcode);
836 if ((mrq->cmd->error != MMC_ERR_NONE) ||
837 (mrq->data && ((mrq->data->error != MMC_ERR_NONE) ||
838 (mrq->data->stop && (mrq->data->stop->error != MMC_ERR_NONE))))) {
856 host->mrq = NULL;
865 mmc_request_done(host->mmc, mrq);
877 if (host->mrq) {
889 host->mrq->cmd->error = MMC_ERR_TIMEOUT;