/linux-4.4.14/drivers/tty/serial/8250/ |
H A D | 8250_dma.c | 58 dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state); __dma_rx_complete() 128 dmaengine_pause(dma->rxchan); serial8250_rx_dma() 130 dmaengine_terminate_all(dma->rxchan); serial8250_rx_dma() 140 desc = dmaengine_prep_slave_single(dma->rxchan, dma->rx_addr, serial8250_rx_dma() 152 dma_async_issue_pending(dma->rxchan); serial8250_rx_dma() 175 dma->rxchan = dma_request_slave_channel_compat(mask, serial8250_request_dma() 178 if (!dma->rxchan) serial8250_request_dma() 181 dmaengine_slave_config(dma->rxchan, &dma->rxconf); serial8250_request_dma() 188 dma_release_channel(dma->rxchan); serial8250_request_dma() 198 dma->rx_buf = dma_alloc_coherent(dma->rxchan->device->dev, dma->rx_size, serial8250_request_dma() 209 dma_free_coherent(dma->rxchan->device->dev, dma->rx_size, serial8250_request_dma() 218 dma_release_channel(dma->rxchan); serial8250_request_dma() 233 dmaengine_terminate_all(dma->rxchan); serial8250_release_dma() 234 dma_free_coherent(dma->rxchan->device->dev, dma->rx_size, dma->rx_buf, serial8250_release_dma() 236 dma_release_channel(dma->rxchan); serial8250_release_dma() 237 dma->rxchan = NULL; serial8250_release_dma()
|
H A D | 8250_omap.c | 730 dma_sync_single_for_cpu(dma->rxchan->device->dev, dma->rx_addr, __dma_rx_do_complete() 739 dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state); __dma_rx_do_complete() 740 dmaengine_terminate_all(dma->rxchan); __dma_rx_do_complete() 776 ret = dmaengine_pause(dma->rxchan); omap_8250_rx_dma_flush() 830 desc = dmaengine_prep_slave_single(dma->rxchan, dma->rx_addr, omap_8250_rx_dma() 844 dma_sync_single_for_device(dma->rxchan->device->dev, dma->rx_addr, omap_8250_rx_dma() 847 dma_async_issue_pending(dma->rxchan); omap_8250_rx_dma() 1369 if (up->dma && up->dma->rxchan) omap8250_runtime_suspend() 1394 if (up->dma && up->dma->rxchan) omap8250_runtime_resume()
|
H A D | 8250.h | 31 struct dma_chan *rxchan; member in struct:uart_8250_dma
|
/linux-4.4.14/drivers/crypto/qce/ |
H A D | dma.c | 27 dma->rxchan = dma_request_slave_channel_reason(dev, "rx"); qce_dma_request() 28 if (IS_ERR(dma->rxchan)) { qce_dma_request() 29 ret = PTR_ERR(dma->rxchan); qce_dma_request() 44 dma_release_channel(dma->rxchan); qce_dma_request() 53 dma_release_channel(dma->rxchan); qce_dma_release() 108 struct dma_chan *rxchan = dma->rxchan; qce_dma_prep_sgs() local 113 ret = qce_dma_prep_sg(rxchan, rx_sg, rx_nents, flags, DMA_MEM_TO_DEV, qce_dma_prep_sgs() 124 dma_async_issue_pending(dma->rxchan); qce_dma_issue_pending() 132 ret = dmaengine_terminate_all(dma->rxchan); qce_dma_terminate_all()
|
H A D | dma.h | 40 struct dma_chan *rxchan; member in struct:qce_dma_data
|
/linux-4.4.14/drivers/spi/ |
H A D | spi-dw-mid.c | 66 dws->rxchan = dma_request_channel(mask, mid_spi_dma_chan_filter, rx); mid_spi_dma_init() 67 if (!dws->rxchan) mid_spi_dma_init() 69 dws->master->dma_rx = dws->rxchan; mid_spi_dma_init() 82 dma_release_channel(dws->rxchan); mid_spi_dma_init() 95 dmaengine_terminate_all(dws->rxchan); mid_spi_dma_exit() 96 dma_release_channel(dws->rxchan); mid_spi_dma_exit() 211 dmaengine_slave_config(dws->rxchan, &rxconf); dw_spi_dma_prepare_rx() 213 rxdesc = dmaengine_prep_slave_sg(dws->rxchan, dw_spi_dma_prepare_rx() 262 dma_async_issue_pending(dws->rxchan); mid_spi_dma_transfer() 281 dmaengine_terminate_all(dws->rxchan); mid_spi_dma_stop()
|
H A D | spi-dw.h | 130 struct dma_chan *rxchan; member in struct:dw_spi
|
H A D | spi-pl022.c | 948 struct dma_chan *rxchan = pl022->dma_rx_channel; configure_dma() local 954 if (!rxchan || !txchan) configure_dma() 1044 dmaengine_slave_config(rxchan, &rx_conf); configure_dma() 1066 rx_sglen = dma_map_sg(rxchan->device->dev, pl022->sgt_rx.sgl, configure_dma() 1077 rxdesc = dmaengine_prep_slave_sg(rxchan, configure_dma() 1100 dma_async_issue_pending(rxchan); configure_dma() 1109 dmaengine_terminate_all(rxchan); configure_dma() 1113 dma_unmap_sg(rxchan->device->dev, pl022->sgt_rx.sgl, configure_dma() 1214 struct dma_chan *rxchan = pl022->dma_rx_channel; terminate_dma() local 1217 dmaengine_terminate_all(rxchan); terminate_dma()
|
H A D | spi-atmel.c | 733 struct dma_chan *rxchan = as->dma.chan_rx; atmel_spi_next_xfer_dma_submit() local 744 if (!rxchan || !txchan) atmel_spi_next_xfer_dma_submit() 781 rxdesc = dmaengine_prep_slave_sg(rxchan, &as->dma.sgrx, 1, atmel_spi_next_xfer_dma_submit() 812 rxchan->device->device_issue_pending(rxchan); atmel_spi_next_xfer_dma_submit()
|
/linux-4.4.14/drivers/net/wan/ |
H A D | cosa.c | 159 struct channel_data *rxchan; member in struct:cosa_data 1861 cosa->rxchan = cosa->chan + ((cosa->rxsize & 0xe000) >> 13); rx_interrupt() 1866 if (cosa->rxchan->setup_rx) rx_interrupt() 1867 cosa->rxbuf = cosa->rxchan->setup_rx(cosa->rxchan, cosa->rxsize); rx_interrupt() 1872 cosa->num, cosa->rxchan->num); rx_interrupt() 1881 if (cosa_dma_able(cosa->rxchan, cosa->rxbuf, cosa->rxsize & 0x1fff)) { rx_interrupt() 1919 cosa->num, cosa->rxchan->num, cosa->rxsize); eot_interrupt() 1928 if (!cosa_dma_able(cosa->rxchan, cosa->rxbuf, cosa->rxsize)) eot_interrupt() 1930 if (cosa->rxchan->rx_done) eot_interrupt() 1931 if (cosa->rxchan->rx_done(cosa->rxchan)) eot_interrupt() 1932 clear_bit(cosa->rxchan->num, &cosa->rxbitmap); eot_interrupt()
|
/linux-4.4.14/drivers/tty/serial/ |
H A D | amba-pl011.c | 714 struct dma_chan *rxchan = uap->dmarx.chan; pl011_dma_rx_trigger_dma() local 719 if (!rxchan) pl011_dma_rx_trigger_dma() 725 desc = dmaengine_prep_slave_sg(rxchan, &sgbuf->sg, 1, pl011_dma_rx_trigger_dma() 735 dmaengine_terminate_all(rxchan); pl011_dma_rx_trigger_dma() 743 dma_async_issue_pending(rxchan); pl011_dma_rx_trigger_dma() 836 struct dma_chan *rxchan = dmarx->chan; pl011_dma_rx_irq() local 848 if (dmaengine_pause(rxchan)) pl011_dma_rx_irq() 850 dmastat = rxchan->device->device_tx_status(rxchan, pl011_dma_rx_irq() 863 dmaengine_terminate_all(rxchan); pl011_dma_rx_irq() 885 struct dma_chan *rxchan = dmarx->chan; pl011_dma_rx_callback() local 905 rxchan->device->device_tx_status(rxchan, dmarx->cookie, &state); pl011_dma_rx_callback() 909 dmaengine_terminate_all(rxchan); pl011_dma_rx_callback() 951 struct dma_chan *rxchan = uap->dmarx.chan; pl011_dma_rx_poll() local 960 rxchan->device->device_tx_status(rxchan, dmarx->cookie, &state); pl011_dma_rx_poll() 986 dmaengine_terminate_all(rxchan); pl011_dma_rx_poll()
|
/linux-4.4.14/drivers/net/ethernet/ti/ |
H A D | davinci_emac.c | 335 struct cpdma_chan *rxchan; member in struct:emac_priv 1042 ret = cpdma_chan_submit(priv->rxchan, skb, skb->data, emac_rx_handler() 1395 num_rx_pkts = cpdma_chan_process(priv->rxchan, budget); emac_poll() 1569 ret = cpdma_chan_submit(priv->rxchan, skb, skb->data, emac_dev_open() 2015 priv->rxchan = cpdma_chan_create(priv->dma, rx_chan_num(EMAC_DEF_RX_CH), davinci_emac_probe() 2017 if (WARN_ON(!priv->txchan || !priv->rxchan)) { davinci_emac_probe() 2078 if (priv->rxchan) davinci_emac_probe() 2079 cpdma_chan_destroy(priv->rxchan); davinci_emac_probe() 2102 if (priv->rxchan) davinci_emac_remove() 2103 cpdma_chan_destroy(priv->rxchan); davinci_emac_remove()
|