Lines Matching refs:chan_rx
99 if (!host->chan_tx || !host->chan_rx) in renesas_sdhi_sys_dmac_enable_dma()
110 if (host->chan_rx) in renesas_sdhi_sys_dmac_abort_dma()
111 dmaengine_terminate_sync(host->chan_rx); in renesas_sdhi_sys_dmac_abort_dma()
136 dma_unmap_sg(host->chan_rx->device->dev, in renesas_sdhi_sys_dmac_dma_callback()
159 struct dma_chan *chan = host->chan_rx; in renesas_sdhi_sys_dmac_start_dma_rx()
213 host->chan_rx = NULL; in renesas_sdhi_sys_dmac_start_dma_rx()
293 chan = host->chan_rx; in renesas_sdhi_sys_dmac_start_dma_tx()
295 host->chan_rx = NULL; in renesas_sdhi_sys_dmac_start_dma_tx()
307 if (host->chan_rx) in renesas_sdhi_sys_dmac_start_dma()
324 chan = host->chan_rx; in renesas_sdhi_sys_dmac_issue_tasklet_fn()
347 if (!host->chan_tx && !host->chan_rx) { in renesas_sdhi_sys_dmac_request_dma()
380 host->chan_rx = dma_request_slave_channel_compat(mask, in renesas_sdhi_sys_dmac_request_dma()
384 host->chan_rx); in renesas_sdhi_sys_dmac_request_dma()
386 if (!host->chan_rx) in renesas_sdhi_sys_dmac_request_dma()
395 ret = dmaengine_slave_config(host->chan_rx, &cfg); in renesas_sdhi_sys_dmac_request_dma()
415 dma_release_channel(host->chan_rx); in renesas_sdhi_sys_dmac_request_dma()
416 host->chan_rx = NULL; in renesas_sdhi_sys_dmac_request_dma()
431 if (host->chan_rx) { in renesas_sdhi_sys_dmac_release_dma()
432 struct dma_chan *chan = host->chan_rx; in renesas_sdhi_sys_dmac_release_dma()
434 host->chan_rx = NULL; in renesas_sdhi_sys_dmac_release_dma()