Lines Matching refs:chan_tx
200 struct dma_chan *chan_tx; member
522 if (host->chan_tx) { in usdhi6_dma_release()
523 struct dma_chan *chan = host->chan_tx; in usdhi6_dma_release()
524 host->chan_tx = NULL; in usdhi6_dma_release()
548 dma_unmap_sg(host->chan_tx->device->dev, data->sg, in usdhi6_dma_stop_unmap()
619 if (!host->chan_rx || !host->chan_tx) in usdhi6_dma_start()
625 return usdhi6_dma_setup(host, host->chan_tx, DMA_MEM_TO_DEV); in usdhi6_dma_start()
638 dmaengine_terminate_all(host->chan_tx); in usdhi6_dma_kill()
672 dma_async_issue_pending(host->chan_tx); in usdhi6_dma_kick()
683 host->chan_tx = dma_request_slave_channel(mmc_dev(host->mmc), "tx"); in usdhi6_dma_request()
685 host->chan_tx); in usdhi6_dma_request()
687 if (!host->chan_tx) in usdhi6_dma_request()
694 ret = dmaengine_slave_config(host->chan_tx, &cfg); in usdhi6_dma_request()
719 dma_release_channel(host->chan_tx); in usdhi6_dma_request()
720 host->chan_tx = NULL; in usdhi6_dma_request()