Searched refs:chan2dmadev (Results 1 – 1 of 1) sorted by relevance
98 static struct device *chan2dmadev(struct dma_chan *chan) in chan2dmadev() function342 td_desc->txd.phys = dma_map_single(chan2dmadev(chan), in td_alloc_init_desc()345 err = dma_mapping_error(chan2dmadev(chan), td_desc->txd.phys); in td_alloc_init_desc()363 dma_unmap_single(chan2dmadev(td_desc->txd.chan), td_desc->txd.phys, in td_free_desc()539 dma_sync_single_for_device(chan2dmadev(chan), td_desc->txd.phys, in td_prep_slave_sg()