Lines Matching refs:chan2parent
77 static struct device *chan2parent(struct dma_chan *chan) in chan2parent() function
120 dma_sync_single_for_cpu(chan2parent(&dwc->chan), in dwc_sync_desc_for_cpu()
123 dma_sync_single_for_cpu(chan2parent(&dwc->chan), in dwc_sync_desc_for_cpu()
220 dma_unmap_page(chan2parent(&dwc->chan), desc->lli.dar, in dwc_descriptor_complete()
223 dma_unmap_page(chan2parent(&dwc->chan), desc->lli.sar, in dwc_descriptor_complete()
528 dma_sync_single_for_device(chan2parent(chan), in dwc_prep_dma_memcpy()
543 dma_sync_single_for_device(chan2parent(chan), in dwc_prep_dma_memcpy()
582 sg_len = dma_map_sg(chan2parent(chan), sgl, sg_len, direction); in dwc_prep_slave_sg()
619 dma_sync_single_for_device(chan2parent(chan), in dwc_prep_slave_sg()
665 dma_sync_single_for_device(chan2parent(chan), in dwc_prep_slave_sg()
685 dma_sync_single_for_device(chan2parent(chan), in dwc_prep_slave_sg()
830 desc->txd.phys = dma_map_single(chan2parent(chan), &desc->lli, in dwc_alloc_chan_resources()
879 dma_unmap_single(chan2parent(chan), desc->txd.phys, in dwc_free_chan_resources()