Lines Matching refs:dmach
197 struct dma_chan *dmach; /* Reserved DMA channel */ member
256 if (sdr->ch[i]->dmach) { in rcar_drif_release_dmachannels()
257 dma_release_channel(sdr->ch[i]->dmach); in rcar_drif_release_dmachannels()
258 sdr->ch[i]->dmach = NULL; in rcar_drif_release_dmachannels()
272 ch->dmach = dma_request_chan(&ch->pdev->dev, "rx"); in rcar_drif_alloc_dmachannels()
273 if (IS_ERR(ch->dmach)) { in rcar_drif_alloc_dmachannels()
274 ret = PTR_ERR(ch->dmach); in rcar_drif_alloc_dmachannels()
278 i, ch->dmach); in rcar_drif_alloc_dmachannels()
279 ch->dmach = NULL; in rcar_drif_alloc_dmachannels()
287 ret = dmaengine_slave_config(ch->dmach, &dma_cfg); in rcar_drif_alloc_dmachannels()
601 rxd = dmaengine_prep_dma_cyclic(ch->dmach, addr, in rcar_drif_qbuf()
619 dma_async_issue_pending(ch->dmach); in rcar_drif_qbuf()
688 dmaengine_terminate_sync(ch->dmach); in rcar_drif_stop_channel()