Lines Matching refs:mrq
195 mmci_request_end(struct mmci_host *host, struct mmc_request *mrq) in mmci_request_end() argument
201 host->mrq = NULL; in mmci_request_end()
204 mmc_request_done(host->mmc, mrq); in mmci_request_end()
520 static void mmci_pre_request(struct mmc_host *mmc, struct mmc_request *mrq, in mmci_pre_request() argument
524 struct mmc_data *data = mrq->data; in mmci_pre_request()
545 static void mmci_post_request(struct mmc_host *mmc, struct mmc_request *mrq, in mmci_post_request() argument
549 struct mmc_data *data = mrq->data; in mmci_post_request()
572 mrq->data->host_cookie = 0; in mmci_post_request()
766 mmci_request_end(host, data->mrq); in mmci_data_irq()
799 mmci_request_end(host, cmd->mrq); in mmci_cmd_irq()
1031 static void mmci_request(struct mmc_host *mmc, struct mmc_request *mrq) in mmci_request() argument
1036 WARN_ON(host->mrq != NULL); in mmci_request()
1038 if (mrq->data && !is_power_of_2(mrq->data->blksz)) { in mmci_request()
1040 mrq->data->blksz); in mmci_request()
1041 mrq->cmd->error = -EINVAL; in mmci_request()
1042 mmc_request_done(mmc, mrq); in mmci_request()
1050 host->mrq = mrq; in mmci_request()
1052 if (mrq->data) in mmci_request()
1053 mmci_get_next_data(host, mrq->data); in mmci_request()
1055 if (mrq->data && mrq->data->flags & MMC_DATA_READ) in mmci_request()
1056 mmci_start_data(host, mrq->data); in mmci_request()
1058 mmci_start_command(host, mrq->cmd, 0); in mmci_request()