Lines Matching defs:mrq
883 if (!host->mrq->sbc && (host->flags & SDHCI_AUTO_CMD12))
885 else if (host->mrq->sbc && (host->flags & SDHCI_AUTO_CMD23)) {
887 sdhci_writel(host, host->mrq->sbc->arg, SDHCI_ARGUMENT2);
937 !host->mrq->sbc)) {
970 if (host->mrq->data && (cmd == host->mrq->data->stop))
1051 if (host->cmd == host->mrq->sbc) {
1053 sdhci_send_command(host, host->mrq->cmd);
1240 static void sdhci_request(struct mmc_host *mmc, struct mmc_request *mrq)
1252 WARN_ON(host->mrq != NULL);
1262 if (!mrq->sbc && (host->flags & SDHCI_AUTO_CMD12)) {
1263 if (mrq->stop) {
1264 mrq->data->stop = NULL;
1265 mrq->stop = NULL;
1269 host->mrq = mrq;
1279 host->mrq->cmd->error = -ENOMEDIUM;
1293 sdhci_execute_tuning(mmc, mrq->cmd->opcode);
1297 host->mrq = mrq;
1300 if (mrq->sbc && !(host->flags & SDHCI_AUTO_CMD23))
1301 sdhci_send_command(host, mrq->sbc);
1303 sdhci_send_command(host, mrq->cmd);
1753 struct mmc_request mrq = {NULL};
1765 mrq.cmd = &cmd;
1766 host->mrq = &mrq;
1796 host->mrq = NULL;
1951 /* Check host->mrq first in case we are runtime suspended */
1952 if (host->mrq &&
1962 host->mrq->cmd->error = -ENOMEDIUM;
1975 struct mmc_request *mrq;
1985 if (!host->mrq) {
1992 mrq = host->mrq;
1999 ((mrq->cmd && mrq->cmd->error) ||
2000 (mrq->data && (mrq->data->error ||
2001 (mrq->data->stop && mrq->data->stop->error))) ||
2020 host->mrq = NULL;
2031 mmc_request_done(host->mmc, mrq);
2044 if (host->mrq) {
2056 host->mrq->cmd->error = -ETIMEDOUT;
3056 if (host->mrq) {
3060 host->mrq->cmd->error = -ENOMEDIUM;