Home
last modified time | relevance | path

Searched full:dma_tx (Results 1 – 25 of 38) sorted by relevance

12

/linux/drivers/spi/
H A Dspi-fsl-lpspi.c409 ret = dmaengine_slave_config(controller->dma_tx, &tx); in fsl_lpspi_dma_configure()
646 desc_tx = dmaengine_prep_slave_sg(controller->dma_tx, in fsl_lpspi_dma_transfer()
650 dmaengine_terminate_all(controller->dma_tx); in fsl_lpspi_dma_transfer()
658 dma_async_issue_pending(controller->dma_tx); in fsl_lpspi_dma_transfer()
671 dmaengine_terminate_all(controller->dma_tx); in fsl_lpspi_dma_transfer()
681 dmaengine_terminate_all(controller->dma_tx); in fsl_lpspi_dma_transfer()
691 dmaengine_terminate_all(controller->dma_tx); in fsl_lpspi_dma_transfer()
701 dmaengine_terminate_all(controller->dma_tx); in fsl_lpspi_dma_transfer()
720 if (controller->dma_tx) { in fsl_lpspi_dma_exit()
721 dma_release_channel(controller->dma_tx); in fsl_lpspi_dma_exit()
[all …]
H A Dspi-rockchip.c292 dmaengine_terminate_async(ctlr->dma_tx); in rockchip_spi_handle_err()
491 dmaengine_slave_config(ctlr->dma_tx, &txconf); in rockchip_spi_prepare_dma()
494 ctlr->dma_tx, in rockchip_spi_prepare_dma()
522 dma_async_issue_pending(ctlr->dma_tx); in rockchip_spi_prepare_dma()
662 dmaengine_terminate_sync(ctlr->dma_tx); in rockchip_spi_target_abort()
863 ctlr->dma_tx = dma_request_chan(rs->dev, "tx"); in rockchip_spi_probe()
864 if (IS_ERR(ctlr->dma_tx)) { in rockchip_spi_probe()
866 ret = dev_warn_probe(rs->dev, PTR_ERR(ctlr->dma_tx), in rockchip_spi_probe()
870 ctlr->dma_tx = NULL; in rockchip_spi_probe()
883 if (ctlr->dma_tx && ctlr->dma_rx) { in rockchip_spi_probe()
[all …]
H A Dspi-bcm2835.c617 dmaengine_terminate_async(ctlr->dma_tx); in bcm2835_spi_dma_rx_done()
688 chan = ctlr->dma_tx; in bcm2835_spi_prepare_sg()
809 dma_async_issue_pending(ctlr->dma_tx); in bcm2835_spi_transfer_one_dma()
823 dmaengine_terminate_sync(ctlr->dma_tx); in bcm2835_spi_transfer_one_dma()
867 if (ctlr->dma_tx) { in bcm2835_dma_release()
868 dmaengine_terminate_sync(ctlr->dma_tx); in bcm2835_dma_release()
874 dma_unmap_page_attrs(ctlr->dma_tx->device->dev, in bcm2835_dma_release()
879 dma_release_channel(ctlr->dma_tx); in bcm2835_dma_release()
880 ctlr->dma_tx = NULL; in bcm2835_dma_release()
908 ctlr->dma_tx = dma_request_chan(dev, "tx"); in bcm2835_dma_init()
[all …]
H A Dspi-rzv2h-rspi.c236 if (!ctlr->dma_tx || !ctlr->dma_rx) in rzv2h_rspi_can_dma()
339 tx_desc = rzv2h_rspi_setup_dma_channel(rspi, rspi->controller->dma_tx, in rzv2h_rspi_transfer_dma()
364 dma_async_issue_pending(rspi->controller->dma_tx); in rzv2h_rspi_transfer_dma()
369 dmaengine_synchronize(rspi->controller->dma_tx); in rzv2h_rspi_transfer_dma()
373 dmaengine_terminate_sync(rspi->controller->dma_tx); in rzv2h_rspi_transfer_dma()
780 controller->dma_tx = devm_dma_request_chan(dev, "tx"); in rzv2h_rspi_probe()
781 if (IS_ERR(controller->dma_tx)) { in rzv2h_rspi_probe()
782 ret = dev_warn_probe(dev, PTR_ERR(controller->dma_tx), in rzv2h_rspi_probe()
786 controller->dma_tx = NULL; in rzv2h_rspi_probe()
H A Dspi-davinci.c180 struct dma_chan *dma_tx; member
455 if (dspi->dma_rx && dspi->dma_tx) in davinci_spi_of_setup()
682 dmaengine_slave_config(dspi->dma_tx, &dma_tx_conf); in davinci_spi_bufs()
700 txdesc = dmaengine_prep_slave_sg(dspi->dma_tx, in davinci_spi_bufs()
718 dma_async_issue_pending(dspi->dma_tx); in davinci_spi_bufs()
817 dspi->dma_tx = dma_request_chan(sdev, "tx"); in davinci_spi_request_dma()
818 if (IS_ERR(dspi->dma_tx)) { in davinci_spi_request_dma()
820 return PTR_ERR(dspi->dma_tx); in davinci_spi_request_dma()
1016 dspi->dma_tx = NULL; in davinci_spi_probe()
1057 dma_release_channel(dspi->dma_tx); in davinci_spi_probe()
[all …]
H A Dspi-stm32.c335 * @dma_tx: dma channel for TX transfer
373 struct dma_chan *dma_tx; member
862 if (spi->cur_usedma && spi->dma_tx) in stm32fx_spi_disable()
863 dmaengine_terminate_async(spi->dma_tx); in stm32fx_spi_disable()
905 if (spi->cur_usedma && spi->dma_tx) in stm32h7_spi_disable()
906 dmaengine_terminate_async(spi->dma_tx); in stm32h7_spi_disable()
1675 if (spi->tx_buf && spi->dma_tx) { in stm32_spi_transfer_one_dma()
1676 stm32_spi_dma_config(spi, spi->dma_tx, &tx_dma_conf, DMA_MEM_TO_DEV); in stm32_spi_transfer_one_dma()
1677 dmaengine_slave_config(spi->dma_tx, &tx_dma_conf); in stm32_spi_transfer_one_dma()
1678 tx_dma_desc = dmaengine_prep_slave_sg(spi->dma_tx, xfer->tx_sg.sgl, in stm32_spi_transfer_one_dma()
[all …]
H A Dspi-atcspi200.c280 chan = spi->host->dma_tx; in atcspi_dma_config()
327 dma_ch = spi->host->dma_tx; in atcspi_dma_trans()
507 spi->host->dma_tx = devm_dma_request_chan(spi->dev, "tx"); in atcspi_configure_dma()
508 if (IS_ERR(spi->host->dma_tx)) in atcspi_configure_dma()
509 return PTR_ERR(spi->host->dma_tx); in atcspi_configure_dma()
H A Dspi-imx.c1397 if (controller->dma_tx) { in spi_imx_sdma_exit()
1398 dma_release_channel(controller->dma_tx); in spi_imx_sdma_exit()
1399 controller->dma_tx = NULL; in spi_imx_sdma_exit()
1411 controller->dma_tx = dma_request_chan(dev, "tx"); in spi_imx_sdma_init()
1412 if (IS_ERR(controller->dma_tx)) { in spi_imx_sdma_init()
1413 ret = PTR_ERR(controller->dma_tx); in spi_imx_sdma_init()
1415 controller->dma_tx = NULL; in spi_imx_sdma_init()
1470 struct device *tx_dev = spi_imx->controller->dma_tx->device->dev; in spi_imx_dma_unmap()
1529 struct device *tx_dev = controller->dma_tx->device->dev; in spi_imx_dma_map()
1751 desc_tx = dmaengine_prep_slave_single(controller->dma_tx, dma_data->dma_tx_addr, in spi_imx_dma_submit()
[all …]
H A Dspi-dw-dma.c113 struct dw_dma_slave dma_tx = { .dst_id = 1 }, *tx = &dma_tx; in dw_spi_dma_init_mfld() local
143 dws->ctlr->dma_tx = dws->txchan; in dw_spi_dma_init_mfld()
187 dws->ctlr->dma_tx = dws->txchan; in dw_spi_dma_init_generic()
H A Dspi-mem.c48 if (op->data.dir == SPI_MEM_DATA_OUT && ctlr->dma_tx) in spi_controller_dma_map_mem_op_data()
49 dmadev = ctlr->dma_tx->device->dev; in spi_controller_dma_map_mem_op_data()
94 if (op->data.dir == SPI_MEM_DATA_OUT && ctlr->dma_tx) in spi_controller_dma_unmap_mem_op_data()
95 dmadev = ctlr->dma_tx->device->dev; in spi_controller_dma_unmap_mem_op_data()
/linux/arch/powerpc/platforms/512x/
H A Dmpc512x_lpbfifo.c169 struct dma_async_tx_descriptor *dma_tx = NULL; in mpc512x_lpbfifo_kick() local
257 dma_tx = dmaengine_prep_slave_sg(lpbfifo.chan, &sg, in mpc512x_lpbfifo_kick()
259 if (!dma_tx) { in mpc512x_lpbfifo_kick()
263 dma_tx->callback = mpc512x_lpbfifo_callback; in mpc512x_lpbfifo_kick()
264 dma_tx->callback_param = NULL; in mpc512x_lpbfifo_kick()
313 cookie = dma_tx->tx_submit(dma_tx); in mpc512x_lpbfifo_kick()
/linux/drivers/mtd/nand/raw/
H A Dintel-nand-controller.c118 struct dma_chan *dma_tx; member
282 dmaengine_terminate_async(ebu_host->dma_tx); in ebu_dma_tx_callback()
305 chan = ebu_host->dma_tx; in ebu_dma_start()
572 if (ebu_host->dma_tx) in ebu_dma_cleanup()
573 dma_release_channel(ebu_host->dma_tx); in ebu_dma_cleanup()
641 ebu_host->dma_tx = dma_request_chan(dev, "tx"); in ebu_nand_probe()
642 if (IS_ERR(ebu_host->dma_tx)) { in ebu_nand_probe()
643 ret = dev_err_probe(dev, PTR_ERR(ebu_host->dma_tx), in ebu_nand_probe()
/linux/Documentation/devicetree/bindings/net/
H A Didt,3243x-emac.yaml28 - const: dma_tx
65 reg-names = "emac", "dma_rx", "dma_tx";
/linux/Documentation/devicetree/bindings/serial/
H A Dbrcm,bcm7271-uart.yaml40 - const: dma_tx
90 reg-names = "uart", "dma_arb", "dma_rx", "dma_tx", "dma_intr2";
/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_dma.c44 int fix_burst, int pbl, dma_addr_t dma_tx, in sxgbe_dma_channel_init() argument
66 writel(upper_32_bits(dma_tx), in sxgbe_dma_channel_init()
68 writel(lower_32_bits(dma_tx), in sxgbe_dma_channel_init()
80 dma_addr = dma_tx + ((t_rsize - 1) * SXGBE_DESC_SIZE_BYTES); in sxgbe_dma_channel_init()
H A Dsxgbe_dma.h24 int pbl, dma_addr_t dma_tx, dma_addr_t dma_rx,
H A Dsxgbe_main.c333 priv->hw->desc->init_tx_desc(&priv->txq[j]->dma_tx[i]); in sxgbe_clear_descriptors()
404 tx_ring->dma_tx = dma_alloc_coherent(dev, in init_tx_ring()
407 if (!tx_ring->dma_tx) in init_tx_ring()
433 tx_ring->dma_tx, tx_ring->dma_tx_phy); in init_tx_ring()
549 tx_ring->dma_tx, tx_ring->dma_tx_phy); in free_tx_ring()
618 struct sxgbe_tx_norm_desc *tdesc = txqueue->dma_tx + dma_desc; in tx_free_ring_skbufs()
750 p = tqueue->dma_tx + entry; in sxgbe_tx_queue_clean()
1314 tx_desc = tqueue->dma_tx + entry; in sxgbe_xmit()
1339 first_desc = tqueue->dma_tx + entry; in sxgbe_xmit()
1361 tx_desc = tqueue->dma_tx + entry; in sxgbe_xmit()
/linux/Documentation/devicetree/bindings/sound/
H A Drenesas,rz-ssi.yaml38 - const: dma_tx
102 interrupt-names = "int_req", "dma_rx", "dma_tx";
/linux/drivers/net/ethernet/calxeda/
H A Dxgmac.c360 struct xgmac_dma_desc *dma_tx; member
748 priv->dma_tx = dma_alloc_coherent(priv->device, in xgmac_dma_desc_rings_init()
753 if (!priv->dma_tx) in xgmac_dma_desc_rings_init()
758 priv->dma_rx, priv->dma_tx, in xgmac_dma_desc_rings_init()
769 desc_init_tx_desc(priv->dma_tx, DMA_TX_RING_SZ); in xgmac_dma_desc_rings_init()
820 p = priv->dma_tx + i; in xgmac_free_tx_skbufs()
841 if (priv->dma_tx) { in xgmac_free_dma_desc_rings()
844 priv->dma_tx, priv->dma_tx_phy); in xgmac_free_dma_desc_rings()
845 priv->dma_tx = NULL; in xgmac_free_dma_desc_rings()
869 struct xgmac_dma_desc *p = priv->dma_tx + entry; in xgmac_tx_complete()
[all …]
/linux/drivers/i2c/busses/
H A Di2c-sh_mobile.c136 struct dma_chan *dma_tx; member
449 ? pd->dma_rx : pd->dma_tx; in sh_mobile_i2c_cleanup_dma()
512 struct dma_chan *chan = read ? pd->dma_rx : pd->dma_tx; in sh_mobile_i2c_xfer_dma()
522 chan = pd->dma_tx = sh_mobile_i2c_request_dma_chan(pd->dev, DMA_MEM_TO_DEV, in sh_mobile_i2c_xfer_dma()
815 if (!IS_ERR(pd->dma_tx)) { in sh_mobile_i2c_release_dma()
816 dma_release_channel(pd->dma_tx); in sh_mobile_i2c_release_dma()
817 pd->dma_tx = ERR_PTR(-EPROBE_DEFER); in sh_mobile_i2c_release_dma()
920 pd->dma_rx = pd->dma_tx = ERR_PTR(-EPROBE_DEFER); in sh_mobile_i2c_probe()
H A Di2c-rcar.c162 struct dma_chan *dma_tx; member
450 ? priv->dma_rx : priv->dma_tx; in rcar_i2c_cleanup_dma()
485 struct dma_chan *chan = read ? priv->dma_rx : priv->dma_tx; in rcar_i2c_dma()
864 chan = read ? priv->dma_rx : priv->dma_tx; in rcar_i2c_request_dma()
874 priv->dma_tx = chan; in rcar_i2c_request_dma()
879 if (!IS_ERR(priv->dma_tx)) { in rcar_i2c_release_dma()
880 dma_release_channel(priv->dma_tx); in rcar_i2c_release_dma()
881 priv->dma_tx = ERR_PTR(-EPROBE_DEFER); in rcar_i2c_release_dma()
1162 priv->dma_rx = priv->dma_tx = ERR_PTR(-EPROBE_DEFER); in rcar_i2c_probe()
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dchain_mode.c27 desc = tx_q->dma_tx + entry; in jumbo_frm()
51 desc = tx_q->dma_tx + entry; in jumbo_frm()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Ddma.c504 size = (direction == DMA_TX) ? (di->ntxd * ddlen) : (di->nrxd * ddlen); in dma64_alloc()
508 if (direction == DMA_TX) { in dma64_alloc()
669 if (!_dma_alloc(di, DMA_TX)) in dma_attach()
776 if (direction == DMA_TX) in _dma_ddtable_init()
784 if (direction == DMA_TX) { in _dma_ddtable_init()
803 if (direction == DMA_TX) { in _dma_ddtable_init()
1159 _dma_ddtable_init(di, DMA_TX, di->txdpa); in dma_txinit()
1169 _dma_ddtable_init(di, DMA_TX, di->txdpa); in dma_txinit()
/linux/drivers/crypto/
H A Dsa2ul.h192 * @dma_tx: Pointer to DMA TX channel
210 struct dma_chan *dma_tx; member
/linux/arch/arm64/boot/dts/renesas/
H A Dr9a07g043.dtsi154 interrupt-names = "int_req", "dma_rx", "dma_tx";
174 interrupt-names = "int_req", "dma_rx", "dma_tx";
213 interrupt-names = "int_req", "dma_rx", "dma_tx";

12