Searched refs:dma_to_pfn (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/arch/arm/include/asm/ |
D | dma-direct.h | 19 static inline unsigned long dma_to_pfn(struct device *dev, dma_addr_t addr) in dma_to_pfn() function 45 return __pfn_to_phys(dma_to_pfn(dev, dev_addr)) + offset; in dma_to_phys()
|
/linux-5.19.10/arch/arm/mm/ |
D | dma-mapping.c | 159 __dma_page_dev_to_cpu(pfn_to_page(dma_to_pfn(dev, handle)), in arm_dma_unmap_page() 167 struct page *page = pfn_to_page(dma_to_pfn(dev, handle-offset)); in arm_dma_sync_single_for_cpu() 175 struct page *page = pfn_to_page(dma_to_pfn(dev, handle-offset)); in arm_dma_sync_single_for_device() 193 return dma_to_pfn(dev, mask) >= max_dma_pfn; in arm_dma_supported() 768 unsigned long pfn = dma_to_pfn(dev, dma_addr); in __arm_dma_mmap() 809 struct page *page = pfn_to_page(dma_to_pfn(dev, handle)); in __arm_dma_free() 843 unsigned long pfn = dma_to_pfn(dev, handle); in arm_dma_get_sgtable()
|