Lines Matching refs:chan_rx
246 struct dma_chan *chan_rx; member
292 struct dma_chan *chan = host->chan_rx; in sh_mmcif_start_dma_rx()
319 host->chan_rx = NULL; in sh_mmcif_start_dma_rx()
373 chan = host->chan_rx; in sh_mmcif_start_dma_tx()
375 host->chan_rx = NULL; in sh_mmcif_start_dma_tx()
435 host->chan_rx = sh_mmcif_request_dma_pdata(host, in sh_mmcif_request_dma()
441 host->chan_rx = dma_request_chan(dev, "rx"); in sh_mmcif_request_dma()
442 if (IS_ERR(host->chan_rx)) in sh_mmcif_request_dma()
443 host->chan_rx = NULL; in sh_mmcif_request_dma()
446 host->chan_rx); in sh_mmcif_request_dma()
448 if (!host->chan_tx || !host->chan_rx || in sh_mmcif_request_dma()
450 sh_mmcif_dma_slave_config(host, host->chan_rx, DMA_DEV_TO_MEM)) in sh_mmcif_request_dma()
458 if (host->chan_rx) in sh_mmcif_request_dma()
459 dma_release_channel(host->chan_rx); in sh_mmcif_request_dma()
460 host->chan_tx = host->chan_rx = NULL; in sh_mmcif_request_dma()
472 if (host->chan_rx) { in sh_mmcif_release_dma()
473 struct dma_chan *chan = host->chan_rx; in sh_mmcif_release_dma()
474 host->chan_rx = NULL; in sh_mmcif_release_dma()
1123 if (host->chan_rx) in sh_mmcif_end_cmd()
1140 dma_unmap_sg(host->chan_rx->device->dev, in sh_mmcif_end_cmd()
1169 dmaengine_terminate_sync(host->chan_rx); in sh_mmcif_end_cmd()