| /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()
|
| /linux/drivers/dma/ |
| H A D | moxart-dma.c | 221 if (ch->cfg.direction != DMA_MEM_TO_DEV) in moxart_slave_config() 228 if (ch->cfg.direction != DMA_MEM_TO_DEV) in moxart_slave_config() 235 if (ch->cfg.direction != DMA_MEM_TO_DEV) in moxart_slave_config() 244 if (ch->cfg.direction == DMA_MEM_TO_DEV) { in moxart_slave_config() 400 if (ch->desc->dma_dir == DMA_MEM_TO_DEV) in moxart_dma_start_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 | 285 return (chan->chan_id % 2 == 0) ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM; in ep93xx_dma_chan_direction() 432 if (ep93xx_dma_chan_direction(&edmac->chan) == DMA_MEM_TO_DEV) in m2p_fill_desc() 537 if (edmac->dma_cfg.dir == DMA_MEM_TO_DEV) { in m2m_hw_setup() 553 if (edmac->dma_cfg.dir == DMA_MEM_TO_DEV) { in m2m_hw_setup() 1123 if (dir == DMA_MEM_TO_DEV) { in ep93xx_dma_prep_slave_sg() 1203 if (dir == DMA_MEM_TO_DEV) { in ep93xx_dma_prep_dma_cyclic() 1309 case DMA_MEM_TO_DEV: in ep93xx_dma_slave_config_write()
|
| H A D | st_fdma.c | 364 case DMA_MEM_TO_DEV: in config_reqctrl() 416 if (direction == DMA_MEM_TO_DEV) { in fill_hw_node() 495 if (direction == DMA_MEM_TO_DEV) in st_fdma_prep_dma_cyclic() 541 if (direction == DMA_MEM_TO_DEV) in st_fdma_prep_slave_sg() 818 fdev->dma_device.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in st_fdma_probe()
|
| H A D | sun4i-dma.c | 481 case DMA_MEM_TO_DEV: in sanitize_config() 792 if (dir == DMA_MEM_TO_DEV) { in sun4i_dma_prep_dma_cyclic() 850 if (dir == DMA_MEM_TO_DEV) in sun4i_dma_prep_dma_cyclic() 915 if (dir == DMA_MEM_TO_DEV) in sun4i_dma_prep_slave_sg() 928 if (dir == DMA_MEM_TO_DEV) { in sun4i_dma_prep_slave_sg() 1292 BIT(DMA_MEM_TO_DEV); in sun4i_dma_probe()
|
| H A D | img-mdc-dma.c | 234 if (dir == DMA_MEM_TO_DEV) { in mdc_list_desc_config() 344 if (dir == DMA_MEM_TO_DEV) in mdc_check_slave_width() 416 if (dir == DMA_MEM_TO_DEV) { in mdc_prep_dma_cyclic() 496 if (dir == DMA_MEM_TO_DEV) { in mdc_prep_slave_sg() 958 mdma->dma_dev.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in mdc_dma_probe()
|
| H A D | mmp_tdma.c | 210 if (tdmac->dir == DMA_MEM_TO_DEV) in mmp_tdma_config_chan() 467 if (direction == DMA_MEM_TO_DEV) { in mmp_tdma_prep_dma_cyclic() 701 tdev->device.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in mmp_tdma_probe()
|
| H A D | uniphier-xdmac.c | 158 if (xd->dir == DMA_MEM_TO_DEV) { in uniphier_xdmac_chan_start() 359 xd->nodes[i].dst = (direction == DMA_MEM_TO_DEV) in uniphier_xdmac_prep_slave_sg() 512 ddev->directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV) | in uniphier_xdmac_probe()
|
| /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/dma/amd/qdma/ |
| H A D | qdma.c | 18 #define CHAN_STR(q) (((q)->dir == DMA_MEM_TO_DEV) ? "H2C" : "C2H") 266 if (dir == DMA_MEM_TO_DEV) in qdma_check_queue_status() 301 if (queue->dir == DMA_MEM_TO_DEV) { in qdma_clear_queue_context() 352 if (dir == DMA_MEM_TO_DEV) in qdma_setup_queue_context() 442 if (dir == DMA_MEM_TO_DEV) { in qdma_alloc_queues() 522 ret = qdma_alloc_queues(qdev, DMA_MEM_TO_DEV); in qdma_device_setup() 669 if (q->dir == DMA_MEM_TO_DEV) { in qdma_hw_enqueue() 776 if (dir == DMA_MEM_TO_DEV) in qdma_prep_device_sg() 1112 qdev->dma_dev.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in amd_qdma_probe()
|
| /linux/drivers/dma/mediatek/ |
| H A D | mtk-uart-apdma.c | 261 else if (c->dir == DMA_MEM_TO_DEV) in mtk_uart_apdma_irq_handler() 378 else if (c->dir == DMA_MEM_TO_DEV) in mtk_uart_apdma_issue_pending() 429 else if (c->dir == DMA_MEM_TO_DEV) 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/tty/serial/8250/ |
| H A D | 8250_dma.c | 126 DMA_MEM_TO_DEV, in serial8250_tx_dma() 239 dma->txconf.direction = DMA_MEM_TO_DEV; in serial8250_request_dma()
|
| /linux/drivers/spi/ |
| H A D | spi-dw-dma.c | 88 if (!(tx.directions & BIT(DMA_MEM_TO_DEV) && in dw_spi_dma_caps_init() 331 txconf.direction = DMA_MEM_TO_DEV; in dw_spi_dma_config_tx() 349 DMA_MEM_TO_DEV, in dw_spi_dma_submit_tx()
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-sh_mobile.c | 477 char *chan_name = dir == DMA_MEM_TO_DEV ? "tx" : "rx"; in sh_mobile_i2c_request_dma_chan() 489 if (dir == DMA_MEM_TO_DEV) { in sh_mobile_i2c_request_dma_chan() 522 chan = pd->dma_tx = sh_mobile_i2c_request_dma_chan(pd->dev, DMA_MEM_TO_DEV, in sh_mobile_i2c_xfer_dma() 541 read ? DMA_DEV_TO_MEM : DMA_MEM_TO_DEV, in sh_mobile_i2c_xfer_dma()
|
| /linux/drivers/mtd/nand/ |
| H A D | qpic_common.c | 167 dir_eng = DMA_MEM_TO_DEV; in qcom_prepare_bam_async_desc() 173 dir_eng = DMA_MEM_TO_DEV; in qcom_prepare_bam_async_desc() 379 dir_eng = DMA_MEM_TO_DEV; in qcom_prep_adm_dma_desc()
|
| /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/crypto/qce/ |
| H A D | dma.c | 114 ret = qce_dma_prep_sg(rxchan, rx_sg, rx_nents, flags, DMA_MEM_TO_DEV, in qce_dma_prep_sgs()
|
| /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() 2257 case DMA_MEM_TO_DEV: in udma_alloc_chan_resources() [all …]
|
| /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/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/dma/xilinx/ |
| H A D | xdma.c | 415 if (dir == DMA_MEM_TO_DEV) { in xdma_alloc_channels() 484 (dir == DMA_MEM_TO_DEV) ? "H2C" : "C2H"); in xdma_alloc_channels() 621 if (dir == DMA_MEM_TO_DEV) { in xdma_prep_device_sg() 698 if (dir == DMA_MEM_TO_DEV) { in xdma_prep_dma_cyclic() 1244 ret = xdma_alloc_channels(xdev, DMA_MEM_TO_DEV); in xdma_probe()
|
| /linux/drivers/dma/dw-edma/ |
| H A D | dw-edma-core.c | 162 caps->directions = BIT(DMA_MEM_TO_DEV); in dw_edma_device_caps() 167 caps->directions = BIT(DMA_MEM_TO_DEV); in dw_edma_device_caps() 413 (chan->dir == EDMA_DIR_WRITE && dir != DMA_MEM_TO_DEV)) in dw_edma_device_transfer() 417 (chan->dir == EDMA_DIR_READ && dir != DMA_MEM_TO_DEV)) in dw_edma_device_transfer() 1001 dma->directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in dw_edma_channel_setup()
|