Home
last modified time | relevance | path

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

12

/linux/drivers/mmc/host/
H A Dtifm_sd.c182 if ((r_data->flags & MMC_DATA_WRITE) in tifm_sd_transfer_data()
202 else if (r_data->flags & MMC_DATA_WRITE) in tifm_sd_transfer_data()
249 if (r_data->flags & MMC_DATA_WRITE) in tifm_sd_bounce_block()
301 if (r_data->flags & MMC_DATA_WRITE) in tifm_sd_set_dma_data()
314 if (r_data->flags & MMC_DATA_WRITE) in tifm_sd_set_dma_data()
424 if (cmd->data->flags & MMC_DATA_WRITE) { in tifm_sd_check_status()
645 if ((r_data->flags & MMC_DATA_WRITE) && !mrq->stop) in tifm_sd_request()
664 r_data->flags & MMC_DATA_WRITE in tifm_sd_request()
675 & MMC_DATA_WRITE in tifm_sd_request()
682 r_data->flags & MMC_DATA_WRITE in tifm_sd_request()
[all …]
H A Dmeson-mx-sdhc-mmc.c158 if (cmd->data->flags & MMC_DATA_WRITE) in meson_mx_sdhc_start_cmd()
168 cmd->data->flags & MMC_DATA_WRITE) in meson_mx_sdhc_start_cmd()
653 if (host->cmd->data->flags & MMC_DATA_WRITE) in meson_mx_sdhc_set_pdma_meson8()
669 if (host->cmd->data->flags & MMC_DATA_WRITE) in meson_mx_sdhc_set_pdma_meson8()
689 if (host->cmd->data && host->cmd->data->flags & MMC_DATA_WRITE) { in meson_mx_sdhc_wait_before_send_meson8()
H A 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()
H A Dmoxart-mmc.c271 if (data->flags & MMC_DATA_WRITE) { in moxart_transfer_dma()
321 if (data->flags & MMC_DATA_WRITE) { in moxart_transfer_pio()
380 if (data->flags & MMC_DATA_WRITE) in moxart_prepare_data()
H A Domap.c394 if (host->data && !(host->data->flags & MMC_DATA_WRITE)) in mmc_omap_start_command()
421 if (data->flags & MMC_DATA_WRITE) { in mmc_omap_release_dma()
1005 if (data->flags & MMC_DATA_WRITE) { in mmc_omap_prepare_data()
1045 data->flags & MMC_DATA_WRITE ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM, in mmc_omap_prepare_data()
1085 struct dma_chan *c = host->data->flags & MMC_DATA_WRITE ? in mmc_omap_start_request()
H A Dwmt-sdmmc.c301 if (req->data->flags & MMC_DATA_WRITE) in wmt_complete_data_request()
618 if (req->data->flags & MMC_DATA_WRITE) { in wmt_mci_request()
652 if (req->data->flags & MMC_DATA_WRITE) in wmt_mci_request()
H A Dvia-sdmmc.c499 (data->flags & MMC_DATA_WRITE) ? 1 : 0, 1); in via_sdc_preparedata()
600 if (data->flags & MMC_DATA_WRITE) { in via_sdc_send_command()
607 if (data->flags & MMC_DATA_WRITE) { in via_sdc_send_command()
H A Dpxamci.c320 if (cpu_is_pxa27x() && host->data->flags & MMC_DATA_WRITE) in pxamci_cmd_done()
418 if (mrq->data->flags & MMC_DATA_WRITE) in pxamci_request()
H A Dmmc_hsq.c35 (mrq->data->flags & MMC_DATA_WRITE) && in mmc_hsq_modify_threshold()
H A Dbcm2835.c675 if (cmd->data->flags & MMC_DATA_WRITE) in bcm2835_send_command()
924 if (host->data->flags & MMC_DATA_WRITE) { in bcm2835_data_irq()
964 } else if (host->data->flags & MMC_DATA_WRITE) { in bcm2835_block_irq()
H A 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()
H A Ddw_mmc.c310 if (cmd->data->flags & MMC_DATA_WRITE) in dw_mci_prepare_command()
800 if (host->data->flags & MMC_DATA_WRITE) in dw_mci_edmac_start_dma()
825 if (host->data->flags & MMC_DATA_WRITE) in dw_mci_edmac_start_dma()
1041 (host->verid < DW_MMC_280A && data->flags & MMC_DATA_WRITE)) in dw_mci_ctrl_thld()
1048 if (data->flags & MMC_DATA_WRITE && in dw_mci_ctrl_thld()
1052 if (data->flags & MMC_DATA_WRITE) in dw_mci_ctrl_thld()
H A Dsunplus-mmc.c633 if (data->flags & MMC_DATA_WRITE) in spmmc_xfer_data_pio()
645 if (data->flags & MMC_DATA_WRITE) { in spmmc_xfer_data_pio()
H A Djz4740_mmc.c340 if (data->flags & MMC_DATA_WRITE) { in jz4740_mmc_start_dma_transfer()
708 if (cmd->data->flags & MMC_DATA_WRITE) in jz4740_mmc_send_command()
H A Dmeson-gx-mmc.c714 if (data->flags & MMC_DATA_WRITE) in meson_mmc_desc_chain_transfer()
829 if (data->flags & MMC_DATA_WRITE) { in meson_mmc_start_cmd()
H A Dwbsd.c608 if (data->flags & MMC_DATA_WRITE) in wbsd_prepare_data()
1053 if (data->flags & MMC_DATA_WRITE) in wbsd_fifo_bh_work()
H A Ddavinci_mmc.c525 (data->flags & MMC_DATA_WRITE) ? "write" : "read", in mmc_davinci_prepare_data()
539 if (data->flags & MMC_DATA_WRITE) { in mmc_davinci_prepare_data()
H A Dlitex_mmc.c320 } else if (data->flags & MMC_DATA_WRITE) { in litex_mmc_do_dma()
H A Dowl-mmc.c309 if (data->flags & MMC_DATA_WRITE) { in owl_mmc_prepare_data()
H A Dmxs-mmc.c369 if (data->flags & MMC_DATA_WRITE) { in mxs_mmc_adtc()
H A Dmeson-mx-sdio.c205 if (cmd->data->flags & MMC_DATA_WRITE) in meson_mx_mmc_start_cmd()
/linux/include/linux/mmc/
H A Dcore.h110 #define MMC_DATA_WRITE BIT(8) macro
H A Dhost.h643 return data->flags & MMC_DATA_WRITE ? DMA_TO_DEVICE : DMA_FROM_DEVICE; in mmc_get_dma_dir()
/linux/drivers/mmc/core/
H A Dsdio_ops.c149 data.flags = write ? MMC_DATA_WRITE : MMC_DATA_READ; in mmc_io_rw_extended()
H A Dcore.c675 if (data->flags & MMC_DATA_WRITE) in mmc_set_data_timeout()
692 if (data->flags & MMC_DATA_WRITE) in mmc_set_data_timeout()
736 if (data->flags & MMC_DATA_WRITE) { in mmc_set_data_timeout()

12