Lines Matching defs:data_cmd
523 return host->cmd || host->data_cmd;
1526 if (host->data_cmd && host->data_cmd->mrq == mrq)
1527 host->data_cmd = NULL;
1555 struct mmc_command *data_cmd = host->data_cmd;
1559 host->data_cmd = NULL;
1566 if (!host->cmd || host->cmd == data_cmd)
1660 WARN_ON(host->data_cmd);
1661 host->data_cmd = cmd;
1825 cmd == host->data_cmd) {
3010 if (host->data_cmd) {
3011 host->data_cmd->error = err;
3012 sdhci_finish_mrq(host, host->data_cmd->mrq);
3100 * also be in mrqs_done, otherwise host->cmd and host->data_cmd
3103 if (host->cmd || host->data_cmd) {
3233 if (host->data || host->data_cmd ||
3244 } else if (host->data_cmd) {
3245 host->data_cmd->error = -ETIMEDOUT;
3246 sdhci_finish_mrq(host, host->data_cmd->mrq);
3265 if (intmask & SDHCI_INT_AUTO_CMD_ERR && host->data_cmd) {
3266 struct mmc_request *mrq = host->data_cmd->mrq;
3388 struct mmc_command *data_cmd = host->data_cmd;
3395 if (data_cmd && (data_cmd->flags & MMC_RSP_BUSY)) {
3397 host->data_cmd = NULL;
3398 data_cmd->error = -ETIMEDOUT;
3400 __sdhci_finish_mrq(host, data_cmd->mrq);
3404 host->data_cmd = NULL;
3410 if (host->cmd == data_cmd)
3413 __sdhci_finish_mrq(host, data_cmd->mrq);
3490 if (host->cmd == host->data_cmd) {