Lines Matching refs:chan_tx
199 struct dma_chan *chan_tx; member
516 if (host->chan_tx) { in usdhi6_dma_release()
517 struct dma_chan *chan = host->chan_tx; in usdhi6_dma_release()
518 host->chan_tx = NULL; in usdhi6_dma_release()
542 dma_unmap_sg(host->chan_tx->device->dev, data->sg, in usdhi6_dma_stop_unmap()
613 if (!host->chan_rx || !host->chan_tx) in usdhi6_dma_start()
619 return usdhi6_dma_setup(host, host->chan_tx, DMA_MEM_TO_DEV); in usdhi6_dma_start()
632 dmaengine_terminate_all(host->chan_tx); in usdhi6_dma_kill()
666 dma_async_issue_pending(host->chan_tx); in usdhi6_dma_kick()
677 host->chan_tx = dma_request_slave_channel(mmc_dev(host->mmc), "tx"); in usdhi6_dma_request()
679 host->chan_tx); in usdhi6_dma_request()
681 if (!host->chan_tx) in usdhi6_dma_request()
688 ret = dmaengine_slave_config(host->chan_tx, &cfg); in usdhi6_dma_request()
713 dma_release_channel(host->chan_tx); in usdhi6_dma_request()
714 host->chan_tx = NULL; in usdhi6_dma_request()