Lines Matching refs:dma_tx
135 ctlr->dma_tx = dma_request_chan(dev, "tx");
136 if (IS_ERR_OR_NULL(ctlr->dma_tx)) {
137 if (IS_ERR(ctlr->dma_tx)) {
138 err = PTR_ERR(ctlr->dma_tx);
178 if (dmaengine_slave_config(ctlr->dma_tx, &slave_config)) {
189 if (!IS_ERR_OR_NULL(ctlr->dma_tx))
190 dma_release_channel(ctlr->dma_tx);
193 ctlr->dma_tx = NULL;
204 if (ctlr->dma_tx)
205 dma_release_channel(ctlr->dma_tx);
212 if (ctlr->dma_tx)
213 dmaengine_terminate_all(ctlr->dma_tx);
221 struct dma_chan *txchan = ctlr->dma_tx;