Home
last modified time | relevance | path

Searched refs:MMC_DATA_WRITE (Results 1 – 25 of 44) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/mmc/host/
Dtifm_sd.c181 if ((r_data->flags & MMC_DATA_WRITE) in tifm_sd_transfer_data()
201 else if (r_data->flags & MMC_DATA_WRITE) in tifm_sd_transfer_data()
248 if (r_data->flags & MMC_DATA_WRITE) in tifm_sd_bounce_block()
303 if (r_data->flags & MMC_DATA_WRITE) { in tifm_sd_set_dma_data()
318 if (r_data->flags & MMC_DATA_WRITE) in tifm_sd_set_dma_data()
428 if (cmd->data->flags & MMC_DATA_WRITE) { in tifm_sd_check_status()
652 if ((r_data->flags & MMC_DATA_WRITE) && !mrq->stop) in tifm_sd_request()
671 r_data->flags & MMC_DATA_WRITE in tifm_sd_request()
682 & MMC_DATA_WRITE in tifm_sd_request()
689 r_data->flags & MMC_DATA_WRITE in tifm_sd_request()
[all …]
Dmeson-mx-sdhc-mmc.c160 if (cmd->data->flags & MMC_DATA_WRITE) in meson_mx_sdhc_start_cmd()
170 cmd->data->flags & MMC_DATA_WRITE) in meson_mx_sdhc_start_cmd()
672 if (host->cmd->data->flags & MMC_DATA_WRITE) in meson_mx_sdhc_set_pdma_meson8()
688 if (host->cmd->data->flags & MMC_DATA_WRITE) in meson_mx_sdhc_set_pdma_meson8()
708 if (host->cmd->data && host->cmd->data->flags & MMC_DATA_WRITE) { in meson_mx_sdhc_wait_before_send_meson8()
Dcavium.c136 desired_ctype = (cmd->data->flags & MMC_DATA_WRITE) ? 2 : 1; in cvm_mmc_get_cr_mods()
370 return (data->flags & MMC_DATA_WRITE) ? DMA_TO_DEVICE : DMA_FROM_DEVICE; in get_dma_dir()
527 rw = (data->flags & MMC_DATA_WRITE) ? 1 : 0; in prepare_dma_single()
581 rw = (data->flags & MMC_DATA_WRITE) ? 1 : 0; in prepare_dma_sg()
635 (mrq->data->flags & MMC_DATA_WRITE) ? 1 : 0) | in prepare_ext_dma()
Dmoxart-mmc.c267 if (data->flags & MMC_DATA_WRITE) { in moxart_transfer_dma()
317 if (data->flags & MMC_DATA_WRITE) { in moxart_transfer_pio()
382 if (data->flags & MMC_DATA_WRITE) in moxart_prepare_data()
Domap.c382 if (host->data && !(host->data->flags & MMC_DATA_WRITE)) in mmc_omap_start_command()
409 if (data->flags & MMC_DATA_WRITE) { in mmc_omap_release_dma()
1000 if (data->flags & MMC_DATA_WRITE) { in mmc_omap_prepare_data()
1040 data->flags & MMC_DATA_WRITE ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM, in mmc_omap_prepare_data()
1076 struct dma_chan *c = host->data->flags & MMC_DATA_WRITE ? in mmc_omap_start_request()
Dwmt-sdmmc.c302 if (req->data->flags & MMC_DATA_WRITE) in wmt_complete_data_request()
619 if (req->data->flags & MMC_DATA_WRITE) { in wmt_mci_request()
653 if (req->data->flags & MMC_DATA_WRITE) in wmt_mci_request()
Ds3cmci.c988 if (data->flags & MMC_DATA_WRITE) { in s3cmci_setup_data()
1030 #define BOTH_DIR (MMC_DATA_WRITE | MMC_DATA_READ)
1034 int rw = (data->flags & MMC_DATA_WRITE) ? 1 : 0; in s3cmci_prepare_pio()
1056 int rw = data->flags & MMC_DATA_WRITE; in s3cmci_prepare_dma()
Dpxamci.c321 if (cpu_is_pxa27x() && host->data->flags & MMC_DATA_WRITE) in pxamci_cmd_done()
419 if (mrq->data->flags & MMC_DATA_WRITE) in pxamci_request()
Dvia-sdmmc.c498 (data->flags & MMC_DATA_WRITE) ? 1 : 0, 1); in via_sdc_preparedata()
599 if (data->flags & MMC_DATA_WRITE) { in via_sdc_send_command()
606 if (data->flags & MMC_DATA_WRITE) { in via_sdc_send_command()
Dsunxi-mmc.c433 if (!(data->flags & MMC_DATA_WRITE)) in sunxi_mmc_start_dma()
492 data ? (data->flags & MMC_DATA_WRITE ? " WR" : " RD") : "", in sunxi_mmc_dump_errinfo()
1055 if (cmd->data->flags & MMC_DATA_WRITE) in sunxi_mmc_request()
Dbcm2835.c680 if (cmd->data->flags & MMC_DATA_WRITE) in bcm2835_send_command()
929 if (host->data->flags & MMC_DATA_WRITE) { in bcm2835_data_irq()
969 } else if (host->data->flags & MMC_DATA_WRITE) { in bcm2835_block_irq()
Ddw_mmc.c306 if (cmd->data->flags & MMC_DATA_WRITE) in dw_mci_prepare_command()
796 if (host->data->flags & MMC_DATA_WRITE) in dw_mci_edmac_start_dma()
821 if (host->data->flags & MMC_DATA_WRITE) in dw_mci_edmac_start_dma()
1037 (host->verid < DW_MMC_280A && data->flags & MMC_DATA_WRITE)) in dw_mci_ctrl_thld()
1044 if (data->flags & MMC_DATA_WRITE && in dw_mci_ctrl_thld()
1048 if (data->flags & MMC_DATA_WRITE) in dw_mci_ctrl_thld()
Dandroid-goldfish.c195 if (host->data && !(host->data->flags & MMC_DATA_WRITE)) in goldfish_mmc_start_command()
Djz4740_mmc.c322 if (data->flags & MMC_DATA_WRITE) { in jz4740_mmc_start_dma_transfer()
694 if (cmd->data->flags & MMC_DATA_WRITE) in jz4740_mmc_send_command()
Dmeson-gx-mmc.c713 if (data->flags & MMC_DATA_WRITE) in meson_mmc_desc_chain_transfer()
829 if (data->flags & MMC_DATA_WRITE) { in meson_mmc_start_cmd()
Ddavinci_mmc.c534 (data->flags & MMC_DATA_WRITE) ? "write" : "read", in mmc_davinci_prepare_data()
548 if (data->flags & MMC_DATA_WRITE) { in mmc_davinci_prepare_data()
Dwbsd.c608 if (data->flags & MMC_DATA_WRITE) in wbsd_prepare_data()
1053 if (data->flags & MMC_DATA_WRITE) in wbsd_tasklet_fifo()
Dowl-mmc.c309 if (data->flags & MMC_DATA_WRITE) { in owl_mmc_prepare_data()
Dmeson-mx-sdio.c205 if (cmd->data->flags & MMC_DATA_WRITE) in meson_mx_mmc_start_cmd()
Dmxs-mmc.c370 if (data->flags & MMC_DATA_WRITE) { in mxs_mmc_adtc()
Datmel-mci.c1075 && (host->data->flags & MMC_DATA_WRITE)) { in atmci_prepare_data_pdc()
1313 if (!(data->flags & MMC_DATA_WRITE)) in atmci_start_request()
1817 (host->data->flags & MMC_DATA_WRITE)) { in atmci_tasklet_func()
/kernel/linux/linux-5.10/include/linux/mmc/
Dcore.h123 #define MMC_DATA_WRITE BIT(8) macro
Dhost.h603 return data->flags & MMC_DATA_WRITE ? DMA_TO_DEVICE : DMA_FROM_DEVICE; in mmc_get_dma_dir()
/kernel/linux/linux-5.10/drivers/mmc/core/
Dsdio_ops.c149 data.flags = write ? MMC_DATA_WRITE : MMC_DATA_READ; in mmc_io_rw_extended()
Dcore.c670 if (data->flags & MMC_DATA_WRITE) in mmc_set_data_timeout()
687 if (data->flags & MMC_DATA_WRITE) in mmc_set_data_timeout()
731 if (data->flags & MMC_DATA_WRITE) { in mmc_set_data_timeout()

12