Lines Matching refs:mrq

207 static void wbsd_request_end(struct wbsd_host *host, struct mmc_request *mrq)  in wbsd_request_end()  argument
226 host->mrq = NULL; in wbsd_request_end()
232 mmc_request_done(host->mmc, mrq); in wbsd_request_end()
419 struct mmc_data *data = host->mrq->cmd->data; in wbsd_empty_fifo()
481 struct mmc_data *data = host->mrq->cmd->data; in wbsd_fill_fifo()
682 WARN_ON(host->mrq == NULL); in wbsd_finish_data()
716 data->bytes_xfered = host->mrq->data->blocks * in wbsd_finish_data()
717 host->mrq->data->blksz - count; in wbsd_finish_data()
745 wbsd_request_end(host, host->mrq); in wbsd_finish_data()
754 static void wbsd_request(struct mmc_host *mmc, struct mmc_request *mrq) in wbsd_request() argument
764 BUG_ON(host->mrq != NULL); in wbsd_request()
766 cmd = mrq->cmd; in wbsd_request()
768 host->mrq = mrq; in wbsd_request()
846 wbsd_request_end(host, mrq); in wbsd_request()
989 WARN_ON(!host->mrq); in wbsd_get_data()
990 if (!host->mrq) in wbsd_get_data()
993 WARN_ON(!host->mrq->cmd); in wbsd_get_data()
994 if (!host->mrq->cmd) in wbsd_get_data()
997 WARN_ON(!host->mrq->cmd->data); in wbsd_get_data()
998 if (!host->mrq->cmd->data) in wbsd_get_data()
1001 return host->mrq->cmd->data; in wbsd_get_data()
1031 if (host->mrq) { in wbsd_tasklet_card()
1036 host->mrq->cmd->error = -ENOMEDIUM; in wbsd_tasklet_card()
1060 if (!host->mrq) in wbsd_tasklet_fifo()
1091 if (!host->mrq) in wbsd_tasklet_crc()
1115 if (!host->mrq) in wbsd_tasklet_timeout()
1139 WARN_ON(!host->mrq); in wbsd_tasklet_finish()
1140 if (!host->mrq) in wbsd_tasklet_finish()