Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/crypto/qce/
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()
A Ddma.h32 struct dma_chan *rxchan; member
A Dcore.c180 qce->pipe_pair_id = qce->dma.rxchan->chan_id >> 1; in qce_check_version()
/linux-6.3-rc2/drivers/tty/serial/8250/
A D8250_dma.c164 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()
272 dma_release_channel(dma->rxchan); in serial8250_request_dma()
285 dmaengine_terminate_sync(dma->rxchan); in serial8250_release_dma()
288 dma_release_channel(dma->rxchan); in serial8250_release_dma()
[all …]
A D8250_omap.c884 struct dma_chan *rxchan = dma->rxchan; in __dma_rx_do_complete() local
904 dmaengine_tx_status(rxchan, cookie, &state); in __dma_rx_do_complete()
908 dmaengine_terminate_async(rxchan); in __dma_rx_do_complete()
917 while (dmaengine_tx_status(rxchan, cookie, NULL) && in __dma_rx_do_complete()
951 if (dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state) != in __dma_rx_complete()
982 ret = dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state); in omap_8250_rx_dma_flush()
984 ret = dmaengine_pause(dma->rxchan); in omap_8250_rx_dma_flush()
1009 state = dmaengine_tx_status(dma->rxchan, dma->rx_cookie, NULL); in omap_8250_rx_dma()
1021 desc = dmaengine_prep_slave_single(dma->rxchan, dma->rx_addr, in omap_8250_rx_dma()
1046 dma_async_issue_pending(dma->rxchan); in omap_8250_rx_dma()
[all …]
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()
A D8250.h32 struct dma_chan *rxchan; member
/linux-6.3-rc2/drivers/spi/
A Dspi-dw-dma.c113 if (!dws->rxchan) in dw_spi_dma_init_mfld()
122 dws->master->dma_rx = dws->rxchan; in dw_spi_dma_init_mfld()
136 dma_release_channel(dws->rxchan); in dw_spi_dma_init_mfld()
137 dws->rxchan = NULL; in dw_spi_dma_init_mfld()
148 if (IS_ERR(dws->rxchan)) { in dw_spi_dma_init_generic()
149 ret = PTR_ERR(dws->rxchan); in dw_spi_dma_init_generic()
150 dws->rxchan = NULL; in dw_spi_dma_init_generic()
161 dws->master->dma_rx = dws->rxchan; in dw_spi_dma_init_generic()
173 dma_release_channel(dws->rxchan); in dw_spi_dma_init_generic()
174 dws->rxchan = NULL; in dw_spi_dma_init_generic()
[all …]
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()
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()
A Dspi-atmel.c695 struct dma_chan *rxchan = host->dma_rx; in atmel_spi_next_xfer_dma_submit() local
704 if (!rxchan || !txchan) in atmel_spi_next_xfer_dma_submit()
716 rxdesc = dmaengine_prep_slave_single(rxchan, in atmel_spi_next_xfer_dma_submit()
723 rxdesc = dmaengine_prep_slave_sg(rxchan, in atmel_spi_next_xfer_dma_submit()
771 rxchan->device->device_issue_pending(rxchan); in atmel_spi_next_xfer_dma_submit()
A Dspi-dw.h190 struct dma_chan *rxchan; member
/linux-6.3-rc2/Documentation/devicetree/bindings/soc/ti/
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-6.3-rc2/drivers/tty/serial/
A Damba-pl011.c832 if (!rxchan) in pl011_dma_rx_trigger_dma()
848 dmaengine_terminate_all(rxchan); in pl011_dma_rx_trigger_dma()
856 dma_async_issue_pending(rxchan); in pl011_dma_rx_trigger_dma()
947 struct dma_chan *rxchan = dmarx->chan; in pl011_dma_rx_irq() local
959 if (dmaengine_pause(rxchan)) in pl011_dma_rx_irq()
961 dmastat = rxchan->device->device_tx_status(rxchan, in pl011_dma_rx_irq()
974 dmaengine_terminate_all(rxchan); in pl011_dma_rx_irq()
1016 rxchan->device->device_tx_status(rxchan, dmarx->cookie, &state); in pl011_dma_rx_callback()
1020 dmaengine_terminate_all(rxchan); in pl011_dma_rx_callback()
1074 rxchan->device->device_tx_status(rxchan, dmarx->cookie, &state); in pl011_dma_rx_poll()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/ti/
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()
/linux-6.3-rc2/arch/arm/boot/dts/
A Dkeystone-k2g-netcp.dtsi86 reg-names = "global", "txchan", "rxchan",
A Dkeystone-k2l-netcp.dtsi122 reg-names = "global", "txchan", "rxchan",
A Dkeystone-k2e-netcp.dtsi123 reg-names = "global", "txchan", "rxchan",
A Dkeystone-k2hk-netcp.dtsi140 reg-names = "global", "txchan", "rxchan",

Completed in 44 milliseconds