Lines Matching refs:dmach
202 struct dma_chan *dmach; /* Reserved DMA channel */ member
261 if (sdr->ch[i]->dmach) { in rcar_drif_release_dmachannels()
262 dma_release_channel(sdr->ch[i]->dmach); in rcar_drif_release_dmachannels()
263 sdr->ch[i]->dmach = NULL; in rcar_drif_release_dmachannels()
277 ch->dmach = dma_request_chan(&ch->pdev->dev, "rx"); in rcar_drif_alloc_dmachannels()
278 if (IS_ERR(ch->dmach)) { in rcar_drif_alloc_dmachannels()
279 ret = PTR_ERR(ch->dmach); in rcar_drif_alloc_dmachannels()
283 i, ch->dmach); in rcar_drif_alloc_dmachannels()
284 ch->dmach = NULL; in rcar_drif_alloc_dmachannels()
292 ret = dmaengine_slave_config(ch->dmach, &dma_cfg); in rcar_drif_alloc_dmachannels()
606 rxd = dmaengine_prep_dma_cyclic(ch->dmach, addr, in rcar_drif_qbuf()
624 dma_async_issue_pending(ch->dmach); in rcar_drif_qbuf()
693 dmaengine_terminate_sync(ch->dmach); in rcar_drif_stop_channel()