Lines Matching refs:dma_tx
134 ctlr->dma_tx = dma_request_chan(dev, "tx");
135 if (IS_ERR_OR_NULL(ctlr->dma_tx)) {
136 if (IS_ERR(ctlr->dma_tx)) {
137 err = PTR_ERR(ctlr->dma_tx);
177 if (dmaengine_slave_config(ctlr->dma_tx, &slave_config)) {
188 if (!IS_ERR_OR_NULL(ctlr->dma_tx))
189 dma_release_channel(ctlr->dma_tx);
192 ctlr->dma_tx = NULL;
203 if (ctlr->dma_tx)
204 dma_release_channel(ctlr->dma_tx);
211 if (ctlr->dma_tx)
212 dmaengine_terminate_all(ctlr->dma_tx);
220 struct dma_chan *txchan = ctlr->dma_tx;