/Linux-v4.19/drivers/crypto/qce/ |
D | dma.c | 27 dma->rxchan = dma_request_slave_channel_reason(dev, "rx"); in qce_dma_request() 28 if (IS_ERR(dma->rxchan)) { in qce_dma_request() 29 ret = PTR_ERR(dma->rxchan); in qce_dma_request() 44 dma_release_channel(dma->rxchan); in qce_dma_request() 53 dma_release_channel(dma->rxchan); in qce_dma_release() 108 struct dma_chan *rxchan = dma->rxchan; in qce_dma_prep_sgs() local 113 ret = qce_dma_prep_sg(rxchan, rx_sg, rx_nents, flags, DMA_MEM_TO_DEV, in qce_dma_prep_sgs() 124 dma_async_issue_pending(dma->rxchan); in qce_dma_issue_pending() 132 ret = dmaengine_terminate_all(dma->rxchan); in qce_dma_terminate_all()
|
D | dma.h | 40 struct dma_chan *rxchan; member
|
/Linux-v4.19/drivers/tty/serial/8250/ |
D | 8250_dma.c | 54 dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state); in __dma_rx_complete() 122 desc = dmaengine_prep_slave_single(dma->rxchan, dma->rx_addr, in serial8250_rx_dma() 134 dma_async_issue_pending(dma->rxchan); in serial8250_rx_dma() 144 dmaengine_pause(dma->rxchan); in serial8250_rx_dma_flush() 146 dmaengine_terminate_async(dma->rxchan); in serial8250_rx_dma_flush() 175 dma->rxchan = dma_request_slave_channel_compat(mask, in serial8250_request_dma() 178 if (!dma->rxchan) in serial8250_request_dma() 182 ret = dma_get_slave_caps(dma->rxchan, &caps); in serial8250_request_dma() 191 dmaengine_slave_config(dma->rxchan, &dma->rxconf); in serial8250_request_dma() 217 dma->rx_buf = dma_alloc_coherent(dma->rxchan->device->dev, dma->rx_size, in serial8250_request_dma() [all …]
|
D | 8250_omap.c | 781 dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state); in __dma_rx_do_complete() 810 if (dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state) != in __dma_rx_complete() 837 ret = dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state); in omap_8250_rx_dma_flush() 839 ret = dmaengine_pause(dma->rxchan); in omap_8250_rx_dma_flush() 846 dmaengine_terminate_all(dma->rxchan); in omap_8250_rx_dma_flush() 865 desc = dmaengine_prep_slave_single(dma->rxchan, dma->rx_addr, in omap_8250_rx_dma() 879 dma_async_issue_pending(dma->rxchan); in omap_8250_rx_dma() 1434 if (up->dma && up->dma->rxchan) in omap8250_runtime_suspend() 1457 if (up->dma && up->dma->rxchan) in omap8250_runtime_resume()
|
D | 8250.h | 27 struct dma_chan *rxchan; member
|
/Linux-v4.19/drivers/spi/ |
D | spi-dw-mid.c | 66 dws->rxchan = dma_request_channel(mask, mid_spi_dma_chan_filter, rx); in mid_spi_dma_init() 67 if (!dws->rxchan) in mid_spi_dma_init() 69 dws->master->dma_rx = dws->rxchan; in mid_spi_dma_init() 82 dma_release_channel(dws->rxchan); in mid_spi_dma_init() 95 dmaengine_terminate_sync(dws->rxchan); in mid_spi_dma_exit() 96 dma_release_channel(dws->rxchan); in mid_spi_dma_exit() 211 dmaengine_slave_config(dws->rxchan, &rxconf); in dw_spi_dma_prepare_rx() 213 rxdesc = dmaengine_prep_slave_sg(dws->rxchan, in dw_spi_dma_prepare_rx() 262 dma_async_issue_pending(dws->rxchan); in mid_spi_dma_transfer() 281 dmaengine_terminate_sync(dws->rxchan); in mid_spi_dma_stop()
|
D | spi-pl022.c | 941 struct dma_chan *rxchan = pl022->dma_rx_channel; in configure_dma() local 947 if (!rxchan || !txchan) in configure_dma() 1037 dmaengine_slave_config(rxchan, &rx_conf); in configure_dma() 1059 rx_sglen = dma_map_sg(rxchan->device->dev, pl022->sgt_rx.sgl, in configure_dma() 1070 rxdesc = dmaengine_prep_slave_sg(rxchan, in configure_dma() 1093 dma_async_issue_pending(rxchan); in configure_dma() 1102 dmaengine_terminate_all(rxchan); in configure_dma() 1106 dma_unmap_sg(rxchan->device->dev, pl022->sgt_rx.sgl, in configure_dma() 1207 struct dma_chan *rxchan = pl022->dma_rx_channel; in terminate_dma() local 1210 dmaengine_terminate_all(rxchan); in terminate_dma()
|
D | spi-atmel.c | 743 struct dma_chan *rxchan = master->dma_rx; in atmel_spi_next_xfer_dma_submit() local 753 if (!rxchan || !txchan) in atmel_spi_next_xfer_dma_submit() 768 rxdesc = dmaengine_prep_slave_single(rxchan, in atmel_spi_next_xfer_dma_submit() 775 rxdesc = dmaengine_prep_slave_sg(rxchan, in atmel_spi_next_xfer_dma_submit() 823 rxchan->device->device_issue_pending(rxchan); in atmel_spi_next_xfer_dma_submit()
|
D | spi-dw.h | 132 struct dma_chan *rxchan; member
|
/Linux-v4.19/Documentation/devicetree/bindings/soc/ti/ |
D | keystone-navigator-dma.txt | 47 - Rx DMA channel configuration register region (rxchan). 79 reg-names = "global", "txchan", "rxchan", 89 reg-names = "global", "txchan", "rxchan",
|
/Linux-v4.19/drivers/tty/serial/ |
D | amba-pl011.c | 833 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-v4.19/drivers/net/wan/ |
D | cosa.c | 159 struct channel_data *rxchan; member 1854 cosa->rxchan = cosa->chan + ((cosa->rxsize & 0xe000) >> 13); in rx_interrupt() 1859 if (cosa->rxchan->setup_rx) in rx_interrupt() 1860 cosa->rxbuf = cosa->rxchan->setup_rx(cosa->rxchan, cosa->rxsize); in rx_interrupt() 1865 cosa->num, cosa->rxchan->num); in rx_interrupt() 1874 if (cosa_dma_able(cosa->rxchan, cosa->rxbuf, cosa->rxsize & 0x1fff)) { in rx_interrupt() 1912 cosa->num, cosa->rxchan->num, cosa->rxsize); in eot_interrupt() 1921 if (!cosa_dma_able(cosa->rxchan, cosa->rxbuf, cosa->rxsize)) in eot_interrupt() 1923 if (cosa->rxchan->rx_done) in eot_interrupt() 1924 if (cosa->rxchan->rx_done(cosa->rxchan)) in eot_interrupt() [all …]
|
/Linux-v4.19/drivers/net/ethernet/ti/ |
D | davinci_emac.c | 335 struct cpdma_chan *rxchan; member 913 ret = cpdma_chan_submit(priv->rxchan, skb, skb->data, in emac_rx_handler() 1264 num_rx_pkts = cpdma_chan_process(priv->rxchan, budget); in emac_poll() 1445 ret = cpdma_chan_submit(priv->rxchan, skb, skb->data, in emac_dev_open() 1894 priv->rxchan = cpdma_chan_create(priv->dma, EMAC_DEF_RX_CH, in davinci_emac_probe() 1896 if (IS_ERR(priv->rxchan)) { in davinci_emac_probe() 1898 rc = PTR_ERR(priv->rxchan); in davinci_emac_probe() 1958 cpdma_chan_destroy(priv->rxchan); in davinci_emac_probe() 1989 if (priv->rxchan) in davinci_emac_remove() 1990 cpdma_chan_destroy(priv->rxchan); in davinci_emac_remove()
|
/Linux-v4.19/arch/arm/boot/dts/ |
D | keystone-k2g-netcp.dtsi | 86 reg-names = "global", "txchan", "rxchan",
|
D | keystone-k2l-netcp.dtsi | 122 reg-names = "global", "txchan", "rxchan",
|
D | keystone-k2e-netcp.dtsi | 123 reg-names = "global", "txchan", "rxchan",
|
D | keystone-k2hk-netcp.dtsi | 140 reg-names = "global", "txchan", "rxchan",
|