/linux-6.6.21/drivers/dma/dw/ |
D | idma32.c | 74 case DMA_DEV_TO_MEM: in idma32_initialize_chan_xbar() 101 case DMA_DEV_TO_MEM: in idma32_initialize_chan_xbar() 117 case DMA_DEV_TO_MEM: in idma32_initialize_chan_xbar() 205 u8 smsize = (dwc->direction == DMA_DEV_TO_MEM) ? sconfig->src_maxburst : 0; in idma32_prepare_ctllo()
|
D | dw.c | 70 u8 smsize = (dwc->direction == DMA_DEV_TO_MEM) ? sconfig->src_maxburst : 0; in dw_dma_prepare_ctllo() 75 u8 sms = (dwc->direction == DMA_DEV_TO_MEM) ? p_master : m_master; in dw_dma_prepare_ctllo()
|
/linux-6.6.21/drivers/dma/ti/ |
D | omap-dma.c | 285 case DMA_DEV_TO_MEM: in omap_dma_fill_type2_desc() 437 if (d->dir == DMA_DEV_TO_MEM) in omap_dma_start() 544 if (d->dir == DMA_DEV_TO_MEM || d->dir == DMA_MEM_TO_MEM) { in omap_dma_start_sg() 591 if (d->dir == DMA_DEV_TO_MEM || d->dir == DMA_MEM_TO_MEM) { in omap_dma_start_desc() 911 else if (d->dir == DMA_DEV_TO_MEM || d->dir == DMA_MEM_TO_MEM) in omap_dma_tx_status() 974 if (dir == DMA_DEV_TO_MEM) { in omap_dma_prep_slave_sg() 1029 if (dir == DMA_DEV_TO_MEM) { in omap_dma_prep_slave_sg() 1070 if (dir == DMA_DEV_TO_MEM) in omap_dma_prep_slave_sg() 1075 if (dir == DMA_DEV_TO_MEM) in omap_dma_prep_slave_sg() 1153 if (dir == DMA_DEV_TO_MEM) { in omap_dma_prep_dma_cyclic() [all …]
|
D | k3-udma.c | 483 if (uc->config.dir == DMA_DEV_TO_MEM || uc->config.dir == DMA_MEM_TO_MEM) { in udma_dump_chan_stdata() 624 case DMA_DEV_TO_MEM: in udma_is_chan_paused() 658 case DMA_DEV_TO_MEM: in udma_push_to_ring() 683 if (uc->config.dir != DMA_DEV_TO_MEM) in udma_desc_is_rx_flush() 698 case DMA_DEV_TO_MEM: in udma_pop_from_ring() 732 case DMA_DEV_TO_MEM: in udma_reset_rings() 764 if (uc->desc->dir == DMA_DEV_TO_MEM) { in udma_decrement_byte_counters() 815 case DMA_DEV_TO_MEM: in udma_reset_chan() 852 if (uc->config.dir == DMA_DEV_TO_MEM) in udma_reset_chan() 868 (uc->cyclic || ucc->dir == DMA_DEV_TO_MEM)) { in udma_start_desc() [all …]
|
/linux-6.6.21/drivers/i2c/busses/ |
D | i2c-stm32.c | 61 dma_sconfig.direction = DMA_DEV_TO_MEM; in stm32_i2c_dma_request() 110 dma->dma_transfer_dir = DMA_DEV_TO_MEM; in stm32_i2c_prep_dma_xfer()
|
/linux-6.6.21/drivers/dma/hsu/ |
D | hsu.c | 56 else if (hsuc->direction == DMA_DEV_TO_MEM) in hsu_chan_enable() 73 } else if (hsuc->direction == DMA_DEV_TO_MEM) { 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-6.6.21/drivers/soc/tegra/fuse/ |
D | fuse-tegra20.c | 64 sizeof(u32), DMA_DEV_TO_MEM, in tegra20_fuse_read() 147 fuse->apbdma.config.direction = DMA_DEV_TO_MEM; in tegra20_fuse_probe()
|
/linux-6.6.21/include/linux/platform_data/ |
D | dma-ep93xx.h | 91 return (chan->chan_id % 2 == 0) ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM; in ep93xx_dma_chan_direction()
|
/linux-6.6.21/drivers/dma/dw-edma/ |
D | dw-edma-core.c | 222 caps->directions = BIT(DMA_DEV_TO_MEM); in dw_edma_device_caps() 227 caps->directions = BIT(DMA_DEV_TO_MEM); in dw_edma_device_caps() 405 if ((chan->dir == EDMA_DIR_READ && dir != DMA_DEV_TO_MEM) || in dw_edma_device_transfer() 409 if ((chan->dir == EDMA_DIR_WRITE && dir != DMA_DEV_TO_MEM) || in dw_edma_device_transfer() 445 if (dir == DMA_DEV_TO_MEM) in dw_edma_device_transfer() 484 if (dir == DMA_DEV_TO_MEM) { in dw_edma_device_transfer() 790 dma->directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in dw_edma_channel_setup()
|
/linux-6.6.21/drivers/dma/ |
D | bcm2835-dma.c | 401 if (direction == DMA_DEV_TO_MEM) in bcm2835_dma_fill_cb_chain_with_sg() 548 if (d->dir == DMA_DEV_TO_MEM) in bcm2835_dma_desc_size_pos() 585 else if (d->dir == DMA_DEV_TO_MEM) in bcm2835_dma_tx_status() 662 if (direction == DMA_DEV_TO_MEM) { in bcm2835_dma_prep_slave_sg() 736 if (direction == DMA_DEV_TO_MEM) { in bcm2835_dma_prep_dma_cyclic() 926 od->ddev.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV) | in bcm2835_dma_probe()
|
D | ste_dma40_ll.c | 39 if (cfg->dir == DMA_DEV_TO_MEM || in d40_log_cfg() 44 if (cfg->dir == DMA_DEV_TO_MEM || in d40_log_cfg() 73 if ((cfg->dir == DMA_DEV_TO_MEM) || in d40_phy_cfg()
|
D | uniphier-xdmac.c | 149 if (xd->dir == DMA_DEV_TO_MEM) { in uniphier_xdmac_chan_start() 335 if (direction == DMA_DEV_TO_MEM) { in uniphier_xdmac_prep_slave_sg() 356 xd->nodes[i].src = (direction == DMA_DEV_TO_MEM) in uniphier_xdmac_prep_slave_sg() 512 ddev->directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV) | in uniphier_xdmac_probe()
|
D | fsl-edma-common.c | 313 case DMA_DEV_TO_MEM: in fsl_edma_prep_slave_dma() 505 burst = cfg->direction == DMA_DEV_TO_MEM ? in fsl_edma_fill_tcd() 626 } else if (direction == DMA_DEV_TO_MEM) { in fsl_edma_prep_dma_cyclic() 690 } else if (direction == DMA_DEV_TO_MEM) { in fsl_edma_prep_slave_sg() 709 u32 width = (direction == DMA_DEV_TO_MEM) ? doff : soff; in fsl_edma_prep_slave_sg() 710 u32 burst = (direction == DMA_DEV_TO_MEM) ? in fsl_edma_prep_slave_sg()
|
D | mmp_pdma.c | 496 } else if (chan->dir == DMA_DEV_TO_MEM) { in mmp_pdma_prep_memcpy() 632 case DMA_DEV_TO_MEM: in mmp_pdma_prep_dma_cyclic() 702 if (direction == DMA_DEV_TO_MEM) { in mmp_pdma_config_write() 777 if (chan->dir == DMA_DEV_TO_MEM) in mmp_pdma_residue() 785 if (chan->dir == DMA_DEV_TO_MEM) in mmp_pdma_residue() 1102 pdev->device.directions = BIT(DMA_MEM_TO_DEV) | BIT(DMA_DEV_TO_MEM); in mmp_pdma_probe()
|
D | ste_dma40.c | 883 chan->dma_cfg.dir == DMA_DEV_TO_MEM)) in d40_log_lli_to_lcxa() 1269 if ((d40c->dma_cfg.dir == DMA_DEV_TO_MEM) || in d40_config_set_event() 1274 if (d40c->dma_cfg.dir != DMA_DEV_TO_MEM) in d40_config_set_event() 1872 if (d40c->dma_cfg.dir == DMA_DEV_TO_MEM) { in d40_allocate_channel() 2038 else if (d40c->dma_cfg.dir == DMA_DEV_TO_MEM) in d40_free_dma() 2101 } else if (d40c->dma_cfg.dir == DMA_DEV_TO_MEM) { in d40_is_paused() 2262 if (direction == DMA_DEV_TO_MEM) in d40_prep_sg() 2354 if ((d40c->dma_cfg.dir == DMA_DEV_TO_MEM) || in d40_set_prio_realtime() 2395 cfg.dir = DMA_DEV_TO_MEM; in d40_xlate() 2444 if (d40c->dma_cfg.dir == DMA_DEV_TO_MEM) in d40_alloc_chan_resources() [all …]
|
D | mmp_tdma.c | 212 else if (tdmac->dir == DMA_DEV_TO_MEM) in mmp_tdma_config_chan() 522 if (dir == DMA_DEV_TO_MEM) { in mmp_tdma_config_write() 709 tdev->device.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in mmp_tdma_probe()
|
D | nbpfaxi.c | 448 case DMA_DEV_TO_MEM: in nbpf_xfer_ds() 542 case DMA_DEV_TO_MEM: in nbpf_prep_one() 932 case DMA_DEV_TO_MEM: in nbpf_prep_sg() 978 mem_sg = direction == DMA_DEV_TO_MEM ? dst_sg : src_sg; in nbpf_prep_sg() 1029 case DMA_DEV_TO_MEM: in nbpf_prep_slave_sg() 1429 dma_dev->directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in nbpf_probe()
|
D | tegra210-adma.c | 267 case DMA_DEV_TO_MEM: in tegra_adma_request_alloc() 298 case DMA_DEV_TO_MEM: in tegra_adma_request_free() 578 case DMA_DEV_TO_MEM: in tegra_adma_set_xfer_params() 914 tdma->dma_dev.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in tegra_adma_probe()
|
/linux-6.6.21/drivers/dma/mediatek/ |
D | mtk-uart-apdma.c | 259 if (c->dir == DMA_DEV_TO_MEM) in mtk_uart_apdma_irq_handler() 376 if (c->dir == DMA_DEV_TO_MEM) in mtk_uart_apdma_issue_pending() 427 if (c->dir == DMA_DEV_TO_MEM) in mtk_uart_apdma_terminate_all() 518 mtkd->ddev.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in mtk_uart_apdma_probe()
|
/linux-6.6.21/include/sound/ |
D | dmaengine_pcm.h | 27 return DMA_DEV_TO_MEM; in snd_pcm_substream_to_dma_direction()
|
/linux-6.6.21/drivers/tty/serial/8250/ |
D | 8250_dma.c | 153 dma->rx_size, DMA_DEV_TO_MEM, in serial8250_rx_dma() 193 dma->rxconf.direction = DMA_DEV_TO_MEM; in serial8250_request_dma()
|
/linux-6.6.21/drivers/soc/ti/ |
D | knav_dma.c | 428 config->direction == DMA_DEV_TO_MEM ? "receive" : in knav_dma_open_channel() 432 config->direction != DMA_DEV_TO_MEM) { in knav_dma_open_channel() 588 } else if (dir == DMA_DEV_TO_MEM) { in pktdma_init_chan() 693 if (pktdma_init_chan(dma, DMA_DEV_TO_MEM, i) >= 0) in dma_init()
|
/linux-6.6.21/Documentation/arch/arm/stm32/ |
D | stm32-dma-mdma-chaining.rst | 222 DMA_DEV_TO_MEM: 319 config.direction = DMA_DEV_TO_MEM; 326 config.direction = DMA_DEV_TO_MEM; 353 case of DMA_DEV_TO_MEM) or the SRAM buffer (in case of DMA_MEM_TO_DEV), the 364 * DMA_DEV_TO_MEM: set the callback on the "MDMA" descriptor 396 DMA_DEV_TO_MEM and keep the "classic" DMA usage for DMA_MEM_TO_DEV, unless
|
/linux-6.6.21/drivers/spi/ |
D | spi-dw-dma.c | 89 rx.directions & BIT(DMA_DEV_TO_MEM))) in dw_spi_dma_caps_init() 430 rxconf.direction = DMA_DEV_TO_MEM; in dw_spi_dma_config_rx() 448 DMA_DEV_TO_MEM, in dw_spi_dma_submit_rx()
|
/linux-6.6.21/drivers/crypto/qce/ |
D | dma.c | 113 return qce_dma_prep_sg(txchan, tx_sg, tx_nents, flags, DMA_DEV_TO_MEM, in qce_dma_prep_sgs()
|