Home
last modified time | relevance | path

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

12

/linux-5.19.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()
526 rw = (data->flags & MMC_DATA_WRITE) ? 1 : 0; in prepare_dma_single()
580 rw = (data->flags & MMC_DATA_WRITE) ? 1 : 0; in prepare_dma_sg()
634 (mrq->data->flags & MMC_DATA_WRITE) ? 1 : 0) | in prepare_ext_dma()
Dmoxart-mmc.c266 if (data->flags & MMC_DATA_WRITE) { in moxart_transfer_dma()
316 if (data->flags & MMC_DATA_WRITE) { in moxart_transfer_pio()
381 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.c438 if (!(data->flags & MMC_DATA_WRITE)) in sunxi_mmc_start_dma()
497 data ? (data->flags & MMC_DATA_WRITE ? " WR" : " RD") : "", in sunxi_mmc_dump_errinfo()
1060 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.c311 if (cmd->data->flags & MMC_DATA_WRITE) in dw_mci_prepare_command()
802 if (host->data->flags & MMC_DATA_WRITE) in dw_mci_edmac_start_dma()
827 if (host->data->flags & MMC_DATA_WRITE) in dw_mci_edmac_start_dma()
1043 (host->verid < DW_MMC_280A && data->flags & MMC_DATA_WRITE)) in dw_mci_ctrl_thld()
1050 if (data->flags & MMC_DATA_WRITE && in dw_mci_ctrl_thld()
1054 if (data->flags & MMC_DATA_WRITE) in dw_mci_ctrl_thld()
Djz4740_mmc.c336 if (data->flags & MMC_DATA_WRITE) { in jz4740_mmc_start_dma_transfer()
704 if (cmd->data->flags & MMC_DATA_WRITE) in jz4740_mmc_send_command()
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()
Dmeson-gx-mmc.c724 if (data->flags & MMC_DATA_WRITE) in meson_mmc_desc_chain_transfer()
840 if (data->flags & MMC_DATA_WRITE) { in meson_mmc_start_cmd()
Dwbsd.c608 if (data->flags & MMC_DATA_WRITE) in wbsd_prepare_data()
1053 if (data->flags & MMC_DATA_WRITE) in wbsd_tasklet_fifo()
Dmmci_stm32_sdmmc.c112 if (data->flags & MMC_DATA_WRITE) { in _sdmmc_idma_prep_data()
Dlitex_mmc.c320 } else if (data->flags & MMC_DATA_WRITE) { in litex_mmc_do_dma()
Dowl-mmc.c308 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()
/linux-5.19.10/include/linux/mmc/
Dcore.h123 #define MMC_DATA_WRITE BIT(8) macro
Dhost.h635 return data->flags & MMC_DATA_WRITE ? DMA_TO_DEVICE : DMA_FROM_DEVICE; in mmc_get_dma_dir()
/linux-5.19.10/drivers/mmc/core/
Dsdio_ops.c149 data.flags = write ? MMC_DATA_WRITE : MMC_DATA_READ; in mmc_io_rw_extended()
Dcore.c671 if (data->flags & MMC_DATA_WRITE) in mmc_set_data_timeout()
688 if (data->flags & MMC_DATA_WRITE) in mmc_set_data_timeout()
732 if (data->flags & MMC_DATA_WRITE) { in mmc_set_data_timeout()

12