mqrq 1280 drivers/mmc/core/block.c static void mmc_blk_data_prep(struct mmc_queue *mq, struct mmc_queue_req *mqrq, mqrq 1286 drivers/mmc/core/block.c struct mmc_blk_request *brq = &mqrq->brq; mqrq 1287 drivers/mmc/core/block.c struct request *req = mmc_queue_req_to_req(mqrq); mqrq 1383 drivers/mmc/core/block.c brq->data.sg = mqrq->sg; mqrq 1384 drivers/mmc/core/block.c brq->data.sg_len = mmc_queue_map_sg(mq, mqrq); mqrq 1416 drivers/mmc/core/block.c struct mmc_queue_req *mqrq = req_to_mmc_queue_req(req); mqrq 1417 drivers/mmc/core/block.c struct mmc_request *mrq = &mqrq->brq.mrq; mqrq 1435 drivers/mmc/core/block.c if (mqrq->retries++ < MMC_CQE_RETRIES) mqrq 1484 drivers/mmc/core/block.c struct mmc_queue_req *mqrq = container_of(mrq, struct mmc_queue_req, mqrq 1486 drivers/mmc/core/block.c struct request *req = mmc_queue_req_to_req(mqrq); mqrq 1508 drivers/mmc/core/block.c static struct mmc_request *mmc_blk_cqe_prep_dcmd(struct mmc_queue_req *mqrq, mqrq 1511 drivers/mmc/core/block.c struct mmc_blk_request *brq = &mqrq->brq; mqrq 1523 drivers/mmc/core/block.c struct mmc_queue_req *mqrq = req_to_mmc_queue_req(req); mqrq 1524 drivers/mmc/core/block.c struct mmc_request *mrq = mmc_blk_cqe_prep_dcmd(mqrq, req); mqrq 1538 drivers/mmc/core/block.c struct mmc_queue_req *mqrq = req_to_mmc_queue_req(req); mqrq 1540 drivers/mmc/core/block.c mmc_blk_data_prep(mq, mqrq, 0, NULL, NULL); mqrq 1542 drivers/mmc/core/block.c return mmc_blk_cqe_start_req(mq->card->host, &mqrq->brq.mrq); mqrq 1545 drivers/mmc/core/block.c static void mmc_blk_rw_rq_prep(struct mmc_queue_req *mqrq, mqrq 1551 drivers/mmc/core/block.c struct mmc_blk_request *brq = &mqrq->brq; mqrq 1552 drivers/mmc/core/block.c struct request *req = mmc_queue_req_to_req(mqrq); mqrq 1556 drivers/mmc/core/block.c mmc_blk_data_prep(mq, mqrq, disable_multi, &do_rel_wr, &do_data_tag); mqrq 1629 drivers/mmc/core/block.c struct mmc_queue_req *mqrq = req_to_mmc_queue_req(req); mqrq 1630 drivers/mmc/core/block.c struct mmc_blk_request *brq = &mqrq->brq; mqrq 1650 drivers/mmc/core/block.c struct mmc_queue_req *mqrq = req_to_mmc_queue_req(req); mqrq 1651 drivers/mmc/core/block.c struct mmc_request *mrq = &mqrq->brq.mrq; mqrq 1661 drivers/mmc/core/block.c mmc_blk_rw_rq_prep(mqrq, card, 1, mq); mqrq 1697 drivers/mmc/core/block.c if (mqrq->retries > MMC_MAX_RETRIES - 1) mqrq 1698 drivers/mmc/core/block.c mqrq->retries = MMC_MAX_RETRIES - 1; mqrq 1717 drivers/mmc/core/block.c struct mmc_queue_req *mqrq = req_to_mmc_queue_req(req); mqrq 1718 drivers/mmc/core/block.c struct mmc_blk_request *brq = &mqrq->brq; mqrq 1758 drivers/mmc/core/block.c struct mmc_queue_req *mqrq = req_to_mmc_queue_req(req); mqrq 1759 drivers/mmc/core/block.c struct mmc_blk_request *brq = &mqrq->brq; mqrq 1811 drivers/mmc/core/block.c mqrq->retries = MMC_NO_RETRIES; mqrq 1823 drivers/mmc/core/block.c if (mqrq->retries + 1 == MMC_MAX_RETRIES) mqrq 1831 drivers/mmc/core/block.c if (mqrq->retries < MMC_MAX_RETRIES - MMC_DATA_RETRIES) { mqrq 1832 drivers/mmc/core/block.c mqrq->retries = MMC_MAX_RETRIES - MMC_DATA_RETRIES; mqrq 1855 drivers/mmc/core/block.c struct mmc_queue_req *mqrq = req_to_mmc_queue_req(req); mqrq 1868 drivers/mmc/core/block.c if (status & mmc_blk_stop_err_bits(&mqrq->brq)) { mqrq 1869 drivers/mmc/core/block.c mqrq->brq.data.bytes_xfered = 0; mqrq 1875 drivers/mmc/core/block.c mqrq->brq.cmd.resp[0] |= R1_EXCEPTION_EVENT; mqrq 1890 drivers/mmc/core/block.c struct mmc_queue_req *mqrq = req_to_mmc_queue_req(req); mqrq 1891 drivers/mmc/core/block.c unsigned int nr_bytes = mqrq->brq.data.bytes_xfered; mqrq 1900 drivers/mmc/core/block.c } else if (mqrq->retries++ < MMC_MAX_RETRIES) { mqrq 1910 drivers/mmc/core/block.c struct mmc_queue_req *mqrq) mqrq 1913 drivers/mmc/core/block.c (mqrq->brq.cmd.resp[0] & R1_EXCEPTION_EVENT || mqrq 1914 drivers/mmc/core/block.c mqrq->brq.stop.resp[0] & R1_EXCEPTION_EVENT); mqrq 1918 drivers/mmc/core/block.c struct mmc_queue_req *mqrq) mqrq 1920 drivers/mmc/core/block.c if (mmc_blk_urgent_bkops_needed(mq, mqrq)) mqrq 1937 drivers/mmc/core/block.c struct mmc_queue_req *mqrq = req_to_mmc_queue_req(req); mqrq 1940 drivers/mmc/core/block.c if (mmc_blk_rq_error(&mqrq->brq) || mqrq 1948 drivers/mmc/core/block.c mmc_blk_urgent_bkops(mq, mqrq); mqrq 1970 drivers/mmc/core/block.c struct mmc_queue_req *mqrq = req_to_mmc_queue_req(req); mqrq 1971 drivers/mmc/core/block.c struct mmc_request *mrq = &mqrq->brq.mrq; mqrq 1992 drivers/mmc/core/block.c struct mmc_queue_req *mqrq = req_to_mmc_queue_req(req); mqrq 1997 drivers/mmc/core/block.c if (mmc_blk_rq_error(&mqrq->brq)) { mqrq 2002 drivers/mmc/core/block.c mmc_blk_urgent_bkops(mq, mqrq); mqrq 2041 drivers/mmc/core/block.c struct mmc_queue_req *mqrq = container_of(mrq, struct mmc_queue_req, mqrq 2043 drivers/mmc/core/block.c struct request *req = mmc_queue_req_to_req(mqrq); mqrq 2079 drivers/mmc/core/block.c if (mmc_blk_rq_error(&mqrq->brq) || mqrq 2080 drivers/mmc/core/block.c mmc_blk_urgent_bkops_needed(mq, mqrq)) { mqrq 2135 drivers/mmc/core/block.c struct mmc_queue_req *mqrq = req_to_mmc_queue_req(req); mqrq 2140 drivers/mmc/core/block.c mmc_blk_rw_rq_prep(mqrq, mq->card, 0, mq); mqrq 2142 drivers/mmc/core/block.c mqrq->brq.mrq.done = mmc_blk_mq_req_done; mqrq 2144 drivers/mmc/core/block.c mmc_pre_req(host, &mqrq->brq.mrq); mqrq 2152 drivers/mmc/core/block.c err = mmc_start_request(host, &mqrq->brq.mrq); mqrq 2166 drivers/mmc/core/block.c mmc_post_req(host, &mqrq->brq.mrq, err); mqrq 84 drivers/mmc/core/queue.c struct mmc_queue_req *mqrq = container_of(mrq, struct mmc_queue_req, mqrq 86 drivers/mmc/core/queue.c struct request *req = mmc_queue_req_to_req(mqrq); mqrq 98 drivers/mmc/core/queue.c struct mmc_queue_req *mqrq = req_to_mmc_queue_req(req); mqrq 99 drivers/mmc/core/queue.c struct mmc_request *mrq = &mqrq->brq.mrq; mqrq 519 drivers/mmc/core/queue.c unsigned int mmc_queue_map_sg(struct mmc_queue *mq, struct mmc_queue_req *mqrq) mqrq 521 drivers/mmc/core/queue.c struct request *req = mmc_queue_req_to_req(mqrq); mqrq 523 drivers/mmc/core/queue.c return blk_rq_map_sg(mq->queue, req, mqrq->sg);