Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/crypto/qce/
Ddma.c15 dma->txchan = dma_request_slave_channel_reason(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()
101 struct dma_chan *txchan = dma->txchan; in qce_dma_prep_sgs() local
110 return qce_dma_prep_sg(txchan, tx_sg, tx_nents, flags, DMA_DEV_TO_MEM, in qce_dma_prep_sgs()
117 dma_async_issue_pending(dma->txchan); in qce_dma_issue_pending()
125 return ret ?: dmaengine_terminate_all(dma->txchan); in qce_dma_terminate_all()
Ddma.h31 struct dma_chan *txchan; member
/Linux-v5.4/drivers/tty/serial/8250/
D8250_dma.c22 dma_sync_single_for_cpu(dma->txchan->device->dev, dma->tx_addr, in __dma_tx_complete()
80 desc = dmaengine_prep_slave_single(dma->txchan, in serial8250_tx_dma()
95 dma_sync_single_for_device(dma->txchan->device->dev, dma->tx_addr, 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()
224 if (dma_mapping_error(dma->txchan->device->dev, dma->tx_addr)) { in serial8250_request_dma()
[all …]
D8250.h30 struct dma_chan *txchan; member
D8250_omap.c905 dma_sync_single_for_cpu(dma->txchan->device->dev, dma->tx_addr, in omap_8250_dma_tx_complete()
999 desc = dmaengine_prep_slave_single(dma->txchan, in omap_8250_tx_dma()
1015 dma_sync_single_for_device(dma->txchan->device->dev, dma->tx_addr, in omap_8250_tx_dma()
1018 dma_async_issue_pending(dma->txchan); in omap_8250_tx_dma()
D8250_mtk.c171 if (dmaengine_slave_config(dma->txchan, &dma->txconf) != 0) in mtk8250_dma_enable()
/Linux-v5.4/drivers/spi/
Dspi-dw-mid.c65 dws->txchan = dma_request_channel(mask, mid_spi_dma_chan_filter, tx); in mid_spi_dma_init()
66 if (!dws->txchan) in mid_spi_dma_init()
68 dws->master->dma_tx = dws->txchan; in mid_spi_dma_init()
84 dmaengine_terminate_sync(dws->txchan); in mid_spi_dma_exit()
85 dma_release_channel(dws->txchan); in mid_spi_dma_exit()
157 dmaengine_slave_config(dws->txchan, &txconf); in dw_spi_dma_prepare_tx()
159 txdesc = dmaengine_prep_slave_sg(dws->txchan, in dw_spi_dma_prepare_tx()
260 dma_async_issue_pending(dws->txchan); in mid_spi_dma_transfer()
269 dmaengine_terminate_sync(dws->txchan); in mid_spi_dma_stop()
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()
Dspi-pl022.c933 struct dma_chan *txchan = pl022->dma_tx_channel; in configure_dma() local
938 if (!rxchan || !txchan) in configure_dma()
1029 dmaengine_slave_config(txchan, &tx_conf); in configure_dma()
1055 tx_sglen = dma_map_sg(txchan->device->dev, pl022->sgt_tx.sgl, in configure_dma()
1069 txdesc = dmaengine_prep_slave_sg(txchan, in configure_dma()
1085 dma_async_issue_pending(txchan); in configure_dma()
1091 dmaengine_terminate_all(txchan); in configure_dma()
1094 dma_unmap_sg(txchan->device->dev, pl022->sgt_tx.sgl, in configure_dma()
1199 struct dma_chan *txchan = pl022->dma_tx_channel; in terminate_dma() local
1202 dmaengine_terminate_all(txchan); in terminate_dma()
Dspi-atmel.c735 struct dma_chan *txchan = master->dma_tx; in atmel_spi_next_xfer_dma_submit() local
744 if (!rxchan || !txchan) in atmel_spi_next_xfer_dma_submit()
779 txdesc = dmaengine_prep_slave_single(txchan, in atmel_spi_next_xfer_dma_submit()
785 txdesc = dmaengine_prep_slave_sg(txchan, in atmel_spi_next_xfer_dma_submit()
815 txchan->device->device_issue_pending(txchan); in atmel_spi_next_xfer_dma_submit()
Dspi-dw.h133 struct dma_chan *txchan; member
/Linux-v5.4/drivers/net/wan/
Dcosa.c145 int txchan, txsize, rxsize; member
1679 cosa->txchan++; in tx_interrupt()
1681 if (cosa->txchan >= cosa->nchannels) in tx_interrupt()
1682 cosa->txchan = 0; in tx_interrupt()
1683 if (!(cosa->txbitmap & (1<<cosa->txchan))) in tx_interrupt()
1685 if (~status & (1 << (cosa->txchan+DRIVER_TXMAP_SHIFT))) in tx_interrupt()
1693 cosa->name, cosa->txchan); in tx_interrupt()
1699 cosa->txsize = cosa->chan[cosa->txchan].txsize; in tx_interrupt()
1700 if (cosa_dma_able(cosa->chan+cosa->txchan, in tx_interrupt()
1701 cosa->chan[cosa->txchan].txbuf, cosa->txsize)) { in tx_interrupt()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/soc/ti/
Dkeystone-navigator-dma.txt46 - Tx DMA channel configuration register region (txchan).
79 reg-names = "global", "txchan", "rxchan",
89 reg-names = "global", "txchan", "rxchan",
/Linux-v5.4/drivers/net/ethernet/ti/
Ddavinci_emac.c320 struct cpdma_chan *txchan; member
954 ret_code = cpdma_chan_submit(priv->txchan, skb, skb->data, skb->len, in emac_dev_xmit()
965 if (unlikely(!cpdma_check_free_tx_desc(priv->txchan))) in emac_dev_xmit()
996 cpdma_chan_stop(priv->txchan); in emac_dev_tx_timeout()
997 cpdma_chan_start(priv->txchan); in emac_dev_tx_timeout()
1240 num_tx_pkts = cpdma_chan_process(priv->txchan, in emac_poll()
1872 priv->txchan = cpdma_chan_create(priv->dma, EMAC_DEF_TX_CH, in davinci_emac_probe()
1874 if (IS_ERR(priv->txchan)) { in davinci_emac_probe()
1876 rc = PTR_ERR(priv->txchan); in davinci_emac_probe()
1946 cpdma_chan_destroy(priv->txchan); in davinci_emac_probe()
[all …]
/Linux-v5.4/arch/arm/boot/dts/
Dkeystone-k2g-netcp.dtsi86 reg-names = "global", "txchan", "rxchan",
Dkeystone-k2l-netcp.dtsi122 reg-names = "global", "txchan", "rxchan",
Dkeystone-k2e-netcp.dtsi123 reg-names = "global", "txchan", "rxchan",
Dkeystone-k2hk-netcp.dtsi140 reg-names = "global", "txchan", "rxchan",
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ptp.c186 c.u.init.txchan = pi->tx_chan; in cxgb4_ptp_redirect_rx_packet()
Dt4fw_api.h3303 __u8 txchan; member