mrq               294 drivers/char/agp/isoch.c 	u32 trq, mrq, rem;
mrq               300 drivers/char/agp/isoch.c 	mrq = trq / ndevs;
mrq               302 drivers/char/agp/isoch.c 	rem = mrq + (trq % ndevs);
mrq               309 drivers/char/agp/isoch.c 		mcmd |= ((cdev == ndevs - 1) ? rem : mrq) << 24;
mrq                80 drivers/clk/tegra/clk-bpmp.c 	msg.mrq = MRQ_CLK;
mrq               127 drivers/cpufreq/tegra186-cpufreq.c 	msg.mrq = MRQ_CPU_VHINT;
mrq               115 drivers/firmware/tegra/bpmp-debugfs.c 		.mrq = MRQ_DEBUGFS,
mrq               150 drivers/firmware/tegra/bpmp-debugfs.c 		.mrq = MRQ_DEBUGFS,
mrq               172 drivers/firmware/tegra/bpmp-debugfs.c 		.mrq = MRQ_DEBUGFS,
mrq               240 drivers/firmware/tegra/bpmp.c 					  unsigned int mrq, unsigned long flags,
mrq               243 drivers/firmware/tegra/bpmp.c 	channel->ob->code = mrq;
mrq               253 drivers/firmware/tegra/bpmp.c tegra_bpmp_write_threaded(struct tegra_bpmp *bpmp, unsigned int mrq,
mrq               284 drivers/firmware/tegra/bpmp.c 	err = __tegra_bpmp_channel_write(channel, mrq, MSG_ACK | MSG_RING,
mrq               304 drivers/firmware/tegra/bpmp.c 					unsigned int mrq, unsigned long flags,
mrq               313 drivers/firmware/tegra/bpmp.c 	return __tegra_bpmp_channel_write(channel, mrq, flags, data, size);
mrq               332 drivers/firmware/tegra/bpmp.c 	err = tegra_bpmp_channel_write(channel, msg->mrq, MSG_ACK,
mrq               367 drivers/firmware/tegra/bpmp.c 	channel = tegra_bpmp_write_threaded(bpmp, msg->mrq, msg->tx.data,
mrq               388 drivers/firmware/tegra/bpmp.c 						  unsigned int mrq)
mrq               393 drivers/firmware/tegra/bpmp.c 		if (entry->mrq == mrq)
mrq               437 drivers/firmware/tegra/bpmp.c 				  unsigned int mrq,
mrq               445 drivers/firmware/tegra/bpmp.c 	entry = tegra_bpmp_find_mrq(bpmp, mrq);
mrq               452 drivers/firmware/tegra/bpmp.c 	entry->handler(mrq, channel, entry->data);
mrq               457 drivers/firmware/tegra/bpmp.c int tegra_bpmp_request_mrq(struct tegra_bpmp *bpmp, unsigned int mrq,
mrq               472 drivers/firmware/tegra/bpmp.c 	entry->mrq = mrq;
mrq               483 drivers/firmware/tegra/bpmp.c void tegra_bpmp_free_mrq(struct tegra_bpmp *bpmp, unsigned int mrq, void *data)
mrq               490 drivers/firmware/tegra/bpmp.c 	entry = tegra_bpmp_find_mrq(bpmp, mrq);
mrq               502 drivers/firmware/tegra/bpmp.c bool tegra_bpmp_mrq_is_supported(struct tegra_bpmp *bpmp, unsigned int mrq)
mrq               504 drivers/firmware/tegra/bpmp.c 	struct mrq_query_abi_request req = { .mrq = cpu_to_le32(mrq) };
mrq               507 drivers/firmware/tegra/bpmp.c 		.mrq = MRQ_QUERY_ABI,
mrq               527 drivers/firmware/tegra/bpmp.c static void tegra_bpmp_mrq_handle_ping(unsigned int mrq,
mrq               557 drivers/firmware/tegra/bpmp.c 	msg.mrq = MRQ_PING;
mrq               601 drivers/firmware/tegra/bpmp.c 	msg.mrq = MRQ_QUERY_TAG;
mrq               623 drivers/firmware/tegra/bpmp.c 			.mrq = MRQ_QUERY_FW_TAG,
mrq               209 drivers/i2c/busses/i2c-tegra-bpmp.c 	msg.mrq = MRQ_I2C;
mrq               223 drivers/memstick/core/memstick.c int memstick_next_req(struct memstick_host *host, struct memstick_request **mrq)
mrq               227 drivers/memstick/core/memstick.c 	if ((*mrq) && (*mrq)->error && host->retries) {
mrq               228 drivers/memstick/core/memstick.c 		(*mrq)->error = rc;
mrq               234 drivers/memstick/core/memstick.c 		rc = host->card->next_request(host->card, mrq);
mrq               239 drivers/memstick/core/memstick.c 		*mrq = NULL;
mrq               265 drivers/memstick/core/memstick.c void memstick_init_req_sg(struct memstick_request *mrq, unsigned char tpc,
mrq               268 drivers/memstick/core/memstick.c 	mrq->tpc = tpc;
mrq               270 drivers/memstick/core/memstick.c 		mrq->data_dir = WRITE;
mrq               272 drivers/memstick/core/memstick.c 		mrq->data_dir = READ;
mrq               274 drivers/memstick/core/memstick.c 	mrq->sg = *sg;
mrq               275 drivers/memstick/core/memstick.c 	mrq->long_data = 1;
mrq               278 drivers/memstick/core/memstick.c 		mrq->need_card_int = 1;
mrq               280 drivers/memstick/core/memstick.c 		mrq->need_card_int = 0;
mrq               295 drivers/memstick/core/memstick.c void memstick_init_req(struct memstick_request *mrq, unsigned char tpc,
mrq               298 drivers/memstick/core/memstick.c 	mrq->tpc = tpc;
mrq               300 drivers/memstick/core/memstick.c 		mrq->data_dir = WRITE;
mrq               302 drivers/memstick/core/memstick.c 		mrq->data_dir = READ;
mrq               304 drivers/memstick/core/memstick.c 	mrq->data_len = length > sizeof(mrq->data) ? sizeof(mrq->data) : length;
mrq               305 drivers/memstick/core/memstick.c 	if (mrq->data_dir == WRITE)
mrq               306 drivers/memstick/core/memstick.c 		memcpy(mrq->data, buf, mrq->data_len);
mrq               308 drivers/memstick/core/memstick.c 	mrq->long_data = 0;
mrq               311 drivers/memstick/core/memstick.c 		mrq->need_card_int = 1;
mrq               313 drivers/memstick/core/memstick.c 		mrq->need_card_int = 0;
mrq               325 drivers/memstick/core/memstick.c 				  struct memstick_request **mrq)
mrq               329 drivers/memstick/core/memstick.c 	if (!(*mrq)) {
mrq               332 drivers/memstick/core/memstick.c 		*mrq = &card->current_mrq;
mrq               335 drivers/memstick/core/memstick.c 		if (!(*mrq)->error) {
mrq               336 drivers/memstick/core/memstick.c 			memcpy(&id_reg, (*mrq)->data, sizeof(id_reg));
mrq               349 drivers/memstick/core/memstick.c 				  struct memstick_request **mrq)
mrq               351 drivers/memstick/core/memstick.c 	if (!(*mrq)) {
mrq               355 drivers/memstick/core/memstick.c 		*mrq = &card->current_mrq;
mrq               257 drivers/memstick/core/ms_block.c 	struct memstick_request *mrq = &msb->card->current_mrq;
mrq               266 drivers/memstick/core/ms_block.c 		mrq->data[0] = MEMSTICK_INT_CMDNAK;
mrq               271 drivers/memstick/core/ms_block.c 				mrq->need_card_int && !mrq->error) {
mrq               272 drivers/memstick/core/ms_block.c 		mrq->data[0] = mrq->int_reg;
mrq               273 drivers/memstick/core/ms_block.c 		mrq->need_card_int = false;
mrq               276 drivers/memstick/core/ms_block.c 		memstick_init_req(mrq, MS_TPC_GET_INT, NULL, 1);
mrq               325 drivers/memstick/core/ms_block.c 						struct memstick_request **mrq)
mrq               339 drivers/memstick/core/ms_block.c 	struct memstick_request *mrq = *out_mrq = &card->current_mrq;
mrq               343 drivers/memstick/core/ms_block.c 	if (mrq->error) {
mrq               345 drivers/memstick/core/ms_block.c 		return msb_exit_state_machine(msb, mrq->error);
mrq               364 drivers/memstick/core/ms_block.c 		memstick_init_req(mrq, MS_TPC_SET_CMD, &command, 1);
mrq               377 drivers/memstick/core/ms_block.c 		intreg = mrq->data[0];
mrq               404 drivers/memstick/core/ms_block.c 		msb->regs.status = *(struct ms_status_register *)mrq->data;
mrq               419 drivers/memstick/core/ms_block.c 			*(struct ms_extra_data_register *) mrq->data;
mrq               435 drivers/memstick/core/ms_block.c 		memstick_init_req_sg(mrq, MS_TPC_READ_LONG_DATA, sg);
mrq               475 drivers/memstick/core/ms_block.c 	struct memstick_request *mrq = *out_mrq = &card->current_mrq;
mrq               479 drivers/memstick/core/ms_block.c 	if (mrq->error)
mrq               480 drivers/memstick/core/ms_block.c 		return msb_exit_state_machine(msb, mrq->error);
mrq               513 drivers/memstick/core/ms_block.c 		memstick_init_req(mrq, MS_TPC_SET_CMD, &command, 1);
mrq               524 drivers/memstick/core/ms_block.c 		intreg = mrq->data[0];
mrq               562 drivers/memstick/core/ms_block.c 		memstick_init_req_sg(mrq, MS_TPC_WRITE_LONG_DATA, sg);
mrq               563 drivers/memstick/core/ms_block.c 		mrq->need_card_int = 1;
mrq               587 drivers/memstick/core/ms_block.c 	struct memstick_request *mrq = *out_mrq = &card->current_mrq;
mrq               590 drivers/memstick/core/ms_block.c 	if (mrq->error) {
mrq               592 drivers/memstick/core/ms_block.c 		return msb_exit_state_machine(msb, mrq->error);
mrq               623 drivers/memstick/core/ms_block.c 		memstick_init_req(mrq, MS_TPC_SET_CMD, &msb->command_value, 1);
mrq               634 drivers/memstick/core/ms_block.c 		intreg = mrq->data[0];
mrq               658 drivers/memstick/core/ms_block.c 	struct memstick_request *mrq = *out_mrq = &card->current_mrq;
mrq               660 drivers/memstick/core/ms_block.c 	if (mrq->error)
mrq               661 drivers/memstick/core/ms_block.c 		return msb_exit_state_machine(msb, mrq->error);
mrq               665 drivers/memstick/core/ms_block.c 		memstick_init_req(mrq, MS_TPC_SET_CMD, &command, 1);
mrq               666 drivers/memstick/core/ms_block.c 		mrq->need_card_int = 0;
mrq               680 drivers/memstick/core/ms_block.c 	struct memstick_request *mrq = *out_mrq = &card->current_mrq;
mrq               683 drivers/memstick/core/ms_block.c 	if (mrq->error) {
mrq               686 drivers/memstick/core/ms_block.c 		return msb_exit_state_machine(msb, mrq->error);
mrq               707 drivers/memstick/core/ms_block.c 		memstick_init_req(mrq, MS_TPC_GET_INT, NULL, 1);
mrq               275 drivers/memstick/core/ms_block.h 						struct memstick_request **mrq);
mrq               157 drivers/memstick/core/mspro_block.c 					     struct memstick_request **mrq);
mrq               522 drivers/memstick/core/mspro_block.c 				  struct memstick_request **mrq)
mrq               526 drivers/memstick/core/mspro_block.c 	*mrq = &card->current_mrq;
mrq               532 drivers/memstick/core/mspro_block.c 				 struct memstick_request **mrq)
mrq               534 drivers/memstick/core/mspro_block.c 	return mspro_block_complete_req(card, (*mrq)->error);
mrq               538 drivers/memstick/core/mspro_block.c 				     struct memstick_request **mrq)
mrq               544 drivers/memstick/core/mspro_block.c 				struct memstick_request **mrq)
mrq               548 drivers/memstick/core/mspro_block.c 	if (!(*mrq)->error) {
mrq               549 drivers/memstick/core/mspro_block.c 		if ((*mrq)->data[offsetof(struct ms_status_register, status0)]
mrq               556 drivers/memstick/core/mspro_block.c 	return mspro_block_complete_req(card, (*mrq)->error);
mrq               560 drivers/memstick/core/mspro_block.c 				      struct memstick_request **mrq)
mrq               562 drivers/memstick/core/mspro_block.c 	dev_dbg(&card->dev, "wait for ced: value %x\n", (*mrq)->data[0]);
mrq               564 drivers/memstick/core/mspro_block.c 	if (!(*mrq)->error) {
mrq               565 drivers/memstick/core/mspro_block.c 		if ((*mrq)->data[0] & (MEMSTICK_INT_CMDNAK | MEMSTICK_INT_ERR))
mrq               566 drivers/memstick/core/mspro_block.c 			(*mrq)->error = -EFAULT;
mrq               567 drivers/memstick/core/mspro_block.c 		else if (!((*mrq)->data[0] & MEMSTICK_INT_CED))
mrq               571 drivers/memstick/core/mspro_block.c 	return mspro_block_complete_req(card, (*mrq)->error);
mrq               575 drivers/memstick/core/mspro_block.c 				       struct memstick_request **mrq)
mrq               582 drivers/memstick/core/mspro_block.c 	if ((*mrq)->error)
mrq               583 drivers/memstick/core/mspro_block.c 		return mspro_block_complete_req(card, (*mrq)->error);
mrq               585 drivers/memstick/core/mspro_block.c 	switch ((*mrq)->tpc) {
mrq               587 drivers/memstick/core/mspro_block.c 		memstick_init_req(*mrq, MS_TPC_SET_CMD, &msb->transfer_cmd, 1);
mrq               588 drivers/memstick/core/mspro_block.c 		(*mrq)->need_card_int = 1;
mrq               591 drivers/memstick/core/mspro_block.c 		t_val = (*mrq)->int_reg;
mrq               592 drivers/memstick/core/mspro_block.c 		memstick_init_req(*mrq, MS_TPC_GET_INT, NULL, 1);
mrq               597 drivers/memstick/core/mspro_block.c 		t_val = (*mrq)->data[0];
mrq               601 drivers/memstick/core/mspro_block.c 			memstick_init_req(*mrq, MS_TPC_SET_CMD, &t_val, 1);
mrq               619 drivers/memstick/core/mspro_block.c 					memstick_init_req(*mrq, MS_TPC_GET_INT,
mrq               627 drivers/memstick/core/mspro_block.c 			memstick_init_req(*mrq, MS_TPC_GET_INT, NULL, 1);
mrq               639 drivers/memstick/core/mspro_block.c 		memstick_init_req_sg(*mrq, msb->data_dir == READ
mrq               643 drivers/memstick/core/mspro_block.c 		(*mrq)->need_card_int = 1;
mrq               649 drivers/memstick/core/mspro_block.c 			t_val = (*mrq)->int_reg;
mrq               652 drivers/memstick/core/mspro_block.c 			memstick_init_req(*mrq, MS_TPC_GET_INT, NULL, 1);
mrq               496 drivers/mmc/core/block.c 	struct mmc_request mrq = {};
mrq               555 drivers/mmc/core/block.c 		mrq.data = &data;
mrq               558 drivers/mmc/core/block.c 	mrq.cmd = &cmd;
mrq               579 drivers/mmc/core/block.c 		mrq.sbc = &sbc;
mrq               593 drivers/mmc/core/block.c 	mmc_wait_for_req(card->host, &mrq);
mrq               909 drivers/mmc/core/block.c 	struct mmc_request mrq = {};
mrq               938 drivers/mmc/core/block.c 	mrq.cmd = &cmd;
mrq               939 drivers/mmc/core/block.c 	mrq.data = &data;
mrq               947 drivers/mmc/core/block.c 	mmc_wait_for_req(card->host, &mrq);
mrq              1273 drivers/mmc/core/block.c 		oor_with_open_end = val & R1_OUT_OF_RANGE && !brq->mrq.sbc;
mrq              1300 drivers/mmc/core/block.c 	brq->mrq.data = &brq->data;
mrq              1301 drivers/mmc/core/block.c 	brq->mrq.tag = req->tag;
mrq              1417 drivers/mmc/core/block.c 	struct mmc_request *mrq = &mqrq->brq.mrq;
mrq              1425 drivers/mmc/core/block.c 	mmc_cqe_post_req(host, mrq);
mrq              1427 drivers/mmc/core/block.c 	if (mrq->cmd && mrq->cmd->error)
mrq              1428 drivers/mmc/core/block.c 		err = mrq->cmd->error;
mrq              1429 drivers/mmc/core/block.c 	else if (mrq->data && mrq->data->error)
mrq              1430 drivers/mmc/core/block.c 		err = mrq->data->error;
mrq              1439 drivers/mmc/core/block.c 	} else if (mrq->data) {
mrq              1440 drivers/mmc/core/block.c 		if (blk_update_request(req, BLK_STS_OK, mrq->data->bytes_xfered))
mrq              1482 drivers/mmc/core/block.c static void mmc_blk_cqe_req_done(struct mmc_request *mrq)
mrq              1484 drivers/mmc/core/block.c 	struct mmc_queue_req *mqrq = container_of(mrq, struct mmc_queue_req,
mrq              1485 drivers/mmc/core/block.c 						  brq.mrq);
mrq              1500 drivers/mmc/core/block.c static int mmc_blk_cqe_start_req(struct mmc_host *host, struct mmc_request *mrq)
mrq              1502 drivers/mmc/core/block.c 	mrq->done		= mmc_blk_cqe_req_done;
mrq              1503 drivers/mmc/core/block.c 	mrq->recovery_notifier	= mmc_cqe_recovery_notifier;
mrq              1505 drivers/mmc/core/block.c 	return mmc_cqe_start_req(host, mrq);
mrq              1515 drivers/mmc/core/block.c 	brq->mrq.cmd = &brq->cmd;
mrq              1516 drivers/mmc/core/block.c 	brq->mrq.tag = req->tag;
mrq              1518 drivers/mmc/core/block.c 	return &brq->mrq;
mrq              1524 drivers/mmc/core/block.c 	struct mmc_request *mrq = mmc_blk_cqe_prep_dcmd(mqrq, req);
mrq              1526 drivers/mmc/core/block.c 	mrq->cmd->opcode = MMC_SWITCH;
mrq              1527 drivers/mmc/core/block.c 	mrq->cmd->arg = (MMC_SWITCH_MODE_WRITE_BYTE << 24) |
mrq              1531 drivers/mmc/core/block.c 	mrq->cmd->flags = MMC_CMD_AC | MMC_RSP_R1B;
mrq              1533 drivers/mmc/core/block.c 	return mmc_blk_cqe_start_req(mq->card->host, mrq);
mrq              1542 drivers/mmc/core/block.c 	return mmc_blk_cqe_start_req(mq->card->host, &mqrq->brq.mrq);
mrq              1558 drivers/mmc/core/block.c 	brq->mrq.cmd = &brq->cmd;
mrq              1571 drivers/mmc/core/block.c 			brq->mrq.stop = &brq->stop;
mrq              1575 drivers/mmc/core/block.c 		brq->mrq.stop = NULL;
mrq              1607 drivers/mmc/core/block.c 		brq->mrq.sbc = &brq->sbc;
mrq              1651 drivers/mmc/core/block.c 	struct mmc_request *mrq = &mqrq->brq.mrq;
mrq              1663 drivers/mmc/core/block.c 		mmc_wait_for_req(host, mrq);
mrq              1676 drivers/mmc/core/block.c 		if (mrq->cmd->error && retries++ < MMC_READ_SINGLE_RETRIES)
mrq              1681 drivers/mmc/core/block.c 		if (mrq->cmd->error ||
mrq              1682 drivers/mmc/core/block.c 		    mrq->data->error ||
mrq              1684 drivers/mmc/core/block.c 		     (mrq->cmd->resp[0] & CMD_ERRORS || status & CMD_ERRORS)))
mrq              1694 drivers/mmc/core/block.c 	mrq->data->bytes_xfered = 0;
mrq              1703 drivers/mmc/core/block.c 	return !!brq->mrq.sbc;
mrq              1971 drivers/mmc/core/block.c 	struct mmc_request *mrq = &mqrq->brq.mrq;
mrq              1974 drivers/mmc/core/block.c 	mmc_post_req(host, mrq, 0);
mrq              2039 drivers/mmc/core/block.c static void mmc_blk_mq_req_done(struct mmc_request *mrq)
mrq              2041 drivers/mmc/core/block.c 	struct mmc_queue_req *mqrq = container_of(mrq, struct mmc_queue_req,
mrq              2042 drivers/mmc/core/block.c 						  brq.mrq);
mrq              2142 drivers/mmc/core/block.c 	mqrq->brq.mrq.done = mmc_blk_mq_req_done;
mrq              2144 drivers/mmc/core/block.c 	mmc_pre_req(host, &mqrq->brq.mrq);
mrq              2152 drivers/mmc/core/block.c 	err = mmc_start_request(host, &mqrq->brq.mrq);
mrq              2166 drivers/mmc/core/block.c 		mmc_post_req(host, &mqrq->brq.mrq, err);
mrq                82 drivers/mmc/core/core.c 				    struct mmc_request *mrq)
mrq                84 drivers/mmc/core/core.c 	struct mmc_command *cmd = mrq->cmd;
mrq                85 drivers/mmc/core/core.c 	struct mmc_data *data = mrq->data;
mrq               106 drivers/mmc/core/core.c 					   struct mmc_request *mrq)
mrq               112 drivers/mmc/core/core.c static inline void mmc_complete_cmd(struct mmc_request *mrq)
mrq               114 drivers/mmc/core/core.c 	if (mrq->cap_cmd_during_tfr && !completion_done(&mrq->cmd_completion))
mrq               115 drivers/mmc/core/core.c 		complete_all(&mrq->cmd_completion);
mrq               118 drivers/mmc/core/core.c void mmc_command_done(struct mmc_host *host, struct mmc_request *mrq)
mrq               120 drivers/mmc/core/core.c 	if (!mrq->cap_cmd_during_tfr)
mrq               123 drivers/mmc/core/core.c 	mmc_complete_cmd(mrq);
mrq               126 drivers/mmc/core/core.c 		 mmc_hostname(host), mrq->cmd->opcode);
mrq               138 drivers/mmc/core/core.c void mmc_request_done(struct mmc_host *host, struct mmc_request *mrq)
mrq               140 drivers/mmc/core/core.c 	struct mmc_command *cmd = mrq->cmd;
mrq               147 drivers/mmc/core/core.c 	    (err == -EILSEQ || (mrq->sbc && mrq->sbc->error == -EILSEQ) ||
mrq               148 drivers/mmc/core/core.c 	    (mrq->data && mrq->data->error == -EILSEQ) ||
mrq               149 drivers/mmc/core/core.c 	    (mrq->stop && mrq->stop->error == -EILSEQ)))
mrq               157 drivers/mmc/core/core.c 	if (host->ongoing_mrq == mrq)
mrq               160 drivers/mmc/core/core.c 	mmc_complete_cmd(mrq);
mrq               162 drivers/mmc/core/core.c 	trace_mmc_request_done(host, mrq);
mrq               174 drivers/mmc/core/core.c 		mmc_should_fail_request(host, mrq);
mrq               179 drivers/mmc/core/core.c 		if (mrq->sbc) {
mrq               181 drivers/mmc/core/core.c 				mmc_hostname(host), mrq->sbc->opcode,
mrq               182 drivers/mmc/core/core.c 				mrq->sbc->error,
mrq               183 drivers/mmc/core/core.c 				mrq->sbc->resp[0], mrq->sbc->resp[1],
mrq               184 drivers/mmc/core/core.c 				mrq->sbc->resp[2], mrq->sbc->resp[3]);
mrq               192 drivers/mmc/core/core.c 		if (mrq->data) {
mrq               195 drivers/mmc/core/core.c 				mrq->data->bytes_xfered, mrq->data->error);
mrq               198 drivers/mmc/core/core.c 		if (mrq->stop) {
mrq               200 drivers/mmc/core/core.c 				mmc_hostname(host), mrq->stop->opcode,
mrq               201 drivers/mmc/core/core.c 				mrq->stop->error,
mrq               202 drivers/mmc/core/core.c 				mrq->stop->resp[0], mrq->stop->resp[1],
mrq               203 drivers/mmc/core/core.c 				mrq->stop->resp[2], mrq->stop->resp[3]);
mrq               210 drivers/mmc/core/core.c 	if (mrq->done)
mrq               211 drivers/mmc/core/core.c 		mrq->done(mrq);
mrq               216 drivers/mmc/core/core.c static void __mmc_start_request(struct mmc_host *host, struct mmc_request *mrq)
mrq               223 drivers/mmc/core/core.c 		mrq->cmd->error = err;
mrq               224 drivers/mmc/core/core.c 		mmc_request_done(host, mrq);
mrq               233 drivers/mmc/core/core.c 	if (sdio_is_io_busy(mrq->cmd->opcode, mrq->cmd->arg) &&
mrq               241 drivers/mmc/core/core.c 			mrq->cmd->error = -EBUSY;
mrq               242 drivers/mmc/core/core.c 			mmc_request_done(host, mrq);
mrq               247 drivers/mmc/core/core.c 	if (mrq->cap_cmd_during_tfr) {
mrq               248 drivers/mmc/core/core.c 		host->ongoing_mrq = mrq;
mrq               253 drivers/mmc/core/core.c 		reinit_completion(&mrq->cmd_completion);
mrq               256 drivers/mmc/core/core.c 	trace_mmc_request_start(host, mrq);
mrq               261 drivers/mmc/core/core.c 	host->ops->request(host, mrq);
mrq               264 drivers/mmc/core/core.c static void mmc_mrq_pr_debug(struct mmc_host *host, struct mmc_request *mrq,
mrq               267 drivers/mmc/core/core.c 	if (mrq->sbc) {
mrq               269 drivers/mmc/core/core.c 			 mmc_hostname(host), mrq->sbc->opcode,
mrq               270 drivers/mmc/core/core.c 			 mrq->sbc->arg, mrq->sbc->flags);
mrq               273 drivers/mmc/core/core.c 	if (mrq->cmd) {
mrq               276 drivers/mmc/core/core.c 			 mrq->cmd->opcode, mrq->cmd->arg, mrq->cmd->flags);
mrq               279 drivers/mmc/core/core.c 			 mmc_hostname(host), mrq->tag, mrq->data->blk_addr);
mrq               282 drivers/mmc/core/core.c 	if (mrq->data) {
mrq               285 drivers/mmc/core/core.c 			mmc_hostname(host), mrq->data->blksz,
mrq               286 drivers/mmc/core/core.c 			mrq->data->blocks, mrq->data->flags,
mrq               287 drivers/mmc/core/core.c 			mrq->data->timeout_ns / 1000000,
mrq               288 drivers/mmc/core/core.c 			mrq->data->timeout_clks);
mrq               291 drivers/mmc/core/core.c 	if (mrq->stop) {
mrq               293 drivers/mmc/core/core.c 			 mmc_hostname(host), mrq->stop->opcode,
mrq               294 drivers/mmc/core/core.c 			 mrq->stop->arg, mrq->stop->flags);
mrq               298 drivers/mmc/core/core.c static int mmc_mrq_prep(struct mmc_host *host, struct mmc_request *mrq)
mrq               303 drivers/mmc/core/core.c 	if (mrq->cmd) {
mrq               304 drivers/mmc/core/core.c 		mrq->cmd->error = 0;
mrq               305 drivers/mmc/core/core.c 		mrq->cmd->mrq = mrq;
mrq               306 drivers/mmc/core/core.c 		mrq->cmd->data = mrq->data;
mrq               308 drivers/mmc/core/core.c 	if (mrq->sbc) {
mrq               309 drivers/mmc/core/core.c 		mrq->sbc->error = 0;
mrq               310 drivers/mmc/core/core.c 		mrq->sbc->mrq = mrq;
mrq               312 drivers/mmc/core/core.c 	if (mrq->data) {
mrq               313 drivers/mmc/core/core.c 		if (mrq->data->blksz > host->max_blk_size ||
mrq               314 drivers/mmc/core/core.c 		    mrq->data->blocks > host->max_blk_count ||
mrq               315 drivers/mmc/core/core.c 		    mrq->data->blocks * mrq->data->blksz > host->max_req_size)
mrq               318 drivers/mmc/core/core.c 		for_each_sg(mrq->data->sg, sg, mrq->data->sg_len, i)
mrq               320 drivers/mmc/core/core.c 		if (sz != mrq->data->blocks * mrq->data->blksz)
mrq               323 drivers/mmc/core/core.c 		mrq->data->error = 0;
mrq               324 drivers/mmc/core/core.c 		mrq->data->mrq = mrq;
mrq               325 drivers/mmc/core/core.c 		if (mrq->stop) {
mrq               326 drivers/mmc/core/core.c 			mrq->data->stop = mrq->stop;
mrq               327 drivers/mmc/core/core.c 			mrq->stop->error = 0;
mrq               328 drivers/mmc/core/core.c 			mrq->stop->mrq = mrq;
mrq               335 drivers/mmc/core/core.c int mmc_start_request(struct mmc_host *host, struct mmc_request *mrq)
mrq               339 drivers/mmc/core/core.c 	init_completion(&mrq->cmd_completion);
mrq               346 drivers/mmc/core/core.c 	mmc_mrq_pr_debug(host, mrq, false);
mrq               350 drivers/mmc/core/core.c 	err = mmc_mrq_prep(host, mrq);
mrq               355 drivers/mmc/core/core.c 	__mmc_start_request(host, mrq);
mrq               361 drivers/mmc/core/core.c static void mmc_wait_done(struct mmc_request *mrq)
mrq               363 drivers/mmc/core/core.c 	complete(&mrq->completion);
mrq               378 drivers/mmc/core/core.c static int __mmc_start_req(struct mmc_host *host, struct mmc_request *mrq)
mrq               384 drivers/mmc/core/core.c 	init_completion(&mrq->completion);
mrq               385 drivers/mmc/core/core.c 	mrq->done = mmc_wait_done;
mrq               387 drivers/mmc/core/core.c 	err = mmc_start_request(host, mrq);
mrq               389 drivers/mmc/core/core.c 		mrq->cmd->error = err;
mrq               390 drivers/mmc/core/core.c 		mmc_complete_cmd(mrq);
mrq               391 drivers/mmc/core/core.c 		complete(&mrq->completion);
mrq               397 drivers/mmc/core/core.c void mmc_wait_for_req_done(struct mmc_host *host, struct mmc_request *mrq)
mrq               402 drivers/mmc/core/core.c 		wait_for_completion(&mrq->completion);
mrq               404 drivers/mmc/core/core.c 		cmd = mrq->cmd;
mrq               433 drivers/mmc/core/core.c 		__mmc_start_request(host, mrq);
mrq               448 drivers/mmc/core/core.c int mmc_cqe_start_req(struct mmc_host *host, struct mmc_request *mrq)
mrq               462 drivers/mmc/core/core.c 	mrq->host = host;
mrq               464 drivers/mmc/core/core.c 	mmc_mrq_pr_debug(host, mrq, true);
mrq               466 drivers/mmc/core/core.c 	err = mmc_mrq_prep(host, mrq);
mrq               470 drivers/mmc/core/core.c 	err = host->cqe_ops->cqe_request(host, mrq);
mrq               474 drivers/mmc/core/core.c 	trace_mmc_request_start(host, mrq);
mrq               479 drivers/mmc/core/core.c 	if (mrq->cmd) {
mrq               481 drivers/mmc/core/core.c 			 mmc_hostname(host), mrq->cmd->opcode, err);
mrq               484 drivers/mmc/core/core.c 			 mmc_hostname(host), mrq->tag, err);
mrq               498 drivers/mmc/core/core.c void mmc_cqe_request_done(struct mmc_host *host, struct mmc_request *mrq)
mrq               500 drivers/mmc/core/core.c 	mmc_should_fail_request(host, mrq);
mrq               503 drivers/mmc/core/core.c 	if ((mrq->cmd && mrq->cmd->error == -EILSEQ) ||
mrq               504 drivers/mmc/core/core.c 	    (mrq->data && mrq->data->error == -EILSEQ))
mrq               507 drivers/mmc/core/core.c 	trace_mmc_request_done(host, mrq);
mrq               509 drivers/mmc/core/core.c 	if (mrq->cmd) {
mrq               511 drivers/mmc/core/core.c 			 mmc_hostname(host), mrq->cmd->opcode, mrq->cmd->error);
mrq               514 drivers/mmc/core/core.c 			 mmc_hostname(host), mrq->tag);
mrq               517 drivers/mmc/core/core.c 	if (mrq->data) {
mrq               520 drivers/mmc/core/core.c 			 mrq->data->bytes_xfered, mrq->data->error);
mrq               523 drivers/mmc/core/core.c 	mrq->done(mrq);
mrq               532 drivers/mmc/core/core.c void mmc_cqe_post_req(struct mmc_host *host, struct mmc_request *mrq)
mrq               535 drivers/mmc/core/core.c 		host->cqe_ops->cqe_post_req(host, mrq);
mrq               601 drivers/mmc/core/core.c bool mmc_is_req_done(struct mmc_host *host, struct mmc_request *mrq)
mrq               603 drivers/mmc/core/core.c 	return completion_done(&mrq->completion);
mrq               619 drivers/mmc/core/core.c void mmc_wait_for_req(struct mmc_host *host, struct mmc_request *mrq)
mrq               621 drivers/mmc/core/core.c 	__mmc_start_req(host, mrq);
mrq               623 drivers/mmc/core/core.c 	if (!mrq->cap_cmd_during_tfr)
mrq               624 drivers/mmc/core/core.c 		mmc_wait_for_req_done(host, mrq);
mrq               640 drivers/mmc/core/core.c 	struct mmc_request mrq = {};
mrq               647 drivers/mmc/core/core.c 	mrq.cmd = cmd;
mrq               650 drivers/mmc/core/core.c 	mmc_wait_for_req(host, &mrq);
mrq               104 drivers/mmc/core/core.h void mmc_wait_for_req_done(struct mmc_host *host, struct mmc_request *mrq);
mrq               105 drivers/mmc/core/core.h bool mmc_is_req_done(struct mmc_host *host, struct mmc_request *mrq);
mrq               107 drivers/mmc/core/core.h int mmc_start_request(struct mmc_host *host, struct mmc_request *mrq);
mrq               139 drivers/mmc/core/core.h int mmc_cqe_start_req(struct mmc_host *host, struct mmc_request *mrq);
mrq               140 drivers/mmc/core/core.h void mmc_cqe_post_req(struct mmc_host *host, struct mmc_request *mrq);
mrq               152 drivers/mmc/core/core.h static inline void mmc_pre_req(struct mmc_host *host, struct mmc_request *mrq)
mrq               155 drivers/mmc/core/core.h 		host->ops->pre_req(host, mrq);
mrq               167 drivers/mmc/core/core.h static inline void mmc_post_req(struct mmc_host *host, struct mmc_request *mrq,
mrq               171 drivers/mmc/core/core.h 		host->ops->post_req(host, mrq, err);
mrq               251 drivers/mmc/core/mmc_ops.c 	struct mmc_request mrq = {};
mrq               256 drivers/mmc/core/mmc_ops.c 	mrq.cmd = &cmd;
mrq               257 drivers/mmc/core/mmc_ops.c 	mrq.data = &data;
mrq               287 drivers/mmc/core/mmc_ops.c 	mmc_wait_for_req(host, &mrq);
mrq               613 drivers/mmc/core/mmc_ops.c 	struct mmc_request mrq = {};
mrq               635 drivers/mmc/core/mmc_ops.c 	mrq.cmd = &cmd;
mrq               636 drivers/mmc/core/mmc_ops.c 	mrq.data = &data;
mrq               656 drivers/mmc/core/mmc_ops.c 	mmc_wait_for_req(host, &mrq);
mrq               709 drivers/mmc/core/mmc_ops.c 	struct mmc_request mrq = {};
mrq               740 drivers/mmc/core/mmc_ops.c 	mrq.cmd = &cmd;
mrq               741 drivers/mmc/core/mmc_ops.c 	mrq.data = &data;
mrq               763 drivers/mmc/core/mmc_ops.c 	mmc_wait_for_req(host, &mrq);
mrq               189 drivers/mmc/core/mmc_test.c 				 struct mmc_request *mrq, unsigned int blocks)
mrq               193 drivers/mmc/core/mmc_test.c 	if (!mrq->sbc || !mmc_host_cmd23(card->host) ||
mrq               194 drivers/mmc/core/mmc_test.c 	    !mmc_test_card_cmd23(card) || !mmc_op_multi(mrq->cmd->opcode) ||
mrq               196 drivers/mmc/core/mmc_test.c 		mrq->sbc = NULL;
mrq               200 drivers/mmc/core/mmc_test.c 	mrq->sbc->opcode = MMC_SET_BLOCK_COUNT;
mrq               201 drivers/mmc/core/mmc_test.c 	mrq->sbc->arg = blocks;
mrq               202 drivers/mmc/core/mmc_test.c 	mrq->sbc->flags = MMC_RSP_R1 | MMC_CMD_AC;
mrq               209 drivers/mmc/core/mmc_test.c 	struct mmc_request *mrq, struct scatterlist *sg, unsigned sg_len,
mrq               212 drivers/mmc/core/mmc_test.c 	if (WARN_ON(!mrq || !mrq->cmd || !mrq->data || !mrq->stop))
mrq               216 drivers/mmc/core/mmc_test.c 		mrq->cmd->opcode = write ?
mrq               219 drivers/mmc/core/mmc_test.c 		mrq->cmd->opcode = write ?
mrq               223 drivers/mmc/core/mmc_test.c 	mrq->cmd->arg = dev_addr;
mrq               225 drivers/mmc/core/mmc_test.c 		mrq->cmd->arg <<= 9;
mrq               227 drivers/mmc/core/mmc_test.c 	mrq->cmd->flags = MMC_RSP_R1 | MMC_CMD_ADTC;
mrq               230 drivers/mmc/core/mmc_test.c 		mrq->stop = NULL;
mrq               232 drivers/mmc/core/mmc_test.c 		mrq->stop->opcode = MMC_STOP_TRANSMISSION;
mrq               233 drivers/mmc/core/mmc_test.c 		mrq->stop->arg = 0;
mrq               234 drivers/mmc/core/mmc_test.c 		mrq->stop->flags = MMC_RSP_R1B | MMC_CMD_AC;
mrq               237 drivers/mmc/core/mmc_test.c 	mrq->data->blksz = blksz;
mrq               238 drivers/mmc/core/mmc_test.c 	mrq->data->blocks = blocks;
mrq               239 drivers/mmc/core/mmc_test.c 	mrq->data->flags = write ? MMC_DATA_WRITE : MMC_DATA_READ;
mrq               240 drivers/mmc/core/mmc_test.c 	mrq->data->sg = sg;
mrq               241 drivers/mmc/core/mmc_test.c 	mrq->data->sg_len = sg_len;
mrq               243 drivers/mmc/core/mmc_test.c 	mmc_test_prepare_sbc(test, mrq, blocks);
mrq               245 drivers/mmc/core/mmc_test.c 	mmc_set_data_timeout(mrq->data, test->card);
mrq               291 drivers/mmc/core/mmc_test.c 	struct mmc_request mrq = {};
mrq               298 drivers/mmc/core/mmc_test.c 	mrq.cmd = &cmd;
mrq               299 drivers/mmc/core/mmc_test.c 	mrq.data = &data;
mrq               300 drivers/mmc/core/mmc_test.c 	mrq.stop = &stop;
mrq               304 drivers/mmc/core/mmc_test.c 	mmc_test_prepare_mrq(test, &mrq, &sg, 1, addr, 1, blksz, write);
mrq               306 drivers/mmc/core/mmc_test.c 	mmc_wait_for_req(test->card->host, &mrq);
mrq               686 drivers/mmc/core/mmc_test.c 	struct mmc_request *mrq, int write)
mrq               688 drivers/mmc/core/mmc_test.c 	if (WARN_ON(!mrq || !mrq->cmd || !mrq->data))
mrq               691 drivers/mmc/core/mmc_test.c 	if (mrq->data->blocks > 1) {
mrq               692 drivers/mmc/core/mmc_test.c 		mrq->cmd->opcode = write ?
mrq               694 drivers/mmc/core/mmc_test.c 		mrq->stop = NULL;
mrq               696 drivers/mmc/core/mmc_test.c 		mrq->cmd->opcode = MMC_SEND_STATUS;
mrq               697 drivers/mmc/core/mmc_test.c 		mrq->cmd->arg = test->card->rca << 16;
mrq               705 drivers/mmc/core/mmc_test.c 				 struct mmc_request *mrq)
mrq               709 drivers/mmc/core/mmc_test.c 	if (WARN_ON(!mrq || !mrq->cmd || !mrq->data))
mrq               714 drivers/mmc/core/mmc_test.c 	if (mrq->sbc && mrq->sbc->error)
mrq               715 drivers/mmc/core/mmc_test.c 		ret = mrq->sbc->error;
mrq               716 drivers/mmc/core/mmc_test.c 	if (!ret && mrq->cmd->error)
mrq               717 drivers/mmc/core/mmc_test.c 		ret = mrq->cmd->error;
mrq               718 drivers/mmc/core/mmc_test.c 	if (!ret && mrq->data->error)
mrq               719 drivers/mmc/core/mmc_test.c 		ret = mrq->data->error;
mrq               720 drivers/mmc/core/mmc_test.c 	if (!ret && mrq->stop && mrq->stop->error)
mrq               721 drivers/mmc/core/mmc_test.c 		ret = mrq->stop->error;
mrq               722 drivers/mmc/core/mmc_test.c 	if (!ret && mrq->data->bytes_xfered !=
mrq               723 drivers/mmc/core/mmc_test.c 		mrq->data->blocks * mrq->data->blksz)
mrq               736 drivers/mmc/core/mmc_test.c 	struct mmc_request *mrq)
mrq               740 drivers/mmc/core/mmc_test.c 	if (WARN_ON(!mrq || !mrq->cmd || !mrq->data))
mrq               745 drivers/mmc/core/mmc_test.c 	if (!ret && mrq->cmd->error)
mrq               746 drivers/mmc/core/mmc_test.c 		ret = mrq->cmd->error;
mrq               747 drivers/mmc/core/mmc_test.c 	if (!ret && mrq->data->error == 0)
mrq               749 drivers/mmc/core/mmc_test.c 	if (!ret && mrq->data->error != -ETIMEDOUT)
mrq               750 drivers/mmc/core/mmc_test.c 		ret = mrq->data->error;
mrq               751 drivers/mmc/core/mmc_test.c 	if (!ret && mrq->stop && mrq->stop->error)
mrq               752 drivers/mmc/core/mmc_test.c 		ret = mrq->stop->error;
mrq               753 drivers/mmc/core/mmc_test.c 	if (mrq->data->blocks > 1) {
mrq               754 drivers/mmc/core/mmc_test.c 		if (!ret && mrq->data->bytes_xfered > mrq->data->blksz)
mrq               757 drivers/mmc/core/mmc_test.c 		if (!ret && mrq->data->bytes_xfered > 0)
mrq               768 drivers/mmc/core/mmc_test.c 	struct mmc_request mrq;
mrq               783 drivers/mmc/core/mmc_test.c 	rq->mrq.cmd = &rq->cmd;
mrq               784 drivers/mmc/core/mmc_test.c 	rq->mrq.data = &rq->data;
mrq               785 drivers/mmc/core/mmc_test.c 	rq->mrq.stop = &rq->stop;
mrq               798 drivers/mmc/core/mmc_test.c static void mmc_test_wait_done(struct mmc_request *mrq)
mrq               800 drivers/mmc/core/mmc_test.c 	complete(&mrq->completion);
mrq               804 drivers/mmc/core/mmc_test.c 			       struct mmc_request *mrq,
mrq               810 drivers/mmc/core/mmc_test.c 	if (mrq) {
mrq               811 drivers/mmc/core/mmc_test.c 		init_completion(&mrq->completion);
mrq               812 drivers/mmc/core/mmc_test.c 		mrq->done = mmc_test_wait_done;
mrq               813 drivers/mmc/core/mmc_test.c 		mmc_pre_req(host, mrq);
mrq               823 drivers/mmc/core/mmc_test.c 	if (!err && mrq) {
mrq               824 drivers/mmc/core/mmc_test.c 		err = mmc_start_request(host, mrq);
mrq               832 drivers/mmc/core/mmc_test.c 	if (err && mrq)
mrq               833 drivers/mmc/core/mmc_test.c 		mmc_post_req(host, mrq, err);
mrq               844 drivers/mmc/core/mmc_test.c 	struct mmc_request *mrq, *prev_mrq;
mrq               855 drivers/mmc/core/mmc_test.c 	mrq = &rq1->mrq;
mrq               859 drivers/mmc/core/mmc_test.c 		mmc_test_req_reset(container_of(mrq, struct mmc_test_req, mrq));
mrq               860 drivers/mmc/core/mmc_test.c 		mmc_test_prepare_mrq(test, mrq, sg, sg_len, dev_addr, blocks,
mrq               862 drivers/mmc/core/mmc_test.c 		ret = mmc_test_start_areq(test, mrq, prev_mrq);
mrq               867 drivers/mmc/core/mmc_test.c 			prev_mrq = &rq2->mrq;
mrq               869 drivers/mmc/core/mmc_test.c 		swap(mrq, prev_mrq);
mrq               887 drivers/mmc/core/mmc_test.c 	struct mmc_request mrq = {};
mrq               892 drivers/mmc/core/mmc_test.c 	mrq.cmd = &cmd;
mrq               893 drivers/mmc/core/mmc_test.c 	mrq.data = &data;
mrq               894 drivers/mmc/core/mmc_test.c 	mrq.stop = &stop;
mrq               896 drivers/mmc/core/mmc_test.c 	mmc_test_prepare_mrq(test, &mrq, sg, sg_len, dev_addr,
mrq               899 drivers/mmc/core/mmc_test.c 	mmc_wait_for_req(test->card->host, &mrq);
mrq               903 drivers/mmc/core/mmc_test.c 	return mmc_test_check_result(test, &mrq);
mrq               912 drivers/mmc/core/mmc_test.c 	struct mmc_request mrq = {};
mrq               919 drivers/mmc/core/mmc_test.c 	mrq.cmd = &cmd;
mrq               920 drivers/mmc/core/mmc_test.c 	mrq.data = &data;
mrq               921 drivers/mmc/core/mmc_test.c 	mrq.stop = &stop;
mrq               925 drivers/mmc/core/mmc_test.c 	mmc_test_prepare_mrq(test, &mrq, &sg, 1, 0, blocks, blksz, write);
mrq               926 drivers/mmc/core/mmc_test.c 	mmc_test_prepare_broken_mrq(test, &mrq, write);
mrq               928 drivers/mmc/core/mmc_test.c 	mmc_wait_for_req(test->card->host, &mrq);
mrq               932 drivers/mmc/core/mmc_test.c 	return mmc_test_check_broken_result(test, &mrq);
mrq              2354 drivers/mmc/core/mmc_test.c 	struct mmc_request *mrq;
mrq              2364 drivers/mmc/core/mmc_test.c 	mrq = &rq->mrq;
mrq              2366 drivers/mmc/core/mmc_test.c 		mrq->sbc = &rq->sbc;
mrq              2367 drivers/mmc/core/mmc_test.c 	mrq->cap_cmd_during_tfr = true;
mrq              2369 drivers/mmc/core/mmc_test.c 	mmc_test_prepare_mrq(test, mrq, t->sg, t->sg_len, dev_addr, t->blocks,
mrq              2372 drivers/mmc/core/mmc_test.c 	if (use_sbc && t->blocks > 1 && !mrq->sbc) {
mrq              2381 drivers/mmc/core/mmc_test.c 		ret = mmc_test_start_areq(test, mrq, NULL);
mrq              2385 drivers/mmc/core/mmc_test.c 		mmc_wait_for_req(host, mrq);
mrq              2403 drivers/mmc/core/mmc_test.c 		if (mmc_is_req_done(host, mrq))
mrq              2417 drivers/mmc/core/mmc_test.c 		ret = mmc_test_start_areq(test, NULL, mrq);
mrq              2419 drivers/mmc/core/mmc_test.c 		mmc_wait_for_req_done(test->card->host, mrq);
mrq              2426 drivers/mmc/core/mmc_test.c 	if (mrq->data->stop && (mrq->data->error || !mrq->sbc)) {
mrq              2428 drivers/mmc/core/mmc_test.c 			mmc_wait_for_cmd(host, mrq->data->stop, 0);
mrq              2430 drivers/mmc/core/mmc_test.c 			ret = mmc_wait_for_cmd(host, mrq->data->stop, 0);
mrq              2441 drivers/mmc/core/mmc_test.c 	ret = mmc_test_check_result(test, mrq);
mrq                82 drivers/mmc/core/queue.c void mmc_cqe_recovery_notifier(struct mmc_request *mrq)
mrq                84 drivers/mmc/core/queue.c 	struct mmc_queue_req *mqrq = container_of(mrq, struct mmc_queue_req,
mrq                85 drivers/mmc/core/queue.c 						  brq.mrq);
mrq                99 drivers/mmc/core/queue.c 	struct mmc_request *mrq = &mqrq->brq.mrq;
mrq               108 drivers/mmc/core/queue.c 		if (host->cqe_ops->cqe_timeout(host, mrq, &recovery_needed)) {
mrq               110 drivers/mmc/core/queue.c 				mmc_cqe_recovery_notifier(mrq);
mrq                41 drivers/mmc/core/queue.h 	struct mmc_request	mrq;
mrq               107 drivers/mmc/core/queue.h void mmc_cqe_recovery_notifier(struct mmc_request *mrq);
mrq                54 drivers/mmc/core/sd_ops.c 	struct mmc_request mrq = {};
mrq                72 drivers/mmc/core/sd_ops.c 		memset(&mrq, 0, sizeof(struct mmc_request));
mrq                77 drivers/mmc/core/sd_ops.c 		mrq.cmd = cmd;
mrq                80 drivers/mmc/core/sd_ops.c 		mmc_wait_for_req(host, &mrq);
mrq               213 drivers/mmc/core/sd_ops.c 	struct mmc_request mrq = {};
mrq               232 drivers/mmc/core/sd_ops.c 	mrq.cmd = &cmd;
mrq               233 drivers/mmc/core/sd_ops.c 	mrq.data = &data;
mrq               249 drivers/mmc/core/sd_ops.c 	mmc_wait_for_req(card->host, &mrq);
mrq               267 drivers/mmc/core/sd_ops.c 	struct mmc_request mrq = {};
mrq               277 drivers/mmc/core/sd_ops.c 	mrq.cmd = &cmd;
mrq               278 drivers/mmc/core/sd_ops.c 	mrq.data = &data;
mrq               296 drivers/mmc/core/sd_ops.c 	mmc_wait_for_req(card->host, &mrq);
mrq               309 drivers/mmc/core/sd_ops.c 	struct mmc_request mrq = {};
mrq               320 drivers/mmc/core/sd_ops.c 	mrq.cmd = &cmd;
mrq               321 drivers/mmc/core/sd_ops.c 	mrq.data = &data;
mrq               337 drivers/mmc/core/sd_ops.c 	mmc_wait_for_req(card->host, &mrq);
mrq               117 drivers/mmc/core/sdio_ops.c 	struct mmc_request mrq = {};
mrq               131 drivers/mmc/core/sdio_ops.c 	mrq.cmd = &cmd;
mrq               132 drivers/mmc/core/sdio_ops.c 	mrq.data = &data;
mrq               173 drivers/mmc/core/sdio_ops.c 	mmc_wait_for_req(card->host, &mrq);
mrq                46 drivers/mmc/host/alcor.c 	struct mmc_request *mrq;
mrq               317 drivers/mmc/host/alcor.c 	struct mmc_request *mrq;
mrq               323 drivers/mmc/host/alcor.c 	if (!host->mrq)
mrq               329 drivers/mmc/host/alcor.c 	mrq = host->mrq;
mrq               331 drivers/mmc/host/alcor.c 	host->mrq = NULL;
mrq               336 drivers/mmc/host/alcor.c 	mmc_request_done(mmc_from_priv(host), mrq);
mrq               366 drivers/mmc/host/alcor.c 	     !host->mrq->sbc)) {
mrq               552 drivers/mmc/host/alcor.c 	if (host->mrq) {
mrq               561 drivers/mmc/host/alcor.c 			host->mrq->cmd->error = -ENOMEDIUM;
mrq               756 drivers/mmc/host/alcor.c static void alcor_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq               762 drivers/mmc/host/alcor.c 	host->mrq = mrq;
mrq               766 drivers/mmc/host/alcor.c 		alcor_send_cmd(host, mrq->cmd, true);
mrq               768 drivers/mmc/host/alcor.c 		mrq->cmd->error = -ENOMEDIUM;
mrq               776 drivers/mmc/host/alcor.c 			   struct mmc_request *mrq)
mrq               779 drivers/mmc/host/alcor.c 	struct mmc_data *data = mrq->data;
mrq               780 drivers/mmc/host/alcor.c 	struct mmc_command *cmd = mrq->cmd;
mrq               826 drivers/mmc/host/alcor.c 			    struct mmc_request *mrq,
mrq               830 drivers/mmc/host/alcor.c 	struct mmc_data *data = mrq->data;
mrq               969 drivers/mmc/host/alcor.c 	if (host->mrq) {
mrq               978 drivers/mmc/host/alcor.c 				host->mrq->cmd->error = -ETIMEDOUT;
mrq               110 drivers/mmc/host/android-goldfish.c 	struct mmc_request	*mrq;
mrq               234 drivers/mmc/host/android-goldfish.c 		host->mrq = NULL;
mrq               235 drivers/mmc/host/android-goldfish.c 		mmc_request_done(mmc_from_priv(host), data->mrq);
mrq               276 drivers/mmc/host/android-goldfish.c 		host->mrq = NULL;
mrq               277 drivers/mmc/host/android-goldfish.c 		mmc_request_done(mmc_from_priv(host), cmd->mrq);
mrq               309 drivers/mmc/host/android-goldfish.c 		struct mmc_request *mrq = host->mrq;
mrq               310 drivers/mmc/host/android-goldfish.c 		mrq->cmd->error = -ETIMEDOUT;
mrq               311 drivers/mmc/host/android-goldfish.c 		host->mrq = NULL;
mrq               312 drivers/mmc/host/android-goldfish.c 		mmc_request_done(mmc_from_priv(host), mrq);
mrq               402 drivers/mmc/host/android-goldfish.c 	WARN_ON(host->mrq != NULL);
mrq               404 drivers/mmc/host/android-goldfish.c 	host->mrq = req;
mrq               315 drivers/mmc/host/atmel-mci.c 	struct mmc_request	*mrq;
mrq               379 drivers/mmc/host/atmel-mci.c 	struct mmc_request	*mrq;
mrq               409 drivers/mmc/host/atmel-mci.c 	struct mmc_request	*mrq;
mrq               416 drivers/mmc/host/atmel-mci.c 	mrq = slot->mrq;
mrq               418 drivers/mmc/host/atmel-mci.c 	if (mrq) {
mrq               419 drivers/mmc/host/atmel-mci.c 		cmd = mrq->cmd;
mrq               420 drivers/mmc/host/atmel-mci.c 		data = mrq->data;
mrq               421 drivers/mmc/host/atmel-mci.c 		stop = mrq->stop;
mrq               695 drivers/mmc/host/atmel-mci.c 	if (host->mrq->cmd->data) {
mrq               696 drivers/mmc/host/atmel-mci.c 		host->mrq->cmd->data->error = -ETIMEDOUT;
mrq               706 drivers/mmc/host/atmel-mci.c 		host->mrq->cmd->error = -ETIMEDOUT;
mrq              1228 drivers/mmc/host/atmel-mci.c 	struct mmc_request	*mrq;
mrq              1234 drivers/mmc/host/atmel-mci.c 	mrq = slot->mrq;
mrq              1236 drivers/mmc/host/atmel-mci.c 	host->mrq = mrq;
mrq              1243 drivers/mmc/host/atmel-mci.c 	dev_dbg(&host->pdev->dev, "start request: cmd %u\n", mrq->cmd->opcode);
mrq              1270 drivers/mmc/host/atmel-mci.c 	data = mrq->data;
mrq              1284 drivers/mmc/host/atmel-mci.c 	cmd = mrq->cmd;
mrq              1302 drivers/mmc/host/atmel-mci.c 	if (mrq->stop) {
mrq              1303 drivers/mmc/host/atmel-mci.c 		host->stop_cmdr = atmci_prepare_command(slot->mmc, mrq->stop);
mrq              1322 drivers/mmc/host/atmel-mci.c 		struct atmel_mci_slot *slot, struct mmc_request *mrq)
mrq              1328 drivers/mmc/host/atmel-mci.c 	slot->mrq = mrq;
mrq              1339 drivers/mmc/host/atmel-mci.c static void atmci_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq              1345 drivers/mmc/host/atmel-mci.c 	WARN_ON(slot->mrq);
mrq              1346 drivers/mmc/host/atmel-mci.c 	dev_dbg(&host->pdev->dev, "MRQ: cmd %u\n", mrq->cmd->opcode);
mrq              1357 drivers/mmc/host/atmel-mci.c 		mrq->cmd->error = -ENOMEDIUM;
mrq              1358 drivers/mmc/host/atmel-mci.c 		mmc_request_done(mmc, mrq);
mrq              1363 drivers/mmc/host/atmel-mci.c 	data = mrq->data;
mrq              1365 drivers/mmc/host/atmel-mci.c 		mrq->cmd->error = -EINVAL;
mrq              1366 drivers/mmc/host/atmel-mci.c 		mmc_request_done(mmc, mrq);
mrq              1369 drivers/mmc/host/atmel-mci.c 	atmci_queue_request(host, slot, mrq);
mrq              1551 drivers/mmc/host/atmel-mci.c static void atmci_request_end(struct atmel_mci *host, struct mmc_request *mrq)
mrq              1571 drivers/mmc/host/atmel-mci.c 	host->cur_slot->mrq = NULL;
mrq              1572 drivers/mmc/host/atmel-mci.c 	host->mrq = NULL;
mrq              1589 drivers/mmc/host/atmel-mci.c 	mmc_request_done(prev_mmc, mrq);
mrq              1610 drivers/mmc/host/atmel-mci.c 	else if (host->mrq->data && (host->mrq->data->blksz & 3)) {
mrq              1645 drivers/mmc/host/atmel-mci.c 		struct mmc_request	*mrq;
mrq              1658 drivers/mmc/host/atmel-mci.c 		mrq = slot->mrq;
mrq              1659 drivers/mmc/host/atmel-mci.c 		if (mrq) {
mrq              1660 drivers/mmc/host/atmel-mci.c 			if (mrq == host->mrq) {
mrq              1678 drivers/mmc/host/atmel-mci.c 					mrq->cmd->error = -ENOMEDIUM;
mrq              1679 drivers/mmc/host/atmel-mci.c 					if (mrq->data)
mrq              1683 drivers/mmc/host/atmel-mci.c 					mrq->data->error = -ENOMEDIUM;
mrq              1687 drivers/mmc/host/atmel-mci.c 					mrq->data->error = -ENOMEDIUM;
mrq              1690 drivers/mmc/host/atmel-mci.c 					mrq->stop->error = -ENOMEDIUM;
mrq              1696 drivers/mmc/host/atmel-mci.c 				atmci_request_end(host, mrq);
mrq              1699 drivers/mmc/host/atmel-mci.c 				mrq->cmd->error = -ENOMEDIUM;
mrq              1700 drivers/mmc/host/atmel-mci.c 				if (mrq->data)
mrq              1701 drivers/mmc/host/atmel-mci.c 					mrq->data->error = -ENOMEDIUM;
mrq              1702 drivers/mmc/host/atmel-mci.c 				if (mrq->stop)
mrq              1703 drivers/mmc/host/atmel-mci.c 					mrq->stop->error = -ENOMEDIUM;
mrq              1706 drivers/mmc/host/atmel-mci.c 				mmc_request_done(slot->mmc, mrq);
mrq              1719 drivers/mmc/host/atmel-mci.c 	struct mmc_request	*mrq = host->mrq;
mrq              1757 drivers/mmc/host/atmel-mci.c 			atmci_command_complete(host, mrq->cmd);
mrq              1758 drivers/mmc/host/atmel-mci.c 			if (mrq->data) {
mrq              1765 drivers/mmc/host/atmel-mci.c 				if (mrq->cmd->error) {
mrq              1774 drivers/mmc/host/atmel-mci.c 			} else if ((!mrq->data) && (mrq->cmd->flags & MMC_RSP_BUSY)) {
mrq              1814 drivers/mmc/host/atmel-mci.c 			} else if (host->mrq->stop) {
mrq              1847 drivers/mmc/host/atmel-mci.c 				if (host->mrq->stop) {
mrq              1879 drivers/mmc/host/atmel-mci.c 			atmci_command_complete(host, mrq->stop);
mrq              1880 drivers/mmc/host/atmel-mci.c 			if (mrq->stop->error) {
mrq              1911 drivers/mmc/host/atmel-mci.c 			atmci_request_end(host, host->mrq);
mrq                90 drivers/mmc/host/au1xmmc.c 	struct mmc_request *mrq;
mrq               239 drivers/mmc/host/au1xmmc.c 	struct mmc_request *mrq = host->mrq;
mrq               241 drivers/mmc/host/au1xmmc.c 	host->mrq = NULL;
mrq               253 drivers/mmc/host/au1xmmc.c 	mmc_request_done(host->mmc, mrq);
mrq               333 drivers/mmc/host/au1xmmc.c 	struct mmc_request *mrq = host->mrq;
mrq               339 drivers/mmc/host/au1xmmc.c 	if (host->mrq == NULL)
mrq               342 drivers/mmc/host/au1xmmc.c 	data = mrq->cmd->data;
mrq               400 drivers/mmc/host/au1xmmc.c 	data = host->mrq->data;
mrq               456 drivers/mmc/host/au1xmmc.c 	data = host->mrq->data;
mrq               533 drivers/mmc/host/au1xmmc.c 	struct mmc_request *mrq = host->mrq;
mrq               538 drivers/mmc/host/au1xmmc.c 	if (!host->mrq)
mrq               541 drivers/mmc/host/au1xmmc.c 	cmd = mrq->cmd;
mrq               627 drivers/mmc/host/au1xmmc.c 	if (host->mrq->stop)
mrq               690 drivers/mmc/host/au1xmmc.c static void au1xmmc_request(struct mmc_host* mmc, struct mmc_request* mrq)
mrq               698 drivers/mmc/host/au1xmmc.c 	host->mrq = mrq;
mrq               703 drivers/mmc/host/au1xmmc.c 		mrq->cmd->error = -ENOMEDIUM;
mrq               708 drivers/mmc/host/au1xmmc.c 	if (mrq->data) {
mrq               710 drivers/mmc/host/au1xmmc.c 		ret = au1xmmc_prepare_data(host, mrq->data);
mrq               714 drivers/mmc/host/au1xmmc.c 		ret = au1xmmc_send_command(host, 0, mrq->cmd, mrq->data);
mrq               717 drivers/mmc/host/au1xmmc.c 		mrq->cmd->error = ret;
mrq               806 drivers/mmc/host/au1xmmc.c 	if (host->mrq && (status & STATUS_TIMEOUT)) {
mrq               808 drivers/mmc/host/au1xmmc.c 			host->mrq->cmd->error = -ETIMEDOUT;
mrq               810 drivers/mmc/host/au1xmmc.c 			host->mrq->data->error = -ETIMEDOUT;
mrq               867 drivers/mmc/host/au1xmmc.c 	if (!host->mrq)
mrq               167 drivers/mmc/host/bcm2835.c 	struct mmc_request	*mrq;		/* Current request */
mrq               209 drivers/mmc/host/bcm2835.c 	struct mmc_request *mrq = host->mrq;
mrq               212 drivers/mmc/host/bcm2835.c 	if (mrq) {
mrq               213 drivers/mmc/host/bcm2835.c 		bcm2835_dumpcmd(host, mrq->sbc, "sbc");
mrq               214 drivers/mmc/host/bcm2835.c 		bcm2835_dumpcmd(host, mrq->cmd, "cmd");
mrq               215 drivers/mmc/host/bcm2835.c 		if (mrq->data) {
mrq               217 drivers/mmc/host/bcm2835.c 				mrq->data->blocks,
mrq               218 drivers/mmc/host/bcm2835.c 				mrq->data->blksz,
mrq               219 drivers/mmc/host/bcm2835.c 				mrq->data->error);
mrq               221 drivers/mmc/host/bcm2835.c 		bcm2835_dumpcmd(host, mrq->stop, "stop");
mrq               288 drivers/mmc/host/bcm2835.c 	alternate_idle = (host->mrq->data->flags & MMC_DATA_READ) ?
mrq               314 drivers/mmc/host/bcm2835.c 			host->mrq->data->error = -ETIMEDOUT;
mrq               598 drivers/mmc/host/bcm2835.c 	struct mmc_request *mrq;
mrq               602 drivers/mmc/host/bcm2835.c 	mrq = host->mrq;
mrq               604 drivers/mmc/host/bcm2835.c 	host->mrq = NULL;
mrq               620 drivers/mmc/host/bcm2835.c 	mmc_request_done(mmc_from_priv(host), mrq);
mrq               704 drivers/mmc/host/bcm2835.c 	if (host->mrq->stop && (data->error || !host->use_sbc)) {
mrq               705 drivers/mmc/host/bcm2835.c 		if (bcm2835_send_command(host, host->mrq->stop)) {
mrq               800 drivers/mmc/host/bcm2835.c 	if (cmd == host->mrq->sbc) {
mrq               803 drivers/mmc/host/bcm2835.c 		if (bcm2835_send_command(host, host->mrq->cmd)) {
mrq               813 drivers/mmc/host/bcm2835.c 	} else if (cmd == host->mrq->stop) {
mrq               835 drivers/mmc/host/bcm2835.c 	if (host->mrq) {
mrq               848 drivers/mmc/host/bcm2835.c 				host->mrq->cmd->error = -ETIMEDOUT;
mrq               872 drivers/mmc/host/bcm2835.c 		if (host->mrq->data)
mrq               873 drivers/mmc/host/bcm2835.c 			host->mrq->data->error = -EILSEQ;
mrq               877 drivers/mmc/host/bcm2835.c 		if (host->mrq->data)
mrq               878 drivers/mmc/host/bcm2835.c 			host->mrq->data->error = -ETIMEDOUT;
mrq              1160 drivers/mmc/host/bcm2835.c static void bcm2835_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq              1167 drivers/mmc/host/bcm2835.c 	if (mrq->sbc)
mrq              1168 drivers/mmc/host/bcm2835.c 		mrq->sbc->error = 0;
mrq              1169 drivers/mmc/host/bcm2835.c 	if (mrq->cmd)
mrq              1170 drivers/mmc/host/bcm2835.c 		mrq->cmd->error = 0;
mrq              1171 drivers/mmc/host/bcm2835.c 	if (mrq->data)
mrq              1172 drivers/mmc/host/bcm2835.c 		mrq->data->error = 0;
mrq              1173 drivers/mmc/host/bcm2835.c 	if (mrq->stop)
mrq              1174 drivers/mmc/host/bcm2835.c 		mrq->stop->error = 0;
mrq              1176 drivers/mmc/host/bcm2835.c 	if (mrq->data && !is_power_of_2(mrq->data->blksz)) {
mrq              1178 drivers/mmc/host/bcm2835.c 			mrq->data->blksz);
mrq              1180 drivers/mmc/host/bcm2835.c 		if (mrq->cmd)
mrq              1181 drivers/mmc/host/bcm2835.c 			mrq->cmd->error = -EINVAL;
mrq              1183 drivers/mmc/host/bcm2835.c 		mmc_request_done(mmc, mrq);
mrq              1189 drivers/mmc/host/bcm2835.c 	WARN_ON(host->mrq);
mrq              1190 drivers/mmc/host/bcm2835.c 	host->mrq = mrq;
mrq              1202 drivers/mmc/host/bcm2835.c 		if (mrq->cmd)
mrq              1203 drivers/mmc/host/bcm2835.c 			mrq->cmd->error = -EILSEQ;
mrq              1210 drivers/mmc/host/bcm2835.c 	if (host->use_dma && mrq->data && (mrq->data->blocks > PIO_THRESHOLD))
mrq              1211 drivers/mmc/host/bcm2835.c 		bcm2835_prepare_dma(host, mrq->data);
mrq              1213 drivers/mmc/host/bcm2835.c 	host->use_sbc = !!mrq->sbc && host->mrq->data &&
mrq              1214 drivers/mmc/host/bcm2835.c 			(host->mrq->data->flags & MMC_DATA_READ);
mrq              1216 drivers/mmc/host/bcm2835.c 		if (bcm2835_send_command(host, mrq->sbc)) {
mrq              1220 drivers/mmc/host/bcm2835.c 	} else if (mrq->cmd && bcm2835_send_command(host, mrq->cmd)) {
mrq               626 drivers/mmc/host/cavium.c static u64 prepare_ext_dma(struct mmc_host *mmc, struct mmc_request *mrq)
mrq               635 drivers/mmc/host/cavium.c 			     (mrq->data->flags & MMC_DATA_WRITE) ? 1 : 0) |
mrq               636 drivers/mmc/host/cavium.c 		  FIELD_PREP(MIO_EMM_DMA_BLOCK_CNT, mrq->data->blocks) |
mrq               637 drivers/mmc/host/cavium.c 		  FIELD_PREP(MIO_EMM_DMA_CARD_ADDR, mrq->cmd->arg);
mrq               646 drivers/mmc/host/cavium.c 		 mrq->data->blocks, (emm_dma & MIO_EMM_DMA_MULTI) ? 1 : 0);
mrq               651 drivers/mmc/host/cavium.c 				struct mmc_request *mrq)
mrq               658 drivers/mmc/host/cavium.c 	if (!mrq->data || !mrq->data->sg || !mrq->data->sg_len ||
mrq               659 drivers/mmc/host/cavium.c 	    !mrq->stop || mrq->stop->opcode != MMC_STOP_TRANSMISSION) {
mrq               667 drivers/mmc/host/cavium.c 	data = mrq->data;
mrq               674 drivers/mmc/host/cavium.c 	host->current_req = mrq;
mrq               676 drivers/mmc/host/cavium.c 	emm_dma = prepare_ext_dma(mmc, mrq);
mrq               688 drivers/mmc/host/cavium.c 		host->dmar_fixup(host, mrq->cmd, data, addr);
mrq               703 drivers/mmc/host/cavium.c 	mrq->cmd->error = -EINVAL;
mrq               704 drivers/mmc/host/cavium.c 	if (mrq->done)
mrq               705 drivers/mmc/host/cavium.c 		mrq->done(mrq);
mrq               709 drivers/mmc/host/cavium.c static void do_read_request(struct cvm_mmc_host *host, struct mmc_request *mrq)
mrq               711 drivers/mmc/host/cavium.c 	sg_miter_start(&host->smi, mrq->data->sg, mrq->data->sg_len,
mrq               715 drivers/mmc/host/cavium.c static void do_write_request(struct cvm_mmc_host *host, struct mmc_request *mrq)
mrq               717 drivers/mmc/host/cavium.c 	unsigned int data_len = mrq->data->blocks * mrq->data->blksz;
mrq               724 drivers/mmc/host/cavium.c 	sg_miter_start(smi, mrq->data->sg, mrq->data->sg_len, SG_MITER_FROM_SG);
mrq               752 drivers/mmc/host/cavium.c static void cvm_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq               756 drivers/mmc/host/cavium.c 	struct mmc_command *cmd = mrq->cmd;
mrq               774 drivers/mmc/host/cavium.c 		return cvm_mmc_dma_request(mmc, mrq);
mrq               781 drivers/mmc/host/cavium.c 	host->current_req = mrq;
mrq               785 drivers/mmc/host/cavium.c 			do_read_request(host, mrq);
mrq               787 drivers/mmc/host/cavium.c 			do_write_request(host, mrq);
mrq               481 drivers/mmc/host/cb710-mmc.c static void cb710_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq               486 drivers/mmc/host/cb710-mmc.c 	WARN_ON(reader->mrq != NULL);
mrq               488 drivers/mmc/host/cb710-mmc.c 	reader->mrq = mrq;
mrq               491 drivers/mmc/host/cb710-mmc.c 	if (!cb710_mmc_command(mmc, mrq->cmd) && mrq->stop)
mrq               492 drivers/mmc/host/cb710-mmc.c 		cb710_mmc_command(mmc, mrq->stop);
mrq               651 drivers/mmc/host/cb710-mmc.c 	struct mmc_request *mrq = reader->mrq;
mrq               653 drivers/mmc/host/cb710-mmc.c 	reader->mrq = NULL;
mrq               654 drivers/mmc/host/cb710-mmc.c 	mmc_request_done(mmc, mrq);
mrq                15 drivers/mmc/host/cb710-mmc.h 	struct mmc_request *mrq;
mrq                26 drivers/mmc/host/cqhci.c 	struct mmc_request *mrq;
mrq               401 drivers/mmc/host/cqhci.c static void cqhci_prep_task_desc(struct mmc_request *mrq,
mrq               404 drivers/mmc/host/cqhci.c 	u32 req_flags = mrq->data->flags;
mrq               416 drivers/mmc/host/cqhci.c 		CQHCI_BLK_COUNT(mrq->data->blocks) |
mrq               417 drivers/mmc/host/cqhci.c 		CQHCI_BLK_ADDR((u64)mrq->data->blk_addr);
mrq               420 drivers/mmc/host/cqhci.c 		 mmc_hostname(mrq->host), mrq->tag, (unsigned long long)*data);
mrq               423 drivers/mmc/host/cqhci.c static int cqhci_dma_map(struct mmc_host *host, struct mmc_request *mrq)
mrq               426 drivers/mmc/host/cqhci.c 	struct mmc_data *data = mrq->data;
mrq               465 drivers/mmc/host/cqhci.c static int cqhci_prep_tran_desc(struct mmc_request *mrq,
mrq               468 drivers/mmc/host/cqhci.c 	struct mmc_data *data = mrq->data;
mrq               476 drivers/mmc/host/cqhci.c 	sg_count = cqhci_dma_map(mrq->host, mrq);
mrq               479 drivers/mmc/host/cqhci.c 				mmc_hostname(mrq->host), __func__, sg_count);
mrq               499 drivers/mmc/host/cqhci.c 				   struct mmc_request *mrq)
mrq               509 drivers/mmc/host/cqhci.c 	if (!(mrq->cmd->flags & MMC_RSP_PRESENT)) {
mrq               513 drivers/mmc/host/cqhci.c 		if (mrq->cmd->flags & MMC_RSP_R1B) {
mrq               529 drivers/mmc/host/cqhci.c 		 CQHCI_CMD_INDEX(mrq->cmd->opcode) |
mrq               532 drivers/mmc/host/cqhci.c 		cq_host->ops->update_dcmd_desc(mmc, mrq, &data);
mrq               536 drivers/mmc/host/cqhci.c 		 mmc_hostname(mmc), mrq->cmd->opcode, timing, resp_type);
mrq               538 drivers/mmc/host/cqhci.c 	dataddr[0] = cpu_to_le64((u64)mrq->cmd->arg);
mrq               542 drivers/mmc/host/cqhci.c static void cqhci_post_req(struct mmc_host *host, struct mmc_request *mrq)
mrq               544 drivers/mmc/host/cqhci.c 	struct mmc_data *data = mrq->data;
mrq               553 drivers/mmc/host/cqhci.c static inline int cqhci_tag(struct mmc_request *mrq)
mrq               555 drivers/mmc/host/cqhci.c 	return mrq->cmd ? DCMD_SLOT : mrq->tag;
mrq               558 drivers/mmc/host/cqhci.c static int cqhci_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq               563 drivers/mmc/host/cqhci.c 	int tag = cqhci_tag(mrq);
mrq               588 drivers/mmc/host/cqhci.c 	if (mrq->data) {
mrq               590 drivers/mmc/host/cqhci.c 		cqhci_prep_task_desc(mrq, &data, 1);
mrq               592 drivers/mmc/host/cqhci.c 		err = cqhci_prep_tran_desc(mrq, cq_host, tag);
mrq               599 drivers/mmc/host/cqhci.c 		cqhci_prep_dcmd_desc(mmc, mrq);
mrq               609 drivers/mmc/host/cqhci.c 	cq_host->slot[tag].mrq = mrq;
mrq               623 drivers/mmc/host/cqhci.c 		cqhci_post_req(mmc, mrq);
mrq               628 drivers/mmc/host/cqhci.c static void cqhci_recovery_needed(struct mmc_host *mmc, struct mmc_request *mrq,
mrq               637 drivers/mmc/host/cqhci.c 		if (notify && mrq->recovery_notifier)
mrq               638 drivers/mmc/host/cqhci.c 			mrq->recovery_notifier(mrq);
mrq               685 drivers/mmc/host/cqhci.c 		if (slot->mrq) {
mrq               687 drivers/mmc/host/cqhci.c 			cqhci_recovery_needed(mmc, slot->mrq, true);
mrq               694 drivers/mmc/host/cqhci.c 		if (slot->mrq) {
mrq               696 drivers/mmc/host/cqhci.c 			cqhci_recovery_needed(mmc, slot->mrq, true);
mrq               707 drivers/mmc/host/cqhci.c 			if (!slot->mrq)
mrq               710 drivers/mmc/host/cqhci.c 			cqhci_recovery_needed(mmc, slot->mrq, true);
mrq               723 drivers/mmc/host/cqhci.c 	struct mmc_request *mrq = slot->mrq;
mrq               726 drivers/mmc/host/cqhci.c 	if (!mrq) {
mrq               738 drivers/mmc/host/cqhci.c 	slot->mrq = NULL;
mrq               742 drivers/mmc/host/cqhci.c 	data = mrq->data;
mrq               750 drivers/mmc/host/cqhci.c 	mmc_cqe_request_done(mmc, mrq);
mrq               826 drivers/mmc/host/cqhci.c static bool cqhci_timeout(struct mmc_host *mmc, struct mmc_request *mrq,
mrq               830 drivers/mmc/host/cqhci.c 	int tag = cqhci_tag(mrq);
mrq               836 drivers/mmc/host/cqhci.c 	timed_out = slot->mrq == mrq;
mrq               839 drivers/mmc/host/cqhci.c 		cqhci_recovery_needed(mmc, mrq, false);
mrq               959 drivers/mmc/host/cqhci.c 	struct mmc_request *mrq = slot->mrq;
mrq               962 drivers/mmc/host/cqhci.c 	if (!mrq)
mrq               965 drivers/mmc/host/cqhci.c 	slot->mrq = NULL;
mrq               969 drivers/mmc/host/cqhci.c 	data = mrq->data;
mrq               974 drivers/mmc/host/cqhci.c 		mrq->cmd->error = cqhci_error_from_flags(slot->flags);
mrq               977 drivers/mmc/host/cqhci.c 	mmc_cqe_request_done(cq_host->mmc, mrq);
mrq               207 drivers/mmc/host/cqhci.h 	void (*update_dcmd_desc)(struct mmc_host *mmc, struct mmc_request *mrq,
mrq               793 drivers/mmc/host/davinci_mmc.c 		mmc_request_done(host->mmc, data->mrq);
mrq               820 drivers/mmc/host/davinci_mmc.c 			cmd->mrq->cmd->retries = 0;
mrq               821 drivers/mmc/host/davinci_mmc.c 		mmc_request_done(host->mmc, cmd->mrq);
mrq               110 drivers/mmc/host/dw_mmc.c 	struct mmc_request *mrq;
mrq               117 drivers/mmc/host/dw_mmc.c 	mrq = slot->mrq;
mrq               119 drivers/mmc/host/dw_mmc.c 	if (mrq) {
mrq               120 drivers/mmc/host/dw_mmc.c 		cmd = mrq->cmd;
mrq               121 drivers/mmc/host/dw_mmc.c 		data = mrq->data;
mrq               122 drivers/mmc/host/dw_mmc.c 		stop = mrq->stop;
mrq               907 drivers/mmc/host/dw_mmc.c 			   struct mmc_request *mrq)
mrq               910 drivers/mmc/host/dw_mmc.c 	struct mmc_data *data = mrq->data;
mrq               918 drivers/mmc/host/dw_mmc.c 	if (dw_mci_pre_dma_transfer(slot->host, mrq->data,
mrq               924 drivers/mmc/host/dw_mmc.c 			    struct mmc_request *mrq,
mrq               928 drivers/mmc/host/dw_mmc.c 	struct mmc_data *data = mrq->data;
mrq              1282 drivers/mmc/host/dw_mmc.c 	struct mmc_request *mrq;
mrq              1286 drivers/mmc/host/dw_mmc.c 	mrq = slot->mrq;
mrq              1288 drivers/mmc/host/dw_mmc.c 	host->mrq = mrq;
mrq              1342 drivers/mmc/host/dw_mmc.c 	struct mmc_request *mrq = slot->mrq;
mrq              1345 drivers/mmc/host/dw_mmc.c 	cmd = mrq->sbc ? mrq->sbc : mrq->cmd;
mrq              1351 drivers/mmc/host/dw_mmc.c 				 struct mmc_request *mrq)
mrq              1356 drivers/mmc/host/dw_mmc.c 	slot->mrq = mrq;
mrq              1377 drivers/mmc/host/dw_mmc.c static void dw_mci_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq              1382 drivers/mmc/host/dw_mmc.c 	WARN_ON(slot->mrq);
mrq              1391 drivers/mmc/host/dw_mmc.c 		mrq->cmd->error = -ENOMEDIUM;
mrq              1392 drivers/mmc/host/dw_mmc.c 		mmc_request_done(mmc, mrq);
mrq              1398 drivers/mmc/host/dw_mmc.c 	dw_mci_queue_request(host, slot, mrq);
mrq              1790 drivers/mmc/host/dw_mmc.c static void dw_mci_request_end(struct dw_mci *host, struct mmc_request *mrq)
mrq              1799 drivers/mmc/host/dw_mmc.c 	host->slot->mrq = NULL;
mrq              1800 drivers/mmc/host/dw_mmc.c 	host->mrq = NULL;
mrq              1819 drivers/mmc/host/dw_mmc.c 	mmc_request_done(prev_mmc, mrq);
mrq              1959 drivers/mmc/host/dw_mmc.c 	struct mmc_request *mrq;
mrq              1968 drivers/mmc/host/dw_mmc.c 	mrq = host->mrq;
mrq              1987 drivers/mmc/host/dw_mmc.c 			if (cmd == mrq->sbc && !err) {
mrq              1989 drivers/mmc/host/dw_mmc.c 						       mrq->cmd);
mrq              2027 drivers/mmc/host/dw_mmc.c 				dw_mci_request_end(host, mrq);
mrq              2109 drivers/mmc/host/dw_mmc.c 				if (!data->stop || mrq->sbc) {
mrq              2110 drivers/mmc/host/dw_mmc.c 					if (mrq->sbc && data->stop)
mrq              2112 drivers/mmc/host/dw_mmc.c 					dw_mci_request_end(host, mrq);
mrq              2132 drivers/mmc/host/dw_mmc.c 					dw_mci_request_end(host, mrq);
mrq              2150 drivers/mmc/host/dw_mmc.c 			if (mrq->cmd->error && mrq->data)
mrq              2156 drivers/mmc/host/dw_mmc.c 			if (!mrq->sbc && mrq->stop)
mrq              2157 drivers/mmc/host/dw_mmc.c 				dw_mci_command_complete(host, mrq->stop);
mrq              2161 drivers/mmc/host/dw_mmc.c 			dw_mci_request_end(host, mrq);
mrq               166 drivers/mmc/host/dw_mmc.h 	struct mmc_request	*mrq;
mrq               526 drivers/mmc/host/dw_mmc.h 	struct mmc_request	*mrq;
mrq               325 drivers/mmc/host/jz4740_mmc.c 				   struct mmc_request *mrq)
mrq               328 drivers/mmc/host/jz4740_mmc.c 	struct mmc_data *data = mrq->data;
mrq               339 drivers/mmc/host/jz4740_mmc.c 				    struct mmc_request *mrq,
mrq               343 drivers/mmc/host/jz4740_mmc.c 	struct mmc_data *data = mrq->data;
mrq               216 drivers/mmc/host/meson-gx-mmc.c 		return cmd->mrq->cmd;
mrq               218 drivers/mmc/host/meson-gx-mmc.c 		 (!cmd->mrq->sbc || cmd->error || cmd->data->error))
mrq               219 drivers/mmc/host/meson-gx-mmc.c 		return cmd->mrq->stop;
mrq               225 drivers/mmc/host/meson-gx-mmc.c 					struct mmc_request *mrq)
mrq               228 drivers/mmc/host/meson-gx-mmc.c 	struct mmc_data *data = mrq->data;
mrq               247 drivers/mmc/host/meson-gx-mmc.c 	if (mrq->cmd->opcode == SD_IO_RW_EXTENDED)
mrq               273 drivers/mmc/host/meson-gx-mmc.c static void meson_mmc_pre_req(struct mmc_host *mmc, struct mmc_request *mrq)
mrq               275 drivers/mmc/host/meson-gx-mmc.c 	struct mmc_data *data = mrq->data;
mrq               280 drivers/mmc/host/meson-gx-mmc.c 	meson_mmc_get_transfer_mode(mmc, mrq);
mrq               292 drivers/mmc/host/meson-gx-mmc.c static void meson_mmc_post_req(struct mmc_host *mmc, struct mmc_request *mrq,
mrq               295 drivers/mmc/host/meson-gx-mmc.c 	struct mmc_data *data = mrq->data;
mrq               652 drivers/mmc/host/meson-gx-mmc.c 				   struct mmc_request *mrq)
mrq               657 drivers/mmc/host/meson-gx-mmc.c 	mmc_request_done(host->mmc, mrq);
mrq               803 drivers/mmc/host/meson-gx-mmc.c static void meson_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq               806 drivers/mmc/host/meson-gx-mmc.c 	bool needs_pre_post_req = mrq->data &&
mrq               807 drivers/mmc/host/meson-gx-mmc.c 			!(mrq->data->host_cookie & SD_EMMC_PRE_REQ_DONE);
mrq               810 drivers/mmc/host/meson-gx-mmc.c 		meson_mmc_get_transfer_mode(mmc, mrq);
mrq               811 drivers/mmc/host/meson-gx-mmc.c 		if (!meson_mmc_desc_chain_mode(mrq->data))
mrq               816 drivers/mmc/host/meson-gx-mmc.c 		meson_mmc_pre_req(mmc, mrq);
mrq               821 drivers/mmc/host/meson-gx-mmc.c 	meson_mmc_start_cmd(mmc, mrq->sbc ?: mrq->cmd);
mrq               824 drivers/mmc/host/meson-gx-mmc.c 		meson_mmc_post_req(mmc, mrq, 0);
mrq               910 drivers/mmc/host/meson-gx-mmc.c 		meson_mmc_request_done(host->mmc, cmd->mrq);
mrq               944 drivers/mmc/host/meson-gx-mmc.c 		meson_mmc_request_done(host->mmc, cmd->mrq);
mrq               961 drivers/mmc/host/meson-gx-mmc.c 		meson_mmc_request_done(host->mmc, cmd->mrq);
mrq               120 drivers/mmc/host/meson-mx-sdio.c 	struct mmc_request		*mrq;
mrq               147 drivers/mmc/host/meson-mx-sdio.c 		return cmd->mrq->cmd;
mrq               149 drivers/mmc/host/meson-mx-sdio.c 		 (!cmd->mrq->sbc || cmd->error || cmd->data->error))
mrq               150 drivers/mmc/host/meson-mx-sdio.c 		return cmd->mrq->stop;
mrq               245 drivers/mmc/host/meson-mx-sdio.c 	struct mmc_request *mrq;
mrq               247 drivers/mmc/host/meson-mx-sdio.c 	mrq = host->mrq;
mrq               249 drivers/mmc/host/meson-mx-sdio.c 	host->mrq = NULL;
mrq               252 drivers/mmc/host/meson-mx-sdio.c 	mmc_request_done(host->mmc, mrq);
mrq               307 drivers/mmc/host/meson-mx-sdio.c static int meson_mx_mmc_map_dma(struct mmc_host *mmc, struct mmc_request *mrq)
mrq               309 drivers/mmc/host/meson-mx-sdio.c 	struct mmc_data *data = mrq->data;
mrq               334 drivers/mmc/host/meson-mx-sdio.c static void meson_mx_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq               337 drivers/mmc/host/meson-mx-sdio.c 	struct mmc_command *cmd = mrq->cmd;
mrq               340 drivers/mmc/host/meson-mx-sdio.c 		host->error = meson_mx_mmc_map_dma(mmc, mrq);
mrq               344 drivers/mmc/host/meson-mx-sdio.c 		mmc_request_done(mmc, mrq);
mrq               348 drivers/mmc/host/meson-mx-sdio.c 	host->mrq = mrq;
mrq               350 drivers/mmc/host/meson-mx-sdio.c 	if (mrq->data)
mrq               351 drivers/mmc/host/meson-mx-sdio.c 		writel(sg_dma_address(mrq->data->sg),
mrq               354 drivers/mmc/host/meson-mx-sdio.c 	if (mrq->sbc)
mrq               355 drivers/mmc/host/meson-mx-sdio.c 		meson_mx_mmc_start_cmd(mmc, mrq->sbc);
mrq               357 drivers/mmc/host/meson-mx-sdio.c 		meson_mx_mmc_start_cmd(mmc, mrq->cmd);
mrq               432 drivers/mmc/host/mmc_spi.c 		struct mmc_request *mrq,
mrq               495 drivers/mmc/host/mmc_spi.c 	if (cs_on && (mrq->data->flags & MMC_DATA_READ)) {
mrq              1035 drivers/mmc/host/mmc_spi.c static void mmc_spi_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq              1048 drivers/mmc/host/mmc_spi.c 		cmd = mrq->cmd;
mrq              1055 drivers/mmc/host/mmc_spi.c 		cmd = mrq->stop;
mrq              1064 drivers/mmc/host/mmc_spi.c 			mmc_request_done(host->mmc, mrq);
mrq              1075 drivers/mmc/host/mmc_spi.c 	status = mmc_spi_command_send(host, mrq, mrq->cmd, mrq->data != NULL);
mrq              1076 drivers/mmc/host/mmc_spi.c 	if (status == 0 && mrq->data) {
mrq              1077 drivers/mmc/host/mmc_spi.c 		mmc_spi_data_do(host, mrq->cmd, mrq->data, mrq->data->blksz);
mrq              1086 drivers/mmc/host/mmc_spi.c 		if (mrq->data->error == -EILSEQ && crc_retry) {
mrq              1090 drivers/mmc/host/mmc_spi.c 			status = mmc_spi_command_send(host, mrq, &stop, 0);
mrq              1092 drivers/mmc/host/mmc_spi.c 			mrq->data->error = 0;
mrq              1096 drivers/mmc/host/mmc_spi.c 		if (mrq->stop)
mrq              1097 drivers/mmc/host/mmc_spi.c 			status = mmc_spi_command_send(host, mrq, mrq->stop, 0);
mrq              1105 drivers/mmc/host/mmc_spi.c 	mmc_request_done(host->mmc, mrq);
mrq               552 drivers/mmc/host/mmci.c mmci_request_end(struct mmci_host *host, struct mmc_request *mrq)
mrq               558 drivers/mmc/host/mmci.c 	host->mrq = NULL;
mrq               561 drivers/mmc/host/mmci.c 	mmc_request_done(host->mmc, mrq);
mrq               962 drivers/mmc/host/mmci.c static void mmci_pre_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq               965 drivers/mmc/host/mmci.c 	struct mmc_data *data = mrq->data;
mrq               978 drivers/mmc/host/mmci.c static void mmci_post_request(struct mmc_host *mmc, struct mmc_request *mrq,
mrq               982 drivers/mmc/host/mmci.c 	struct mmc_data *data = mrq->data;
mrq              1191 drivers/mmc/host/mmci.c 				mmci_request_end(host, data->mrq);
mrq              1192 drivers/mmc/host/mmci.c 		} else if (host->mrq->sbc && !data->error) {
mrq              1193 drivers/mmc/host/mmci.c 			mmci_request_end(host, data->mrq);
mrq              1210 drivers/mmc/host/mmci.c 	sbc = (cmd == host->mrq->sbc);
mrq              1311 drivers/mmc/host/mmci.c 		mmci_request_end(host, host->mrq);
mrq              1313 drivers/mmc/host/mmci.c 		mmci_start_command(host, host->mrq->cmd, 0);
mrq              1554 drivers/mmc/host/mmci.c static void mmci_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq              1559 drivers/mmc/host/mmci.c 	WARN_ON(host->mrq != NULL);
mrq              1561 drivers/mmc/host/mmci.c 	mrq->cmd->error = mmci_validate_data(host, mrq->data);
mrq              1562 drivers/mmc/host/mmci.c 	if (mrq->cmd->error) {
mrq              1563 drivers/mmc/host/mmci.c 		mmc_request_done(mmc, mrq);
mrq              1569 drivers/mmc/host/mmci.c 	host->mrq = mrq;
mrq              1571 drivers/mmc/host/mmci.c 	if (mrq->data)
mrq              1572 drivers/mmc/host/mmci.c 		mmci_get_next_data(host, mrq->data);
mrq              1574 drivers/mmc/host/mmci.c 	if (mrq->data &&
mrq              1575 drivers/mmc/host/mmci.c 	    (host->variant->datactrl_first || mrq->data->flags & MMC_DATA_READ))
mrq              1576 drivers/mmc/host/mmci.c 		mmci_start_data(host, mrq->data);
mrq              1578 drivers/mmc/host/mmci.c 	if (mrq->sbc)
mrq              1579 drivers/mmc/host/mmci.c 		mmci_start_command(host, mrq->sbc, 0);
mrq              1581 drivers/mmc/host/mmci.c 		mmci_start_command(host, mrq->cmd, 0);
mrq               374 drivers/mmc/host/mmci.h 	struct mmc_request	*mrq;
mrq               280 drivers/mmc/host/mmci_stm32_sdmmc.c 	else if (host->data->stop && !host->mrq->sbc)
mrq               133 drivers/mmc/host/moxart-mmc.c 	struct mmc_request		*mrq;
mrq               165 drivers/mmc/host/moxart-mmc.c 	struct mmc_data *data = host->mrq->cmd->data;
mrq               308 drivers/mmc/host/moxart-mmc.c 	struct mmc_data *data = host->mrq->cmd->data;
mrq               343 drivers/mmc/host/moxart-mmc.c 				if (data->mrq->cmd->opcode == SD_APP_SEND_SCR)
mrq               367 drivers/mmc/host/moxart-mmc.c 	struct mmc_data *data = host->mrq->cmd->data;
mrq               395 drivers/mmc/host/moxart-mmc.c static void moxart_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq               407 drivers/mmc/host/moxart-mmc.c 	host->mrq = mrq;
mrq               410 drivers/mmc/host/moxart-mmc.c 		mrq->cmd->error = -ETIMEDOUT;
mrq               415 drivers/mmc/host/moxart-mmc.c 	moxart_send_command(host, host->mrq->cmd);
mrq               417 drivers/mmc/host/moxart-mmc.c 	if (mrq->cmd->data) {
mrq               424 drivers/mmc/host/moxart-mmc.c 			moxart_transfer_dma(mrq->cmd->data, host);
mrq               442 drivers/mmc/host/moxart-mmc.c 			mrq->cmd->error = -ETIMEDOUT;
mrq               448 drivers/mmc/host/moxart-mmc.c 			mrq->cmd->data->error = -ETIMEDOUT;
mrq               453 drivers/mmc/host/moxart-mmc.c 			mrq->cmd->data->error = -ETIMEDOUT;
mrq               455 drivers/mmc/host/moxart-mmc.c 		if (mrq->cmd->data->stop)
mrq               456 drivers/mmc/host/moxart-mmc.c 			moxart_send_command(host, mrq->cmd->data->stop);
mrq               461 drivers/mmc/host/moxart-mmc.c 	mmc_request_done(host->mmc, mrq);
mrq               479 drivers/mmc/host/moxart-mmc.c 		host->mrq = NULL;
mrq               484 drivers/mmc/host/moxart-mmc.c 	if (status & (FIFO_ORUN | FIFO_URUN) && host->mrq)
mrq               396 drivers/mmc/host/mtk-sd.c 	struct mmc_request *mrq;
mrq               593 drivers/mmc/host/mtk-sd.c 		struct mmc_request *mrq, struct mmc_command *cmd);
mrq               677 drivers/mmc/host/mtk-sd.c static void msdc_prepare_data(struct msdc_host *host, struct mmc_request *mrq)
mrq               679 drivers/mmc/host/mtk-sd.c 	struct mmc_data *data = mrq->data;
mrq               688 drivers/mmc/host/mtk-sd.c static void msdc_unprepare_data(struct msdc_host *host, struct mmc_request *mrq)
mrq               690 drivers/mmc/host/mtk-sd.c 	struct mmc_data *data = mrq->data;
mrq               886 drivers/mmc/host/mtk-sd.c 		struct mmc_request *mrq, struct mmc_command *cmd)
mrq               914 drivers/mmc/host/mtk-sd.c 		struct mmc_request *mrq, struct mmc_command *cmd)
mrq               921 drivers/mmc/host/mtk-sd.c 	u32 resp = msdc_cmd_find_resp(host, mrq, cmd);
mrq               942 drivers/mmc/host/mtk-sd.c 			if (mmc_card_mmc(host->mmc->card) && mrq->sbc &&
mrq               943 drivers/mmc/host/mtk-sd.c 			    !(mrq->sbc->arg & 0xFFFF0000))
mrq               967 drivers/mmc/host/mtk-sd.c static void msdc_start_data(struct msdc_host *host, struct mmc_request *mrq,
mrq              1018 drivers/mmc/host/mtk-sd.c static void msdc_request_done(struct msdc_host *host, struct mmc_request *mrq)
mrq              1029 drivers/mmc/host/mtk-sd.c 	host->mrq = NULL;
mrq              1032 drivers/mmc/host/mtk-sd.c 	msdc_track_cmd_data(host, mrq->cmd, mrq->data);
mrq              1033 drivers/mmc/host/mtk-sd.c 	if (mrq->data)
mrq              1034 drivers/mmc/host/mtk-sd.c 		msdc_unprepare_data(host, mrq);
mrq              1037 drivers/mmc/host/mtk-sd.c 	mmc_request_done(host->mmc, mrq);
mrq              1042 drivers/mmc/host/mtk-sd.c 			  struct mmc_request *mrq, struct mmc_command *cmd)
mrq              1049 drivers/mmc/host/mtk-sd.c 	if (mrq->sbc && cmd == mrq->cmd &&
mrq              1052 drivers/mmc/host/mtk-sd.c 		msdc_auto_cmd_done(host, events, mrq->sbc);
mrq              1054 drivers/mmc/host/mtk-sd.c 	sbc_error = mrq->sbc && mrq->sbc->error;
mrq              1106 drivers/mmc/host/mtk-sd.c 	msdc_cmd_next(host, mrq, cmd);
mrq              1115 drivers/mmc/host/mtk-sd.c 		struct mmc_request *mrq, struct mmc_command *cmd)
mrq              1126 drivers/mmc/host/mtk-sd.c 		msdc_cmd_done(host, MSDC_INT_CMDTMO, mrq, cmd);
mrq              1139 drivers/mmc/host/mtk-sd.c 			msdc_cmd_done(host, MSDC_INT_CMDTMO, mrq, cmd);
mrq              1147 drivers/mmc/host/mtk-sd.c 		struct mmc_request *mrq, struct mmc_command *cmd)
mrq              1156 drivers/mmc/host/mtk-sd.c 	if (!msdc_cmd_is_ready(host, mrq, cmd))
mrq              1166 drivers/mmc/host/mtk-sd.c 	rawcmd = msdc_cmd_prepare_raw_cmd(host, mrq, cmd);
mrq              1177 drivers/mmc/host/mtk-sd.c 		struct mmc_request *mrq, struct mmc_command *cmd)
mrq              1183 drivers/mmc/host/mtk-sd.c 	    (mrq->sbc && mrq->sbc->error))
mrq              1184 drivers/mmc/host/mtk-sd.c 		msdc_request_done(host, mrq);
mrq              1185 drivers/mmc/host/mtk-sd.c 	else if (cmd == mrq->sbc)
mrq              1186 drivers/mmc/host/mtk-sd.c 		msdc_start_command(host, mrq, mrq->cmd);
mrq              1188 drivers/mmc/host/mtk-sd.c 		msdc_request_done(host, mrq);
mrq              1190 drivers/mmc/host/mtk-sd.c 		msdc_start_data(host, mrq, cmd, cmd->data);
mrq              1193 drivers/mmc/host/mtk-sd.c static void msdc_ops_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq              1198 drivers/mmc/host/mtk-sd.c 	WARN_ON(host->mrq);
mrq              1199 drivers/mmc/host/mtk-sd.c 	host->mrq = mrq;
mrq              1201 drivers/mmc/host/mtk-sd.c 	if (mrq->data)
mrq              1202 drivers/mmc/host/mtk-sd.c 		msdc_prepare_data(host, mrq);
mrq              1208 drivers/mmc/host/mtk-sd.c 	if (mrq->sbc && (!mmc_card_mmc(mmc->card) ||
mrq              1209 drivers/mmc/host/mtk-sd.c 	    (mrq->sbc->arg & 0xFFFF0000)))
mrq              1210 drivers/mmc/host/mtk-sd.c 		msdc_start_command(host, mrq, mrq->sbc);
mrq              1212 drivers/mmc/host/mtk-sd.c 		msdc_start_command(host, mrq, mrq->cmd);
mrq              1215 drivers/mmc/host/mtk-sd.c static void msdc_pre_req(struct mmc_host *mmc, struct mmc_request *mrq)
mrq              1218 drivers/mmc/host/mtk-sd.c 	struct mmc_data *data = mrq->data;
mrq              1223 drivers/mmc/host/mtk-sd.c 	msdc_prepare_data(host, mrq);
mrq              1227 drivers/mmc/host/mtk-sd.c static void msdc_post_req(struct mmc_host *mmc, struct mmc_request *mrq,
mrq              1233 drivers/mmc/host/mtk-sd.c 	data = mrq->data;
mrq              1238 drivers/mmc/host/mtk-sd.c 		msdc_unprepare_data(host, mrq);
mrq              1243 drivers/mmc/host/mtk-sd.c 				struct mmc_request *mrq, struct mmc_data *data)
mrq              1245 drivers/mmc/host/mtk-sd.c 	if (mmc_op_multi(mrq->cmd->opcode) && mrq->stop && !mrq->stop->error &&
mrq              1246 drivers/mmc/host/mtk-sd.c 	    !mrq->sbc)
mrq              1247 drivers/mmc/host/mtk-sd.c 		msdc_start_command(host, mrq, mrq->stop);
mrq              1249 drivers/mmc/host/mtk-sd.c 		msdc_request_done(host, mrq);
mrq              1253 drivers/mmc/host/mtk-sd.c 				struct mmc_request *mrq, struct mmc_data *data)
mrq              1296 drivers/mmc/host/mtk-sd.c 				__func__, mrq->cmd->opcode, data->blocks);
mrq              1301 drivers/mmc/host/mtk-sd.c 		msdc_data_xfer_next(host, mrq, data);
mrq              1373 drivers/mmc/host/mtk-sd.c 	if (host->mrq) {
mrq              1375 drivers/mmc/host/mtk-sd.c 				host->mrq, host->mrq->cmd->opcode);
mrq              1379 drivers/mmc/host/mtk-sd.c 			msdc_cmd_done(host, MSDC_INT_CMDTMO, host->mrq,
mrq              1383 drivers/mmc/host/mtk-sd.c 					__func__, host->mrq->cmd->opcode,
mrq              1385 drivers/mmc/host/mtk-sd.c 			msdc_data_xfer_done(host, MSDC_INT_DATTMO, host->mrq,
mrq              1423 drivers/mmc/host/mtk-sd.c 		struct mmc_request *mrq;
mrq              1436 drivers/mmc/host/mtk-sd.c 		mrq = host->mrq;
mrq              1453 drivers/mmc/host/mtk-sd.c 		if (!mrq) {
mrq              1464 drivers/mmc/host/mtk-sd.c 			msdc_cmd_done(host, events, mrq, cmd);
mrq              1466 drivers/mmc/host/mtk-sd.c 			msdc_data_xfer_done(host, events, mrq, data);
mrq                36 drivers/mmc/host/mvsdio.c 	struct mmc_request *mrq;
mrq               136 drivers/mmc/host/mvsdio.c static void mvsd_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq               140 drivers/mmc/host/mvsdio.c 	struct mmc_command *cmd = mrq->cmd;
mrq               145 drivers/mmc/host/mvsdio.c 	BUG_ON(host->mrq != NULL);
mrq               146 drivers/mmc/host/mvsdio.c 	host->mrq = mrq;
mrq               173 drivers/mmc/host/mvsdio.c 	if (mrq->data) {
mrq               174 drivers/mmc/host/mvsdio.c 		struct mmc_data *data = mrq->data;
mrq               463 drivers/mmc/host/mvsdio.c 		struct mmc_request *mrq = host->mrq;
mrq               464 drivers/mmc/host/mvsdio.c 		struct mmc_command *cmd = mrq->cmd;
mrq               468 drivers/mmc/host/mvsdio.c 		host->mrq = NULL;
mrq               484 drivers/mmc/host/mvsdio.c 		if (mrq->data)
mrq               485 drivers/mmc/host/mvsdio.c 			err_status = mvsd_finish_data(host, mrq->data, err_status);
mrq               492 drivers/mmc/host/mvsdio.c 		mmc_request_done(host->mmc, mrq);
mrq               514 drivers/mmc/host/mvsdio.c 	struct mmc_request *mrq;
mrq               518 drivers/mmc/host/mvsdio.c 	mrq = host->mrq;
mrq               519 drivers/mmc/host/mvsdio.c 	if (mrq) {
mrq               526 drivers/mmc/host/mvsdio.c 		host->mrq = NULL;
mrq               538 drivers/mmc/host/mvsdio.c 		mrq->cmd->error = -ETIMEDOUT;
mrq               539 drivers/mmc/host/mvsdio.c 		mvsd_finish_cmd(host, mrq->cmd, 0);
mrq               540 drivers/mmc/host/mvsdio.c 		if (mrq->data) {
mrq               541 drivers/mmc/host/mvsdio.c 			mrq->data->error = -ETIMEDOUT;
mrq               542 drivers/mmc/host/mvsdio.c 			mvsd_finish_data(host, mrq->data, 0);
mrq               547 drivers/mmc/host/mvsdio.c 	if (mrq)
mrq               548 drivers/mmc/host/mvsdio.c 		mmc_request_done(host->mmc, mrq);
mrq                52 drivers/mmc/host/mxs-mmc.c 	struct mmc_request		*mrq;
mrq               128 drivers/mmc/host/mxs-mmc.c 	struct mmc_request *mrq = host->mrq;
mrq               142 drivers/mmc/host/mxs-mmc.c 	if (cmd == mrq->sbc) {
mrq               144 drivers/mmc/host/mxs-mmc.c 		mxs_mmc_start_cmd(host, mrq->cmd);
mrq               159 drivers/mmc/host/mxs-mmc.c 		if (data->stop && (data->error || !mrq->sbc)) {
mrq               160 drivers/mmc/host/mxs-mmc.c 			mxs_mmc_start_cmd(host, mrq->stop);
mrq               165 drivers/mmc/host/mxs-mmc.c 	host->mrq = NULL;
mrq               166 drivers/mmc/host/mxs-mmc.c 	mmc_request_done(host->mmc, mrq);
mrq               482 drivers/mmc/host/mxs-mmc.c static void mxs_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq               486 drivers/mmc/host/mxs-mmc.c 	WARN_ON(host->mrq != NULL);
mrq               487 drivers/mmc/host/mxs-mmc.c 	host->mrq = mrq;
mrq               489 drivers/mmc/host/mxs-mmc.c 	if (mrq->sbc)
mrq               490 drivers/mmc/host/mxs-mmc.c 		mxs_mmc_start_cmd(host, mrq->sbc);
mrq               492 drivers/mmc/host/mxs-mmc.c 		mxs_mmc_start_cmd(host, mrq->cmd);
mrq               111 drivers/mmc/host/omap.c 	struct mmc_request      *mrq;
mrq               119 drivers/mmc/host/omap.c 	struct mmc_request *	mrq;
mrq               250 drivers/mmc/host/omap.c 	rq = next_slot->mrq;
mrq               251 drivers/mmc/host/omap.c 	next_slot->mrq = NULL;
mrq               277 drivers/mmc/host/omap.c 		if (host->slots[i] == NULL || host->slots[i]->mrq == NULL)
mrq               458 drivers/mmc/host/omap.c 		host->mrq = NULL;
mrq               461 drivers/mmc/host/omap.c 		mmc_request_done(mmc, data->mrq);
mrq               583 drivers/mmc/host/omap.c 		host->mrq = NULL;
mrq               586 drivers/mmc/host/omap.c 		mmc_request_done(mmc, cmd->mrq);
mrq               614 drivers/mmc/host/omap.c 		host->mrq = NULL;
mrq               617 drivers/mmc/host/omap.c 		mmc_request_done(mmc, cmd->mrq);
mrq              1068 drivers/mmc/host/omap.c 	BUG_ON(host->mrq != NULL);
mrq              1070 drivers/mmc/host/omap.c 	host->mrq = req;
mrq              1091 drivers/mmc/host/omap.c 		BUG_ON(slot->mrq != NULL);
mrq              1092 drivers/mmc/host/omap.c 		slot->mrq = req;
mrq               172 drivers/mmc/host/omap_hsmmc.c 	struct	mmc_request	*mrq;
mrq               788 drivers/mmc/host/omap_hsmmc.c 	if (cmd == host->mrq->stop)
mrq               794 drivers/mmc/host/omap_hsmmc.c 	    host->mrq->sbc) {
mrq               796 drivers/mmc/host/omap_hsmmc.c 		OMAP_HSMMC_WRITE(host->base, SDMASA, host->mrq->sbc->arg);
mrq               821 drivers/mmc/host/omap_hsmmc.c static void omap_hsmmc_request_done(struct omap_hsmmc_host *host, struct mmc_request *mrq)
mrq               833 drivers/mmc/host/omap_hsmmc.c 	if (mrq->data && host->use_dma && dma_ch != -1)
mrq               835 drivers/mmc/host/omap_hsmmc.c 	host->mrq = NULL;
mrq               836 drivers/mmc/host/omap_hsmmc.c 	mmc_request_done(host->mmc, mrq);
mrq               846 drivers/mmc/host/omap_hsmmc.c 		struct mmc_request *mrq = host->mrq;
mrq               855 drivers/mmc/host/omap_hsmmc.c 		omap_hsmmc_request_done(host, mrq);
mrq               866 drivers/mmc/host/omap_hsmmc.c 	if (data->stop && (data->error || !host->mrq->sbc))
mrq               869 drivers/mmc/host/omap_hsmmc.c 		omap_hsmmc_request_done(host, data->mrq);
mrq               878 drivers/mmc/host/omap_hsmmc.c 	if (host->mrq->sbc && (host->cmd == host->mrq->sbc) &&
mrq               879 drivers/mmc/host/omap_hsmmc.c 	    !host->mrq->sbc->error && !(host->flags & AUTO_CMD23)) {
mrq               882 drivers/mmc/host/omap_hsmmc.c 		omap_hsmmc_start_command(host, host->mrq->cmd,
mrq               883 drivers/mmc/host/omap_hsmmc.c 						host->mrq->data);
mrq               902 drivers/mmc/host/omap_hsmmc.c 		omap_hsmmc_request_done(host, host->mrq);
mrq              1017 drivers/mmc/host/omap_hsmmc.c 	} else if (host->mrq && host->mrq->cmd)
mrq              1018 drivers/mmc/host/omap_hsmmc.c 		host->mrq->cmd->error = err;
mrq              1048 drivers/mmc/host/omap_hsmmc.c 			if (!(ac12 & ACNE) && host->mrq->sbc) {
mrq              1054 drivers/mmc/host/omap_hsmmc.c 				host->mrq->sbc->error = error;
mrq              1064 drivers/mmc/host/omap_hsmmc.c 	if ((end_trans || (status & TC_EN)) && host->mrq)
mrq              1178 drivers/mmc/host/omap_hsmmc.c 	data = host->mrq->data;
mrq              1191 drivers/mmc/host/omap_hsmmc.c 		struct mmc_request *mrq = host->mrq;
mrq              1193 drivers/mmc/host/omap_hsmmc.c 		host->mrq = NULL;
mrq              1194 drivers/mmc/host/omap_hsmmc.c 		mmc_request_done(host->mmc, mrq);
mrq              1341 drivers/mmc/host/omap_hsmmc.c 	struct mmc_request *req = host->mrq;
mrq              1392 drivers/mmc/host/omap_hsmmc.c static void omap_hsmmc_post_req(struct mmc_host *mmc, struct mmc_request *mrq,
mrq              1396 drivers/mmc/host/omap_hsmmc.c 	struct mmc_data *data = mrq->data;
mrq              1407 drivers/mmc/host/omap_hsmmc.c static void omap_hsmmc_pre_req(struct mmc_host *mmc, struct mmc_request *mrq)
mrq              1411 drivers/mmc/host/omap_hsmmc.c 	if (mrq->data->host_cookie) {
mrq              1412 drivers/mmc/host/omap_hsmmc.c 		mrq->data->host_cookie = 0;
mrq              1417 drivers/mmc/host/omap_hsmmc.c 		struct dma_chan *c = omap_hsmmc_get_dma_chan(host, mrq->data);
mrq              1419 drivers/mmc/host/omap_hsmmc.c 		if (omap_hsmmc_pre_dma_transfer(host, mrq->data,
mrq              1421 drivers/mmc/host/omap_hsmmc.c 			mrq->data->host_cookie = 0;
mrq              1437 drivers/mmc/host/omap_hsmmc.c 	WARN_ON(host->mrq != NULL);
mrq              1438 drivers/mmc/host/omap_hsmmc.c 	host->mrq = req;
mrq              1445 drivers/mmc/host/omap_hsmmc.c 		host->mrq = NULL;
mrq                66 drivers/mmc/host/pxamci.c 	struct mmc_request	*mrq;
mrq               267 drivers/mmc/host/pxamci.c static void pxamci_finish_request(struct pxamci_host *host, struct mmc_request *mrq)
mrq               269 drivers/mmc/host/pxamci.c 	host->mrq = NULL;
mrq               272 drivers/mmc/host/pxamci.c 	mmc_request_done(host->mmc, mrq);
mrq               324 drivers/mmc/host/pxamci.c 		pxamci_finish_request(host, host->mrq);
mrq               364 drivers/mmc/host/pxamci.c 	if (host->mrq->stop) {
mrq               366 drivers/mmc/host/pxamci.c 		pxamci_start_cmd(host, host->mrq->stop, host->cmdat);
mrq               368 drivers/mmc/host/pxamci.c 		pxamci_finish_request(host, host->mrq);
mrq               400 drivers/mmc/host/pxamci.c static void pxamci_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq               405 drivers/mmc/host/pxamci.c 	WARN_ON(host->mrq != NULL);
mrq               407 drivers/mmc/host/pxamci.c 	host->mrq = mrq;
mrq               414 drivers/mmc/host/pxamci.c 	if (mrq->data) {
mrq               415 drivers/mmc/host/pxamci.c 		pxamci_setup_data(host, mrq->data);
mrq               419 drivers/mmc/host/pxamci.c 		if (mrq->data->flags & MMC_DATA_WRITE)
mrq               423 drivers/mmc/host/pxamci.c 	pxamci_start_cmd(host, mrq->cmd, cmdat);
mrq                28 drivers/mmc/host/rtsx_pci_sdmmc.c 	struct mmc_request	*mrq;
mrq               181 drivers/mmc/host/rtsx_pci_sdmmc.c static void sdmmc_pre_req(struct mmc_host *mmc, struct mmc_request *mrq)
mrq               184 drivers/mmc/host/rtsx_pci_sdmmc.c 	struct mmc_data *data = mrq->data;
mrq               197 drivers/mmc/host/rtsx_pci_sdmmc.c static void sdmmc_post_req(struct mmc_host *mmc, struct mmc_request *mrq,
mrq               202 drivers/mmc/host/rtsx_pci_sdmmc.c 	struct mmc_data *data = mrq->data;
mrq               428 drivers/mmc/host/rtsx_pci_sdmmc.c 	struct mmc_request *mrq)
mrq               433 drivers/mmc/host/rtsx_pci_sdmmc.c 	struct mmc_command *cmd = mrq->cmd;
mrq               434 drivers/mmc/host/rtsx_pci_sdmmc.c 	struct mmc_data *data = mrq->data;
mrq               486 drivers/mmc/host/rtsx_pci_sdmmc.c 	struct mmc_request *mrq)
mrq               491 drivers/mmc/host/rtsx_pci_sdmmc.c 	struct mmc_command *cmd = mrq->cmd;
mrq               492 drivers/mmc/host/rtsx_pci_sdmmc.c 	struct mmc_data *data = mrq->data;
mrq               542 drivers/mmc/host/rtsx_pci_sdmmc.c static int sd_rw_multi(struct realtek_pci_sdmmc *host, struct mmc_request *mrq)
mrq               544 drivers/mmc/host/rtsx_pci_sdmmc.c 	struct mmc_data *data = mrq->data;
mrq               554 drivers/mmc/host/rtsx_pci_sdmmc.c 		return sd_read_long_data(host, mrq);
mrq               556 drivers/mmc/host/rtsx_pci_sdmmc.c 	return sd_write_long_data(host, mrq);
mrq               572 drivers/mmc/host/rtsx_pci_sdmmc.c 		struct mmc_request *mrq)
mrq               574 drivers/mmc/host/rtsx_pci_sdmmc.c 	struct mmc_command *cmd = mrq->cmd;
mrq               575 drivers/mmc/host/rtsx_pci_sdmmc.c 	struct mmc_data *data = mrq->data;
mrq               793 drivers/mmc/host/rtsx_pci_sdmmc.c 	struct mmc_request *mrq = host->mrq;
mrq               794 drivers/mmc/host/rtsx_pci_sdmmc.c 	struct mmc_command *cmd = mrq->cmd;
mrq               795 drivers/mmc/host/rtsx_pci_sdmmc.c 	struct mmc_data *data = mrq->data;
mrq               822 drivers/mmc/host/rtsx_pci_sdmmc.c 	host->mrq = mrq;
mrq               825 drivers/mmc/host/rtsx_pci_sdmmc.c 	if (mrq->data)
mrq               831 drivers/mmc/host/rtsx_pci_sdmmc.c 		cmd->error = sd_rw_multi(host, mrq);
mrq               833 drivers/mmc/host/rtsx_pci_sdmmc.c 			sdmmc_post_req(host->mmc, host->mrq, 0);
mrq               835 drivers/mmc/host/rtsx_pci_sdmmc.c 		if (mmc_op_multi(cmd->opcode) && mrq->stop)
mrq               836 drivers/mmc/host/rtsx_pci_sdmmc.c 			sd_send_cmd_get_rsp(host, mrq->stop);
mrq               838 drivers/mmc/host/rtsx_pci_sdmmc.c 		sd_normal_rw(host, mrq);
mrq               841 drivers/mmc/host/rtsx_pci_sdmmc.c 	if (mrq->data) {
mrq               857 drivers/mmc/host/rtsx_pci_sdmmc.c 	host->mrq = NULL;
mrq               860 drivers/mmc/host/rtsx_pci_sdmmc.c 	mmc_request_done(mmc, mrq);
mrq               863 drivers/mmc/host/rtsx_pci_sdmmc.c static void sdmmc_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq               866 drivers/mmc/host/rtsx_pci_sdmmc.c 	struct mmc_data *data = mrq->data;
mrq               869 drivers/mmc/host/rtsx_pci_sdmmc.c 	host->mrq = mrq;
mrq               872 drivers/mmc/host/rtsx_pci_sdmmc.c 	if (sd_rw_cmd(mrq->cmd) || sdio_extblock_cmd(mrq->cmd, data))
mrq              1430 drivers/mmc/host/rtsx_pci_sdmmc.c 	if (host->mrq) {
mrq              1437 drivers/mmc/host/rtsx_pci_sdmmc.c 		host->mrq->cmd->error = -ENOMEDIUM;
mrq              1438 drivers/mmc/host/rtsx_pci_sdmmc.c 		if (host->mrq->stop)
mrq              1439 drivers/mmc/host/rtsx_pci_sdmmc.c 			host->mrq->stop->error = -ENOMEDIUM;
mrq              1440 drivers/mmc/host/rtsx_pci_sdmmc.c 		mmc_request_done(mmc, host->mrq);
mrq                37 drivers/mmc/host/rtsx_usb_sdmmc.c 	struct mmc_request	*mrq;
mrq               449 drivers/mmc/host/rtsx_usb_sdmmc.c static int sd_rw_multi(struct rtsx_usb_sdmmc *host, struct mmc_request *mrq)
mrq               452 drivers/mmc/host/rtsx_usb_sdmmc.c 	struct mmc_data *data = mrq->data;
mrq               546 drivers/mmc/host/rtsx_usb_sdmmc.c 		struct mmc_request *mrq)
mrq               548 drivers/mmc/host/rtsx_usb_sdmmc.c 	struct mmc_command *cmd = mrq->cmd;
mrq               549 drivers/mmc/host/rtsx_usb_sdmmc.c 	struct mmc_data *data = mrq->data;
mrq               811 drivers/mmc/host/rtsx_usb_sdmmc.c static void sdmmc_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq               815 drivers/mmc/host/rtsx_usb_sdmmc.c 	struct mmc_command *cmd = mrq->cmd;
mrq               816 drivers/mmc/host/rtsx_usb_sdmmc.c 	struct mmc_data *data = mrq->data;
mrq               834 drivers/mmc/host/rtsx_usb_sdmmc.c 	host->mrq = mrq;
mrq               837 drivers/mmc/host/rtsx_usb_sdmmc.c 	if (mrq->data)
mrq               847 drivers/mmc/host/rtsx_usb_sdmmc.c 			sd_rw_multi(host, mrq);
mrq               849 drivers/mmc/host/rtsx_usb_sdmmc.c 			if (mmc_op_multi(cmd->opcode) && mrq->stop) {
mrq               850 drivers/mmc/host/rtsx_usb_sdmmc.c 				sd_send_cmd_get_rsp(host, mrq->stop);
mrq               856 drivers/mmc/host/rtsx_usb_sdmmc.c 		sd_normal_rw(host, mrq);
mrq               859 drivers/mmc/host/rtsx_usb_sdmmc.c 	if (mrq->data) {
mrq               880 drivers/mmc/host/rtsx_usb_sdmmc.c 	host->mrq = NULL;
mrq               883 drivers/mmc/host/rtsx_usb_sdmmc.c 	mmc_request_done(mmc, mrq);
mrq              1394 drivers/mmc/host/rtsx_usb_sdmmc.c 	if (host->mrq) {
mrq              1398 drivers/mmc/host/rtsx_usb_sdmmc.c 		host->mrq->cmd->error = -ENOMEDIUM;
mrq              1399 drivers/mmc/host/rtsx_usb_sdmmc.c 		if (host->mrq->stop)
mrq              1400 drivers/mmc/host/rtsx_usb_sdmmc.c 			host->mrq->stop->error = -ENOMEDIUM;
mrq              1401 drivers/mmc/host/rtsx_usb_sdmmc.c 		mmc_request_done(mmc, host->mrq);
mrq               325 drivers/mmc/host/s3cmci.c 	if ((!host->mrq) || (!host->mrq->data))
mrq               328 drivers/mmc/host/s3cmci.c 	if (host->pio_sgptr >= host->mrq->data->sg_len) {
mrq               330 drivers/mmc/host/s3cmci.c 		      host->pio_sgptr, host->mrq->data->sg_len);
mrq               333 drivers/mmc/host/s3cmci.c 	sg = &host->mrq->data->sg[host->pio_sgptr];
mrq               341 drivers/mmc/host/s3cmci.c 	    host->pio_sgptr, host->mrq->data->sg_len);
mrq               572 drivers/mmc/host/s3cmci.c 			if (host->mrq->data)
mrq               573 drivers/mmc/host/s3cmci.c 				host->mrq->data->error = -EINVAL;
mrq               644 drivers/mmc/host/s3cmci.c 	if (!host->mrq) {
mrq               650 drivers/mmc/host/s3cmci.c 	cmd = host->cmd_is_stop ? host->mrq->stop : host->mrq->cmd;
mrq               697 drivers/mmc/host/s3cmci.c 			if (host->mrq->cmd->flags & MMC_RSP_136) {
mrq               737 drivers/mmc/host/s3cmci.c 			host->mrq->data->error = -EILSEQ;
mrq               815 drivers/mmc/host/s3cmci.c 	BUG_ON(!host->mrq);
mrq               816 drivers/mmc/host/s3cmci.c 	BUG_ON(!host->mrq->data);
mrq               832 drivers/mmc/host/s3cmci.c 	struct mmc_request *mrq = host->mrq;
mrq               839 drivers/mmc/host/s3cmci.c 	if (!mrq)
mrq               841 drivers/mmc/host/s3cmci.c 	cmd = host->cmd_is_stop ? mrq->stop : mrq->cmd;
mrq               884 drivers/mmc/host/s3cmci.c 	if (!mrq->data)
mrq               888 drivers/mmc/host/s3cmci.c 	if (mrq->data->error == 0) {
mrq               889 drivers/mmc/host/s3cmci.c 		mrq->data->bytes_xfered =
mrq               890 drivers/mmc/host/s3cmci.c 			(mrq->data->blocks * mrq->data->blksz);
mrq               892 drivers/mmc/host/s3cmci.c 		mrq->data->bytes_xfered = 0;
mrq               897 drivers/mmc/host/s3cmci.c 	if (mrq->data->error != 0) {
mrq               919 drivers/mmc/host/s3cmci.c 	host->mrq = NULL;
mrq               922 drivers/mmc/host/s3cmci.c 	mmc_request_done(host->mmc, mrq);
mrq              1116 drivers/mmc/host/s3cmci.c 	struct mmc_request *mrq = host->mrq;
mrq              1117 drivers/mmc/host/s3cmci.c 	struct mmc_command *cmd = host->cmd_is_stop ? mrq->stop : mrq->cmd;
mrq              1139 drivers/mmc/host/s3cmci.c 			mmc_request_done(mmc, mrq);
mrq              1153 drivers/mmc/host/s3cmci.c 			mmc_request_done(mmc, mrq);
mrq              1165 drivers/mmc/host/s3cmci.c static void s3cmci_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq              1171 drivers/mmc/host/s3cmci.c 	host->mrq = mrq;
mrq              1175 drivers/mmc/host/s3cmci.c 		host->mrq->cmd->error = -ENOMEDIUM;
mrq              1176 drivers/mmc/host/s3cmci.c 		mmc_request_done(mmc, mrq);
mrq                42 drivers/mmc/host/s3cmci.h 	struct mmc_request	*mrq;
mrq               397 drivers/mmc/host/sdhci-sprd.c static void sdhci_sprd_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq               410 drivers/mmc/host/sdhci-sprd.c 	    mrq->sbc && (mrq->sbc->arg & SDHCI_SPRD_ARG2_STUFF) &&
mrq               414 drivers/mmc/host/sdhci-sprd.c 	sdhci_request(mmc, mrq);
mrq               675 drivers/mmc/host/sdhci-tegra.c static void tegra_sdhci_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq               688 drivers/mmc/host/sdhci-tegra.c 	sdhci_request(mmc, mrq);
mrq              1168 drivers/mmc/host/sdhci-tegra.c 					 struct mmc_request *mrq, u64 *data)
mrq              1175 drivers/mmc/host/sdhci-tegra.c 	    mrq->cmd->flags & MMC_RSP_R1B)
mrq               445 drivers/mmc/host/sdhci.c static void sdhci_mod_timer(struct sdhci_host *host, struct mmc_request *mrq,
mrq               448 drivers/mmc/host/sdhci.c 	if (sdhci_data_line_cmd(mrq->cmd))
mrq               454 drivers/mmc/host/sdhci.c static void sdhci_del_timer(struct sdhci_host *host, struct mmc_request *mrq)
mrq               456 drivers/mmc/host/sdhci.c 	if (sdhci_data_line_cmd(mrq->cmd))
mrq              1147 drivers/mmc/host/sdhci.c 				    struct mmc_request *mrq)
mrq              1149 drivers/mmc/host/sdhci.c 	return !mrq->sbc && (host->flags & SDHCI_AUTO_CMD12) &&
mrq              1150 drivers/mmc/host/sdhci.c 	       !mrq->cap_cmd_during_tfr;
mrq              1157 drivers/mmc/host/sdhci.c 	bool use_cmd12 = sdhci_auto_cmd12(host, cmd->mrq) &&
mrq              1159 drivers/mmc/host/sdhci.c 	bool use_cmd23 = cmd->mrq->sbc && (host->flags & SDHCI_AUTO_CMD23);
mrq              1219 drivers/mmc/host/sdhci.c 		if (cmd->mrq->sbc && (host->flags & SDHCI_AUTO_CMD23))
mrq              1220 drivers/mmc/host/sdhci.c 			sdhci_writel(host, cmd->mrq->sbc->arg, SDHCI_ARGUMENT2);
mrq              1231 drivers/mmc/host/sdhci.c static bool sdhci_needs_reset(struct sdhci_host *host, struct mmc_request *mrq)
mrq              1234 drivers/mmc/host/sdhci.c 		((mrq->cmd && mrq->cmd->error) ||
mrq              1235 drivers/mmc/host/sdhci.c 		 (mrq->sbc && mrq->sbc->error) ||
mrq              1236 drivers/mmc/host/sdhci.c 		 (mrq->data && mrq->data->stop && mrq->data->stop->error) ||
mrq              1240 drivers/mmc/host/sdhci.c static void __sdhci_finish_mrq(struct sdhci_host *host, struct mmc_request *mrq)
mrq              1244 drivers/mmc/host/sdhci.c 	if (host->cmd && host->cmd->mrq == mrq)
mrq              1247 drivers/mmc/host/sdhci.c 	if (host->data_cmd && host->data_cmd->mrq == mrq)
mrq              1250 drivers/mmc/host/sdhci.c 	if (host->data && host->data->mrq == mrq)
mrq              1253 drivers/mmc/host/sdhci.c 	if (sdhci_needs_reset(host, mrq))
mrq              1257 drivers/mmc/host/sdhci.c 		if (host->mrqs_done[i] == mrq) {
mrq              1265 drivers/mmc/host/sdhci.c 			host->mrqs_done[i] = mrq;
mrq              1272 drivers/mmc/host/sdhci.c 	sdhci_del_timer(host, mrq);
mrq              1278 drivers/mmc/host/sdhci.c static void sdhci_finish_mrq(struct sdhci_host *host, struct mmc_request *mrq)
mrq              1280 drivers/mmc/host/sdhci.c 	__sdhci_finish_mrq(host, mrq);
mrq              1326 drivers/mmc/host/sdhci.c 	     !data->mrq->sbc)) {
mrq              1332 drivers/mmc/host/sdhci.c 		if (data->mrq->cap_cmd_during_tfr) {
mrq              1333 drivers/mmc/host/sdhci.c 			__sdhci_finish_mrq(host, data->mrq);
mrq              1340 drivers/mmc/host/sdhci.c 		__sdhci_finish_mrq(host, data->mrq);
mrq              1368 drivers/mmc/host/sdhci.c 	if (cmd->mrq->data && (cmd == cmd->mrq->data->stop))
mrq              1377 drivers/mmc/host/sdhci.c 			sdhci_finish_mrq(host, cmd->mrq);
mrq              1400 drivers/mmc/host/sdhci.c 		sdhci_finish_mrq(host, cmd->mrq);
mrq              1430 drivers/mmc/host/sdhci.c 	sdhci_mod_timer(host, cmd->mrq, timeout);
mrq              1470 drivers/mmc/host/sdhci.c 	if (cmd->mrq->cap_cmd_during_tfr && cmd == cmd->mrq->cmd)
mrq              1471 drivers/mmc/host/sdhci.c 		mmc_command_done(host->mmc, cmd->mrq);
mrq              1494 drivers/mmc/host/sdhci.c 	if (cmd == cmd->mrq->sbc) {
mrq              1495 drivers/mmc/host/sdhci.c 		sdhci_send_command(host, cmd->mrq->cmd);
mrq              1503 drivers/mmc/host/sdhci.c 			__sdhci_finish_mrq(host, cmd->mrq);
mrq              1805 drivers/mmc/host/sdhci.c void sdhci_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq              1824 drivers/mmc/host/sdhci.c 	if (sdhci_auto_cmd12(host, mrq)) {
mrq              1825 drivers/mmc/host/sdhci.c 		if (mrq->stop) {
mrq              1826 drivers/mmc/host/sdhci.c 			mrq->data->stop = NULL;
mrq              1827 drivers/mmc/host/sdhci.c 			mrq->stop = NULL;
mrq              1832 drivers/mmc/host/sdhci.c 		mrq->cmd->error = -ENOMEDIUM;
mrq              1833 drivers/mmc/host/sdhci.c 		sdhci_finish_mrq(host, mrq);
mrq              1835 drivers/mmc/host/sdhci.c 		if (mrq->sbc && !(host->flags & SDHCI_AUTO_CMD23))
mrq              1836 drivers/mmc/host/sdhci.c 			sdhci_send_command(host, mrq->sbc);
mrq              1838 drivers/mmc/host/sdhci.c 			sdhci_send_command(host, mrq->cmd);
mrq              2351 drivers/mmc/host/sdhci.c 	struct mmc_request mrq = {};
mrq              2359 drivers/mmc/host/sdhci.c 	cmd.mrq = &mrq;
mrq              2361 drivers/mmc/host/sdhci.c 	mrq.cmd = &cmd;
mrq              2385 drivers/mmc/host/sdhci.c 	sdhci_del_timer(host, &mrq);
mrq              2535 drivers/mmc/host/sdhci.c static void sdhci_post_req(struct mmc_host *mmc, struct mmc_request *mrq,
mrq              2539 drivers/mmc/host/sdhci.c 	struct mmc_data *data = mrq->data;
mrq              2548 drivers/mmc/host/sdhci.c static void sdhci_pre_req(struct mmc_host *mmc, struct mmc_request *mrq)
mrq              2552 drivers/mmc/host/sdhci.c 	mrq->data->host_cookie = COOKIE_UNMAPPED;
mrq              2560 drivers/mmc/host/sdhci.c 		sdhci_pre_dma_transfer(host, mrq->data, COOKIE_PRE_MAPPED);
mrq              2567 drivers/mmc/host/sdhci.c 		sdhci_finish_mrq(host, host->data_cmd->mrq);
mrq              2572 drivers/mmc/host/sdhci.c 		sdhci_finish_mrq(host, host->cmd->mrq);
mrq              2632 drivers/mmc/host/sdhci.c 	struct mmc_request *mrq;
mrq              2638 drivers/mmc/host/sdhci.c 		mrq = host->mrqs_done[i];
mrq              2639 drivers/mmc/host/sdhci.c 		if (mrq)
mrq              2643 drivers/mmc/host/sdhci.c 	if (!mrq) {
mrq              2654 drivers/mmc/host/sdhci.c 		struct mmc_data *data = mrq->data;
mrq              2704 drivers/mmc/host/sdhci.c 	if (sdhci_needs_reset(host, mrq)) {
mrq              2733 drivers/mmc/host/sdhci.c 	mmc_request_done(host->mmc, mrq);
mrq              2762 drivers/mmc/host/sdhci.c 		sdhci_finish_mrq(host, host->cmd->mrq);
mrq              2789 drivers/mmc/host/sdhci.c 			sdhci_finish_mrq(host, host->data_cmd->mrq);
mrq              2792 drivers/mmc/host/sdhci.c 			sdhci_finish_mrq(host, host->cmd->mrq);
mrq              2809 drivers/mmc/host/sdhci.c 		struct mmc_request *mrq = host->data_cmd->mrq;
mrq              2816 drivers/mmc/host/sdhci.c 		if (!mrq->sbc && (host->flags & SDHCI_AUTO_CMD12)) {
mrq              2852 drivers/mmc/host/sdhci.c 		__sdhci_finish_mrq(host, host->cmd->mrq);
mrq              2858 drivers/mmc/host/sdhci.c 		struct mmc_request *mrq = host->cmd->mrq;
mrq              2864 drivers/mmc/host/sdhci.c 		if (mrq->sbc && (host->flags & SDHCI_AUTO_CMD23)) {
mrq              2865 drivers/mmc/host/sdhci.c 			mrq->sbc->error = err;
mrq              2866 drivers/mmc/host/sdhci.c 			__sdhci_finish_mrq(host, mrq);
mrq              2934 drivers/mmc/host/sdhci.c 				__sdhci_finish_mrq(host, data_cmd->mrq);
mrq              2947 drivers/mmc/host/sdhci.c 				__sdhci_finish_mrq(host, data_cmd->mrq);
mrq              3032 drivers/mmc/host/sdhci.c 				    struct mmc_request *mrq)
mrq              3034 drivers/mmc/host/sdhci.c 	struct mmc_data *data = mrq->data;
mrq              3144 drivers/mmc/host/sdhci.c 		struct mmc_request *mrq = host->mrqs_done[i];
mrq              3146 drivers/mmc/host/sdhci.c 		if (!mrq)
mrq              3149 drivers/mmc/host/sdhci.c 		if (sdhci_defer_done(host, mrq)) {
mrq              3152 drivers/mmc/host/sdhci.c 			mrqs_done[i] = mrq;
mrq               766 drivers/mmc/host/sdhci.h void sdhci_request(struct mmc_host *mmc, struct mmc_request *mrq);
mrq               248 drivers/mmc/host/sdricoh_cs.c static void sdricoh_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq               251 drivers/mmc/host/sdricoh_cs.c 	struct mmc_command *cmd = mrq->cmd;
mrq               334 drivers/mmc/host/sdricoh_cs.c 	mmc_request_done(mmc, mrq);
mrq               222 drivers/mmc/host/sh_mmcif.c 	struct mmc_request *mrq;
mrq               275 drivers/mmc/host/sh_mmcif.c 	struct mmc_request *mrq = host->mrq;
mrq               280 drivers/mmc/host/sh_mmcif.c 	if (WARN(!mrq || !mrq->data, "%s: NULL data in DMA completion!\n",
mrq               289 drivers/mmc/host/sh_mmcif.c 	struct mmc_data *data = host->mrq->data;
mrq               339 drivers/mmc/host/sh_mmcif.c 	struct mmc_data *data = host->mrq->data;
mrq               600 drivers/mmc/host/sh_mmcif.c 	struct mmc_data *data = host->mrq->data;
mrq               619 drivers/mmc/host/sh_mmcif.c 				 struct mmc_request *mrq)
mrq               633 drivers/mmc/host/sh_mmcif.c 	struct mmc_data *data = host->mrq->data;
mrq               654 drivers/mmc/host/sh_mmcif.c 				struct mmc_request *mrq)
mrq               656 drivers/mmc/host/sh_mmcif.c 	struct mmc_data *data = mrq->data;
mrq               675 drivers/mmc/host/sh_mmcif.c 	struct mmc_data *data = host->mrq->data;
mrq               699 drivers/mmc/host/sh_mmcif.c 					struct mmc_request *mrq)
mrq               713 drivers/mmc/host/sh_mmcif.c 	struct mmc_data *data = host->mrq->data;
mrq               734 drivers/mmc/host/sh_mmcif.c 				struct mmc_request *mrq)
mrq               736 drivers/mmc/host/sh_mmcif.c 	struct mmc_data *data = mrq->data;
mrq               755 drivers/mmc/host/sh_mmcif.c 	struct mmc_data *data = host->mrq->data;
mrq               797 drivers/mmc/host/sh_mmcif.c 			    struct mmc_request *mrq)
mrq               800 drivers/mmc/host/sh_mmcif.c 	struct mmc_data *data = mrq->data;
mrq               801 drivers/mmc/host/sh_mmcif.c 	struct mmc_command *cmd = mrq->cmd;
mrq               880 drivers/mmc/host/sh_mmcif.c 			       struct mmc_request *mrq, u32 opc)
mrq               886 drivers/mmc/host/sh_mmcif.c 		sh_mmcif_multi_read(host, mrq);
mrq               889 drivers/mmc/host/sh_mmcif.c 		sh_mmcif_multi_write(host, mrq);
mrq               892 drivers/mmc/host/sh_mmcif.c 		sh_mmcif_single_write(host, mrq);
mrq               896 drivers/mmc/host/sh_mmcif.c 		sh_mmcif_single_read(host, mrq);
mrq               905 drivers/mmc/host/sh_mmcif.c 			       struct mmc_request *mrq)
mrq               907 drivers/mmc/host/sh_mmcif.c 	struct mmc_command *cmd = mrq->cmd;
mrq               920 drivers/mmc/host/sh_mmcif.c 	if (mrq->data) {
mrq               923 drivers/mmc/host/sh_mmcif.c 				mrq->data->blksz);
mrq               925 drivers/mmc/host/sh_mmcif.c 	opc = sh_mmcif_set_cmd(host, mrq);
mrq               944 drivers/mmc/host/sh_mmcif.c 			      struct mmc_request *mrq)
mrq               948 drivers/mmc/host/sh_mmcif.c 	switch (mrq->cmd->opcode) {
mrq               957 drivers/mmc/host/sh_mmcif.c 		mrq->stop->error = sh_mmcif_error_manage(host);
mrq               964 drivers/mmc/host/sh_mmcif.c static void sh_mmcif_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq               975 drivers/mmc/host/sh_mmcif.c 		mrq->cmd->error = -EAGAIN;
mrq               976 drivers/mmc/host/sh_mmcif.c 		mmc_request_done(mmc, mrq);
mrq               983 drivers/mmc/host/sh_mmcif.c 	host->mrq = mrq;
mrq               985 drivers/mmc/host/sh_mmcif.c 	sh_mmcif_start_cmd(host, mrq);
mrq              1079 drivers/mmc/host/sh_mmcif.c 	struct mmc_command *cmd = host->mrq->cmd;
mrq              1080 drivers/mmc/host/sh_mmcif.c 	struct mmc_data *data = host->mrq->data;
mrq              1125 drivers/mmc/host/sh_mmcif.c 		data->error = sh_mmcif_data_trans(host, host->mrq, cmd->opcode);
mrq              1174 drivers/mmc/host/sh_mmcif.c 	struct mmc_request *mrq;
mrq              1188 drivers/mmc/host/sh_mmcif.c 	mrq = host->mrq;
mrq              1189 drivers/mmc/host/sh_mmcif.c 	if (!mrq) {
mrq              1227 drivers/mmc/host/sh_mmcif.c 			mrq->stop->error = sh_mmcif_error_manage(host);
mrq              1228 drivers/mmc/host/sh_mmcif.c 			dev_dbg(dev, "%s(): %d\n", __func__, mrq->stop->error);
mrq              1231 drivers/mmc/host/sh_mmcif.c 		sh_mmcif_get_cmd12response(host, mrq->stop);
mrq              1232 drivers/mmc/host/sh_mmcif.c 		mrq->stop->error = 0;
mrq              1237 drivers/mmc/host/sh_mmcif.c 			mrq->data->error = sh_mmcif_error_manage(host);
mrq              1238 drivers/mmc/host/sh_mmcif.c 			dev_dbg(dev, "%s(): %d\n", __func__, mrq->data->error);
mrq              1253 drivers/mmc/host/sh_mmcif.c 		struct mmc_data *data = mrq->data;
mrq              1254 drivers/mmc/host/sh_mmcif.c 		if (!mrq->cmd->error && data && !data->error)
mrq              1258 drivers/mmc/host/sh_mmcif.c 		if (mrq->stop && !mrq->cmd->error && (!data || !data->error)) {
mrq              1259 drivers/mmc/host/sh_mmcif.c 			sh_mmcif_stop_cmd(host, mrq);
mrq              1260 drivers/mmc/host/sh_mmcif.c 			if (!mrq->stop->error) {
mrq              1270 drivers/mmc/host/sh_mmcif.c 	host->mrq = NULL;
mrq              1271 drivers/mmc/host/sh_mmcif.c 	mmc_request_done(host->mmc, mrq);
mrq              1301 drivers/mmc/host/sh_mmcif.c 		if (!host->mrq)
mrq              1318 drivers/mmc/host/sh_mmcif.c 	struct mmc_request *mrq = host->mrq;
mrq              1333 drivers/mmc/host/sh_mmcif.c 		host->wait_for, mrq->cmd->opcode);
mrq              1344 drivers/mmc/host/sh_mmcif.c 		mrq->cmd->error = sh_mmcif_error_manage(host);
mrq              1347 drivers/mmc/host/sh_mmcif.c 		mrq->stop->error = sh_mmcif_error_manage(host);
mrq              1355 drivers/mmc/host/sh_mmcif.c 		mrq->data->error = sh_mmcif_error_manage(host);
mrq              1363 drivers/mmc/host/sh_mmcif.c 	host->mrq = NULL;
mrq              1364 drivers/mmc/host/sh_mmcif.c 	mmc_request_done(host->mmc, mrq);
mrq               293 drivers/mmc/host/sunxi-mmc.c 	struct mmc_request *mrq;
mrq               480 drivers/mmc/host/sunxi-mmc.c 	struct mmc_command *cmd = host->mrq->cmd;
mrq               481 drivers/mmc/host/sunxi-mmc.c 	struct mmc_data *data = host->mrq->data;
mrq               508 drivers/mmc/host/sunxi-mmc.c 	struct mmc_request *mrq = host->mrq;
mrq               509 drivers/mmc/host/sunxi-mmc.c 	struct mmc_data *data = mrq->data;
mrq               517 drivers/mmc/host/sunxi-mmc.c 		mrq->cmd->error = -ETIMEDOUT;
mrq               521 drivers/mmc/host/sunxi-mmc.c 			host->manual_stop_mrq = mrq;
mrq               524 drivers/mmc/host/sunxi-mmc.c 		if (mrq->stop)
mrq               525 drivers/mmc/host/sunxi-mmc.c 			mrq->stop->error = -ETIMEDOUT;
mrq               527 drivers/mmc/host/sunxi-mmc.c 		if (mrq->cmd->flags & MMC_RSP_136) {
mrq               528 drivers/mmc/host/sunxi-mmc.c 			mrq->cmd->resp[0] = mmc_readl(host, REG_RESP3);
mrq               529 drivers/mmc/host/sunxi-mmc.c 			mrq->cmd->resp[1] = mmc_readl(host, REG_RESP2);
mrq               530 drivers/mmc/host/sunxi-mmc.c 			mrq->cmd->resp[2] = mmc_readl(host, REG_RESP1);
mrq               531 drivers/mmc/host/sunxi-mmc.c 			mrq->cmd->resp[3] = mmc_readl(host, REG_RESP0);
mrq               533 drivers/mmc/host/sunxi-mmc.c 			mrq->cmd->resp[0] = mmc_readl(host, REG_RESP0);
mrq               556 drivers/mmc/host/sunxi-mmc.c 	host->mrq = NULL;
mrq               566 drivers/mmc/host/sunxi-mmc.c 	struct mmc_request *mrq;
mrq               578 drivers/mmc/host/sunxi-mmc.c 		host->mrq, msk_int, idma_int);
mrq               580 drivers/mmc/host/sunxi-mmc.c 	mrq = host->mrq;
mrq               581 drivers/mmc/host/sunxi-mmc.c 	if (mrq) {
mrq               612 drivers/mmc/host/sunxi-mmc.c 		mmc_request_done(host->mmc, mrq);
mrq               623 drivers/mmc/host/sunxi-mmc.c 	struct mmc_request *mrq;
mrq               627 drivers/mmc/host/sunxi-mmc.c 	mrq = host->manual_stop_mrq;
mrq               630 drivers/mmc/host/sunxi-mmc.c 	if (!mrq) {
mrq               645 drivers/mmc/host/sunxi-mmc.c 	sunxi_mmc_send_manual_stop(host, mrq);
mrq               651 drivers/mmc/host/sunxi-mmc.c 	mmc_request_done(host->mmc, mrq);
mrq              1000 drivers/mmc/host/sunxi-mmc.c static void sunxi_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq              1003 drivers/mmc/host/sunxi-mmc.c 	struct mmc_command *cmd = mrq->cmd;
mrq              1004 drivers/mmc/host/sunxi-mmc.c 	struct mmc_data *data = mrq->data;
mrq              1013 drivers/mmc/host/sunxi-mmc.c 		mrq->cmd->error = host->ferror;
mrq              1014 drivers/mmc/host/sunxi-mmc.c 		mmc_request_done(mmc, mrq);
mrq              1024 drivers/mmc/host/sunxi-mmc.c 			mmc_request_done(mmc, mrq);
mrq              1064 drivers/mmc/host/sunxi-mmc.c 		mrq->data ? mrq->data->blksz * mrq->data->blocks : 0);
mrq              1068 drivers/mmc/host/sunxi-mmc.c 	if (host->mrq || host->manual_stop_mrq) {
mrq              1076 drivers/mmc/host/sunxi-mmc.c 		mrq->cmd->error = -EBUSY;
mrq              1077 drivers/mmc/host/sunxi-mmc.c 		mmc_request_done(mmc, mrq);
mrq              1087 drivers/mmc/host/sunxi-mmc.c 	host->mrq = mrq;
mrq               618 drivers/mmc/host/tifm_sd.c static void tifm_sd_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq               623 drivers/mmc/host/tifm_sd.c 	struct mmc_data *r_data = mrq->cmd->data;
mrq               627 drivers/mmc/host/tifm_sd.c 		mrq->cmd->error = -ENOMEDIUM;
mrq               634 drivers/mmc/host/tifm_sd.c 		mrq->cmd->error = -ETIMEDOUT;
mrq               642 drivers/mmc/host/tifm_sd.c 	if (mrq->data && !is_power_of_2(mrq->data->blksz))
mrq               650 drivers/mmc/host/tifm_sd.c 		if ((r_data->flags & MMC_DATA_WRITE) && !mrq->stop)
mrq               674 drivers/mmc/host/tifm_sd.c 				mrq->cmd->error = -ENOMEM;
mrq               690 drivers/mmc/host/tifm_sd.c 				mrq->cmd->error = -ENOMEM;
mrq               719 drivers/mmc/host/tifm_sd.c 	host->req = mrq;
mrq               723 drivers/mmc/host/tifm_sd.c 	tifm_sd_exec(host, mrq->cmd);
mrq               729 drivers/mmc/host/tifm_sd.c 	mmc_request_done(mmc, mrq);
mrq               737 drivers/mmc/host/tifm_sd.c 	struct mmc_request *mrq;
mrq               744 drivers/mmc/host/tifm_sd.c 	mrq = host->req;
mrq               747 drivers/mmc/host/tifm_sd.c 	if (!mrq) {
mrq               754 drivers/mmc/host/tifm_sd.c 	r_data = mrq->cmd->data;
mrq               780 drivers/mmc/host/tifm_sd.c 	mmc_request_done(mmc, mrq);
mrq               126 drivers/mmc/host/tmio_mmc.h 	struct mmc_request      *mrq;
mrq               191 drivers/mmc/host/tmio_mmc_core.c 	struct mmc_request *mrq;
mrq               195 drivers/mmc/host/tmio_mmc_core.c 	mrq = host->mrq;
mrq               202 drivers/mmc/host/tmio_mmc_core.c 	if (IS_ERR_OR_NULL(mrq) ||
mrq               211 drivers/mmc/host/tmio_mmc_core.c 		 mrq->cmd->opcode);
mrq               218 drivers/mmc/host/tmio_mmc_core.c 		mrq->cmd->error = -ETIMEDOUT;
mrq               228 drivers/mmc/host/tmio_mmc_core.c 	host->mrq = NULL;
mrq               230 drivers/mmc/host/tmio_mmc_core.c 	mmc_request_done(host->mmc, mrq);
mrq               284 drivers/mmc/host/tmio_mmc_core.c 			    (cmd->opcode == SD_IO_RW_EXTENDED || host->mrq->sbc))
mrq               451 drivers/mmc/host/tmio_mmc_core.c 			host->mrq);
mrq               454 drivers/mmc/host/tmio_mmc_core.c 			host->mrq);
mrq               457 drivers/mmc/host/tmio_mmc_core.c 	if (stop && !host->mrq->sbc) {
mrq               761 drivers/mmc/host/tmio_mmc_core.c 			     struct mmc_request *mrq)
mrq               766 drivers/mmc/host/tmio_mmc_core.c 	if (mrq->sbc && host->cmd != mrq->sbc) {
mrq               767 drivers/mmc/host/tmio_mmc_core.c 		cmd = mrq->sbc;
mrq               769 drivers/mmc/host/tmio_mmc_core.c 		cmd = mrq->cmd;
mrq               770 drivers/mmc/host/tmio_mmc_core.c 		if (mrq->data) {
mrq               771 drivers/mmc/host/tmio_mmc_core.c 			ret = tmio_mmc_start_data(host, mrq->data);
mrq               786 drivers/mmc/host/tmio_mmc_core.c 	host->mrq = NULL;
mrq               787 drivers/mmc/host/tmio_mmc_core.c 	mrq->cmd->error = ret;
mrq               788 drivers/mmc/host/tmio_mmc_core.c 	mmc_request_done(host->mmc, mrq);
mrq               792 drivers/mmc/host/tmio_mmc_core.c static void tmio_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq               799 drivers/mmc/host/tmio_mmc_core.c 	if (host->mrq) {
mrq               801 drivers/mmc/host/tmio_mmc_core.c 		if (IS_ERR(host->mrq)) {
mrq               803 drivers/mmc/host/tmio_mmc_core.c 			mrq->cmd->error = -EAGAIN;
mrq               804 drivers/mmc/host/tmio_mmc_core.c 			mmc_request_done(mmc, mrq);
mrq               811 drivers/mmc/host/tmio_mmc_core.c 	host->mrq = mrq;
mrq               815 drivers/mmc/host/tmio_mmc_core.c 	tmio_process_mrq(host, mrq);
mrq               820 drivers/mmc/host/tmio_mmc_core.c 	struct mmc_request *mrq;
mrq               825 drivers/mmc/host/tmio_mmc_core.c 	mrq = host->mrq;
mrq               826 drivers/mmc/host/tmio_mmc_core.c 	if (IS_ERR_OR_NULL(mrq)) {
mrq               832 drivers/mmc/host/tmio_mmc_core.c 	if (host->cmd != mrq->sbc) {
mrq               835 drivers/mmc/host/tmio_mmc_core.c 		host->mrq = NULL;
mrq               842 drivers/mmc/host/tmio_mmc_core.c 	if (mrq->cmd->error || (mrq->data && mrq->data->error))
mrq               850 drivers/mmc/host/tmio_mmc_core.c 	if (host->mrq && !mrq->cmd->error) {
mrq               851 drivers/mmc/host/tmio_mmc_core.c 		tmio_process_mrq(host, mrq);
mrq               855 drivers/mmc/host/tmio_mmc_core.c 	mmc_request_done(host->mmc, mrq);
mrq               943 drivers/mmc/host/tmio_mmc_core.c 	if (host->mrq) {
mrq               944 drivers/mmc/host/tmio_mmc_core.c 		if (IS_ERR(host->mrq)) {
mrq               949 drivers/mmc/host/tmio_mmc_core.c 			host->mrq = ERR_PTR(-EINTR);
mrq               954 drivers/mmc/host/tmio_mmc_core.c 				host->mrq->cmd->opcode, host->last_req_ts,
mrq               963 drivers/mmc/host/tmio_mmc_core.c 	host->mrq = ERR_PTR(-EBUSY);
mrq               985 drivers/mmc/host/tmio_mmc_core.c 	if (PTR_ERR(host->mrq) == -EINTR)
mrq               990 drivers/mmc/host/tmio_mmc_core.c 	host->mrq = NULL;
mrq               145 drivers/mmc/host/toshsd.c 	struct mmc_request *mrq = host->mrq;
mrq               148 drivers/mmc/host/toshsd.c 	host->mrq = NULL;
mrq               153 drivers/mmc/host/toshsd.c 	mmc_request_done(host->mmc, mrq);
mrq               496 drivers/mmc/host/toshsd.c static void toshsd_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq               503 drivers/mmc/host/toshsd.c 		mrq->cmd->error = -ENOMEDIUM;
mrq               504 drivers/mmc/host/toshsd.c 		mmc_request_done(mmc, mrq);
mrq               510 drivers/mmc/host/toshsd.c 	WARN_ON(host->mrq != NULL);
mrq               512 drivers/mmc/host/toshsd.c 	host->mrq = mrq;
mrq               514 drivers/mmc/host/toshsd.c 	if (mrq->data)
mrq               515 drivers/mmc/host/toshsd.c 		toshsd_start_data(host, mrq->data);
mrq               519 drivers/mmc/host/toshsd.c 	toshsd_start_cmd(host, mrq->cmd);
mrq               165 drivers/mmc/host/toshsd.h 	struct mmc_request *mrq;/* Current request */
mrq               158 drivers/mmc/host/usdhi6rol0.c 	struct mmc_request *mrq;
mrq               280 drivers/mmc/host/usdhi6rol0.c 		int opc = host->mrq ? host->mrq->cmd->opcode : -1;
mrq               298 drivers/mmc/host/usdhi6rol0.c 			 err, host->wait, host->mrq ? host->mrq->cmd->opcode : -1);
mrq               316 drivers/mmc/host/usdhi6rol0.c 	struct mmc_data *data = host->mrq->data;
mrq               320 drivers/mmc/host/usdhi6rol0.c 		__func__, host->mrq->cmd->opcode, data->sg_len,
mrq               343 drivers/mmc/host/usdhi6rol0.c 	struct mmc_request *mrq = host->mrq;
mrq               344 drivers/mmc/host/usdhi6rol0.c 	struct mmc_data *data = mrq->data;
mrq               356 drivers/mmc/host/usdhi6rol0.c 	struct mmc_data *data = host->mrq->data;
mrq               388 drivers/mmc/host/usdhi6rol0.c 		sg->offset, host->mrq->cmd->opcode, host->mrq);
mrq               396 drivers/mmc/host/usdhi6rol0.c 	struct mmc_data *data = host->mrq->data;
mrq               436 drivers/mmc/host/usdhi6rol0.c 	struct mmc_data *data = host->mrq->data;
mrq               511 drivers/mmc/host/usdhi6rol0.c 		host->mrq->cmd->opcode, host->mrq);
mrq               533 drivers/mmc/host/usdhi6rol0.c 	struct mmc_data *data = host->mrq->data;
mrq               552 drivers/mmc/host/usdhi6rol0.c 	struct mmc_request *mrq = host->mrq;
mrq               554 drivers/mmc/host/usdhi6rol0.c 	if (WARN(!mrq || !mrq->data, "%s: NULL data in DMA completion for %p!\n",
mrq               555 drivers/mmc/host/usdhi6rol0.c 		 dev_name(mmc_dev(host->mmc)), mrq))
mrq               559 drivers/mmc/host/usdhi6rol0.c 		mrq->cmd->opcode);
mrq               562 drivers/mmc/host/usdhi6rol0.c 	usdhi6_wait_for_brwe(host, mrq->data->flags & MMC_DATA_READ);
mrq               568 drivers/mmc/host/usdhi6rol0.c 	struct mmc_data *data = host->mrq->data;
mrq               619 drivers/mmc/host/usdhi6rol0.c 	if (host->mrq->data->flags & MMC_DATA_READ)
mrq               627 drivers/mmc/host/usdhi6rol0.c 	struct mmc_data *data = host->mrq->data;
mrq               640 drivers/mmc/host/usdhi6rol0.c 	struct mmc_data *data = host->mrq->data;
mrq               666 drivers/mmc/host/usdhi6rol0.c 	if (host->mrq->data->flags & MMC_DATA_READ)
mrq               869 drivers/mmc/host/usdhi6rol0.c 	struct mmc_request *mrq = host->mrq;
mrq               873 drivers/mmc/host/usdhi6rol0.c 	if (!mrq->data)
mrq               874 drivers/mmc/host/usdhi6rol0.c 		ticks = host->rate / 1000 * mrq->cmd->busy_timeout;
mrq               876 drivers/mmc/host/usdhi6rol0.c 		ticks = host->rate / 1000000 * (mrq->data->timeout_ns / 1000) +
mrq               877 drivers/mmc/host/usdhi6rol0.c 			mrq->data->timeout_clks;
mrq               889 drivers/mmc/host/usdhi6rol0.c 		mrq->data ? "data" : "cmd", ticks, host->rate);
mrq               898 drivers/mmc/host/usdhi6rol0.c 	struct mmc_request *mrq = host->mrq;
mrq               899 drivers/mmc/host/usdhi6rol0.c 	struct mmc_data *data = mrq->data;
mrq               903 drivers/mmc/host/usdhi6rol0.c 		 host->pg.page, host->head_pg.page, host->wait, mrq->cmd->opcode,
mrq               909 drivers/mmc/host/usdhi6rol0.c 	if (mrq->cmd->error ||
mrq               911 drivers/mmc/host/usdhi6rol0.c 	    (mrq->stop && mrq->stop->error))
mrq               913 drivers/mmc/host/usdhi6rol0.c 			__func__, mrq->cmd->opcode, data ? data->blocks : 0,
mrq               915 drivers/mmc/host/usdhi6rol0.c 			mrq->cmd->error,
mrq               917 drivers/mmc/host/usdhi6rol0.c 			mrq->stop ? mrq->stop->error : 1);
mrq               922 drivers/mmc/host/usdhi6rol0.c 	host->mrq = NULL;
mrq               924 drivers/mmc/host/usdhi6rol0.c 	mmc_request_done(host->mmc, mrq);
mrq               929 drivers/mmc/host/usdhi6rol0.c 	struct mmc_request *mrq = host->mrq;
mrq               930 drivers/mmc/host/usdhi6rol0.c 	struct mmc_command *cmd = mrq->cmd;
mrq               938 drivers/mmc/host/usdhi6rol0.c 	if (mrq->data) {
mrq               941 drivers/mmc/host/usdhi6rol0.c 		if (mrq->data->flags & MMC_DATA_READ)
mrq               947 drivers/mmc/host/usdhi6rol0.c 		     mrq->data->blocks > 1)) {
mrq               949 drivers/mmc/host/usdhi6rol0.c 			if (!mrq->stop)
mrq               982 drivers/mmc/host/usdhi6rol0.c 	struct mmc_request *mrq = host->mrq;
mrq               983 drivers/mmc/host/usdhi6rol0.c 	struct mmc_command *cmd = mrq->cmd;
mrq               984 drivers/mmc/host/usdhi6rol0.c 	struct mmc_data *data = mrq->data;
mrq              1016 drivers/mmc/host/usdhi6rol0.c 				if (mrq->stop)
mrq              1063 drivers/mmc/host/usdhi6rol0.c 			data->sg->offset, mrq->stop ? " + stop" : "");
mrq              1086 drivers/mmc/host/usdhi6rol0.c static void usdhi6_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq              1093 drivers/mmc/host/usdhi6rol0.c 	host->mrq = mrq;
mrq              1099 drivers/mmc/host/usdhi6rol0.c 		mrq->cmd->error = ret;
mrq              1198 drivers/mmc/host/usdhi6rol0.c 	struct mmc_command *cmd = host->mrq->stop;
mrq              1204 drivers/mmc/host/usdhi6rol0.c 	struct mmc_command *cmd = host->mrq->cmd;
mrq              1250 drivers/mmc/host/usdhi6rol0.c 	struct mmc_data *data = host->mrq->data;
mrq              1290 drivers/mmc/host/usdhi6rol0.c 	struct mmc_data *data = host->mrq->data;
mrq              1333 drivers/mmc/host/usdhi6rol0.c 	struct mmc_request *mrq = host->mrq;
mrq              1335 drivers/mmc/host/usdhi6rol0.c 	switch (mrq->cmd->opcode) {
mrq              1338 drivers/mmc/host/usdhi6rol0.c 		if (mrq->stop->opcode == MMC_STOP_TRANSMISSION) {
mrq              1346 drivers/mmc/host/usdhi6rol0.c 			mrq->stop->opcode, mrq->cmd->opcode);
mrq              1347 drivers/mmc/host/usdhi6rol0.c 		mrq->stop->error = -EOPNOTSUPP;
mrq              1355 drivers/mmc/host/usdhi6rol0.c 	struct mmc_request *mrq = host->mrq;
mrq              1356 drivers/mmc/host/usdhi6rol0.c 	struct mmc_command *cmd = mrq->cmd;
mrq              1365 drivers/mmc/host/usdhi6rol0.c 	if (!mrq->data)
mrq              1370 drivers/mmc/host/usdhi6rol0.c 		if (!mrq->stop)
mrq              1374 drivers/mmc/host/usdhi6rol0.c 	} else if (mrq->data->flags & MMC_DATA_READ) {
mrq              1377 drivers/mmc/host/usdhi6rol0.c 		     mrq->data->blocks > 1))
mrq              1384 drivers/mmc/host/usdhi6rol0.c 		     mrq->data->blocks > 1))
mrq              1421 drivers/mmc/host/usdhi6rol0.c 	return !host->mrq->data->error &&
mrq              1422 drivers/mmc/host/usdhi6rol0.c 		(host->wait != USDHI6_WAIT_FOR_DATA_END || !host->mrq->stop);
mrq              1448 drivers/mmc/host/usdhi6rol0.c 	return !host->mrq->data->error &&
mrq              1449 drivers/mmc/host/usdhi6rol0.c 		(host->wait != USDHI6_WAIT_FOR_DATA_END || !host->mrq->stop);
mrq              1457 drivers/mmc/host/usdhi6rol0.c 	struct mmc_request *mrq;
mrq              1464 drivers/mmc/host/usdhi6rol0.c 	mrq = host->mrq;
mrq              1465 drivers/mmc/host/usdhi6rol0.c 	if (!mrq)
mrq              1468 drivers/mmc/host/usdhi6rol0.c 	cmd = mrq->cmd;
mrq              1469 drivers/mmc/host/usdhi6rol0.c 	data = mrq->data;
mrq              1502 drivers/mmc/host/usdhi6rol0.c 			if (mrq->stop)
mrq              1503 drivers/mmc/host/usdhi6rol0.c 				mrq->stop->error = ret;
mrq              1505 drivers/mmc/host/usdhi6rol0.c 				mrq->data->error = ret;
mrq              1510 drivers/mmc/host/usdhi6rol0.c 		mrq->stop->error = 0;
mrq              1514 drivers/mmc/host/usdhi6rol0.c 			mrq->data->error = usdhi6_error_code(host);
mrq              1516 drivers/mmc/host/usdhi6rol0.c 				 mrq->data->error);
mrq              1530 drivers/mmc/host/usdhi6rol0.c 			usdhi6_wait_for_brwe(host, mrq->data->flags & MMC_DATA_READ);
mrq              1538 drivers/mmc/host/usdhi6rol0.c 				    host->mrq->stop &&
mrq              1539 drivers/mmc/host/usdhi6rol0.c 				    !host->mrq->stop->error &&
mrq              1671 drivers/mmc/host/usdhi6rol0.c 	struct mmc_request *mrq = host->mrq;
mrq              1672 drivers/mmc/host/usdhi6rol0.c 	struct mmc_data *data = mrq ? mrq->data : NULL;
mrq              1678 drivers/mmc/host/usdhi6rol0.c 		 host->wait, mrq ? mrq->cmd->opcode : -1,
mrq              1693 drivers/mmc/host/usdhi6rol0.c 		if (mrq)
mrq              1694 drivers/mmc/host/usdhi6rol0.c 			mrq->cmd->error = -ETIMEDOUT;
mrq              1698 drivers/mmc/host/usdhi6rol0.c 		mrq->stop->error = -ETIMEDOUT;
mrq              1718 drivers/mmc/host/usdhi6rol0.c 	if (mrq)
mrq               297 drivers/mmc/host/via-sdmmc.c 	struct mmc_request *mrq;
mrq               610 drivers/mmc/host/via-sdmmc.c 	if (cmd == host->mrq->stop)
mrq               656 drivers/mmc/host/via-sdmmc.c static void via_sdc_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq               674 drivers/mmc/host/via-sdmmc.c 	WARN_ON(host->mrq != NULL);
mrq               675 drivers/mmc/host/via-sdmmc.c 	host->mrq = mrq;
mrq               679 drivers/mmc/host/via-sdmmc.c 		host->mrq->cmd->error = -ENOMEDIUM;
mrq               682 drivers/mmc/host/via-sdmmc.c 		via_sdc_send_command(host, mrq->cmd);
mrq               935 drivers/mmc/host/via-sdmmc.c 	if (sdhost->mrq) {
mrq               938 drivers/mmc/host/via-sdmmc.c 		       sdhost->mrq->cmd->opcode);
mrq               949 drivers/mmc/host/via-sdmmc.c 				sdhost->mrq->cmd->error = -ETIMEDOUT;
mrq               961 drivers/mmc/host/via-sdmmc.c 	struct mmc_request *mrq;
mrq               968 drivers/mmc/host/via-sdmmc.c 	mrq = host->mrq;
mrq               969 drivers/mmc/host/via-sdmmc.c 	host->mrq = NULL;
mrq               975 drivers/mmc/host/via-sdmmc.c 	mmc_request_done(host->mmc, mrq);
mrq               998 drivers/mmc/host/via-sdmmc.c 		if (host->mrq) {
mrq              1001 drivers/mmc/host/via-sdmmc.c 			host->mrq->cmd->error = -ENOMEDIUM;
mrq              1180 drivers/mmc/host/via-sdmmc.c 	if (sdhost->mrq) {
mrq              1187 drivers/mmc/host/via-sdmmc.c 		sdhost->mrq->cmd->error = -ENOMEDIUM;
mrq              1188 drivers/mmc/host/via-sdmmc.c 		if (sdhost->mrq->stop)
mrq              1189 drivers/mmc/host/via-sdmmc.c 			sdhost->mrq->stop->error = -ENOMEDIUM;
mrq               202 drivers/mmc/host/wbsd.c static void wbsd_request_end(struct wbsd_host *host, struct mmc_request *mrq)
mrq               221 drivers/mmc/host/wbsd.c 	host->mrq = NULL;
mrq               227 drivers/mmc/host/wbsd.c 	mmc_request_done(host->mmc, mrq);
mrq               400 drivers/mmc/host/wbsd.c 	struct mmc_data *data = host->mrq->cmd->data;
mrq               465 drivers/mmc/host/wbsd.c 	struct mmc_data *data = host->mrq->cmd->data;
mrq               669 drivers/mmc/host/wbsd.c 	WARN_ON(host->mrq == NULL);
mrq               703 drivers/mmc/host/wbsd.c 		data->bytes_xfered = host->mrq->data->blocks *
mrq               704 drivers/mmc/host/wbsd.c 			host->mrq->data->blksz - count;
mrq               732 drivers/mmc/host/wbsd.c 	wbsd_request_end(host, host->mrq);
mrq               741 drivers/mmc/host/wbsd.c static void wbsd_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq               751 drivers/mmc/host/wbsd.c 	BUG_ON(host->mrq != NULL);
mrq               753 drivers/mmc/host/wbsd.c 	cmd = mrq->cmd;
mrq               755 drivers/mmc/host/wbsd.c 	host->mrq = mrq;
mrq               830 drivers/mmc/host/wbsd.c 	wbsd_request_end(host, mrq);
mrq               973 drivers/mmc/host/wbsd.c 	WARN_ON(!host->mrq);
mrq               974 drivers/mmc/host/wbsd.c 	if (!host->mrq)
mrq               977 drivers/mmc/host/wbsd.c 	WARN_ON(!host->mrq->cmd);
mrq               978 drivers/mmc/host/wbsd.c 	if (!host->mrq->cmd)
mrq               981 drivers/mmc/host/wbsd.c 	WARN_ON(!host->mrq->cmd->data);
mrq               982 drivers/mmc/host/wbsd.c 	if (!host->mrq->cmd->data)
mrq               985 drivers/mmc/host/wbsd.c 	return host->mrq->cmd->data;
mrq              1015 drivers/mmc/host/wbsd.c 		if (host->mrq) {
mrq              1020 drivers/mmc/host/wbsd.c 			host->mrq->cmd->error = -ENOMEDIUM;
mrq              1044 drivers/mmc/host/wbsd.c 	if (!host->mrq)
mrq              1075 drivers/mmc/host/wbsd.c 	if (!host->mrq)
mrq              1099 drivers/mmc/host/wbsd.c 	if (!host->mrq)
mrq              1123 drivers/mmc/host/wbsd.c 	WARN_ON(!host->mrq);
mrq              1124 drivers/mmc/host/wbsd.c 	if (!host->mrq)
mrq               147 drivers/mmc/host/wbsd.h 	struct mmc_request*	mrq;		/* Current request */
mrq               514 drivers/net/ethernet/intel/e1000/e1000_hw.h 			__le32 mrq;	/* Multiple Rx Queues */
mrq               540 drivers/net/ethernet/intel/e1000/e1000_hw.h 			__le32 mrq;	/* Multiple Rx Queues */
mrq               211 drivers/net/ethernet/intel/e1000e/hw.h 			__le32 mrq;	      /* Multiple Rx Queues */
mrq               241 drivers/net/ethernet/intel/e1000e/hw.h 			__le32 mrq;	      /* Multiple Rx Queues */
mrq               143 drivers/net/ppp/ppp_generic.c 	struct sk_buff_head mrq;	/* MP: receive reconstruction queue */
mrq              1038 drivers/net/ppp/ppp_generic.c 	skb_queue_head_init(&ppp->mrq);
mrq              2384 drivers/net/ppp/ppp_generic.c 	if (skb_queue_len(&ppp->mrq) >= PPP_MP_MAX_QLEN) {
mrq              2385 drivers/net/ppp/ppp_generic.c 		struct sk_buff *mskb = skb_peek(&ppp->mrq);
mrq              2416 drivers/net/ppp/ppp_generic.c 	struct sk_buff_head *list = &ppp->mrq;
mrq              2439 drivers/net/ppp/ppp_generic.c 	struct sk_buff_head *list = &ppp->mrq;
mrq              3112 drivers/net/ppp/ppp_generic.c 	skb_queue_purge(&ppp->mrq);
mrq              1013 drivers/pci/controller/dwc/pcie-tegra194.c 	msg.mrq = MRQ_UPHY;
mrq                29 drivers/reset/tegra/reset-bpmp.c 	msg.mrq = MRQ_RESET;
mrq               103 drivers/scsi/lpfc/lpfc_nvmet.h #define lpfc_get_ctx_list(phba, cpu, mrq)  \
mrq               104 drivers/scsi/lpfc/lpfc_nvmet.h 	(phba->sli4_hba.nvmet_ctx_info + ((cpu * phba->cfg_nvmet_mrq) + mrq))
mrq                45 drivers/soc/tegra/powergate-bpmp.c 	msg.mrq = MRQ_PG;
mrq                73 drivers/soc/tegra/powergate-bpmp.c 	msg.mrq = MRQ_PG;
mrq               101 drivers/soc/tegra/powergate-bpmp.c 	msg.mrq = MRQ_PG;
mrq               131 drivers/soc/tegra/powergate-bpmp.c 	msg.mrq = MRQ_PG;
mrq                23 drivers/staging/greybus/sdio.c 	struct mmc_request	*mrq;
mrq               369 drivers/staging/greybus/sdio.c 	if (single_op(data->mrq->cmd) && data->blocks > 1) {
mrq               413 drivers/staging/greybus/sdio.c 	struct mmc_data *data = host->mrq->data;
mrq               497 drivers/staging/greybus/sdio.c 	struct mmc_request *mrq;
mrq               507 drivers/staging/greybus/sdio.c 	mrq = host->mrq;
mrq               508 drivers/staging/greybus/sdio.c 	if (!mrq) {
mrq               516 drivers/staging/greybus/sdio.c 		mrq->cmd->error = -ESHUTDOWN;
mrq               520 drivers/staging/greybus/sdio.c 	if (mrq->sbc) {
mrq               521 drivers/staging/greybus/sdio.c 		ret = gb_sdio_command(host, mrq->sbc);
mrq               526 drivers/staging/greybus/sdio.c 	ret = gb_sdio_command(host, mrq->cmd);
mrq               530 drivers/staging/greybus/sdio.c 	if (mrq->data) {
mrq               531 drivers/staging/greybus/sdio.c 		ret = gb_sdio_transfer(host, mrq->data);
mrq               536 drivers/staging/greybus/sdio.c 	if (mrq->stop) {
mrq               537 drivers/staging/greybus/sdio.c 		ret = gb_sdio_command(host, mrq->stop);
mrq               543 drivers/staging/greybus/sdio.c 	host->mrq = NULL;
mrq               545 drivers/staging/greybus/sdio.c 	mmc_request_done(host->mmc, mrq);
mrq               549 drivers/staging/greybus/sdio.c static void gb_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq)
mrq               552 drivers/staging/greybus/sdio.c 	struct mmc_command *cmd = mrq->cmd;
mrq               563 drivers/staging/greybus/sdio.c 	WARN_ON(host->mrq);
mrq               564 drivers/staging/greybus/sdio.c 	host->mrq = mrq;
mrq               567 drivers/staging/greybus/sdio.c 		mrq->cmd->error = -ESHUTDOWN;
mrq               571 drivers/staging/greybus/sdio.c 		mrq->cmd->error = -ENOMEDIUM;
mrq               581 drivers/staging/greybus/sdio.c 	host->mrq = NULL;
mrq               583 drivers/staging/greybus/sdio.c 	mmc_request_done(mmc, mrq);
mrq                46 drivers/thermal/tegra/tegra-bpmp-thermal.c 	msg.mrq = MRQ_THERMAL;
mrq                75 drivers/thermal/tegra/tegra-bpmp-thermal.c 	msg.mrq = MRQ_THERMAL;
mrq                92 drivers/thermal/tegra/tegra-bpmp-thermal.c static void bpmp_mrq_thermal(unsigned int mrq, struct tegra_bpmp_channel *ch,
mrq               134 drivers/thermal/tegra/tegra-bpmp-thermal.c 	msg.mrq = MRQ_THERMAL;
mrq               262 include/linux/memstick.h 						 struct memstick_request **mrq);
mrq               318 include/linux/memstick.h void memstick_init_req_sg(struct memstick_request *mrq, unsigned char tpc,
mrq               320 include/linux/memstick.h void memstick_init_req(struct memstick_request *mrq, unsigned char tpc,
mrq               323 include/linux/memstick.h 		      struct memstick_request **mrq);
mrq               114 include/linux/mmc/core.h 	struct mmc_request	*mrq;		/* associated request */
mrq               138 include/linux/mmc/core.h 	struct mmc_request	*mrq;		/* associated request */
mrq               172 include/linux/mmc/core.h void mmc_wait_for_req(struct mmc_host *host, struct mmc_request *mrq);
mrq               183 include/linux/mmc/host.h 	int	(*cqe_request)(struct mmc_host *host, struct mmc_request *mrq);
mrq               185 include/linux/mmc/host.h 	void	(*cqe_post_req)(struct mmc_host *host, struct mmc_request *mrq);
mrq               202 include/linux/mmc/host.h 	bool	(*cqe_timeout)(struct mmc_host *host, struct mmc_request *mrq,
mrq               220 include/linux/mmc/host.h 	struct mmc_request	*mrq;
mrq               496 include/linux/mmc/host.h void mmc_command_done(struct mmc_host *host, struct mmc_request *mrq);
mrq               498 include/linux/mmc/host.h void mmc_cqe_request_done(struct mmc_host *host, struct mmc_request *mrq);
mrq                75 include/soc/tegra/bpmp-abi.h 	uint32_t mrq;
mrq              1111 include/soc/tegra/bpmp-abi.h 	uint32_t mrq;
mrq                48 include/soc/tegra/bpmp.h typedef void (*tegra_bpmp_mrq_handler_t)(unsigned int mrq,
mrq                54 include/soc/tegra/bpmp.h 	unsigned int mrq;
mrq                95 include/soc/tegra/bpmp.h 	unsigned int mrq;
mrq               119 include/soc/tegra/bpmp.h int tegra_bpmp_request_mrq(struct tegra_bpmp *bpmp, unsigned int mrq,
mrq               121 include/soc/tegra/bpmp.h void tegra_bpmp_free_mrq(struct tegra_bpmp *bpmp, unsigned int mrq,
mrq               123 include/soc/tegra/bpmp.h bool tegra_bpmp_mrq_is_supported(struct tegra_bpmp *bpmp, unsigned int mrq);
mrq               149 include/soc/tegra/bpmp.h 					 unsigned int mrq,
mrq               156 include/soc/tegra/bpmp.h 				       unsigned int mrq, void *data)
mrq               161 include/soc/tegra/bpmp.h 					      unsigned int mrq)
mrq                15 include/trace/events/mmc.h 	TP_PROTO(struct mmc_host *host, struct mmc_request *mrq),
mrq                17 include/trace/events/mmc.h 	TP_ARGS(host, mrq),
mrq                43 include/trace/events/mmc.h 		__field(struct mmc_request *,	mrq)
mrq                48 include/trace/events/mmc.h 		__entry->cmd_opcode = mrq->cmd ? mrq->cmd->opcode : 0;
mrq                49 include/trace/events/mmc.h 		__entry->cmd_arg = mrq->cmd ? mrq->cmd->arg : 0;
mrq                50 include/trace/events/mmc.h 		__entry->cmd_flags = mrq->cmd ? mrq->cmd->flags : 0;
mrq                51 include/trace/events/mmc.h 		__entry->cmd_retries = mrq->cmd ? mrq->cmd->retries : 0;
mrq                52 include/trace/events/mmc.h 		__entry->stop_opcode = mrq->stop ? mrq->stop->opcode : 0;
mrq                53 include/trace/events/mmc.h 		__entry->stop_arg = mrq->stop ? mrq->stop->arg : 0;
mrq                54 include/trace/events/mmc.h 		__entry->stop_flags = mrq->stop ? mrq->stop->flags : 0;
mrq                55 include/trace/events/mmc.h 		__entry->stop_retries = mrq->stop ? mrq->stop->retries : 0;
mrq                56 include/trace/events/mmc.h 		__entry->sbc_opcode = mrq->sbc ? mrq->sbc->opcode : 0;
mrq                57 include/trace/events/mmc.h 		__entry->sbc_arg = mrq->sbc ? mrq->sbc->arg : 0;
mrq                58 include/trace/events/mmc.h 		__entry->sbc_flags = mrq->sbc ? mrq->sbc->flags : 0;
mrq                59 include/trace/events/mmc.h 		__entry->sbc_retries = mrq->sbc ? mrq->sbc->retries : 0;
mrq                60 include/trace/events/mmc.h 		__entry->blksz = mrq->data ? mrq->data->blksz : 0;
mrq                61 include/trace/events/mmc.h 		__entry->blocks = mrq->data ? mrq->data->blocks : 0;
mrq                62 include/trace/events/mmc.h 		__entry->blk_addr = mrq->data ? mrq->data->blk_addr : 0;
mrq                63 include/trace/events/mmc.h 		__entry->data_flags = mrq->data ? mrq->data->flags : 0;
mrq                64 include/trace/events/mmc.h 		__entry->tag = mrq->tag;
mrq                72 include/trace/events/mmc.h 		__entry->mrq = mrq;
mrq                82 include/trace/events/mmc.h 		  __get_str(name), __entry->mrq,
mrq                98 include/trace/events/mmc.h 	TP_PROTO(struct mmc_host *host, struct mmc_request *mrq),
mrq               100 include/trace/events/mmc.h 	TP_ARGS(host, mrq),
mrq               124 include/trace/events/mmc.h 		__field(struct mmc_request *,	mrq)
mrq               129 include/trace/events/mmc.h 		__entry->cmd_opcode = mrq->cmd ? mrq->cmd->opcode : 0;
mrq               130 include/trace/events/mmc.h 		__entry->cmd_err = mrq->cmd ? mrq->cmd->error : 0;
mrq               131 include/trace/events/mmc.h 		__entry->cmd_resp[0] = mrq->cmd ? mrq->cmd->resp[0] : 0;
mrq               132 include/trace/events/mmc.h 		__entry->cmd_resp[1] = mrq->cmd ? mrq->cmd->resp[1] : 0;
mrq               133 include/trace/events/mmc.h 		__entry->cmd_resp[2] = mrq->cmd ? mrq->cmd->resp[2] : 0;
mrq               134 include/trace/events/mmc.h 		__entry->cmd_resp[3] = mrq->cmd ? mrq->cmd->resp[3] : 0;
mrq               135 include/trace/events/mmc.h 		__entry->cmd_retries = mrq->cmd ? mrq->cmd->retries : 0;
mrq               136 include/trace/events/mmc.h 		__entry->stop_opcode = mrq->stop ? mrq->stop->opcode : 0;
mrq               137 include/trace/events/mmc.h 		__entry->stop_err = mrq->stop ? mrq->stop->error : 0;
mrq               138 include/trace/events/mmc.h 		__entry->stop_resp[0] = mrq->stop ? mrq->stop->resp[0] : 0;
mrq               139 include/trace/events/mmc.h 		__entry->stop_resp[1] = mrq->stop ? mrq->stop->resp[1] : 0;
mrq               140 include/trace/events/mmc.h 		__entry->stop_resp[2] = mrq->stop ? mrq->stop->resp[2] : 0;
mrq               141 include/trace/events/mmc.h 		__entry->stop_resp[3] = mrq->stop ? mrq->stop->resp[3] : 0;
mrq               142 include/trace/events/mmc.h 		__entry->stop_retries = mrq->stop ? mrq->stop->retries : 0;
mrq               143 include/trace/events/mmc.h 		__entry->sbc_opcode = mrq->sbc ? mrq->sbc->opcode : 0;
mrq               144 include/trace/events/mmc.h 		__entry->sbc_err = mrq->sbc ? mrq->sbc->error : 0;
mrq               145 include/trace/events/mmc.h 		__entry->sbc_resp[0] = mrq->sbc ? mrq->sbc->resp[0] : 0;
mrq               146 include/trace/events/mmc.h 		__entry->sbc_resp[1] = mrq->sbc ? mrq->sbc->resp[1] : 0;
mrq               147 include/trace/events/mmc.h 		__entry->sbc_resp[2] = mrq->sbc ? mrq->sbc->resp[2] : 0;
mrq               148 include/trace/events/mmc.h 		__entry->sbc_resp[3] = mrq->sbc ? mrq->sbc->resp[3] : 0;
mrq               149 include/trace/events/mmc.h 		__entry->sbc_retries = mrq->sbc ? mrq->sbc->retries : 0;
mrq               150 include/trace/events/mmc.h 		__entry->bytes_xfered = mrq->data ? mrq->data->bytes_xfered : 0;
mrq               151 include/trace/events/mmc.h 		__entry->data_err = mrq->data ? mrq->data->error : 0;
mrq               152 include/trace/events/mmc.h 		__entry->tag = mrq->tag;
mrq               160 include/trace/events/mmc.h 		__entry->mrq = mrq;
mrq               171 include/trace/events/mmc.h 		  __get_str(name), __entry->mrq,