Lines Matching refs:chan_rx
141 dmaengine_terminate_sync(dma->chan_rx); in at91_twi_dma_cleanup()
338 struct dma_chan *chan_rx = dma->chan_rx; in at91_twi_read_data_dma() local
370 rxdesc = dmaengine_prep_slave_sg(chan_rx, dma->sg, 1, DMA_DEV_TO_MEM, in at91_twi_read_data_dma()
382 dma_async_issue_pending(dma->chan_rx); in at91_twi_read_data_dma()
788 dma->chan_rx = dma_request_chan(dev->dev, "rx"); in at91_twi_configure_dma()
789 if (IS_ERR(dma->chan_rx)) { in at91_twi_configure_dma()
790 ret = PTR_ERR(dma->chan_rx); in at91_twi_configure_dma()
791 dma->chan_rx = NULL; in at91_twi_configure_dma()
803 if (dmaengine_slave_config(dma->chan_rx, &slave_config)) { in at91_twi_configure_dma()
815 dma_chan_name(dma->chan_tx), dma_chan_name(dma->chan_rx)); in at91_twi_configure_dma()
822 if (dma->chan_rx) in at91_twi_configure_dma()
823 dma_release_channel(dma->chan_rx); in at91_twi_configure_dma()