Home
last modified time | relevance | path

Searched refs:sbc (Results 1 – 18 of 18) sorted by relevance

/drivers/mmc/core/
Dcore.c147 (err == -EILSEQ || (mrq->sbc && mrq->sbc->error == -EILSEQ) || in mmc_request_done()
179 if (mrq->sbc) { in mmc_request_done()
181 mmc_hostname(host), mrq->sbc->opcode, in mmc_request_done()
182 mrq->sbc->error, in mmc_request_done()
183 mrq->sbc->resp[0], mrq->sbc->resp[1], in mmc_request_done()
184 mrq->sbc->resp[2], mrq->sbc->resp[3]); in mmc_request_done()
267 if (mrq->sbc) { in mmc_mrq_pr_debug()
269 mmc_hostname(host), mrq->sbc->opcode, in mmc_mrq_pr_debug()
270 mrq->sbc->arg, mrq->sbc->flags); in mmc_mrq_pr_debug()
308 if (mrq->sbc) { in mmc_mrq_prep()
[all …]
Dblock.c494 struct mmc_command cmd = {}, sbc = {}; in __mmc_blk_ioctl_cmd() local
571 sbc.opcode = MMC_SET_BLOCK_COUNT; in __mmc_blk_ioctl_cmd()
577 sbc.arg = data.blocks | (idata->ic.write_flag & BIT(31)); in __mmc_blk_ioctl_cmd()
578 sbc.flags = MMC_RSP_R1 | MMC_CMD_AC; in __mmc_blk_ioctl_cmd()
579 mrq.sbc = &sbc; in __mmc_blk_ioctl_cmd()
1273 oor_with_open_end = val & R1_OUT_OF_RANGE && !brq->mrq.sbc; in mmc_blk_eval_resp_error()
1601 brq->sbc.opcode = MMC_SET_BLOCK_COUNT; in mmc_blk_rw_rq_prep()
1602 brq->sbc.arg = brq->data.blocks | in mmc_blk_rw_rq_prep()
1605 brq->sbc.flags = MMC_RSP_R1 | MMC_CMD_AC; in mmc_blk_rw_rq_prep()
1606 brq->mrq.sbc = &brq->sbc; in mmc_blk_rw_rq_prep()
[all …]
Dmmc_test.c193 if (!mrq->sbc || !mmc_host_cmd23(card->host) || in mmc_test_prepare_sbc()
196 mrq->sbc = NULL; in mmc_test_prepare_sbc()
200 mrq->sbc->opcode = MMC_SET_BLOCK_COUNT; in mmc_test_prepare_sbc()
201 mrq->sbc->arg = blocks; in mmc_test_prepare_sbc()
202 mrq->sbc->flags = MMC_RSP_R1 | MMC_CMD_AC; in mmc_test_prepare_sbc()
714 if (mrq->sbc && mrq->sbc->error) in mmc_test_check_result()
715 ret = mrq->sbc->error; in mmc_test_check_result()
769 struct mmc_command sbc; member
2366 mrq->sbc = &rq->sbc; in mmc_test_ongoing_transfer()
2372 if (use_sbc && t->blocks > 1 && !mrq->sbc) { in mmc_test_ongoing_transfer()
[all …]
Dqueue.h42 struct mmc_command sbc; member
/drivers/mmc/host/
Domap_hsmmc.c794 host->mrq->sbc) { in omap_hsmmc_start_command()
796 OMAP_HSMMC_WRITE(host->base, SDMASA, host->mrq->sbc->arg); in omap_hsmmc_start_command()
866 if (data->stop && (data->error || !host->mrq->sbc)) in omap_hsmmc_xfer_done()
878 if (host->mrq->sbc && (host->cmd == host->mrq->sbc) && in omap_hsmmc_cmd_done()
879 !host->mrq->sbc->error && !(host->flags & AUTO_CMD23)) { in omap_hsmmc_cmd_done()
1048 if (!(ac12 & ACNE) && host->mrq->sbc) { in omap_hsmmc_do_irq()
1054 host->mrq->sbc->error = error; in omap_hsmmc_do_irq()
1449 if (req->sbc && !(host->flags & AUTO_CMD23)) { in omap_hsmmc_request()
1450 omap_hsmmc_start_command(host, req->sbc, NULL); in omap_hsmmc_request()
Dmxs-mmc.c142 if (cmd == mrq->sbc) { in mxs_mmc_request_done()
159 if (data->stop && (data->error || !mrq->sbc)) { in mxs_mmc_request_done()
489 if (mrq->sbc) in mxs_mmc_request()
490 mxs_mmc_start_cmd(host, mrq->sbc); in mxs_mmc_request()
Dmtk-sd.c942 if (mmc_card_mmc(host->mmc->card) && mrq->sbc && in msdc_cmd_prepare_raw_cmd()
943 !(mrq->sbc->arg & 0xFFFF0000)) in msdc_cmd_prepare_raw_cmd()
1049 if (mrq->sbc && cmd == mrq->cmd && in msdc_cmd_done()
1052 msdc_auto_cmd_done(host, events, mrq->sbc); in msdc_cmd_done()
1054 sbc_error = mrq->sbc && mrq->sbc->error; in msdc_cmd_done()
1183 (mrq->sbc && mrq->sbc->error)) in msdc_cmd_next()
1185 else if (cmd == mrq->sbc) in msdc_cmd_next()
1208 if (mrq->sbc && (!mmc_card_mmc(mmc->card) || in msdc_ops_request()
1209 (mrq->sbc->arg & 0xFFFF0000))) in msdc_ops_request()
1210 msdc_start_command(host, mrq, mrq->sbc); in msdc_ops_request()
[all …]
Dtmio_mmc_core.c284 (cmd->opcode == SD_IO_RW_EXTENDED || host->mrq->sbc)) in tmio_mmc_start_command()
457 if (stop && !host->mrq->sbc) { in tmio_mmc_do_data_irq()
766 if (mrq->sbc && host->cmd != mrq->sbc) { in tmio_process_mrq()
767 cmd = mrq->sbc; in tmio_process_mrq()
832 if (host->cmd != mrq->sbc) { in tmio_mmc_finish_request()
Dbcm2835.c213 bcm2835_dumpcmd(host, mrq->sbc, "sbc"); in bcm2835_dumpregs()
800 if (cmd == host->mrq->sbc) { in bcm2835_finish_command()
1167 if (mrq->sbc) in bcm2835_request()
1168 mrq->sbc->error = 0; in bcm2835_request()
1213 host->use_sbc = !!mrq->sbc && host->mrq->data && in bcm2835_request()
1216 if (bcm2835_send_command(host, mrq->sbc)) { in bcm2835_request()
Dmmci.c1192 } else if (host->mrq->sbc && !data->error) { in mmci_data_irq()
1205 bool sbc, busy_resp; in mmci_cmd_irq() local
1210 sbc = (cmd == host->mrq->sbc); in mmci_cmd_irq()
1300 if ((!sbc && !cmd->data) || cmd->error) { in mmci_cmd_irq()
1312 } else if (sbc) { in mmci_cmd_irq()
1578 if (mrq->sbc) in mmci_request()
1579 mmci_start_command(host, mrq->sbc, 0); in mmci_request()
Dmeson-mx-sdio.c149 (!cmd->mrq->sbc || cmd->error || cmd->data->error)) in meson_mx_mmc_get_next_cmd()
354 if (mrq->sbc) in meson_mx_mmc_request()
355 meson_mx_mmc_start_cmd(mmc, mrq->sbc); in meson_mx_mmc_request()
Dsdhci.c1146 return !mrq->sbc && (host->flags & SDHCI_AUTO_CMD12) && in sdhci_auto_cmd12()
1156 bool use_cmd23 = cmd->mrq->sbc && (host->flags & SDHCI_AUTO_CMD23); in sdhci_auto_cmd_select()
1216 if (cmd->mrq->sbc && (host->flags & SDHCI_AUTO_CMD23)) in sdhci_set_transfer_mode()
1217 sdhci_writel(host, cmd->mrq->sbc->arg, SDHCI_ARGUMENT2); in sdhci_set_transfer_mode()
1232 (mrq->sbc && mrq->sbc->error) || in sdhci_needs_reset()
1323 !data->mrq->sbc)) { in sdhci_finish_data()
1491 if (cmd == cmd->mrq->sbc) { in sdhci_finish_command()
1832 if (mrq->sbc && !(host->flags & SDHCI_AUTO_CMD23)) in sdhci_request()
1833 sdhci_send_command(host, mrq->sbc); in sdhci_request()
2813 if (!mrq->sbc && (host->flags & SDHCI_AUTO_CMD12)) { in sdhci_cmd_irq()
[all …]
Dsdhci-sprd.c410 mrq->sbc && (mrq->sbc->arg & SDHCI_SPRD_ARG2_STUFF) && in sdhci_sprd_request()
Dmmci_stm32_sdmmc.c277 else if (host->data->stop && !host->mrq->sbc) in sdmmc_get_dctrl_cfg()
Ddw_mmc.c1345 cmd = mrq->sbc ? mrq->sbc : mrq->cmd; in dw_mci_start_request()
1987 if (cmd == mrq->sbc && !err) { in dw_mci_tasklet_func()
2109 if (!data->stop || mrq->sbc) { in dw_mci_tasklet_func()
2110 if (mrq->sbc && data->stop) in dw_mci_tasklet_func()
2156 if (!mrq->sbc && mrq->stop) in dw_mci_tasklet_func()
Dmeson-gx-mmc.c218 (!cmd->mrq->sbc || cmd->error || cmd->data->error)) in meson_mmc_get_next_command()
821 meson_mmc_start_cmd(mmc, mrq->sbc ?: mrq->cmd); in meson_mmc_request()
Dalcor.c366 !host->mrq->sbc)) { in alcor_finish_data()
/drivers/staging/greybus/
Dsdio.c520 if (mrq->sbc) { in gb_sdio_mrq_work()
521 ret = gb_sdio_command(host, mrq->sbc); in gb_sdio_mrq_work()