Lines Matching refs:mrq
91 struct mmc_request *mrq; member
240 struct mmc_request *mrq = host->mrq; in au1xmmc_finish_request() local
242 host->mrq = NULL; in au1xmmc_finish_request()
254 mmc_request_done(host->mmc, mrq); in au1xmmc_finish_request()
334 struct mmc_request *mrq = host->mrq; in au1xmmc_data_complete() local
340 if (host->mrq == NULL) in au1xmmc_data_complete()
343 data = mrq->cmd->data; in au1xmmc_data_complete()
401 data = host->mrq->data; in au1xmmc_send_pio()
456 data = host->mrq->data; in au1xmmc_receive_pio()
531 struct mmc_request *mrq = host->mrq; in au1xmmc_cmd_complete() local
536 if (!host->mrq) in au1xmmc_cmd_complete()
539 cmd = mrq->cmd; in au1xmmc_cmd_complete()
625 if (host->mrq->stop) in au1xmmc_prepare_data()
688 static void au1xmmc_request(struct mmc_host* mmc, struct mmc_request* mrq) in au1xmmc_request() argument
696 host->mrq = mrq; in au1xmmc_request()
701 mrq->cmd->error = -ENOMEDIUM; in au1xmmc_request()
706 if (mrq->data) { in au1xmmc_request()
708 ret = au1xmmc_prepare_data(host, mrq->data); in au1xmmc_request()
712 ret = au1xmmc_send_command(host, 0, mrq->cmd, mrq->data); in au1xmmc_request()
715 mrq->cmd->error = ret; in au1xmmc_request()
804 if (host->mrq && (status & STATUS_TIMEOUT)) { in au1xmmc_irq()
806 host->mrq->cmd->error = -ETIMEDOUT; in au1xmmc_irq()
808 host->mrq->data->error = -ETIMEDOUT; in au1xmmc_irq()
865 if (!host->mrq) in au1xmmc_dbdma_callback()