Lines Matching defs:dma_tx
178 struct dma_chan *dma_tx;
222 dma_release_channel(host->dma_tx);
231 host->dma_tx = dma_request_chan(dev, "tx-rx");
232 if (!IS_ERR(host->dma_tx))
235 if (PTR_ERR(host->dma_tx) != -ENODEV) {
237 return PTR_ERR(host->dma_tx);
240 host->dma_tx = dma_request_chan(mmc_dev(host->mmc), "tx");
241 if (IS_ERR(host->dma_tx)) {
242 dev_err(mmc_dev(host->mmc), "Failed to get dma_tx channel\n");
243 return PTR_ERR(host->dma_tx);
249 dma_release_channel(host->dma_tx);
257 if (host->dma_tx) {
258 struct device *dev = host->dma_tx->device->dev;
282 return host->dma_tx;