Lines Matching defs:mrq

233 	struct mmc_request *mrq;
237 mrq = host->mrq;
242 * us, so, have to check for IS_ERR(host->mrq)
244 if (IS_ERR_OR_NULL(mrq) ||
253 mrq->cmd->opcode);
260 mrq->cmd->error = -ETIMEDOUT;
263 host->mrq = ERR_PTR(-EBUSY);
272 host->mrq = NULL;
273 mmc_request_done(host->mmc, mrq);
327 (cmd->opcode == SD_IO_RW_EXTENDED || host->mrq->sbc))
493 host->mrq);
496 host->mrq);
499 if (stop && !host->mrq->sbc) {
765 struct mmc_request *mrq)
770 if (mrq->sbc && host->cmd != mrq->sbc) {
771 cmd = mrq->sbc;
773 cmd = mrq->cmd;
774 if (mrq->data) {
775 ret = tmio_mmc_start_data(host, mrq->data);
790 host->mrq = NULL;
791 mrq->cmd->error = ret;
792 mmc_request_done(host->mmc, mrq);
796 static void tmio_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq)
803 if (host->mrq) {
805 if (IS_ERR(host->mrq)) {
807 mrq->cmd->error = -EAGAIN;
808 mmc_request_done(mmc, mrq);
815 host->mrq = mrq;
819 tmio_process_mrq(host, mrq);
824 struct mmc_request *mrq;
831 mrq = host->mrq;
832 if (IS_ERR_OR_NULL(mrq)) {
838 if (host->cmd != mrq->sbc) {
841 host->mrq = NULL;
848 if (mrq->cmd->error || (mrq->data && mrq->data->error)) {
854 if (host->check_retune && host->check_retune(host, mrq))
858 if (host->mrq && !mrq->cmd->error) {
859 tmio_process_mrq(host, mrq);
864 host->fixup_request(host, mrq);
866 mmc_request_done(host->mmc, mrq);
955 if (host->mrq) {
956 if (IS_ERR(host->mrq)) {
961 host->mrq = ERR_PTR(-EINTR);
966 host->mrq->cmd->opcode, host->last_req_ts,
976 host->mrq = ERR_PTR(-EBUSY);
1005 if (PTR_ERR(host->mrq) == -EINTR)
1012 host->mrq = NULL;