Lines Matching refs:data_cmd

523 	return host->cmd || host->data_cmd;  in sdhci_has_requests()
1540 if (host->data_cmd && host->data_cmd->mrq == mrq) in __sdhci_finish_mrq()
1541 host->data_cmd = NULL; in __sdhci_finish_mrq()
1569 struct mmc_command *data_cmd = host->data_cmd; in __sdhci_finish_data() local
1573 host->data_cmd = NULL; in __sdhci_finish_data()
1580 if (!host->cmd || host->cmd == data_cmd) in __sdhci_finish_data()
1674 WARN_ON(host->data_cmd); in sdhci_send_command()
1675 host->data_cmd = cmd; in sdhci_send_command()
1840 cmd == host->data_cmd) { in sdhci_finish_command()
3034 if (host->data_cmd) { in sdhci_error_out_mrqs()
3035 host->data_cmd->error = err; in sdhci_error_out_mrqs()
3036 sdhci_finish_mrq(host, host->data_cmd->mrq); in sdhci_error_out_mrqs()
3127 if (host->cmd || host->data_cmd) { in sdhci_request_done()
3257 if (host->data || host->data_cmd || in sdhci_timeout_data_timer()
3268 } else if (host->data_cmd) { in sdhci_timeout_data_timer()
3269 host->data_cmd->error = -ETIMEDOUT; in sdhci_timeout_data_timer()
3270 sdhci_finish_mrq(host, host->data_cmd->mrq); in sdhci_timeout_data_timer()
3289 if (intmask & SDHCI_INT_AUTO_CMD_ERR && host->data_cmd) { in sdhci_cmd_irq()
3290 struct mmc_request *mrq = host->data_cmd->mrq; in sdhci_cmd_irq()
3416 struct mmc_command *data_cmd = host->data_cmd; in sdhci_data_irq() local
3423 if (data_cmd && (data_cmd->flags & MMC_RSP_BUSY)) { in sdhci_data_irq()
3425 host->data_cmd = NULL; in sdhci_data_irq()
3426 data_cmd->error = -ETIMEDOUT; in sdhci_data_irq()
3428 __sdhci_finish_mrq(host, data_cmd->mrq); in sdhci_data_irq()
3432 host->data_cmd = NULL; in sdhci_data_irq()
3438 if (host->cmd == data_cmd) in sdhci_data_irq()
3441 __sdhci_finish_mrq(host, data_cmd->mrq); in sdhci_data_irq()
3518 if (host->cmd == host->data_cmd) { in sdhci_data_irq()