Home
last modified time | relevance | path

Searched refs:txchan (Results 1 - 25 of 29) sorted by relevance

12

/kernel/linux/linux-5.10/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()
[all...]
H A Ddma.h31 struct dma_chan *txchan; member
/kernel/linux/linux-6.6/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()
[all...]
H A Ddma.h31 struct dma_chan *txchan; member
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
H A D8250_dma.c22 dma_sync_single_for_cpu(dma->txchan->device->dev, dma->tx_addr, in __dma_tx_complete()
92 dmaengine_pause(dma->txchan); in serial8250_tx_dma()
94 dmaengine_resume(dma->txchan); in serial8250_tx_dma()
109 desc = dmaengine_prep_slave_single(dma->txchan, in serial8250_tx_dma()
124 dma_sync_single_for_device(dma->txchan->device->dev, dma->tx_addr, in serial8250_tx_dma()
127 dma_async_issue_pending(dma->txchan); in serial8250_tx_dma()
218 dma->txchan = dma_request_slave_channel_compat(mask, in serial8250_request_dma()
221 if (!dma->txchan) { in serial8250_request_dma()
227 ret = dma_get_slave_caps(dma->txchan, &caps); in serial8250_request_dma()
235 dmaengine_slave_config(dma->txchan, in serial8250_request_dma()
[all...]
H A D8250.h30 struct dma_chan *txchan; member
H A D8250_omap.c1009 dma_sync_single_for_cpu(dma->txchan->device->dev, dma->tx_addr, in omap_8250_dma_tx_complete()
1103 desc = dmaengine_prep_slave_single(dma->txchan, in omap_8250_tx_dma()
1119 dma_sync_single_for_device(dma->txchan->device->dev, dma->tx_addr, in omap_8250_tx_dma()
1122 dma_async_issue_pending(dma->txchan); in omap_8250_tx_dma()
/kernel/linux/linux-6.6/drivers/tty/serial/8250/
H A D8250_dma.c22 dma_sync_single_for_cpu(dma->txchan->device->dev, dma->tx_addr, in __dma_tx_complete()
96 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()
129 dma_sync_single_for_device(dma->txchan->device->dev, dma->tx_addr, in serial8250_tx_dma()
132 dma_async_issue_pending(dma->txchan); in serial8250_tx_dma()
224 dma->txchan = dma_request_slave_channel_compat(mask, in serial8250_request_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, in serial8250_request_dma()
[all...]
H A D8250.h33 struct dma_chan *txchan; member
H A D8250_omap.c1083 dma_sync_single_for_cpu(dma->txchan->device->dev, dma->tx_addr, in omap_8250_dma_tx_complete()
1175 desc = dmaengine_prep_slave_single(dma->txchan, in omap_8250_tx_dma()
1191 dma_sync_single_for_device(dma->txchan->device->dev, dma->tx_addr, in omap_8250_tx_dma()
1194 dma_async_issue_pending(dma->txchan); in omap_8250_tx_dma()
/kernel/linux/linux-6.6/drivers/spi/
H A Dspi-dw-dma.c54 ret = dma_get_slave_caps(dws->txchan, &caps); in dw_spi_dma_maxburst_init()
80 ret = dma_get_slave_caps(dws->txchan, &tx); in dw_spi_dma_caps_init()
138 dws->txchan = dma_request_channel(mask, dw_spi_dma_chan_filter, tx); in dw_spi_dma_init_mfld()
139 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()
179 dws->txchan = dma_request_chan(dev, "tx"); in dw_spi_dma_init_generic()
180 if (IS_ERR(dws->txchan)) { in dw_spi_dma_init_generic()
181 ret = PTR_ERR(dws->txchan); 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()
[all...]
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
/kernel/linux/linux-5.10/drivers/spi/
H A Dspi-dw-dma.c53 ret = dma_get_slave_caps(dws->txchan, &caps); in dw_spi_dma_maxburst_init()
78 dma_get_slave_caps(dws->txchan, &tx); in dw_spi_dma_sg_burst_init()
117 dws->txchan = dma_request_channel(mask, dw_spi_dma_chan_filter, tx); in dw_spi_dma_init_mfld()
118 if (!dws->txchan) in dw_spi_dma_init_mfld()
122 dws->master->dma_tx = dws->txchan; in dw_spi_dma_init_mfld()
148 dws->txchan = dma_request_slave_channel(dev, "tx"); in dw_spi_dma_init_generic()
149 if (!dws->txchan) { in dw_spi_dma_init_generic()
156 dws->master->dma_tx = dws->txchan; in dw_spi_dma_init_generic()
169 if (dws->txchan) { in dw_spi_dma_exit()
170 dmaengine_terminate_sync(dws->txchan); in dw_spi_dma_exit()
[all...]
H 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()
H A Dspi-pl022.c936 struct dma_chan *txchan = pl022->dma_tx_channel; in configure_dma() local
941 if (!rxchan || !txchan) in configure_dma()
1032 dmaengine_slave_config(txchan, &tx_conf); in configure_dma()
1058 tx_sglen = dma_map_sg(txchan->device->dev, pl022->sgt_tx.sgl, in configure_dma()
1072 txdesc = dmaengine_prep_slave_sg(txchan, in configure_dma()
1088 dma_async_issue_pending(txchan); in configure_dma()
1094 dmaengine_terminate_all(txchan); in configure_dma()
1097 dma_unmap_sg(txchan->device->dev, pl022->sgt_tx.sgl, in configure_dma()
1202 struct dma_chan *txchan = pl022->dma_tx_channel; in terminate_dma() local
1205 dmaengine_terminate_all(txchan); in terminate_dma()
[all...]
H A Dspi-dw.h178 struct dma_chan *txchan; member
H A Dspi-atmel.c705 struct dma_chan *txchan = master->dma_tx; variable
714 if (!rxchan || !txchan)
749 txdesc = dmaengine_prep_slave_single(txchan,
755 txdesc = dmaengine_prep_slave_sg(txchan,
785 txchan->device->device_issue_pending(txchan);
/kernel/linux/linux-5.10/drivers/net/wan/
H A Dcosa.c145 int txchan, txsize, rxsize; member
1686 cosa->txchan++; in tx_interrupt()
1688 if (cosa->txchan >= cosa->nchannels) in tx_interrupt()
1689 cosa->txchan = 0; in tx_interrupt()
1690 if (!(cosa->txbitmap & (1<<cosa->txchan))) in tx_interrupt()
1692 if (~status & (1 << (cosa->txchan+DRIVER_TXMAP_SHIFT))) in tx_interrupt()
1700 cosa->name, cosa->txchan); in tx_interrupt()
1706 cosa->txsize = cosa->chan[cosa->txchan].txsize; in tx_interrupt()
1707 if (cosa_dma_able(cosa->chan+cosa->txchan, in tx_interrupt()
1708 cosa->chan[cosa->txchan] in tx_interrupt()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
H A Ddavinci_emac.c320 struct cpdma_chan *txchan; member
967 ret_code = cpdma_chan_submit(priv->txchan, skb, skb->data, skb->len, in emac_dev_xmit()
978 if (unlikely(!cpdma_check_free_tx_desc(priv->txchan))) in emac_dev_xmit()
1010 cpdma_chan_stop(priv->txchan); in emac_dev_tx_timeout()
1011 cpdma_chan_start(priv->txchan); in emac_dev_tx_timeout()
1254 cpdma_chan_process(priv->txchan, EMAC_DEF_TX_MAX_SERVICE); in emac_poll()
1885 priv->txchan = cpdma_chan_create(priv->dma, EMAC_DEF_TX_CH, in davinci_emac_probe()
1887 if (IS_ERR(priv->txchan)) { in davinci_emac_probe()
1889 rc = PTR_ERR(priv->txchan); in davinci_emac_probe()
1959 cpdma_chan_destroy(priv->txchan); in davinci_emac_probe()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/
H A Ddavinci_emac.c319 struct cpdma_chan *txchan; member
974 ret_code = cpdma_chan_submit(priv->txchan, skb, skb->data, skb->len, in emac_dev_xmit()
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()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ptp.c186 c.u.init.txchan = pi->tx_chan; in cxgb4_ptp_redirect_rx_packet()
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ptp.c186 c.u.init.txchan = pi->tx_chan; in cxgb4_ptp_redirect_rx_packet()

Completed in 30 milliseconds

12