/drivers/tty/serial/8250/ |
D | 8250_dma.c | 53 dma_sync_single_for_cpu(dma->rxchan->device->dev, dma->rx_addr, in __dma_rx_complete() 56 dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state); in __dma_rx_complete() 57 dmaengine_terminate_all(dma->rxchan); in __dma_rx_complete() 109 dma_status = dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state); in serial8250_rx_dma() 121 dmaengine_pause(dma->rxchan); in serial8250_rx_dma() 132 desc = dmaengine_prep_slave_single(dma->rxchan, dma->rx_addr, in serial8250_rx_dma() 143 dma_sync_single_for_device(dma->rxchan->device->dev, dma->rx_addr, in serial8250_rx_dma() 146 dma_async_issue_pending(dma->rxchan); in serial8250_rx_dma() 170 dma->rxchan = dma_request_slave_channel_compat(mask, in serial8250_request_dma() 173 if (!dma->rxchan) in serial8250_request_dma() [all …]
|
D | 8250.h | 29 struct dma_chan *rxchan; member
|
/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() 160 struct dma_chan *rxchan = dma->rxchan; in qce_dma_prep_sgs() local 165 ret = qce_dma_prep_sg(rxchan, rx_sg, rx_nents, flags, DMA_MEM_TO_DEV, in qce_dma_prep_sgs() 176 dma_async_issue_pending(dma->rxchan); in qce_dma_issue_pending() 184 ret = dmaengine_terminate_all(dma->rxchan); in qce_dma_terminate_all()
|
D | dma.h | 40 struct dma_chan *rxchan; member
|
/drivers/spi/ |
D | spi-dw-mid.c | 62 dws->rxchan = dma_request_channel(mask, mid_spi_dma_chan_filter, dws); in mid_spi_dma_init() 63 if (!dws->rxchan) in mid_spi_dma_init() 68 dws->rxchan->private = rxs; in mid_spi_dma_init() 83 dma_release_channel(dws->rxchan); in mid_spi_dma_init() 96 dmaengine_terminate_all(dws->rxchan); in mid_spi_dma_exit() 97 dma_release_channel(dws->rxchan); in mid_spi_dma_exit() 158 dmaengine_slave_config(dws->rxchan, &rxconf); in dw_spi_dma_prepare_rx() 164 rxdesc = dmaengine_prep_slave_sg(dws->rxchan, in dw_spi_dma_prepare_rx() 214 dma_async_issue_pending(dws->rxchan); in mid_spi_dma_transfer()
|
D | spi-pl022.c | 943 struct dma_chan *rxchan = pl022->dma_rx_channel; in configure_dma() local 949 if (!rxchan || !txchan) in configure_dma() 1039 dmaengine_slave_config(rxchan, &rx_conf); in configure_dma() 1061 rx_sglen = dma_map_sg(rxchan->device->dev, pl022->sgt_rx.sgl, in configure_dma() 1072 rxdesc = dmaengine_prep_slave_sg(rxchan, in configure_dma() 1095 dma_async_issue_pending(rxchan); in configure_dma() 1104 dmaengine_terminate_all(rxchan); in configure_dma() 1108 dma_unmap_sg(rxchan->device->dev, pl022->sgt_rx.sgl, in configure_dma() 1197 struct dma_chan *rxchan = pl022->dma_rx_channel; in terminate_dma() local 1200 dmaengine_terminate_all(rxchan); in terminate_dma()
|
D | spi-atmel.c | 553 struct dma_chan *rxchan = as->dma.chan_rx; in atmel_spi_next_xfer_dma_submit() local 564 if (!rxchan || !txchan) in atmel_spi_next_xfer_dma_submit() 600 rxdesc = dmaengine_prep_slave_sg(rxchan, &as->dma.sgrx, 1, in atmel_spi_next_xfer_dma_submit() 631 rxchan->device->device_issue_pending(rxchan); in atmel_spi_next_xfer_dma_submit()
|
D | spi-dw.h | 140 struct dma_chan *rxchan; member
|
/drivers/tty/serial/ |
D | amba-pl011.c | 704 struct dma_chan *rxchan = uap->dmarx.chan; in pl011_dma_rx_trigger_dma() local 709 if (!rxchan) in pl011_dma_rx_trigger_dma() 715 desc = dmaengine_prep_slave_sg(rxchan, &sgbuf->sg, 1, in pl011_dma_rx_trigger_dma() 725 dmaengine_terminate_all(rxchan); in pl011_dma_rx_trigger_dma() 733 dma_async_issue_pending(rxchan); in pl011_dma_rx_trigger_dma() 826 struct dma_chan *rxchan = dmarx->chan; in pl011_dma_rx_irq() local 838 if (dmaengine_pause(rxchan)) in pl011_dma_rx_irq() 840 dmastat = rxchan->device->device_tx_status(rxchan, in pl011_dma_rx_irq() 853 dmaengine_terminate_all(rxchan); in pl011_dma_rx_irq() 875 struct dma_chan *rxchan = dmarx->chan; in pl011_dma_rx_callback() local [all …]
|
/drivers/net/wan/ |
D | cosa.c | 159 struct channel_data *rxchan; member 1853 cosa->rxchan = cosa->chan + ((cosa->rxsize & 0xe000) >> 13); in rx_interrupt() 1858 if (cosa->rxchan->setup_rx) in rx_interrupt() 1859 cosa->rxbuf = cosa->rxchan->setup_rx(cosa->rxchan, cosa->rxsize); in rx_interrupt() 1864 cosa->num, cosa->rxchan->num); in rx_interrupt() 1873 if (cosa_dma_able(cosa->rxchan, cosa->rxbuf, cosa->rxsize & 0x1fff)) { in rx_interrupt() 1911 cosa->num, cosa->rxchan->num, cosa->rxsize); in eot_interrupt() 1920 if (!cosa_dma_able(cosa->rxchan, cosa->rxbuf, cosa->rxsize)) in eot_interrupt() 1922 if (cosa->rxchan->rx_done) in eot_interrupt() 1923 if (cosa->rxchan->rx_done(cosa->rxchan)) in eot_interrupt() [all …]
|
/drivers/net/ethernet/ti/ |
D | davinci_emac.c | 331 struct cpdma_chan *rxchan; member 1039 ret = cpdma_chan_submit(priv->rxchan, skb, skb->data, in emac_rx_handler() 1392 num_rx_pkts = cpdma_chan_process(priv->rxchan, budget); in emac_poll() 1560 ret = cpdma_chan_submit(priv->rxchan, skb, skb->data, in emac_dev_open() 1956 priv->rxchan = cpdma_chan_create(priv->dma, rx_chan_num(EMAC_DEF_RX_CH), in davinci_emac_probe() 1958 if (WARN_ON(!priv->txchan || !priv->rxchan)) { in davinci_emac_probe() 2007 if (priv->rxchan) in davinci_emac_probe() 2008 cpdma_chan_destroy(priv->rxchan); in davinci_emac_probe() 2031 if (priv->rxchan) in davinci_emac_remove() 2032 cpdma_chan_destroy(priv->rxchan); in davinci_emac_remove()
|