Lines Matching defs:data_cmd
484 return host->cmd || host->data_cmd;
1504 if (host->data_cmd && host->data_cmd->mrq == mrq)
1505 host->data_cmd = NULL;
1533 struct mmc_command *data_cmd = host->data_cmd;
1537 host->data_cmd = NULL;
1544 if (!host->cmd || host->cmd == data_cmd)
1637 WARN_ON(host->data_cmd);
1638 host->data_cmd = cmd;
1802 cmd == host->data_cmd) {
2985 if (host->data_cmd) {
2986 host->data_cmd->error = err;
2987 sdhci_finish_mrq(host, host->data_cmd->mrq);
3076 * also be in mrqs_done, otherwise host->cmd and host->data_cmd
3079 if (host->cmd || host->data_cmd) {
3213 if (host->data || host->data_cmd ||
3223 } else if (host->data_cmd) {
3224 host->data_cmd->error = -ETIMEDOUT;
3225 sdhci_finish_mrq(host, host->data_cmd->mrq);
3244 if (intmask & SDHCI_INT_AUTO_CMD_ERR && host->data_cmd) {
3245 struct mmc_request *mrq = host->data_cmd->mrq;
3359 struct mmc_command *data_cmd = host->data_cmd;
3366 if (data_cmd && (data_cmd->flags & MMC_RSP_BUSY)) {
3368 host->data_cmd = NULL;
3369 data_cmd->error = -ETIMEDOUT;
3370 __sdhci_finish_mrq(host, data_cmd->mrq);
3374 host->data_cmd = NULL;
3380 if (host->cmd == data_cmd)
3383 __sdhci_finish_mrq(host, data_cmd->mrq);
3453 if (host->cmd == host->data_cmd) {