Lines Matching refs:mrq
24 mmc->ops->request(mmc, hsq->mrq); in mmc_hsq_retry_handler()
37 if (hsq->mrq) { in mmc_hsq_pump_requests()
49 hsq->mrq = slot->mrq; in mmc_hsq_pump_requests()
55 ret = mmc->ops->request_atomic(mmc, hsq->mrq); in mmc_hsq_pump_requests()
57 mmc->ops->request(mmc, hsq->mrq); in mmc_hsq_pump_requests()
94 if (slot->mrq) in mmc_hsq_update_next_tag()
101 if (slot->mrq) in mmc_hsq_update_next_tag()
119 hsq->mrq = NULL; in mmc_hsq_post_request()
153 bool mmc_hsq_finalize_request(struct mmc_host *mmc, struct mmc_request *mrq) in mmc_hsq_finalize_request() argument
160 if (!hsq->enabled || !hsq->mrq || hsq->mrq != mrq) { in mmc_hsq_finalize_request()
168 hsq->slot[hsq->next_tag].mrq = NULL; in mmc_hsq_finalize_request()
172 mmc_cqe_request_done(mmc, hsq->mrq); in mmc_hsq_finalize_request()
212 static int mmc_hsq_request(struct mmc_host *mmc, struct mmc_request *mrq) in mmc_hsq_request() argument
215 int tag = mrq->tag; in mmc_hsq_request()
230 hsq->slot[tag].mrq = mrq; in mmc_hsq_request()
248 static void mmc_hsq_post_req(struct mmc_host *mmc, struct mmc_request *mrq) in mmc_hsq_post_req() argument
251 mmc->ops->post_req(mmc, mrq, 0); in mmc_hsq_post_req()
260 is_idle = (!hsq->mrq && !hsq->qcnt) || in mmc_hsq_queue_is_idle()