Lines Matching refs:chan2parent
136 static struct device *chan2parent(struct dma_chan *chan) in chan2parent() function
206 desc->txd.phys = dma_map_single(chan2parent(&dc->chan), &desc->hwdesc, in txx9dmac_desc_alloc()
251 dma_sync_single_for_cpu(chan2parent(&dc->chan), in txx9dmac_sync_desc_for_cpu()
254 dma_sync_single_for_cpu(chan2parent(&dc->chan), in txx9dmac_sync_desc_for_cpu()
428 dma_unmap_single(chan2parent(&dc->chan), in txx9dmac_descriptor_complete()
431 dma_unmap_page(chan2parent(&dc->chan), in txx9dmac_descriptor_complete()
438 dma_unmap_single(chan2parent(&dc->chan), in txx9dmac_descriptor_complete()
441 dma_unmap_page(chan2parent(&dc->chan), in txx9dmac_descriptor_complete()
466 dma_sync_single_for_device(chan2parent(&dc->chan), in txx9dmac_dequeue()
810 dma_sync_single_for_device(chan2parent(&dc->chan), in txx9dmac_prep_dma_memcpy()
823 dma_sync_single_for_device(chan2parent(&dc->chan), in txx9dmac_prep_dma_memcpy()
904 dma_sync_single_for_device(chan2parent(&dc->chan), in txx9dmac_prep_slave_sg()
918 dma_sync_single_for_device(chan2parent(&dc->chan), in txx9dmac_prep_slave_sg()
987 dma_sync_single_for_device(chan2parent(&dc->chan), in txx9dmac_chain_dynamic()
1103 dma_unmap_single(chan2parent(chan), desc->txd.phys, in txx9dmac_free_chan_resources()