Home
last modified time | relevance | path

Searched refs:txchan (Results 1 – 19 of 19) sorted by relevance

/linux-6.3-rc2/drivers/crypto/qce/
A Ddma.c15 dma->txchan = dma_request_chan(dev, "tx"); in qce_dma_request()
16 if (IS_ERR(dma->txchan)) in qce_dma_request()
17 return PTR_ERR(dma->txchan); in qce_dma_request()
38 dma_release_channel(dma->txchan); in qce_dma_request()
44 dma_release_channel(dma->txchan); in qce_dma_release()
104 struct dma_chan *txchan = dma->txchan; in qce_dma_prep_sgs() local
113 return qce_dma_prep_sg(txchan, tx_sg, tx_nents, flags, DMA_DEV_TO_MEM, in qce_dma_prep_sgs()
120 dma_async_issue_pending(dma->txchan); in qce_dma_issue_pending()
128 return ret ?: dmaengine_terminate_all(dma->txchan); in qce_dma_terminate_all()
A Ddma.h31 struct dma_chan *txchan; member
/linux-6.3-rc2/drivers/tty/serial/8250/
A D8250_dma.c96 dmaengine_pause(dma->txchan); in serial8250_tx_dma()
98 dmaengine_resume(dma->txchan); in serial8250_tx_dma()
114 desc = dmaengine_prep_slave_single(dma->txchan, in serial8250_tx_dma()
132 dma_async_issue_pending(dma->txchan); in serial8250_tx_dma()
227 if (!dma->txchan) { in serial8250_request_dma()
233 ret = dma_get_slave_caps(dma->txchan, &caps); in serial8250_request_dma()
241 dmaengine_slave_config(dma->txchan, &dma->txconf); in serial8250_request_dma()
270 dma_release_channel(dma->txchan); in serial8250_request_dma()
292 dmaengine_terminate_sync(dma->txchan); in serial8250_release_dma()
295 dma_release_channel(dma->txchan); in serial8250_release_dma()
[all …]
A D8250.h33 struct dma_chan *txchan; member
A D8250_omap.c1063 dma_sync_single_for_cpu(dma->txchan->device->dev, dma->tx_addr, in omap_8250_dma_tx_complete()
1155 desc = dmaengine_prep_slave_single(dma->txchan, in omap_8250_tx_dma()
1171 dma_sync_single_for_device(dma->txchan->device->dev, dma->tx_addr, in omap_8250_tx_dma()
1174 dma_async_issue_pending(dma->txchan); in omap_8250_tx_dma()
A D8250_mtk.c181 if (dmaengine_slave_config(dma->txchan, &dma->txconf) != 0) in mtk8250_dma_enable()
/linux-6.3-rc2/drivers/spi/
A Dspi-dw-dma.c79 dma_get_slave_caps(dws->txchan, &tx); in dw_spi_dma_sg_burst_init()
119 if (!dws->txchan) in dw_spi_dma_init_mfld()
123 dws->master->dma_tx = dws->txchan; in dw_spi_dma_init_mfld()
155 if (IS_ERR(dws->txchan)) { in dw_spi_dma_init_generic()
156 ret = PTR_ERR(dws->txchan); in dw_spi_dma_init_generic()
157 dws->txchan = NULL; in dw_spi_dma_init_generic()
162 dws->master->dma_tx = dws->txchan; in dw_spi_dma_init_generic()
181 if (dws->txchan) { in dw_spi_dma_exit()
182 dmaengine_terminate_sync(dws->txchan); in dw_spi_dma_exit()
183 dma_release_channel(dws->txchan); in dw_spi_dma_exit()
[all …]
A Dspi-at91-usart.c221 struct dma_chan *txchan = ctlr->dma_tx; in at91_usart_spi_dma_transfer() local
238 txdesc = dmaengine_prep_slave_sg(txchan, in at91_usart_spi_dma_transfer()
259 txchan->device->device_issue_pending(txchan); in at91_usart_spi_dma_transfer()
A Dspi-pl022.c927 struct dma_chan *txchan = pl022->dma_tx_channel; in configure_dma() local
932 if (!rxchan || !txchan) in configure_dma()
1023 dmaengine_slave_config(txchan, &tx_conf); in configure_dma()
1049 tx_sglen = dma_map_sg(txchan->device->dev, pl022->sgt_tx.sgl, in configure_dma()
1063 txdesc = dmaengine_prep_slave_sg(txchan, in configure_dma()
1079 dma_async_issue_pending(txchan); in configure_dma()
1085 dmaengine_terminate_all(txchan); in configure_dma()
1088 dma_unmap_sg(txchan->device->dev, pl022->sgt_tx.sgl, in configure_dma()
1193 struct dma_chan *txchan = pl022->dma_tx_channel; in terminate_dma() local
1196 dmaengine_terminate_all(txchan); in terminate_dma()
A Dspi-atmel.c696 struct dma_chan *txchan = host->dma_tx; in atmel_spi_next_xfer_dma_submit() local
704 if (!rxchan || !txchan) in atmel_spi_next_xfer_dma_submit()
736 txdesc = dmaengine_prep_slave_single(txchan, in atmel_spi_next_xfer_dma_submit()
742 txdesc = dmaengine_prep_slave_sg(txchan, in atmel_spi_next_xfer_dma_submit()
772 txchan->device->device_issue_pending(txchan); in atmel_spi_next_xfer_dma_submit()
A Dspi-dw.h188 struct dma_chan *txchan; member
/linux-6.3-rc2/Documentation/devicetree/bindings/soc/ti/
A Dkeystone-navigator-dma.txt46 - Tx DMA channel configuration register region (txchan).
79 reg-names = "global", "txchan", "rxchan",
89 reg-names = "global", "txchan", "rxchan",
/linux-6.3-rc2/drivers/net/ethernet/ti/
A Ddavinci_emac.c319 struct cpdma_chan *txchan; member
985 if (unlikely(!cpdma_check_free_tx_desc(priv->txchan))) in emac_dev_xmit()
1017 cpdma_chan_stop(priv->txchan); in emac_dev_tx_timeout()
1018 cpdma_chan_start(priv->txchan); in emac_dev_tx_timeout()
1261 cpdma_chan_process(priv->txchan, EMAC_DEF_TX_MAX_SERVICE); in emac_poll()
1916 priv->txchan = cpdma_chan_create(priv->dma, EMAC_DEF_TX_CH, in davinci_emac_probe()
1918 if (IS_ERR(priv->txchan)) { in davinci_emac_probe()
1920 rc = PTR_ERR(priv->txchan); in davinci_emac_probe()
1986 cpdma_chan_destroy(priv->txchan); in davinci_emac_probe()
2013 if (priv->txchan) in davinci_emac_remove()
[all …]
/linux-6.3-rc2/arch/arm/boot/dts/
A Dkeystone-k2g-netcp.dtsi86 reg-names = "global", "txchan", "rxchan",
A Dkeystone-k2l-netcp.dtsi122 reg-names = "global", "txchan", "rxchan",
A Dkeystone-k2e-netcp.dtsi123 reg-names = "global", "txchan", "rxchan",
A Dkeystone-k2hk-netcp.dtsi140 reg-names = "global", "txchan", "rxchan",
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_ptp.c186 c.u.init.txchan = pi->tx_chan; in cxgb4_ptp_redirect_rx_packet()
A Dt4fw_api.h3364 __u8 txchan; member

Completed in 60 milliseconds