/kernel/linux/linux-5.10/drivers/dma/ |
D | coh901318_lli.c | 190 } else if (dir == DMA_DEV_TO_MEM) { in coh901318_lli_fill_single() 219 else if (dir == DMA_DEV_TO_MEM) in coh901318_lli_fill_single() 253 else if (dir == DMA_DEV_TO_MEM) in coh901318_lli_fill_sg() 295 if (dir == DMA_DEV_TO_MEM) in coh901318_lli_fill_sg()
|
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() 928 od->ddev.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV) | in bcm2835_dma_probe()
|
D | ste_dma40_ll.c | 38 if (cfg->dir == DMA_DEV_TO_MEM || in d40_log_cfg() 43 if (cfg->dir == DMA_DEV_TO_MEM || in d40_log_cfg() 72 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 | mmp_pdma.c | 497 } else if (chan->dir == DMA_DEV_TO_MEM) { in mmp_pdma_prep_memcpy() 633 case DMA_DEV_TO_MEM: in mmp_pdma_prep_dma_cyclic() 703 if (direction == DMA_DEV_TO_MEM) { in mmp_pdma_config_write() 778 if (chan->dir == DMA_DEV_TO_MEM) in mmp_pdma_residue() 786 if (chan->dir == DMA_DEV_TO_MEM) in mmp_pdma_residue() 1101 pdev->device.directions = BIT(DMA_MEM_TO_DEV) | BIT(DMA_DEV_TO_MEM); in mmp_pdma_probe()
|
D | ste_dma40.c | 858 chan->dma_cfg.dir == DMA_DEV_TO_MEM)) in d40_log_lli_to_lcxa() 1244 if ((d40c->dma_cfg.dir == DMA_DEV_TO_MEM) || in d40_config_set_event() 1249 if (d40c->dma_cfg.dir != DMA_DEV_TO_MEM) in d40_config_set_event() 1848 if (d40c->dma_cfg.dir == DMA_DEV_TO_MEM) { in d40_allocate_channel() 2014 else if (d40c->dma_cfg.dir == DMA_DEV_TO_MEM) in d40_free_dma() 2077 } else if (d40c->dma_cfg.dir == DMA_DEV_TO_MEM) { in d40_is_paused() 2238 if (direction == DMA_DEV_TO_MEM) in d40_prep_sg() 2331 if ((d40c->dma_cfg.dir == DMA_DEV_TO_MEM) || in d40_set_prio_realtime() 2372 cfg.dir = DMA_DEV_TO_MEM; in d40_xlate() 2421 if (d40c->dma_cfg.dir == DMA_DEV_TO_MEM) in d40_alloc_chan_resources() [all …]
|
D | nbpfaxi.c | 449 case DMA_DEV_TO_MEM: in nbpf_xfer_ds() 543 case DMA_DEV_TO_MEM: in nbpf_prep_one() 933 case DMA_DEV_TO_MEM: in nbpf_prep_sg() 979 mem_sg = direction == DMA_DEV_TO_MEM ? dst_sg : src_sg; in nbpf_prep_sg() 1030 case DMA_DEV_TO_MEM: in nbpf_prep_slave_sg() 1434 dma_dev->directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in nbpf_probe()
|
D | tegra210-adma.c | 269 case DMA_DEV_TO_MEM: in tegra_adma_request_alloc() 300 case DMA_DEV_TO_MEM: in tegra_adma_request_free() 580 case DMA_DEV_TO_MEM: in tegra_adma_set_xfer_params() 898 tdma->dma_dev.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in tegra_adma_probe()
|
/kernel/linux/linux-5.10/drivers/dma/dw/ |
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()
|
D | idma32.c | 76 u8 smsize = (dwc->direction == DMA_DEV_TO_MEM) ? sconfig->src_maxburst : 0; in idma32_prepare_ctllo()
|
/kernel/linux/linux-5.10/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() 906 else if (d->dir == DMA_DEV_TO_MEM || d->dir == DMA_MEM_TO_MEM) in omap_dma_tx_status() 969 if (dir == DMA_DEV_TO_MEM) { in omap_dma_prep_slave_sg() 1024 if (dir == DMA_DEV_TO_MEM) { in omap_dma_prep_slave_sg() 1065 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() 1148 if (dir == DMA_DEV_TO_MEM) { in omap_dma_prep_dma_cyclic() [all …]
|
D | k3-udma.c | 378 if (uc->config.dir == DMA_DEV_TO_MEM || uc->config.dir == DMA_MEM_TO_MEM) { in udma_dump_chan_stdata() 521 case DMA_DEV_TO_MEM: in udma_is_chan_paused() 555 case DMA_DEV_TO_MEM: in udma_push_to_ring() 580 if (uc->config.dir != DMA_DEV_TO_MEM) in udma_desc_is_rx_flush() 595 case DMA_DEV_TO_MEM: in udma_pop_from_ring() 629 case DMA_DEV_TO_MEM: in udma_reset_rings() 697 case DMA_DEV_TO_MEM: in udma_reset_chan() 734 if (uc->config.dir == DMA_DEV_TO_MEM) in udma_reset_chan() 749 if (ucc->pkt_mode && (uc->cyclic || ucc->dir == DMA_DEV_TO_MEM)) { in udma_start_desc() 799 case DMA_DEV_TO_MEM: in udma_start() [all …]
|
/kernel/linux/linux-5.10/drivers/soc/tegra/fuse/ |
D | fuse-tegra20.c | 59 sizeof(u32), DMA_DEV_TO_MEM, in tegra20_fuse_read() 118 fuse->apbdma.config.direction = DMA_DEV_TO_MEM; in tegra20_fuse_probe()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/dma/hsu/ |
D | hsu.c | 48 else if (hsuc->direction == DMA_DEV_TO_MEM) in hsu_chan_enable() 65 } else if (hsuc->direction == DMA_DEV_TO_MEM) { in hsu_dma_chan_start() 444 hsuc->direction = (i & 0x1) ? DMA_DEV_TO_MEM : DMA_MEM_TO_DEV; in hsu_dma_probe() 466 hsu->dma.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in hsu_dma_probe()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/staging/ralink-gdma/ |
D | ralink-gdma.c | 202 case DMA_DEV_TO_MEM: in gdma_dma_config() 293 } else if (chan->desc->direction == DMA_DEV_TO_MEM) { in rt305x_gdma_start_transfer() 370 } else if (chan->desc->direction == DMA_DEV_TO_MEM) { in rt3883_gdma_start_transfer() 533 } else if (direction == DMA_DEV_TO_MEM) { in gdma_dma_prep_slave_sg() 633 } else if (direction == DMA_DEV_TO_MEM) { in gdma_dma_prep_dma_cyclic() 853 dd->directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in gdma_dma_probe()
|
/kernel/linux/linux-5.10/drivers/dma/mediatek/ |
D | mtk-uart-apdma.c | 260 if (c->dir == DMA_DEV_TO_MEM) in mtk_uart_apdma_irq_handler() 377 if (c->dir == DMA_DEV_TO_MEM) in mtk_uart_apdma_issue_pending() 428 if (c->dir == DMA_DEV_TO_MEM) in mtk_uart_apdma_terminate_all() 520 mtkd->ddev.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in mtk_uart_apdma_probe()
|
/kernel/linux/linux-5.10/drivers/dma/dw-edma/ |
D | dw-edma-core.c | 339 case DMA_DEV_TO_MEM: /* local dma */ in dw_edma_device_transfer() 340 if (dir == DMA_DEV_TO_MEM && chan->dir == EDMA_DIR_READ) in dw_edma_device_transfer() 350 if (dir == DMA_DEV_TO_MEM && chan->dir == EDMA_DIR_WRITE) in dw_edma_device_transfer() 403 if (dir == DMA_DEV_TO_MEM) { in dw_edma_device_transfer() 741 dma->directions = BIT(write ? DMA_DEV_TO_MEM : DMA_MEM_TO_DEV); in dw_edma_channel_setup()
|
/kernel/linux/linux-5.10/drivers/tty/serial/8250/ |
D | 8250_dma.c | 127 dma->rx_size, DMA_DEV_TO_MEM, in serial8250_rx_dma() 167 dma->rxconf.direction = DMA_DEV_TO_MEM; in serial8250_request_dma()
|
/kernel/linux/linux-5.10/include/sound/ |
D | dmaengine_pcm.h | 25 return DMA_DEV_TO_MEM; in snd_pcm_substream_to_dma_direction()
|
/kernel/linux/linux-5.10/drivers/soc/ti/ |
D | knav_dma.c | 437 config->direction == DMA_DEV_TO_MEM ? "receive" : in knav_dma_open_channel() 441 config->direction != DMA_DEV_TO_MEM) { in knav_dma_open_channel() 598 } else if (dir == DMA_DEV_TO_MEM) { in pktdma_init_chan() 703 if (pktdma_init_chan(dma, DMA_DEV_TO_MEM, i) >= 0) in dma_init()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/dma/ |
D | renesas,nbpfaxi.txt | 30 (DMA_DEV_TO_MEM/DMA_MEM_TO_MEM) to this value, specified in bytes, rather
|
/kernel/linux/linux-5.10/drivers/spi/ |
D | spi-s3c64xx.c | 251 if (dma->direction == DMA_DEV_TO_MEM) in s3c64xx_spi_dmacb() 260 if (dma->direction == DMA_DEV_TO_MEM) { in s3c64xx_spi_dmacb() 283 if (dma->direction == DMA_DEV_TO_MEM) { in prepare_dma() 305 dma->direction == DMA_DEV_TO_MEM ? "rx" : "tx"); in prepare_dma() 1137 sdd->rx_dma.direction = DMA_DEV_TO_MEM; in s3c64xx_spi_probe()
|