Home
last modified time | relevance | path

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

/linux/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()
H A Ddma.h32 struct dma_chan *rxchan; member
/linux/drivers/tty/serial/8250/
H A D8250_dma.c54 dma_status = dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state); in __dma_rx_complete()
162 desc = dmaengine_prep_slave_single(dma->rxchan, dma->rx_addr, in serial8250_rx_dma()
174 dma_async_issue_pending(dma->rxchan); in serial8250_rx_dma()
184 dmaengine_pause(dma->rxchan); in serial8250_rx_dma_flush()
186 dmaengine_terminate_async(dma->rxchan); in serial8250_rx_dma_flush()
215 dma->rxchan = dma_request_slave_channel_compat(mask, in serial8250_request_dma()
218 if (!dma->rxchan) in serial8250_request_dma()
222 ret = dma_get_slave_caps(dma->rxchan, &caps); in serial8250_request_dma()
231 dmaengine_slave_config(dma->rxchan, &dma->rxconf); in serial8250_request_dma()
257 dma->rx_buf = dma_alloc_coherent(dma->rxchan->device->dev, dma->rx_size, in serial8250_request_dma()
[all …]
H A D8250_omap.c926 struct dma_chan *rxchan = dma->rxchan; in __dma_rx_do_complete() local
946 dmaengine_tx_status(rxchan, cookie, &state); in __dma_rx_do_complete()
950 dmaengine_terminate_async(rxchan); in __dma_rx_do_complete()
959 while (dmaengine_tx_status(rxchan, cookie, NULL) && in __dma_rx_do_complete()
994 if (dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state) != in __dma_rx_complete()
1025 ret = dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state); in omap_8250_rx_dma_flush()
1027 ret = dmaengine_pause(dma->rxchan); in omap_8250_rx_dma_flush()
1055 state = dmaengine_tx_status(dma->rxchan, dma->rx_cookie, NULL); in omap_8250_rx_dma()
1067 desc = dmaengine_prep_slave_single(dma->rxchan, dma->rx_addr, in omap_8250_rx_dma()
1092 dma_async_issue_pending(dma->rxchan); 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.h32 struct dma_chan *rxchan; member
/linux/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-dw.h190 struct dma_chan *rxchan; member
/linux/drivers/tty/serial/
H A Damba-pl011.c806 struct dma_chan *rxchan = uap->dmarx.chan; in pl011_dma_rx_trigger_dma() local
811 if (!rxchan) in pl011_dma_rx_trigger_dma()
817 desc = dmaengine_prep_slave_single(rxchan, dbuf->dma, dbuf->len, in pl011_dma_rx_trigger_dma()
827 dmaengine_terminate_all(rxchan); in pl011_dma_rx_trigger_dma()
835 dma_async_issue_pending(rxchan); in pl011_dma_rx_trigger_dma()
924 struct dma_chan *rxchan = dmarx->chan; in pl011_dma_rx_irq() local
936 if (dmaengine_pause(rxchan)) in pl011_dma_rx_irq()
938 dmastat = rxchan->device->device_tx_status(rxchan, in pl011_dma_rx_irq()
951 dmaengine_terminate_all(rxchan); in pl011_dma_rx_irq()
973 struct dma_chan *rxchan = dmarx->chan; in pl011_dma_rx_callback() local
[all …]
/linux/Documentation/devicetree/bindings/soc/ti/
H A Dkeystone-navigator-dma.txt47 - Rx DMA channel configuration register region (rxchan).
79 reg-names = "global", "txchan", "rxchan",
89 reg-names = "global", "txchan", "rxchan",
/linux/arch/arm/boot/dts/ti/keystone/
H A Dkeystone-k2g-netcp.dtsi86 reg-names = "global", "txchan", "rxchan",
H A Dkeystone-k2l-netcp.dtsi122 reg-names = "global", "txchan", "rxchan",
H A Dkeystone-k2e-netcp.dtsi123 reg-names = "global", "txchan", "rxchan",
H A Dkeystone-k2hk-netcp.dtsi140 reg-names = "global", "txchan", "rxchan",