Searched refs:get_dma_offset (Results 1 – 4 of 4) sorted by relevance
46 u64 limit = get_dma_offset(dev) + (memblock_end_of_DRAM() - 1); in dma_nommu_dma_supported()74 *dma_handle += get_dma_offset(dev); in __dma_nommu_alloc_coherent()113 *dma_handle = __pa(ret) + get_dma_offset(dev); in __dma_nommu_alloc_coherent()201 sg->dma_address = sg_phys(sg) + get_dma_offset(dev); in dma_nommu_map_sg()223 end = memblock_end_of_DRAM() + get_dma_offset(dev); in dma_nommu_get_required_mask()241 return page_to_phys(page) + offset + get_dma_offset(dev); in dma_nommu_map_page()
34 end += get_dma_offset(dev); in swiotlb_powerpc_get_required()
22 return paddr + get_dma_offset(dev); in __phys_to_dma()27 return daddr - get_dma_offset(dev); in __dma_to_phys()
96 static inline dma_addr_t get_dma_offset(struct device *dev) in get_dma_offset() function