Lines Matching full:sbc
414 #define MMC_BLK_IOC_SBC BIT(1) /* use mrq.sbc */
483 struct mmc_command cmd = {}, sbc = {}; in __mmc_blk_ioctl_cmd() local
557 sbc.opcode = MMC_SET_BLOCK_COUNT; in __mmc_blk_ioctl_cmd()
563 sbc.arg = data.blocks | (idata->ic.write_flag & BIT(31)); in __mmc_blk_ioctl_cmd()
565 sbc.arg = prev_idata->ic.arg; in __mmc_blk_ioctl_cmd()
566 sbc.flags = MMC_RSP_R1 | MMC_CMD_AC; in __mmc_blk_ioctl_cmd()
567 mrq.sbc = &sbc; in __mmc_blk_ioctl_cmd()
584 memcpy(&prev_idata->ic.response, sbc.resp, sizeof(sbc.resp)); in __mmc_blk_ioctl_cmd()
585 if (sbc.error) { in __mmc_blk_ioctl_cmd()
586 dev_err(mmc_dev(card->host), "%s: sbc error %d\n", in __mmc_blk_ioctl_cmd()
587 __func__, sbc.error); in __mmc_blk_ioctl_cmd()
588 return sbc.error; in __mmc_blk_ioctl_cmd()
1382 oor_with_open_end = val & R1_OUT_OF_RANGE && !brq->mrq.sbc; in mmc_blk_eval_resp_error()
1723 * supported by card and host, we'll fill sbc in and let in mmc_blk_rw_rq_prep()
1734 brq->sbc.opcode = MMC_SET_BLOCK_COUNT; in mmc_blk_rw_rq_prep()
1735 brq->sbc.arg = brq->data.blocks | in mmc_blk_rw_rq_prep()
1738 brq->sbc.flags = MMC_RSP_R1 | MMC_CMD_AC; in mmc_blk_rw_rq_prep()
1739 brq->mrq.sbc = &brq->sbc; in mmc_blk_rw_rq_prep()
1841 return !!brq->mrq.sbc; in mmc_blk_oor_valid()
1873 return !brq->sbc.error && !brq->cmd.error && in mmc_blk_cmd_started()
1966 if (brq->sbc.error || brq->cmd.error) in mmc_blk_mq_rw_recovery()
1987 return brq->sbc.error || brq->cmd.error || brq->stop.error || in mmc_blk_rq_error()