Lines Matching refs:chan_tx
122 struct dma_chan *chan_tx; member
252 dmaengine_terminate_all(dma->chan_tx); in at91_twi_dma_cleanup()
306 struct dma_chan *chan_tx = dma->chan_tx; in at91_twi_write_data_dma() local
358 txdesc = dmaengine_prep_slave_sg(chan_tx, dma->sg, sg_len, in at91_twi_write_data_dma()
371 dma_async_issue_pending(chan_tx); in at91_twi_write_data_dma()
980 dma->chan_tx = dma_request_slave_channel_reason(dev->dev, "tx"); in at91_twi_configure_dma()
981 if (IS_ERR(dma->chan_tx)) { in at91_twi_configure_dma()
982 ret = PTR_ERR(dma->chan_tx); in at91_twi_configure_dma()
983 dma->chan_tx = NULL; in at91_twi_configure_dma()
995 if (dmaengine_slave_config(dma->chan_tx, &slave_config)) { in at91_twi_configure_dma()
1014 dma_chan_name(dma->chan_tx), dma_chan_name(dma->chan_rx)); in at91_twi_configure_dma()
1023 if (dma->chan_tx) in at91_twi_configure_dma()
1024 dma_release_channel(dma->chan_tx); in at91_twi_configure_dma()