Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/crypto/qce/
Ddma.c19 dma->rxchan = dma_request_slave_channel_reason(dev, "rx"); in qce_dma_request()
20 if (IS_ERR(dma->rxchan)) { in qce_dma_request()
21 ret = PTR_ERR(dma->rxchan); in qce_dma_request()
36 dma_release_channel(dma->rxchan); in qce_dma_request()
45 dma_release_channel(dma->rxchan); in qce_dma_release()
100 struct dma_chan *rxchan = dma->rxchan; in qce_dma_prep_sgs() local
105 ret = qce_dma_prep_sg(rxchan, rx_sg, rx_nents, flags, DMA_MEM_TO_DEV, in qce_dma_prep_sgs()
116 dma_async_issue_pending(dma->rxchan); in qce_dma_issue_pending()
124 ret = dmaengine_terminate_all(dma->rxchan); in qce_dma_terminate_all()
Ddma.h32 struct dma_chan *rxchan; member
/Linux-v5.4/drivers/tty/serial/8250/
D8250_dma.c52 dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state); in __dma_rx_complete()
117 desc = dmaengine_prep_slave_single(dma->rxchan, dma->rx_addr, in serial8250_rx_dma()
129 dma_async_issue_pending(dma->rxchan); in serial8250_rx_dma()
139 dmaengine_pause(dma->rxchan); in serial8250_rx_dma_flush()
141 dmaengine_terminate_async(dma->rxchan); in serial8250_rx_dma_flush()
170 dma->rxchan = dma_request_slave_channel_compat(mask, in serial8250_request_dma()
173 if (!dma->rxchan) in serial8250_request_dma()
177 ret = dma_get_slave_caps(dma->rxchan, &caps); in serial8250_request_dma()
186 dmaengine_slave_config(dma->rxchan, &dma->rxconf); in serial8250_request_dma()
212 dma->rx_buf = dma_alloc_coherent(dma->rxchan->device->dev, dma->rx_size, in serial8250_request_dma()
[all …]
D8250_omap.c790 dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state); in __dma_rx_do_complete()
819 if (dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state) != in __dma_rx_complete()
846 ret = dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state); in omap_8250_rx_dma_flush()
848 ret = dmaengine_pause(dma->rxchan); in omap_8250_rx_dma_flush()
855 dmaengine_terminate_all(dma->rxchan); in omap_8250_rx_dma_flush()
874 desc = dmaengine_prep_slave_single(dma->rxchan, dma->rx_addr, in omap_8250_rx_dma()
888 dma_async_issue_pending(dma->rxchan); in omap_8250_rx_dma()
1448 if (up->dma && up->dma->rxchan) in omap8250_runtime_suspend()
1471 if (up->dma && up->dma->rxchan) in omap8250_runtime_resume()
D8250_mtk.c99 dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state); in mtk8250_dma_rx_complete()
129 desc = dmaengine_prep_slave_single(dma->rxchan, dma->rx_addr, in mtk8250_rx_dma()
142 dma_async_issue_pending(dma->rxchan); in mtk8250_rx_dma()
169 if (dmaengine_slave_config(dma->rxchan, &dma->rxconf) != 0) in mtk8250_dma_enable()
D8250.h29 struct dma_chan *rxchan; member
/Linux-v5.4/drivers/spi/
Dspi-dw-mid.c58 dws->rxchan = dma_request_channel(mask, mid_spi_dma_chan_filter, rx); in mid_spi_dma_init()
59 if (!dws->rxchan) in mid_spi_dma_init()
61 dws->master->dma_rx = dws->rxchan; in mid_spi_dma_init()
74 dma_release_channel(dws->rxchan); in mid_spi_dma_init()
87 dmaengine_terminate_sync(dws->rxchan); in mid_spi_dma_exit()
88 dma_release_channel(dws->rxchan); in mid_spi_dma_exit()
203 dmaengine_slave_config(dws->rxchan, &rxconf); in dw_spi_dma_prepare_rx()
205 rxdesc = dmaengine_prep_slave_sg(dws->rxchan, in dw_spi_dma_prepare_rx()
254 dma_async_issue_pending(dws->rxchan); in mid_spi_dma_transfer()
273 dmaengine_terminate_sync(dws->rxchan); in mid_spi_dma_stop()
Dspi-at91-usart.c220 struct dma_chan *rxchan = ctlr->dma_rx; in at91_usart_spi_dma_transfer() local
229 rxdesc = dmaengine_prep_slave_sg(rxchan, in at91_usart_spi_dma_transfer()
258 rxchan->device->device_issue_pending(rxchan); in at91_usart_spi_dma_transfer()
Dspi-pl022.c932 struct dma_chan *rxchan = pl022->dma_rx_channel; in configure_dma() local
938 if (!rxchan || !txchan) in configure_dma()
1028 dmaengine_slave_config(rxchan, &rx_conf); in configure_dma()
1050 rx_sglen = dma_map_sg(rxchan->device->dev, pl022->sgt_rx.sgl, in configure_dma()
1061 rxdesc = dmaengine_prep_slave_sg(rxchan, in configure_dma()
1084 dma_async_issue_pending(rxchan); in configure_dma()
1093 dmaengine_terminate_all(rxchan); in configure_dma()
1097 dma_unmap_sg(rxchan->device->dev, pl022->sgt_rx.sgl, in configure_dma()
1198 struct dma_chan *rxchan = pl022->dma_rx_channel; in terminate_dma() local
1201 dmaengine_terminate_all(rxchan); in terminate_dma()
Dspi-atmel.c734 struct dma_chan *rxchan = master->dma_rx; in atmel_spi_next_xfer_dma_submit() local
744 if (!rxchan || !txchan) in atmel_spi_next_xfer_dma_submit()
759 rxdesc = dmaengine_prep_slave_single(rxchan, in atmel_spi_next_xfer_dma_submit()
766 rxdesc = dmaengine_prep_slave_sg(rxchan, in atmel_spi_next_xfer_dma_submit()
814 rxchan->device->device_issue_pending(rxchan); in atmel_spi_next_xfer_dma_submit()
Dspi-dw.h134 struct dma_chan *rxchan; member
/Linux-v5.4/Documentation/devicetree/bindings/soc/ti/
Dkeystone-navigator-dma.txt47 - Rx DMA channel configuration register region (rxchan).
79 reg-names = "global", "txchan", "rxchan",
89 reg-names = "global", "txchan", "rxchan",
/Linux-v5.4/drivers/tty/serial/
Damba-pl011.c833 struct dma_chan *rxchan = uap->dmarx.chan; in pl011_dma_rx_trigger_dma() local
838 if (!rxchan) in pl011_dma_rx_trigger_dma()
844 desc = dmaengine_prep_slave_sg(rxchan, &sgbuf->sg, 1, in pl011_dma_rx_trigger_dma()
854 dmaengine_terminate_all(rxchan); in pl011_dma_rx_trigger_dma()
862 dma_async_issue_pending(rxchan); in pl011_dma_rx_trigger_dma()
955 struct dma_chan *rxchan = dmarx->chan; in pl011_dma_rx_irq() local
967 if (dmaengine_pause(rxchan)) in pl011_dma_rx_irq()
969 dmastat = rxchan->device->device_tx_status(rxchan, in pl011_dma_rx_irq()
982 dmaengine_terminate_all(rxchan); in pl011_dma_rx_irq()
1004 struct dma_chan *rxchan = dmarx->chan; in pl011_dma_rx_callback() local
[all …]
/Linux-v5.4/drivers/net/wan/
Dcosa.c146 struct channel_data *rxchan; member
1841 cosa->rxchan = cosa->chan + ((cosa->rxsize & 0xe000) >> 13); in rx_interrupt()
1846 if (cosa->rxchan->setup_rx) in rx_interrupt()
1847 cosa->rxbuf = cosa->rxchan->setup_rx(cosa->rxchan, cosa->rxsize); in rx_interrupt()
1852 cosa->num, cosa->rxchan->num); in rx_interrupt()
1861 if (cosa_dma_able(cosa->rxchan, cosa->rxbuf, cosa->rxsize & 0x1fff)) { in rx_interrupt()
1899 cosa->num, cosa->rxchan->num, cosa->rxsize); in eot_interrupt()
1908 if (!cosa_dma_able(cosa->rxchan, cosa->rxbuf, cosa->rxsize)) in eot_interrupt()
1910 if (cosa->rxchan->rx_done) in eot_interrupt()
1911 if (cosa->rxchan->rx_done(cosa->rxchan)) in eot_interrupt()
[all …]
/Linux-v5.4/drivers/net/ethernet/ti/
Ddavinci_emac.c321 struct cpdma_chan *rxchan; member
899 ret = cpdma_chan_submit(priv->rxchan, skb, skb->data, in emac_rx_handler()
1250 num_rx_pkts = cpdma_chan_process(priv->rxchan, budget); in emac_poll()
1431 ret = cpdma_chan_idle_submit(priv->rxchan, skb, skb->data, in emac_dev_open()
1880 priv->rxchan = cpdma_chan_create(priv->dma, EMAC_DEF_RX_CH, in davinci_emac_probe()
1882 if (IS_ERR(priv->rxchan)) { in davinci_emac_probe()
1884 rc = PTR_ERR(priv->rxchan); in davinci_emac_probe()
1944 cpdma_chan_destroy(priv->rxchan); in davinci_emac_probe()
1975 if (priv->rxchan) in davinci_emac_remove()
1976 cpdma_chan_destroy(priv->rxchan); in davinci_emac_remove()
/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",