Lines Matching refs:chan_tx
28 if (!host->chan_tx || !host->chan_rx) in tmio_mmc_enable_dma()
41 if (host->chan_tx) in tmio_mmc_abort_dma()
42 dmaengine_terminate_all(host->chan_tx); in tmio_mmc_abort_dma()
110 chan = host->chan_tx; in tmio_mmc_start_dma_rx()
112 host->chan_tx = NULL; in tmio_mmc_start_dma_rx()
127 struct dma_chan *chan = host->chan_tx; in tmio_mmc_start_dma_tx()
187 host->chan_tx = NULL; in tmio_mmc_start_dma_tx()
210 if (host->chan_tx) in tmio_mmc_start_dma()
226 chan = host->chan_tx; in tmio_mmc_issue_tasklet_fn()
251 dma_unmap_sg(host->chan_tx->device->dev, in tmio_mmc_tasklet_fn()
267 if (!host->chan_tx && !host->chan_rx) { in tmio_mmc_request_dma()
280 host->chan_tx = dma_request_slave_channel_compat(mask, in tmio_mmc_request_dma()
284 host->chan_tx); in tmio_mmc_request_dma()
286 if (!host->chan_tx) in tmio_mmc_request_dma()
295 ret = dmaengine_slave_config(host->chan_tx, &cfg); in tmio_mmc_request_dma()
336 dma_release_channel(host->chan_tx); in tmio_mmc_request_dma()
337 host->chan_tx = NULL; in tmio_mmc_request_dma()
342 if (host->chan_tx) { in tmio_mmc_release_dma()
343 struct dma_chan *chan = host->chan_tx; in tmio_mmc_release_dma()
344 host->chan_tx = NULL; in tmio_mmc_release_dma()