Home
last modified time | relevance | path

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

/drivers/spi/
Dspi-dw-mid.c63 dws->rxchan = dma_request_channel(mask, mid_spi_dma_chan_filter, dws); in mid_spi_dma_init()
64 if (!dws->rxchan) in mid_spi_dma_init()
69 dws->rxchan->private = rxs; in mid_spi_dma_init()
84 dma_release_channel(dws->rxchan); in mid_spi_dma_init()
93 dma_release_channel(dws->rxchan); in mid_spi_dma_exit()
113 struct dma_chan *txchan, *rxchan; in mid_spi_dma_transfer() local
132 rxchan = dws->rxchan; in mid_spi_dma_transfer()
165 rxchan->device->device_control(rxchan, DMA_SLAVE_CONFIG, in mid_spi_dma_transfer()
172 rxdesc = dmaengine_prep_slave_sg(rxchan, in mid_spi_dma_transfer()
Dspi-pl022.c898 struct dma_chan *rxchan = pl022->dma_rx_channel; in configure_dma() local
904 if (!rxchan || !txchan) in configure_dma()
994 dmaengine_slave_config(rxchan, &rx_conf); in configure_dma()
1016 rx_sglen = dma_map_sg(rxchan->device->dev, pl022->sgt_rx.sgl, in configure_dma()
1027 rxdesc = dmaengine_prep_slave_sg(rxchan, in configure_dma()
1050 dma_async_issue_pending(rxchan); in configure_dma()
1059 dmaengine_terminate_all(rxchan); in configure_dma()
1063 dma_unmap_sg(rxchan->device->dev, pl022->sgt_rx.sgl, in configure_dma()
1125 struct dma_chan *rxchan = pl022->dma_rx_channel; in terminate_dma() local
1128 dmaengine_terminate_all(rxchan); in terminate_dma()
Dspi-dw.h146 struct dma_chan *rxchan; member
/drivers/tty/serial/
Damba-pl011.c669 struct dma_chan *rxchan = uap->dmarx.chan; in pl011_dma_rx_trigger_dma() local
674 if (!rxchan) in pl011_dma_rx_trigger_dma()
680 desc = dmaengine_prep_slave_sg(rxchan, &sgbuf->sg, 1, in pl011_dma_rx_trigger_dma()
690 dmaengine_terminate_all(rxchan); in pl011_dma_rx_trigger_dma()
698 dma_async_issue_pending(rxchan); in pl011_dma_rx_trigger_dma()
782 struct dma_chan *rxchan = dmarx->chan; in pl011_dma_rx_irq() local
794 if (dmaengine_pause(rxchan)) in pl011_dma_rx_irq()
796 dmastat = rxchan->device->device_tx_status(rxchan, in pl011_dma_rx_irq()
809 dmaengine_terminate_all(rxchan); in pl011_dma_rx_irq()
831 struct dma_chan *rxchan = dmarx->chan; in pl011_dma_rx_callback() local
[all …]
/drivers/net/wan/
Dcosa.c159 struct channel_data *rxchan; member
1858 cosa->rxchan = cosa->chan + ((cosa->rxsize & 0xe000) >> 13); in rx_interrupt()
1863 if (cosa->rxchan->setup_rx) in rx_interrupt()
1864 cosa->rxbuf = cosa->rxchan->setup_rx(cosa->rxchan, cosa->rxsize); in rx_interrupt()
1869 cosa->num, cosa->rxchan->num); in rx_interrupt()
1878 if (cosa_dma_able(cosa->rxchan, cosa->rxbuf, cosa->rxsize & 0x1fff)) { in rx_interrupt()
1916 cosa->num, cosa->rxchan->num, cosa->rxsize); in eot_interrupt()
1925 if (!cosa_dma_able(cosa->rxchan, cosa->rxbuf, cosa->rxsize)) in eot_interrupt()
1927 if (cosa->rxchan->rx_done) in eot_interrupt()
1928 if (cosa->rxchan->rx_done(cosa->rxchan)) in eot_interrupt()
[all …]
/drivers/net/ethernet/ti/
Ddavinci_emac.c326 struct cpdma_chan *rxchan; member
1038 ret = cpdma_chan_submit(priv->rxchan, skb, skb->data, in emac_rx_handler()
1389 num_rx_pkts = cpdma_chan_process(priv->rxchan, budget); in emac_poll()
1555 ret = cpdma_chan_submit(priv->rxchan, skb, skb->data, in emac_dev_open()
1884 priv->rxchan = cpdma_chan_create(priv->dma, rx_chan_num(EMAC_DEF_RX_CH), in davinci_emac_probe()
1886 if (WARN_ON(!priv->txchan || !priv->rxchan)) { in davinci_emac_probe()
1935 if (priv->rxchan) in davinci_emac_probe()
1936 cpdma_chan_destroy(priv->rxchan); in davinci_emac_probe()
1970 if (priv->rxchan) in davinci_emac_remove()
1971 cpdma_chan_destroy(priv->rxchan); in davinci_emac_remove()