Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/crypto/qce/
Ddma.c19 dma->rxchan = dma_request_chan(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()
103 struct dma_chan *rxchan = dma->rxchan; in qce_dma_prep_sgs() local
108 ret = qce_dma_prep_sg(rxchan, rx_sg, rx_nents, flags, DMA_MEM_TO_DEV, in qce_dma_prep_sgs()
119 dma_async_issue_pending(dma->rxchan); in qce_dma_issue_pending()
127 ret = dmaengine_terminate_all(dma->rxchan); in qce_dma_terminate_all()
Ddma.h32 struct dma_chan *rxchan; member
/kernel/linux/linux-5.10/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.c815 struct dma_chan *rxchan = dma->rxchan; in __dma_rx_do_complete() local
835 dmaengine_tx_status(rxchan, cookie, &state); in __dma_rx_do_complete()
839 dmaengine_terminate_async(rxchan); in __dma_rx_do_complete()
848 while (dmaengine_tx_status(rxchan, cookie, NULL) && in __dma_rx_do_complete()
882 if (dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state) != in __dma_rx_complete()
913 ret = dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state); in omap_8250_rx_dma_flush()
915 ret = dmaengine_pause(dma->rxchan); in omap_8250_rx_dma_flush()
940 state = dmaengine_tx_status(dma->rxchan, dma->rx_cookie, NULL); in omap_8250_rx_dma()
952 desc = dmaengine_prep_slave_single(dma->rxchan, dma->rx_addr, in omap_8250_rx_dma()
977 dma_async_issue_pending(dma->rxchan); in omap_8250_rx_dma()
[all …]
D8250_mtk.c103 dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state); in mtk8250_dma_rx_complete()
135 desc = dmaengine_prep_slave_single(dma->rxchan, dma->rx_addr, in mtk8250_rx_dma()
148 dma_async_issue_pending(dma->rxchan); in mtk8250_rx_dma()
175 if (dmaengine_slave_config(dma->rxchan, &dma->rxconf) != 0) in mtk8250_dma_enable()
D8250.h29 struct dma_chan *rxchan; member
/kernel/linux/linux-5.10/drivers/spi/
Dspi-dw-dma.c44 ret = dma_get_slave_caps(dws->rxchan, &caps); in dw_spi_dma_maxburst_init()
79 dma_get_slave_caps(dws->rxchan, &rx); in dw_spi_dma_sg_burst_init()
111 dws->rxchan = dma_request_channel(mask, dw_spi_dma_chan_filter, rx); in dw_spi_dma_init_mfld()
112 if (!dws->rxchan) in dw_spi_dma_init_mfld()
121 dws->master->dma_rx = dws->rxchan; in dw_spi_dma_init_mfld()
133 dma_release_channel(dws->rxchan); in dw_spi_dma_init_mfld()
134 dws->rxchan = NULL; in dw_spi_dma_init_mfld()
141 dws->rxchan = dma_request_slave_channel(dev, "rx"); in dw_spi_dma_init_generic()
142 if (!dws->rxchan) in dw_spi_dma_init_generic()
147 dma_release_channel(dws->rxchan); in dw_spi_dma_init_generic()
[all …]
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.c935 struct dma_chan *rxchan = pl022->dma_rx_channel; in configure_dma() local
941 if (!rxchan || !txchan) in configure_dma()
1031 dmaengine_slave_config(rxchan, &rx_conf); in configure_dma()
1053 rx_sglen = dma_map_sg(rxchan->device->dev, pl022->sgt_rx.sgl, in configure_dma()
1064 rxdesc = dmaengine_prep_slave_sg(rxchan, in configure_dma()
1087 dma_async_issue_pending(rxchan); in configure_dma()
1096 dmaengine_terminate_all(rxchan); in configure_dma()
1100 dma_unmap_sg(rxchan->device->dev, pl022->sgt_rx.sgl, in configure_dma()
1201 struct dma_chan *rxchan = pl022->dma_rx_channel; in terminate_dma() local
1204 dmaengine_terminate_all(rxchan); in terminate_dma()
Dspi-atmel.c710 struct dma_chan *rxchan = master->dma_rx; in atmel_spi_next_xfer_dma_submit() local
720 if (!rxchan || !txchan) in atmel_spi_next_xfer_dma_submit()
735 rxdesc = dmaengine_prep_slave_single(rxchan, in atmel_spi_next_xfer_dma_submit()
742 rxdesc = dmaengine_prep_slave_sg(rxchan, in atmel_spi_next_xfer_dma_submit()
790 rxchan->device->device_issue_pending(rxchan); in atmel_spi_next_xfer_dma_submit()
Dspi-dw.h180 struct dma_chan *rxchan; member
/kernel/linux/linux-5.10/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",
/kernel/linux/linux-5.10/drivers/tty/serial/
Damba-pl011.c829 struct dma_chan *rxchan = uap->dmarx.chan; in pl011_dma_rx_trigger_dma() local
834 if (!rxchan) in pl011_dma_rx_trigger_dma()
840 desc = dmaengine_prep_slave_sg(rxchan, &sgbuf->sg, 1, in pl011_dma_rx_trigger_dma()
850 dmaengine_terminate_all(rxchan); in pl011_dma_rx_trigger_dma()
858 dma_async_issue_pending(rxchan); in pl011_dma_rx_trigger_dma()
951 struct dma_chan *rxchan = dmarx->chan; in pl011_dma_rx_irq() local
963 if (dmaengine_pause(rxchan)) in pl011_dma_rx_irq()
965 dmastat = rxchan->device->device_tx_status(rxchan, in pl011_dma_rx_irq()
978 dmaengine_terminate_all(rxchan); in pl011_dma_rx_irq()
1000 struct dma_chan *rxchan = dmarx->chan; in pl011_dma_rx_callback() local
[all …]
/kernel/linux/linux-5.10/drivers/net/wan/
Dcosa.c146 struct channel_data *rxchan; member
1842 cosa->rxchan = cosa->chan + ((cosa->rxsize & 0xe000) >> 13); in rx_interrupt()
1847 if (cosa->rxchan->setup_rx) in rx_interrupt()
1848 cosa->rxbuf = cosa->rxchan->setup_rx(cosa->rxchan, cosa->rxsize); in rx_interrupt()
1853 cosa->num, cosa->rxchan->num); in rx_interrupt()
1862 if (cosa_dma_able(cosa->rxchan, cosa->rxbuf, cosa->rxsize & 0x1fff)) { in rx_interrupt()
1900 cosa->num, cosa->rxchan->num, cosa->rxsize); in eot_interrupt()
1909 if (!cosa_dma_able(cosa->rxchan, cosa->rxbuf, cosa->rxsize)) in eot_interrupt()
1911 if (cosa->rxchan->rx_done) in eot_interrupt()
1912 if (cosa->rxchan->rx_done(cosa->rxchan)) in eot_interrupt()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Ddavinci_emac.c321 struct cpdma_chan *rxchan; member
912 ret = cpdma_chan_submit(priv->rxchan, skb, skb->data, in emac_rx_handler()
1263 num_rx_pkts = cpdma_chan_process(priv->rxchan, budget); in emac_poll()
1444 ret = cpdma_chan_idle_submit(priv->rxchan, skb, skb->data, in emac_dev_open()
1893 priv->rxchan = cpdma_chan_create(priv->dma, EMAC_DEF_RX_CH, in davinci_emac_probe()
1895 if (IS_ERR(priv->rxchan)) { in davinci_emac_probe()
1897 rc = PTR_ERR(priv->rxchan); in davinci_emac_probe()
1957 cpdma_chan_destroy(priv->rxchan); in davinci_emac_probe()
1988 if (priv->rxchan) in davinci_emac_remove()
1989 cpdma_chan_destroy(priv->rxchan); in davinci_emac_remove()
/kernel/linux/linux-5.10/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",
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch61486 + dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state);
61554 + dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state);
61578 + desc = dmaengine_prep_dma_cyclic(dma->rxchan, dma->rx_addr,
61590 + dma_async_issue_pending(dma->rxchan);
61632 dmaengine_slave_config(dma->rxchan, &dma->rxconf);
61663 dma->rx_buf = dma_alloc_coherent(dma->rxchan->device->dev, dma->rx_size,
61677 - dma_free_coherent(dma->rxchan->device->dev, dma->rx_size,
61694 + dma_free_coherent(dma->rxchan->device->dev,
61716 dma_release_channel(dma->rxchan);
61720 dma_release_channel(dma->rxchan);
[all …]