Lines Matching refs:chan_tx
144 dmaengine_terminate_all(dma->chan_tx); in at91_twi_dma_cleanup()
200 struct dma_chan *chan_tx = dma->chan_tx; in at91_twi_write_data_dma() local
252 txdesc = dmaengine_prep_slave_sg(chan_tx, dma->sg, sg_len, in at91_twi_write_data_dma()
265 dma_async_issue_pending(chan_tx); in at91_twi_write_data_dma()
782 dma->chan_tx = dma_request_chan(dev->dev, "tx"); in at91_twi_configure_dma()
783 if (IS_ERR(dma->chan_tx)) { in at91_twi_configure_dma()
784 ret = PTR_ERR(dma->chan_tx); in at91_twi_configure_dma()
785 dma->chan_tx = NULL; in at91_twi_configure_dma()
797 if (dmaengine_slave_config(dma->chan_tx, &slave_config)) { in at91_twi_configure_dma()
816 dma_chan_name(dma->chan_tx), dma_chan_name(dma->chan_rx)); in at91_twi_configure_dma()
825 if (dma->chan_tx) in at91_twi_configure_dma()
826 dma_release_channel(dma->chan_tx); in at91_twi_configure_dma()