/linux/drivers/mmc/host/ |
H A D | tifm_sd.c | 182 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() 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() 698 if (r_data->flags & MMC_DATA_WRITE) in tifm_sd_request() [all …]
|
H A D | meson-mx-sdhc-mmc.c | 158 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 D | cavium.c | 136 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 D | moxart-mmc.c | 271 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 D | omap.c | 394 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 D | wmt-sdmmc.c | 301 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 D | mmc_hsq.c | 35 (mrq->data->flags & MMC_DATA_WRITE) && in mmc_hsq_modify_threshold()
|
H A D | pxamci.c | 320 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 D | via-sdmmc.c | 499 (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 D | sunxi-mmc.c | 438 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 D | bcm2835.c | 675 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 D | dw_mmc.c | 310 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 D | sunplus-mmc.c | 633 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 D | jz4740_mmc.c | 340 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 D | meson-gx-mmc.c | 714 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 D | davinci_mmc.c | 525 (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 D | wbsd.c | 608 if (data->flags & MMC_DATA_WRITE) in wbsd_prepare_data() 1053 if (data->flags & MMC_DATA_WRITE) in wbsd_fifo_bh_work()
|
H A D | litex_mmc.c | 320 } else if (data->flags & MMC_DATA_WRITE) { in litex_mmc_do_dma()
|
H A D | owl-mmc.c | 309 if (data->flags & MMC_DATA_WRITE) { in owl_mmc_prepare_data()
|
H A D | meson-mx-sdio.c | 205 if (cmd->data->flags & MMC_DATA_WRITE) in meson_mx_mmc_start_cmd()
|
H A D | mxs-mmc.c | 369 if (data->flags & MMC_DATA_WRITE) { in mxs_mmc_adtc()
|
/linux/include/linux/mmc/ |
H A D | core.h | 110 #define MMC_DATA_WRITE BIT(8) macro
|
H A D | host.h | 643 return data->flags & MMC_DATA_WRITE ? DMA_TO_DEVICE : DMA_FROM_DEVICE; in mmc_get_dma_dir()
|
/linux/drivers/mmc/core/ |
H A D | sdio_ops.c | 149 data.flags = write ? MMC_DATA_WRITE : MMC_DATA_READ; in mmc_io_rw_extended()
|
H A D | core.c | 675 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()
|