Home
last modified time | relevance | path

Searched refs:DMA_DEV_TO_MEM (Results 1 – 25 of 123) sorted by relevance

12345

/linux/drivers/dma/dw/
H A Didma32.c74 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()
214 else if (dwc->direction == DMA_DEV_TO_MEM) in idma32_prepare_ctllo()
H A Ddw.c86 } else if (dwc->direction == DMA_DEV_TO_MEM) { in dw_dma_prepare_ctllo()
/linux/drivers/dma/ti/
H A Domap-dma.c285 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()
1030 if (dir == DMA_DEV_TO_MEM) { in omap_dma_prep_slave_sg()
1071 if (dir == DMA_DEV_TO_MEM) in omap_dma_prep_slave_sg()
1076 if (dir == DMA_DEV_TO_MEM) in omap_dma_prep_slave_sg()
1152 if (dir == DMA_DEV_TO_MEM) { in omap_dma_prep_dma_cyclic()
[all …]
H A Dk3-udma.c483 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/drivers/dma/hsu/
H A Dhsu.c56 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/drivers/soc/tegra/fuse/
H A Dfuse-tegra20.c64 sizeof(u32), DMA_DEV_TO_MEM, in tegra20_fuse_read()
147 fuse->apbdma.config.direction = DMA_DEV_TO_MEM; in tegra20_fuse_probe()
/linux/drivers/dma/
H A Dbcm2835-dma.c384 if (direction == DMA_DEV_TO_MEM) in bcm2835_dma_fill_cb_chain_with_sg()
531 if (d->dir == DMA_DEV_TO_MEM) in bcm2835_dma_desc_size_pos()
568 else if (d->dir == DMA_DEV_TO_MEM) in bcm2835_dma_tx_status()
645 if (direction == DMA_DEV_TO_MEM) { in bcm2835_dma_prep_slave_sg()
719 if (direction == DMA_DEV_TO_MEM) { in bcm2835_dma_prep_dma_cyclic()
930 od->ddev.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV) | in bcm2835_dma_probe()
H A Dste_dma40_ll.c39 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()
H A Duniphier-xdmac.c149 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()
357 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()
H A Dmmp_tdma.c212 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()
701 tdev->device.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in mmp_tdma_probe()
H A Dimx-dma.c270 if (d->direction == DMA_DEV_TO_MEM) in imxdma_sg_next()
557 if (d->direction == DMA_DEV_TO_MEM) { in imxdma_xfer_desc()
665 if (direction == DMA_DEV_TO_MEM) { in imxdma_config_write()
835 if (direction == DMA_DEV_TO_MEM) { in imxdma_prep_slave_sg()
891 if (direction == DMA_DEV_TO_MEM) { in imxdma_prep_dma_cyclic()
H A Dtimb_dma.c195 if (td_chan->direction == DMA_DEV_TO_MEM) { in __td_start_dma()
237 if (td_chan->direction == DMA_DEV_TO_MEM) in __td_finish()
704 td_chan->direction = pchan->rx ? DMA_DEV_TO_MEM : in td_probe()
H A Dapple-admac.c227 return (channo & 1) ? DMA_DEV_TO_MEM : DMA_MEM_TO_DEV; in admac_chan_direction()
425 case DMA_DEV_TO_MEM: in admac_start_chan()
443 case DMA_DEV_TO_MEM: in admac_stop_chan()
868 dma->directions = BIT(DMA_MEM_TO_DEV) | BIT(DMA_DEV_TO_MEM); in admac_probe()
H A Dpl330.c1132 case DMA_DEV_TO_MEM: in _emit_load()
1161 case DMA_DEV_TO_MEM: in _emit_store()
1221 case DMA_DEV_TO_MEM: in _bursts()
1270 case DMA_DEV_TO_MEM: in _dregs()
1489 case DMA_DEV_TO_MEM: in pl330_submit_req()
2194 case DMA_DEV_TO_MEM: in pl330_dma_slave_map_dir()
2256 } else if (direction == DMA_DEV_TO_MEM) { in pl330_config_write()
2737 case DMA_DEV_TO_MEM: in pl330_prep_dma_cyclic()
3148 pd->directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in pl330_probe()
/linux/drivers/dma/mediatek/
H A Dmtk-uart-apdma.c259 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()
519 mtkd->ddev.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in mtk_uart_apdma_probe()
/linux/drivers/dma/dw-edma/
H A Ddw-edma-core.c160 caps->directions = BIT(DMA_DEV_TO_MEM); in dw_edma_device_caps()
165 caps->directions = BIT(DMA_DEV_TO_MEM); in dw_edma_device_caps()
412 if ((chan->dir == EDMA_DIR_READ && dir != DMA_DEV_TO_MEM) || in dw_edma_device_transfer()
416 if ((chan->dir == EDMA_DIR_WRITE && dir != DMA_DEV_TO_MEM) || in dw_edma_device_transfer()
444 if (dir == DMA_DEV_TO_MEM) in dw_edma_device_transfer()
479 if (dir == DMA_DEV_TO_MEM) { in dw_edma_device_transfer()
1001 dma->directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in dw_edma_channel_setup()
/linux/drivers/tty/serial/8250/
H A D8250_dma.c194 dma->rx_size, DMA_DEV_TO_MEM, in serial8250_rx_dma()
235 dma->rxconf.direction = DMA_DEV_TO_MEM; in serial8250_request_dma()
/linux/Documentation/arch/arm/stm32/
H A Dstm32-dma-mdma-chaining.rst222 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/drivers/spi/
H A Dspi-dw-dma.c89 rx.directions & BIT(DMA_DEV_TO_MEM))) in dw_spi_dma_caps_init()
432 rxconf.direction = DMA_DEV_TO_MEM; in dw_spi_dma_config_rx()
450 DMA_DEV_TO_MEM, in dw_spi_dma_submit_rx()
/linux/drivers/crypto/qce/
H A Ddma.c119 return qce_dma_prep_sg(txchan, tx_sg, tx_nents, flags, DMA_DEV_TO_MEM, in qce_dma_prep_sgs()
/linux/Documentation/devicetree/bindings/dma/
H A Drenesas,nbpfaxi.txt30 (DMA_DEV_TO_MEM/DMA_MEM_TO_MEM) to this value, specified in bytes, rather
/linux/drivers/media/pci/mgb4/
H A Dmgb4_dma.c39 cfg.direction = DMA_DEV_TO_MEM; in mgb4_dma_transfer()
/linux/drivers/mmc/host/
H A Drenesas_sdhi_sys_dmac.c194 desc = dmaengine_prep_slave_sg(chan, sg, ret, DMA_DEV_TO_MEM, in renesas_sdhi_sys_dmac_start_dma_rx()
390 cfg.direction = DMA_DEV_TO_MEM; in renesas_sdhi_sys_dmac_request_dma()
/linux/drivers/dma/sh/
H A Dusb-dmac.c202 if (desc->direction == DMA_DEV_TO_MEM) in usb_dmac_chan_start_sg()
479 if (desc->direction == DMA_DEV_TO_MEM) in usb_dmac_get_current_residue()
834 engine->directions = BIT(DMA_MEM_TO_DEV) | BIT(DMA_DEV_TO_MEM); in usb_dmac_probe()
H A Dshdmac.c471 return (sdesc->direction == DMA_DEV_TO_MEM && in sh_dmae_desc_completed()
473 (sdesc->direction != DMA_DEV_TO_MEM && in sh_dmae_desc_completed()
740 dma_dev->directions = BIT(DMA_MEM_TO_DEV) | BIT(DMA_DEV_TO_MEM); in sh_dmae_probe()

12345