Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/qce/
H 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()
H A Ddma.h31 struct dma_chan *txchan; member
/openbmc/linux/drivers/tty/serial/8250/
H 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 …]
H A D8250.h33 struct dma_chan *txchan; member
H A D8250_omap.c1099 dma_sync_single_for_cpu(dma->txchan->device->dev, dma->tx_addr, in omap_8250_dma_tx_complete()
1191 desc = dmaengine_prep_slave_single(dma->txchan, in omap_8250_tx_dma()
1207 dma_sync_single_for_device(dma->txchan->device->dev, dma->tx_addr, in omap_8250_tx_dma()
1210 dma_async_issue_pending(dma->txchan); in omap_8250_tx_dma()
H A D8250_mtk.c181 if (dmaengine_slave_config(dma->txchan, &dma->txconf) != 0) in mtk8250_dma_enable()
/openbmc/linux/drivers/spi/
H A Dspi-dw-dma.c139 if (!dws->txchan) in dw_spi_dma_init_mfld()
143 dws->host->dma_tx = dws->txchan; in dw_spi_dma_init_mfld()
158 dma_release_channel(dws->txchan); in dw_spi_dma_init_mfld()
159 dws->txchan = NULL; in dw_spi_dma_init_mfld()
180 if (IS_ERR(dws->txchan)) { in dw_spi_dma_init_generic()
181 ret = PTR_ERR(dws->txchan); in dw_spi_dma_init_generic()
182 dws->txchan = NULL; in dw_spi_dma_init_generic()
187 dws->host->dma_tx = dws->txchan; in dw_spi_dma_init_generic()
200 dma_release_channel(dws->txchan); in dw_spi_dma_init_generic()
201 dws->txchan = NULL; in dw_spi_dma_init_generic()
[all …]
H A Dspi-at91-usart.c220 struct dma_chan *txchan = ctlr->dma_tx; in at91_usart_spi_dma_transfer() local
237 txdesc = dmaengine_prep_slave_sg(txchan, in at91_usart_spi_dma_transfer()
258 txchan->device->device_issue_pending(txchan); in at91_usart_spi_dma_transfer()
H 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()
H A Dspi-atmel.c777 struct dma_chan *txchan = host->dma_tx; in atmel_spi_next_xfer_dma_submit() local
785 if (!rxchan || !txchan) in atmel_spi_next_xfer_dma_submit()
817 txdesc = dmaengine_prep_slave_single(txchan, in atmel_spi_next_xfer_dma_submit()
823 txdesc = dmaengine_prep_slave_sg(txchan, in atmel_spi_next_xfer_dma_submit()
853 txchan->device->device_issue_pending(txchan); in atmel_spi_next_xfer_dma_submit()
H A Dspi-dw.h188 struct dma_chan *txchan; member
/openbmc/linux/Documentation/devicetree/bindings/soc/ti/
H A Dkeystone-navigator-dma.txt46 - Tx DMA channel configuration register region (txchan).
79 reg-names = "global", "txchan", "rxchan",
89 reg-names = "global", "txchan", "rxchan",
/openbmc/linux/drivers/net/ethernet/ti/
H 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 …]
/openbmc/linux/arch/arm/boot/dts/ti/keystone/
H A Dkeystone-k2g-netcp.dtsi86 reg-names = "global", "txchan", "rxchan",
H A Dkeystone-k2l-netcp.dtsi122 reg-names = "global", "txchan", "rxchan",
H A Dkeystone-k2e-netcp.dtsi123 reg-names = "global", "txchan", "rxchan",
H A Dkeystone-k2hk-netcp.dtsi140 reg-names = "global", "txchan", "rxchan",
/openbmc/u-boot/arch/arm/dts/
H A Dkeystone-k2g-netcp.dtsi87 reg-names = "global", "txchan", "rxchan",
H A Dkeystone-k2l-netcp.dtsi102 reg-names = "global", "txchan", "rxchan",
H A Dkeystone-k2e-netcp.dtsi103 reg-names = "global", "txchan", "rxchan",
H A Dkeystone-k2hk-netcp.dtsi119 reg-names = "global", "txchan", "rxchan",
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ptp.c186 c.u.init.txchan = pi->tx_chan; in cxgb4_ptp_redirect_rx_packet()
H A Dt4fw_api.h3364 __u8 txchan; member