Home
last modified time | relevance | path

Searched refs:rxchan (Results 1 - 25 of 28) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/crypto/qce/
H A 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()
[all...]
H A Ddma.h32 struct dma_chan *rxchan; member
/kernel/linux/linux-6.6/drivers/crypto/qce/
H A 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()
[all...]
H A Ddma.h32 struct dma_chan *rxchan; member
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
H A D8250_dma.c57 dma_status = dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state); in __dma_rx_complete()
146 desc = dmaengine_prep_slave_single(dma->rxchan, dma->rx_addr, in serial8250_rx_dma()
158 dma_async_issue_pending(dma->rxchan); in serial8250_rx_dma()
168 dmaengine_pause(dma->rxchan); in serial8250_rx_dma_flush()
170 dmaengine_terminate_async(dma->rxchan); in serial8250_rx_dma_flush()
199 dma->rxchan = dma_request_slave_channel_compat(mask, in serial8250_request_dma()
202 if (!dma->rxchan) in serial8250_request_dma()
206 ret = dma_get_slave_caps(dma->rxchan, &caps); in serial8250_request_dma()
215 dmaengine_slave_config(dma->rxchan, &dma->rxconf); in serial8250_request_dma()
241 dma->rx_buf = dma_alloc_coherent(dma->rxchan in serial8250_request_dma()
[all...]
H A D8250_omap.c830 struct dma_chan *rxchan = dma->rxchan; in __dma_rx_do_complete() local
850 dmaengine_tx_status(rxchan, cookie, &state); in __dma_rx_do_complete()
854 dmaengine_terminate_async(rxchan); in __dma_rx_do_complete()
863 while (dmaengine_tx_status(rxchan, cookie, NULL) && in __dma_rx_do_complete()
897 if (dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state) != in __dma_rx_complete()
928 ret = dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state); in omap_8250_rx_dma_flush()
930 ret = dmaengine_pause(dma->rxchan); in omap_8250_rx_dma_flush()
955 state = dmaengine_tx_status(dma->rxchan, dma->rx_cookie, NULL); in omap_8250_rx_dma()
967 desc = dmaengine_prep_slave_single(dma->rxchan, dm in omap_8250_rx_dma()
[all...]
H A D8250_mtk.c107 dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state); in mtk8250_dma_rx_complete()
139 desc = dmaengine_prep_slave_single(dma->rxchan, dma->rx_addr, in mtk8250_rx_dma()
152 dma_async_issue_pending(dma->rxchan); in mtk8250_rx_dma()
179 if (dmaengine_slave_config(dma->rxchan, &dma->rxconf) != 0) in mtk8250_dma_enable()
H A D8250.h29 struct dma_chan *rxchan; member
/kernel/linux/linux-6.6/drivers/tty/serial/8250/
H A D8250_dma.c54 dma_status = dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state); in __dma_rx_complete()
152 desc = dmaengine_prep_slave_single(dma->rxchan, dma->rx_addr, in serial8250_rx_dma()
164 dma_async_issue_pending(dma->rxchan); in serial8250_rx_dma()
174 dmaengine_pause(dma->rxchan); in serial8250_rx_dma_flush()
176 dmaengine_terminate_async(dma->rxchan); in serial8250_rx_dma_flush()
205 dma->rxchan = dma_request_slave_channel_compat(mask, in serial8250_request_dma()
208 if (!dma->rxchan) in serial8250_request_dma()
212 ret = dma_get_slave_caps(dma->rxchan, &caps); in serial8250_request_dma()
221 dmaengine_slave_config(dma->rxchan, &dma->rxconf); in serial8250_request_dma()
247 dma->rx_buf = dma_alloc_coherent(dma->rxchan in serial8250_request_dma()
[all...]
H A D8250_omap.c900 struct dma_chan *rxchan = dma->rxchan; in __dma_rx_do_complete() local
920 dmaengine_tx_status(rxchan, cookie, &state); in __dma_rx_do_complete()
924 dmaengine_terminate_async(rxchan); in __dma_rx_do_complete()
933 while (dmaengine_tx_status(rxchan, cookie, NULL) && in __dma_rx_do_complete()
968 if (dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state) != in __dma_rx_complete()
999 ret = dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state); in omap_8250_rx_dma_flush()
1001 ret = dmaengine_pause(dma->rxchan); in omap_8250_rx_dma_flush()
1029 state = dmaengine_tx_status(dma->rxchan, dma->rx_cookie, NULL); in omap_8250_rx_dma()
1041 desc = dmaengine_prep_slave_single(dma->rxchan, dm in omap_8250_rx_dma()
[all...]
H A D8250_mtk.c107 dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state); in mtk8250_dma_rx_complete()
139 desc = dmaengine_prep_slave_single(dma->rxchan, dma->rx_addr, in mtk8250_rx_dma()
152 dma_async_issue_pending(dma->rxchan); in mtk8250_rx_dma()
179 if (dmaengine_slave_config(dma->rxchan, &dma->rxconf) != 0) in mtk8250_dma_enable()
/kernel/linux/linux-5.10/drivers/spi/
H A 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()
135 dma_release_channel(dws->rxchan); in dw_spi_dma_init_mfld()
136 dws->rxchan = NULL; in dw_spi_dma_init_mfld()
144 dws->rxchan = dma_request_slave_channel(dev, "rx"); in dw_spi_dma_init_generic()
145 if (!dws->rxchan) in dw_spi_dma_init_generic()
150 dma_release_channel(dws->rxchan); in dw_spi_dma_init_generic()
[all...]
H A 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()
H A 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()
[all...]
H A Dspi-dw.h180 struct dma_chan *rxchan; member
H A Dspi-atmel.c704 struct dma_chan *rxchan = master->dma_rx; variable
714 if (!rxchan || !txchan)
729 rxdesc = dmaengine_prep_slave_single(rxchan,
736 rxdesc = dmaengine_prep_slave_sg(rxchan,
784 rxchan->device->device_issue_pending(rxchan);
/kernel/linux/linux-6.6/drivers/spi/
H A Dspi-dw-dma.c45 ret = dma_get_slave_caps(dws->rxchan, &caps); in dw_spi_dma_maxburst_init()
84 ret = dma_get_slave_caps(dws->rxchan, &rx); in dw_spi_dma_caps_init()
132 dws->rxchan = dma_request_channel(mask, dw_spi_dma_chan_filter, rx); in dw_spi_dma_init_mfld()
133 if (!dws->rxchan) in dw_spi_dma_init_mfld()
142 dws->host->dma_rx = dws->rxchan; in dw_spi_dma_init_mfld()
161 dma_release_channel(dws->rxchan); in dw_spi_dma_init_mfld()
162 dws->rxchan = NULL; in dw_spi_dma_init_mfld()
172 dws->rxchan = dma_request_chan(dev, "rx"); in dw_spi_dma_init_generic()
173 if (IS_ERR(dws->rxchan)) { in dw_spi_dma_init_generic()
174 ret = PTR_ERR(dws->rxchan); in dw_spi_dma_init_generic()
[all...]
H A Dspi-at91-usart.c219 struct dma_chan *rxchan = ctlr->dma_rx; in at91_usart_spi_dma_transfer() local
228 rxdesc = dmaengine_prep_slave_sg(rxchan, in at91_usart_spi_dma_transfer()
257 rxchan->device->device_issue_pending(rxchan); in at91_usart_spi_dma_transfer()
H A Dspi-pl022.c926 struct dma_chan *rxchan = pl022->dma_rx_channel; in configure_dma() local
932 if (!rxchan || !txchan) in configure_dma()
1022 dmaengine_slave_config(rxchan, &rx_conf); in configure_dma()
1044 rx_sglen = dma_map_sg(rxchan->device->dev, pl022->sgt_rx.sgl, in configure_dma()
1055 rxdesc = dmaengine_prep_slave_sg(rxchan, in configure_dma()
1078 dma_async_issue_pending(rxchan); in configure_dma()
1087 dmaengine_terminate_all(rxchan); in configure_dma()
1091 dma_unmap_sg(rxchan->device->dev, pl022->sgt_rx.sgl, in configure_dma()
1192 struct dma_chan *rxchan = pl022->dma_rx_channel; in terminate_dma() local
1195 dmaengine_terminate_all(rxchan); in terminate_dma()
[all...]
H A Dspi-atmel.c776 struct dma_chan *rxchan = host->dma_rx; in atmel_spi_next_xfer_dma_submit() local
785 if (!rxchan || !txchan) in atmel_spi_next_xfer_dma_submit()
797 rxdesc = dmaengine_prep_slave_single(rxchan, in atmel_spi_next_xfer_dma_submit()
804 rxdesc = dmaengine_prep_slave_sg(rxchan, in atmel_spi_next_xfer_dma_submit()
852 rxchan->device->device_issue_pending(rxchan); in atmel_spi_next_xfer_dma_submit()
/kernel/linux/linux-5.10/drivers/tty/serial/
H A Damba-pl011.c824 struct dma_chan *rxchan = uap->dmarx.chan; in pl011_dma_rx_trigger_dma() local
829 if (!rxchan) in pl011_dma_rx_trigger_dma()
835 desc = dmaengine_prep_slave_single(rxchan, dbuf->dma, dbuf->len, in pl011_dma_rx_trigger_dma()
845 dmaengine_terminate_all(rxchan); in pl011_dma_rx_trigger_dma()
853 dma_async_issue_pending(rxchan); in pl011_dma_rx_trigger_dma()
946 struct dma_chan *rxchan = dmarx->chan; in pl011_dma_rx_irq() local
958 if (dmaengine_pause(rxchan)) in pl011_dma_rx_irq()
960 dmastat = rxchan->device->device_tx_status(rxchan, in pl011_dma_rx_irq()
973 dmaengine_terminate_all(rxchan); in pl011_dma_rx_irq()
995 struct dma_chan *rxchan = dmarx->chan; pl011_dma_rx_callback() local
1064 struct dma_chan *rxchan = uap->dmarx.chan; pl011_dma_rx_poll() local
[all...]
/kernel/linux/linux-6.6/drivers/tty/serial/
H A Damba-pl011.c823 struct dma_chan *rxchan = uap->dmarx.chan; in pl011_dma_rx_trigger_dma() local
828 if (!rxchan) in pl011_dma_rx_trigger_dma()
834 desc = dmaengine_prep_slave_single(rxchan, dbuf->dma, dbuf->len, in pl011_dma_rx_trigger_dma()
844 dmaengine_terminate_all(rxchan); in pl011_dma_rx_trigger_dma()
852 dma_async_issue_pending(rxchan); in pl011_dma_rx_trigger_dma()
943 struct dma_chan *rxchan = dmarx->chan; in pl011_dma_rx_irq() local
955 if (dmaengine_pause(rxchan)) in pl011_dma_rx_irq()
957 dmastat = rxchan->device->device_tx_status(rxchan, in pl011_dma_rx_irq()
970 dmaengine_terminate_all(rxchan); in pl011_dma_rx_irq()
992 struct dma_chan *rxchan = dmarx->chan; pl011_dma_rx_callback() local
1061 struct dma_chan *rxchan = uap->dmarx.chan; pl011_dma_rx_poll() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wan/
H A Dcosa.c146 struct channel_data *rxchan; member
1848 cosa->rxchan = cosa->chan + ((cosa->rxsize & 0xe000) >> 13); in rx_interrupt()
1853 if (cosa->rxchan->setup_rx) in rx_interrupt()
1854 cosa->rxbuf = cosa->rxchan->setup_rx(cosa->rxchan, cosa->rxsize); in rx_interrupt()
1859 cosa->num, cosa->rxchan->num); in rx_interrupt()
1868 if (cosa_dma_able(cosa->rxchan, cosa->rxbuf, cosa->rxsize & 0x1fff)) { in rx_interrupt()
1906 cosa->num, cosa->rxchan->num, cosa->rxsize); in eot_interrupt()
1915 if (!cosa_dma_able(cosa->rxchan, cosa->rxbuf, cosa->rxsize)) in eot_interrupt()
1917 if (cosa->rxchan in eot_interrupt()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
H A 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()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/
H A Ddavinci_emac.c320 struct cpdma_chan *rxchan; member
919 ret = cpdma_chan_submit(priv->rxchan, skb, skb->data, in emac_rx_handler()
1270 num_rx_pkts = cpdma_chan_process(priv->rxchan, budget); in emac_poll()
1448 ret = cpdma_chan_idle_submit(priv->rxchan, skb, skb->data, in emac_dev_open()
1924 priv->rxchan = cpdma_chan_create(priv->dma, EMAC_DEF_RX_CH, in davinci_emac_probe()
1926 if (IS_ERR(priv->rxchan)) { in davinci_emac_probe()
1928 rc = PTR_ERR(priv->rxchan); in davinci_emac_probe()
1984 cpdma_chan_destroy(priv->rxchan); in davinci_emac_probe()
2015 if (priv->rxchan) in davinci_emac_remove()
2016 cpdma_chan_destroy(priv->rxchan); in davinci_emac_remove()
[all...]

Completed in 34 milliseconds

12