Lines Matching refs:chan_tx
143 dmaengine_terminate_sync(dma->chan_tx); in at91_twi_dma_cleanup()
199 struct dma_chan *chan_tx = dma->chan_tx; in at91_twi_write_data_dma() local
251 txdesc = dmaengine_prep_slave_sg(chan_tx, dma->sg, sg_len, in at91_twi_write_data_dma()
264 dma_async_issue_pending(chan_tx); in at91_twi_write_data_dma()
781 dma->chan_tx = dma_request_chan(dev->dev, "tx"); in at91_twi_configure_dma()
782 if (IS_ERR(dma->chan_tx)) { in at91_twi_configure_dma()
783 ret = PTR_ERR(dma->chan_tx); in at91_twi_configure_dma()
784 dma->chan_tx = NULL; in at91_twi_configure_dma()
796 if (dmaengine_slave_config(dma->chan_tx, &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()
824 if (dma->chan_tx) in at91_twi_configure_dma()
825 dma_release_channel(dma->chan_tx); in at91_twi_configure_dma()