Home
last modified time | relevance | path

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

12

/linux/drivers/spi/
H A Dspi-pxa2xx-dma.c98 chan = drv_data->controller->dma_tx; in pxa2xx_spi_dma_prepare_one()
127 dmaengine_terminate_async(drv_data->controller->dma_tx); in pxa2xx_spi_dma_transfer()
165 dmaengine_terminate_async(drv_data->controller->dma_tx); in pxa2xx_spi_dma_prepare()
173 dma_async_issue_pending(drv_data->controller->dma_tx); in pxa2xx_spi_dma_start()
182 dmaengine_terminate_sync(drv_data->controller->dma_tx); in pxa2xx_spi_dma_stop()
195 controller->dma_tx = dma_request_slave_channel_compat(mask, in pxa2xx_spi_dma_setup()
197 if (!controller->dma_tx) in pxa2xx_spi_dma_setup()
203 dma_release_channel(controller->dma_tx); in pxa2xx_spi_dma_setup()
204 controller->dma_tx = NULL; in pxa2xx_spi_dma_setup()
220 if (controller->dma_tx) { in pxa2xx_spi_dma_release()
[all …]
H A Dspi-fsl-lpspi.c390 ret = dmaengine_slave_config(controller->dma_tx, &tx); in fsl_lpspi_dma_configure()
604 desc_tx = dmaengine_prep_slave_sg(controller->dma_tx, in fsl_lpspi_dma_transfer()
608 dmaengine_terminate_all(controller->dma_tx); in fsl_lpspi_dma_transfer()
616 dma_async_issue_pending(controller->dma_tx); in fsl_lpspi_dma_transfer()
629 dmaengine_terminate_all(controller->dma_tx); in fsl_lpspi_dma_transfer()
639 dmaengine_terminate_all(controller->dma_tx); in fsl_lpspi_dma_transfer()
649 dmaengine_terminate_all(controller->dma_tx); in fsl_lpspi_dma_transfer()
659 dmaengine_terminate_all(controller->dma_tx); in fsl_lpspi_dma_transfer()
678 if (controller->dma_tx) { in fsl_lpspi_dma_exit()
679 dma_release_channel(controller->dma_tx); in fsl_lpspi_dma_exit()
[all …]
H A Dspi-rockchip.c295 dmaengine_terminate_async(ctlr->dma_tx); in rockchip_spi_handle_err()
493 dmaengine_slave_config(ctlr->dma_tx, &txconf); in rockchip_spi_prepare_dma()
496 ctlr->dma_tx, in rockchip_spi_prepare_dma()
524 dma_async_issue_pending(ctlr->dma_tx); in rockchip_spi_prepare_dma()
664 dmaengine_terminate_sync(ctlr->dma_tx); in rockchip_spi_target_abort()
872 ctlr->dma_tx = dma_request_chan(rs->dev, "tx"); in rockchip_spi_probe()
873 if (IS_ERR(ctlr->dma_tx)) { in rockchip_spi_probe()
875 ret = dev_warn_probe(rs->dev, PTR_ERR(ctlr->dma_tx), in rockchip_spi_probe()
879 ctlr->dma_tx = NULL; in rockchip_spi_probe()
892 if (ctlr->dma_tx && ctlr->dma_rx) { in rockchip_spi_probe()
[all …]
H A Dspi-ep93xx.c78 * @dma_tx: TX DMA channel
92 struct dma_chan *dma_tx; member
299 chan = espi->dma_tx; in ep93xx_spi_dma_prepare()
383 chan = espi->dma_tx; in ep93xx_spi_dma_finish()
427 dma_async_issue_pending(espi->dma_tx); in ep93xx_spi_dma_transfer()
588 espi->dma_tx = dma_request_chan(dev, "tx"); in ep93xx_spi_setup_dma()
589 if (IS_ERR(espi->dma_tx)) { in ep93xx_spi_setup_dma()
590 ret = dev_err_probe(dev, PTR_ERR(espi->dma_tx), "tx DMA setup failed"); in ep93xx_spi_setup_dma()
611 if (espi->dma_tx) { in ep93xx_spi_release_dma()
612 dma_release_channel(espi->dma_tx); in ep93xx_spi_release_dma()
H A Dspi-davinci.c120 struct dma_chan *dma_tx; member
395 if (dspi->dma_rx && dspi->dma_tx) in davinci_spi_of_setup()
622 dmaengine_slave_config(dspi->dma_tx, &dma_tx_conf); in davinci_spi_bufs()
640 txdesc = dmaengine_prep_slave_sg(dspi->dma_tx, in davinci_spi_bufs()
658 dma_async_issue_pending(dspi->dma_tx); in davinci_spi_bufs()
757 dspi->dma_tx = dma_request_chan(sdev, "tx"); in davinci_spi_request_dma()
758 if (IS_ERR(dspi->dma_tx)) { in davinci_spi_request_dma()
760 return PTR_ERR(dspi->dma_tx); in davinci_spi_request_dma()
957 dspi->dma_tx = NULL; in davinci_spi_probe()
998 dma_release_channel(dspi->dma_tx); in davinci_spi_probe()
[all …]
H A Dspi-ingenic.c185 tx_desc = spi_ingenic_prepare_dma(ctlr, ctlr->dma_tx, in spi_ingenic_dma_tx()
194 dma_async_issue_pending(ctlr->dma_tx); in spi_ingenic_dma_tx()
336 ret = dma_get_slave_caps(ctlr->dma_tx, &caps); in spi_ingenic_can_dma()
354 ctlr->dma_tx = chan; in spi_ingenic_request_dma()
370 if (ctlr->dma_tx) in spi_ingenic_release_dma()
371 dma_release_channel(ctlr->dma_tx); in spi_ingenic_release_dma()
H A Dspi-imx.c1284 ret = dmaengine_slave_config(controller->dma_tx, &tx); in spi_imx_dma_configure()
1383 if (controller->dma_tx) { in spi_imx_sdma_exit()
1384 dma_release_channel(controller->dma_tx); in spi_imx_sdma_exit()
1385 controller->dma_tx = NULL; in spi_imx_sdma_exit()
1397 controller->dma_tx = dma_request_chan(dev, "tx"); in spi_imx_sdma_init()
1398 if (IS_ERR(controller->dma_tx)) { in spi_imx_sdma_init()
1399 ret = PTR_ERR(controller->dma_tx); in spi_imx_sdma_init()
1401 controller->dma_tx = NULL; in spi_imx_sdma_init()
1508 desc_tx = dmaengine_prep_slave_sg(controller->dma_tx, in spi_imx_dma_transfer()
1512 dmaengine_terminate_all(controller->dma_tx); in spi_imx_dma_transfer()
[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->host->dma_tx = dws->txchan; in dw_spi_dma_init_mfld()
187 dws->host->dma_tx = dws->txchan; in dw_spi_dma_init_generic()
H A Dspi-mem.c45 if (op->data.dir == SPI_MEM_DATA_OUT && ctlr->dma_tx) in spi_controller_dma_map_mem_op_data()
46 dmadev = ctlr->dma_tx->device->dev; in spi_controller_dma_map_mem_op_data()
91 if (op->data.dir == SPI_MEM_DATA_OUT && ctlr->dma_tx) in spi_controller_dma_unmap_mem_op_data()
92 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
259 dma_tx = dmaengine_prep_slave_sg(lpbfifo.chan, &sg, in mpc512x_lpbfifo_kick()
261 if (!dma_tx) { in mpc512x_lpbfifo_kick()
265 dma_tx->callback = mpc512x_lpbfifo_callback; in mpc512x_lpbfifo_kick()
266 dma_tx->callback_param = NULL; in mpc512x_lpbfifo_kick()
315 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.c332 priv->hw->desc->init_tx_desc(&priv->txq[j]->dma_tx[i]); in sxgbe_clear_descriptors()
403 tx_ring->dma_tx = dma_alloc_coherent(dev, in init_tx_ring()
406 if (!tx_ring->dma_tx) in init_tx_ring()
432 tx_ring->dma_tx, tx_ring->dma_tx_phy); in init_tx_ring()
550 tx_ring->dma_tx, tx_ring->dma_tx_phy); in free_tx_ring()
619 struct sxgbe_tx_norm_desc *tdesc = txqueue->dma_tx + dma_desc; in tx_free_ring_skbufs()
751 p = tqueue->dma_tx + entry; in sxgbe_tx_queue_clean()
1315 tx_desc = tqueue->dma_tx + entry; in sxgbe_xmit()
1340 first_desc = tqueue->dma_tx + entry; in sxgbe_xmit()
1362 tx_desc = tqueue->dma_tx + entry; in sxgbe_xmit()
/linux/Documentation/devicetree/bindings/sound/
H A Drenesas,rz-ssi.yaml36 - const: dma_tx
118 interrupt-names = "int_req", "dma_rx", "dma_tx";
/linux/drivers/i2c/busses/
H A Di2c-rcar.c160 struct dma_chan *dma_tx; member
447 ? priv->dma_rx : priv->dma_tx; in rcar_i2c_cleanup_dma()
482 struct dma_chan *chan = read ? priv->dma_rx : priv->dma_tx; in rcar_i2c_dma()
854 chan = read ? priv->dma_rx : priv->dma_tx; in rcar_i2c_request_dma()
864 priv->dma_tx = chan; in rcar_i2c_request_dma()
869 if (!IS_ERR(priv->dma_tx)) { in rcar_i2c_release_dma()
870 dma_release_channel(priv->dma_tx); in rcar_i2c_release_dma()
871 priv->dma_tx = ERR_PTR(-EPROBE_DEFER); in rcar_i2c_release_dma()
1152 priv->dma_rx = priv->dma_tx = ERR_PTR(-EPROBE_DEFER); in rcar_i2c_probe()
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dring_mode.c29 desc = tx_q->dma_tx + entry; in jumbo_frm()
59 desc = tx_q->dma_tx + entry; in jumbo_frm()
H A Dchain_mode.c27 desc = tx_q->dma_tx + entry; in jumbo_frm()
50 desc = tx_q->dma_tx + entry; in jumbo_frm()
H A Dstmmac_main.c1291 head_tx = (void *)tx_q->dma_tx; in stmmac_display_tx_rings()
1382 p = &tx_q->dma_tx[i]; in stmmac_clear_tx_descriptors()
1779 stmmac_mode_init(priv, tx_q->dma_tx, in __init_dma_tx_desc_rings()
1794 p = tx_q->dma_tx + i; in __init_dma_tx_desc_rings()
1966 addr = tx_q->dma_tx; in __free_dma_tx_desc_resources()
2146 tx_q->dma_tx = addr; in __alloc_dma_tx_desc_resources()
2500 tx_desc = tx_q->dma_tx + entry; in stmmac_xdp_xmit_zc()
2635 p = tx_q->dma_tx + entry; in stmmac_tx_clean()
4076 p = &tx_q->dma_tx[tx_q->cur_tx]; in stmmac_vlan_insert()
4117 desc = &tx_q->dma_tx[tx_q->cur_tx]; in stmmac_tso_allocator()
[all …]
/linux/arch/mips/lantiq/xway/
H A Ddma.c36 #define DMA_TX BIT(8) /* TX channel direction */ macro
153 ltq_dma_w32(DMA_WEIGHT | DMA_TX, LTQ_DMA_CCTRL); in ltq_dma_alloc_tx()
/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";
/linux/arch/mips/rb532/
H A Ddevices.c81 .name = "dma_tx",

12