/linux/drivers/dma/dw/ |
H A D | idma32.c | 70 case DMA_MEM_TO_DEV: in idma32_initialize_chan_xbar() 98 case DMA_MEM_TO_DEV: in idma32_initialize_chan_xbar() 113 case DMA_MEM_TO_DEV: in idma32_initialize_chan_xbar() 212 if (dwc->direction == DMA_MEM_TO_DEV) in idma32_prepare_ctllo()
|
H A D | dw.c | 82 if (dwc->direction == DMA_MEM_TO_DEV) { in dw_dma_prepare_ctllo()
|
H A D | core.c | 643 case DMA_MEM_TO_DEV: in dwc_prep_slave_sg() 805 if (dwc->dma_sconfig.direction == DMA_MEM_TO_DEV) in dwc_verify_p_buswidth() 823 if (dwc->dma_sconfig.direction == DMA_MEM_TO_DEV) in dwc_verify_p_buswidth() 850 if (dwc->dma_sconfig.direction == DMA_MEM_TO_DEV) { in dwc_verify_m_buswidth() 1333 dw->dma.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV) | in do_dma_probe()
|
/linux/drivers/soc/ti/ |
H A D | knav_dma.c | 124 #define chan_number(ch) ((ch->direction == DMA_MEM_TO_DEV) ? \ 150 if ((chan->direction == DMA_MEM_TO_DEV) && chan->reg_chan) { in chan_start() 317 ((chan->direction == DMA_MEM_TO_DEV) ? "tx chan" : "rx flow"), in dma_debug_show_channels() 320 if (chan->direction == DMA_MEM_TO_DEV) { in dma_debug_show_channels() 427 config->direction == DMA_MEM_TO_DEV ? "transmit" : in knav_dma_open_channel() 431 if (config->direction != DMA_MEM_TO_DEV && in knav_dma_open_channel() 451 if (config->direction == DMA_MEM_TO_DEV) { in knav_dma_open_channel() 585 if (dir == DMA_MEM_TO_DEV) { in pktdma_init_chan() 676 if (pktdma_init_chan(dma, DMA_MEM_TO_DEV, i) >= 0) in dma_init()
|
/linux/drivers/dma/amd/qdma/ |
H A D | qdma.c | 19 #define CHAN_STR(q) (((q)->dir == DMA_MEM_TO_DEV) ? "H2C" : "C2H") 267 if (dir == DMA_MEM_TO_DEV) in qdma_check_queue_status() 302 if (queue->dir == DMA_MEM_TO_DEV) { in qdma_clear_queue_context() 353 if (dir == DMA_MEM_TO_DEV) in qdma_setup_queue_context() 443 if (dir == DMA_MEM_TO_DEV) { in qdma_alloc_queues() 523 ret = qdma_alloc_queues(qdev, DMA_MEM_TO_DEV); in qdma_device_setup() 670 if (q->dir == DMA_MEM_TO_DEV) { in qdma_hw_enqueue() 777 if (dir == DMA_MEM_TO_DEV) in qdma_prep_device_sg() 1113 qdev->dma_dev.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in amd_qdma_probe()
|
/linux/drivers/dma/ |
H A D | fsl-edma-common.c | 299 case DMA_MEM_TO_DEV: in fsl_edma_prep_slave_dma() 363 if (dir == DMA_MEM_TO_DEV) { in fsl_edma_desc_residue() 380 if (dir == DMA_MEM_TO_DEV) in fsl_edma_desc_residue() 506 if (cfg->direction == DMA_MEM_TO_DEV) { in fsl_edma_fill_tcd() 614 if (direction == DMA_MEM_TO_DEV) { in fsl_edma_prep_dma_cyclic() 635 if (direction == DMA_MEM_TO_DEV) { in fsl_edma_prep_dma_cyclic() 691 if (direction == DMA_MEM_TO_DEV) { in fsl_edma_prep_slave_sg() 704 if (direction == DMA_MEM_TO_DEV) { in fsl_edma_prep_slave_sg()
|
H A D | apple-admac.c | 159 if (dir == DMA_MEM_TO_DEV) in admac_alloc_sram_carveout() 192 if (dir == DMA_MEM_TO_DEV) in admac_free_sram_carveout() 227 return (channo & 1) ? DMA_DEV_TO_MEM : DMA_MEM_TO_DEV; in admac_chan_direction() 422 case DMA_MEM_TO_DEV: in admac_start_chan() 440 case DMA_MEM_TO_DEV: in admac_stop_chan() 745 bool is_tx = admac_chan_direction(adchan->no) == DMA_MEM_TO_DEV; in admac_device_config() 868 dma->directions = BIT(DMA_MEM_TO_DEV) | BIT(DMA_DEV_TO_MEM); in admac_probe()
|
H A D | ste_dma40_ll.c | 34 if (cfg->dir == DMA_MEM_TO_DEV || in d40_log_cfg() 49 if (cfg->dir == DMA_MEM_TO_DEV || in d40_log_cfg() 84 if ((cfg->dir == DMA_MEM_TO_DEV) || in d40_phy_cfg()
|
H A D | ep93xx_dma.c | 286 return (chan->chan_id % 2 == 0) ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM; in ep93xx_dma_chan_direction() 433 if (ep93xx_dma_chan_direction(&edmac->chan) == DMA_MEM_TO_DEV) in m2p_fill_desc() 538 if (edmac->dma_cfg.dir == DMA_MEM_TO_DEV) { in m2m_hw_setup() 554 if (edmac->dma_cfg.dir == DMA_MEM_TO_DEV) { in m2m_hw_setup() 1124 if (dir == DMA_MEM_TO_DEV) { in ep93xx_dma_prep_slave_sg() 1204 if (dir == DMA_MEM_TO_DEV) { in ep93xx_dma_prep_dma_cyclic() 1310 case DMA_MEM_TO_DEV: in ep93xx_dma_slave_config_write()
|
H A D | loongson2-apb-dma.c | 227 if (lchan->sconfig.direction == DMA_MEM_TO_DEV) { in ls2x_dmac_detect_burst() 245 if (desc->direction == DMA_MEM_TO_DEV) { in ls2x_dma_fill_desc() 651 ddev->directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in ls2x_dma_probe()
|
H A D | tegra210-adma.c | 296 case DMA_MEM_TO_DEV: in tegra_adma_request_alloc() 330 case DMA_MEM_TO_DEV: in tegra_adma_request_free() 603 case DMA_MEM_TO_DEV: in tegra_adma_set_xfer_params() 1025 tdma->dma_dev.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in tegra_adma_probe()
|
H A D | pl330.c | 1127 case DMA_MEM_TO_DEV: in _emit_load() 1164 case DMA_MEM_TO_DEV: in _emit_store() 1219 case DMA_MEM_TO_DEV: in _bursts() 1268 case DMA_MEM_TO_DEV: in _dregs() 1485 case DMA_MEM_TO_DEV: in pl330_submit_req() 2194 case DMA_MEM_TO_DEV: in pl330_dma_slave_map_dir() 2251 if (direction == DMA_MEM_TO_DEV) { in pl330_config_write() 2736 case DMA_MEM_TO_DEV: in pl330_prep_dma_cyclic() 2885 if (direction == DMA_MEM_TO_DEV) { in pl330_prep_slave_sg() 3143 pd->directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in pl330_probe()
|
H A D | tegra186-gpc-dma.c | 319 case DMA_MEM_TO_DEV: in tegra_dma_sid_reserve() 346 case DMA_MEM_TO_DEV: in tegra_dma_sid_free() 847 case DMA_MEM_TO_DEV: in get_transfer_param() 1098 if (direction == DMA_MEM_TO_DEV) { in tegra_dma_prep_slave_sg() 1220 if (direction == DMA_MEM_TO_DEV) { in tegra_dma_prep_dma_cyclic()
|
/linux/drivers/dma/hsu/ |
H A D | hsu.c | 54 if (hsuc->direction == DMA_MEM_TO_DEV) in hsu_chan_enable() 70 if (hsuc->direction == DMA_MEM_TO_DEV) { in hsu_dma_chan_start() 455 hsuc->direction = (i & 0x1) ? DMA_DEV_TO_MEM : DMA_MEM_TO_DEV; in hsu_dma_probe() 477 hsu->dma.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in hsu_dma_probe()
|
/linux/drivers/i2c/busses/ |
H A D | i2c-stm32.c | 39 dma_sconfig.direction = DMA_MEM_TO_DEV; in stm32_i2c_dma_request() 114 dma->dma_transfer_dir = DMA_MEM_TO_DEV; in stm32_i2c_prep_dma_xfer()
|
H A D | i2c-rcar.c | 524 read ? DMA_DEV_TO_MEM : DMA_MEM_TO_DEV, in rcar_i2c_dma() 822 char *chan_name = dir == DMA_MEM_TO_DEV ? "tx" : "rx"; in rcar_i2c_request_dma_chan() 834 if (dir == DMA_MEM_TO_DEV) { in rcar_i2c_request_dma_chan() 868 dir = read ? DMA_DEV_TO_MEM : DMA_MEM_TO_DEV; in rcar_i2c_request_dma()
|
/linux/drivers/spi/ |
H A D | spi-pxa2xx-dma.c | 92 if (dir == DMA_MEM_TO_DEV) { in pxa2xx_spi_dma_prepare_one() 142 tx_desc = pxa2xx_spi_dma_prepare_one(drv_data, DMA_MEM_TO_DEV, xfer); in pxa2xx_spi_dma_prepare()
|
H A D | spi-dw-dma.c | 88 if (!(tx.directions & BIT(DMA_MEM_TO_DEV) && in dw_spi_dma_caps_init() 329 txconf.direction = DMA_MEM_TO_DEV; in dw_spi_dma_config_tx() 347 DMA_MEM_TO_DEV, in dw_spi_dma_submit_tx()
|
/linux/drivers/dma/dw-edma/ |
H A D | dw-edma-core.c | 224 caps->directions = BIT(DMA_MEM_TO_DEV); in dw_edma_device_caps() 229 caps->directions = BIT(DMA_MEM_TO_DEV); in dw_edma_device_caps() 406 (chan->dir == EDMA_DIR_WRITE && dir != DMA_MEM_TO_DEV)) in dw_edma_device_transfer() 410 (chan->dir == EDMA_DIR_READ && dir != DMA_MEM_TO_DEV)) in dw_edma_device_transfer() 790 dma->directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in dw_edma_channel_setup()
|
/linux/include/sound/ |
H A D | dmaengine_pcm.h | 25 return DMA_MEM_TO_DEV; in snd_pcm_substream_to_dma_direction()
|
/linux/drivers/usb/musb/ |
H A D | tusb6010_omap.c | 261 dma_dir = DMA_MEM_TO_DEV; in tusb_omap_dma_program() 320 (dma_dir == DMA_MEM_TO_DEV) ? &dma_addr : &fifo_addr, in tusb_omap_dma_program() 321 (dma_dir == DMA_MEM_TO_DEV) ? &fifo_addr : &dma_addr); in tusb_omap_dma_program()
|
/linux/drivers/dma/ti/ |
H A D | k3-udma.c | 474 if (uc->config.dir == DMA_MEM_TO_DEV || uc->config.dir == DMA_MEM_TO_MEM) { in udma_dump_chan_stdata() 628 case DMA_MEM_TO_DEV: in udma_is_chan_paused() 661 case DMA_MEM_TO_DEV: in udma_push_to_ring() 701 case DMA_MEM_TO_DEV: in udma_pop_from_ring() 738 case DMA_MEM_TO_DEV: in udma_reset_rings() 819 case DMA_MEM_TO_DEV: in udma_reset_chan() 958 case DMA_MEM_TO_DEV: in udma_start() 1019 case DMA_MEM_TO_DEV: in udma_stop() 1070 uc->config.dir != DMA_MEM_TO_DEV || !(uc->config.tx_flags & DMA_PREP_INTERRUPT)) in udma_is_desc_really_done() 2250 case DMA_MEM_TO_DEV in udma_alloc_chan_resources() [all...] |
/linux/Documentation/arch/arm/stm32/ |
H A D | stm32-dma-mdma-chaining.rst | 353 case of DMA_DEV_TO_MEM) or the SRAM buffer (in case of DMA_MEM_TO_DEV), the 365 * DMA_MEM_TO_DEV: set the callback on the "DMA" descriptor 382 **STM32 DMA-MDMA chaining DMA_MEM_TO_DEV special case** 384 STM32 DMA-MDMA chaining in DMA_MEM_TO_DEV is a special case. Indeed, the 396 DMA_DEV_TO_MEM and keep the "classic" DMA usage for DMA_MEM_TO_DEV, unless
|
/linux/Documentation/devicetree/bindings/dma/ |
H A D | renesas,nbpfaxi.txt | 27 (DMA_MEM_TO_MEM/DMA_MEM_TO_DEV) to this value, specified in bytes, rather
|
/linux/drivers/media/pci/mgb4/ |
H A D | mgb4_dma.c | 34 cfg.direction = DMA_MEM_TO_DEV; in mgb4_dma_transfer()
|