Home
last modified time | relevance | path

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

/linux/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/drivers/tty/serial/8250/
A D8250_dma.c80 desc = dmaengine_prep_slave_single(dma->txchan, in serial8250_tx_dma()
98 dma_async_issue_pending(dma->txchan); in serial8250_tx_dma()
189 dma->txchan = dma_request_slave_channel_compat(mask, in serial8250_request_dma()
192 if (!dma->txchan) { in serial8250_request_dma()
198 ret = dma_get_slave_caps(dma->txchan, &caps); in serial8250_request_dma()
206 dmaengine_slave_config(dma->txchan, &dma->txconf); in serial8250_request_dma()
220 dma->tx_addr = dma_map_single(dma->txchan->device->dev, in serial8250_request_dma()
235 dma_release_channel(dma->txchan); in serial8250_request_dma()
257 dmaengine_terminate_sync(dma->txchan); in serial8250_release_dma()
260 dma_release_channel(dma->txchan); in serial8250_release_dma()
[all …]
A D8250.h31 struct dma_chan *txchan; member
A D8250_omap.c994 dma_sync_single_for_cpu(dma->txchan->device->dev, dma->tx_addr, in omap_8250_dma_tx_complete()
1088 desc = dmaengine_prep_slave_single(dma->txchan, in omap_8250_tx_dma()
1104 dma_sync_single_for_device(dma->txchan->device->dev, dma->tx_addr, in omap_8250_tx_dma()
1107 dma_async_issue_pending(dma->txchan); in omap_8250_tx_dma()
A D8250_mtk.c177 if (dmaengine_slave_config(dma->txchan, &dma->txconf) != 0) in mtk8250_dma_enable()
/linux/drivers/spi/
A Dspi-dw-dma.c78 dma_get_slave_caps(dws->txchan, &tx); in dw_spi_dma_sg_burst_init()
118 if (!dws->txchan) in dw_spi_dma_init_mfld()
122 dws->master->dma_tx = dws->txchan; in dw_spi_dma_init_mfld()
146 if (!dws->txchan) { in dw_spi_dma_init_generic()
153 dws->master->dma_tx = dws->txchan; in dw_spi_dma_init_generic()
166 if (dws->txchan) { in dw_spi_dma_exit()
167 dmaengine_terminate_sync(dws->txchan); in dw_spi_dma_exit()
168 dma_release_channel(dws->txchan); in dw_spi_dma_exit()
303 dmaengine_terminate_sync(dws->txchan); in dw_spi_dma_submit_tx()
472 dma_async_issue_pending(dws->txchan); in dw_spi_dma_transfer_all()
[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.c700 struct dma_chan *txchan = master->dma_tx; in atmel_spi_next_xfer_dma_submit() local
709 if (!rxchan || !txchan) in atmel_spi_next_xfer_dma_submit()
742 txdesc = dmaengine_prep_slave_single(txchan, in atmel_spi_next_xfer_dma_submit()
748 txdesc = dmaengine_prep_slave_sg(txchan, in atmel_spi_next_xfer_dma_submit()
778 txchan->device->device_issue_pending(txchan); in atmel_spi_next_xfer_dma_submit()
A Dspi-dw.h183 struct dma_chan *txchan; member
/linux/drivers/net/wan/
A Dcosa.c143 int txchan, txsize, rxsize; member
1688 cosa->txchan++; in tx_interrupt()
1690 if (cosa->txchan >= cosa->nchannels) in tx_interrupt()
1691 cosa->txchan = 0; in tx_interrupt()
1692 if (!(cosa->txbitmap & (1 << cosa->txchan))) in tx_interrupt()
1695 (1 << (cosa->txchan + DRIVER_TXMAP_SHIFT))) in tx_interrupt()
1703 cosa->name, cosa->txchan); in tx_interrupt()
1709 cosa->txsize = cosa->chan[cosa->txchan].txsize; in tx_interrupt()
1710 if (cosa_dma_able(cosa->chan + cosa->txchan, in tx_interrupt()
1711 cosa->chan[cosa->txchan].txbuf, in tx_interrupt()
[all …]
/linux/drivers/net/ethernet/ti/
A Ddavinci_emac.c320 struct cpdma_chan *txchan; member
986 if (unlikely(!cpdma_check_free_tx_desc(priv->txchan))) in emac_dev_xmit()
1018 cpdma_chan_stop(priv->txchan); in emac_dev_tx_timeout()
1019 cpdma_chan_start(priv->txchan); in emac_dev_tx_timeout()
1262 cpdma_chan_process(priv->txchan, EMAC_DEF_TX_MAX_SERVICE); in emac_poll()
1886 priv->txchan = cpdma_chan_create(priv->dma, EMAC_DEF_TX_CH, in davinci_emac_probe()
1888 if (IS_ERR(priv->txchan)) { in davinci_emac_probe()
1890 rc = PTR_ERR(priv->txchan); in davinci_emac_probe()
1960 cpdma_chan_destroy(priv->txchan); in davinci_emac_probe()
1987 if (priv->txchan) in davinci_emac_remove()
[all …]
/linux/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/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/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.h3362 __u8 txchan; member

Completed in 63 milliseconds