/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/ |
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() 505 if (cfg->direction == DMA_MEM_TO_DEV) { in fsl_edma_fill_tcd() 600 if (direction == DMA_MEM_TO_DEV) { in fsl_edma_prep_dma_cyclic() 621 if (direction == DMA_MEM_TO_DEV) { in fsl_edma_prep_dma_cyclic() 673 if (direction == DMA_MEM_TO_DEV) { in fsl_edma_prep_slave_sg() 686 if (direction == DMA_MEM_TO_DEV) { in fsl_edma_prep_slave_sg()
|
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 | 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 | ste_dma40.c | 1873 } else if (d40c->dma_cfg.dir == DMA_MEM_TO_DEV || in d40_allocate_channel() 2033 if (d40c->dma_cfg.dir == DMA_MEM_TO_DEV || in d40_free_dma() 2096 if (d40c->dma_cfg.dir == DMA_MEM_TO_DEV || in d40_is_paused() 2262 else if (direction == DMA_MEM_TO_DEV) in d40_prep_sg() 2356 if ((d40c->dma_cfg.dir == DMA_MEM_TO_DEV) || in d40_set_prio_realtime() 2389 cfg.dir = DMA_MEM_TO_DEV; in d40_xlate() 2714 } else if (direction == DMA_MEM_TO_DEV) { in d40_set_runtime_config_write() 2717 if (cfg->dir != DMA_MEM_TO_DEV) in d40_set_runtime_config_write() 2722 cfg->dir = DMA_MEM_TO_DEV; in d40_set_runtime_config_write() 2839 dev->directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in d40_ops_init()
|
/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 | 521 read ? DMA_DEV_TO_MEM : DMA_MEM_TO_DEV, in rcar_i2c_dma() 812 char *chan_name = dir == DMA_MEM_TO_DEV ? "tx" : "rx"; in rcar_i2c_request_dma_chan() 824 if (dir == DMA_MEM_TO_DEV) { in rcar_i2c_request_dma_chan() 858 dir = read ? DMA_DEV_TO_MEM : DMA_MEM_TO_DEV; in rcar_i2c_request_dma()
|
/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/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/tty/serial/8250/ |
H A D | 8250_dma.c | 126 DMA_MEM_TO_DEV, in serial8250_tx_dma() 207 dma->txconf.direction = DMA_MEM_TO_DEV; in serial8250_request_dma()
|
/linux/include/sound/ |
H A D | dmaengine_pcm.h | 25 return DMA_MEM_TO_DEV; in snd_pcm_substream_to_dma_direction()
|
/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/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/drivers/crypto/qce/ |
H A D | dma.c | 108 ret = qce_dma_prep_sg(rxchan, rx_sg, rx_nents, flags, DMA_MEM_TO_DEV, in qce_dma_prep_sgs()
|
/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()
|
/linux/drivers/dma/stm32/ |
H A D | stm32-mdma.c | 543 case DMA_MEM_TO_DEV: in stm32_mdma_set_xfer_param() 746 if (direction == DMA_MEM_TO_DEV) { in stm32_mdma_setup_xfer() 818 if (chan_config->m2m_hw && direction == DMA_MEM_TO_DEV) { in stm32_mdma_prep_slave_sg() 883 if (direction == DMA_MEM_TO_DEV) { in stm32_mdma_prep_dma_cyclic() 907 if (direction == DMA_MEM_TO_DEV) { in stm32_mdma_prep_dma_cyclic() 1690 dd->directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV) | in stm32_mdma_probe()
|
/linux/include/linux/ |
H A D | dmaengine.h | 81 DMA_MEM_TO_DEV, enumerator 970 return (direction == DMA_MEM_TO_DEV) || (direction == DMA_DEV_TO_MEM) || in is_slave_direction() 1651 case DMA_MEM_TO_DEV: in dmaengine_get_direction_text()
|