Home
last modified time | relevance | path

Searched refs:get_dma_offset (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/arch/powerpc/kernel/
Ddma.c46 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()
Ddma-swiotlb.c34 end += get_dma_offset(dev); in swiotlb_powerpc_get_required()
/Linux-v4.19/arch/powerpc/include/asm/
Ddma-direct.h22 return paddr + get_dma_offset(dev); in __phys_to_dma()
27 return daddr - get_dma_offset(dev); in __dma_to_phys()
Ddma-mapping.h96 static inline dma_addr_t get_dma_offset(struct device *dev) in get_dma_offset() function