Lines Matching refs:chan_tx
99 if (!host->chan_tx || !host->chan_rx) in renesas_sdhi_sys_dmac_enable_dma()
112 if (host->chan_tx) in renesas_sdhi_sys_dmac_abort_dma()
113 dmaengine_terminate_sync(host->chan_tx); in renesas_sdhi_sys_dmac_abort_dma()
140 dma_unmap_sg(host->chan_tx->device->dev, in renesas_sdhi_sys_dmac_dma_callback()
216 chan = host->chan_tx; in renesas_sdhi_sys_dmac_start_dma_rx()
218 host->chan_tx = NULL; in renesas_sdhi_sys_dmac_start_dma_rx()
231 struct dma_chan *chan = host->chan_tx; in renesas_sdhi_sys_dmac_start_dma_tx()
289 host->chan_tx = NULL; in renesas_sdhi_sys_dmac_start_dma_tx()
309 if (host->chan_tx) in renesas_sdhi_sys_dmac_start_dma()
325 chan = host->chan_tx; in renesas_sdhi_sys_dmac_issue_tasklet_fn()
346 if (!host->chan_tx && !host->chan_rx) { in renesas_sdhi_sys_dmac_request_dma()
359 host->chan_tx = dma_request_slave_channel_compat(mask, in renesas_sdhi_sys_dmac_request_dma()
363 host->chan_tx); in renesas_sdhi_sys_dmac_request_dma()
365 if (!host->chan_tx) in renesas_sdhi_sys_dmac_request_dma()
375 ret = dmaengine_slave_config(host->chan_tx, &cfg); in renesas_sdhi_sys_dmac_request_dma()
418 dma_release_channel(host->chan_tx); in renesas_sdhi_sys_dmac_request_dma()
419 host->chan_tx = NULL; in renesas_sdhi_sys_dmac_request_dma()
424 if (host->chan_tx) { in renesas_sdhi_sys_dmac_release_dma()
425 struct dma_chan *chan = host->chan_tx; in renesas_sdhi_sys_dmac_release_dma()
427 host->chan_tx = NULL; in renesas_sdhi_sys_dmac_release_dma()