| /Linux-v5.15/arch/mips/cavium-octeon/ |
| D | dma-octeon.c | 32 phys_addr_t (*dma_to_phys)(struct device *dev, dma_addr_t daddr); member 70 .dma_to_phys = octeon_gen1_dma_to_phys, 85 .dma_to_phys = octeon_gen2_dma_to_phys, 112 .dma_to_phys = octeon_big_dma_to_phys, 145 .dma_to_phys = octeon_small_dma_to_phys, 180 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() function 184 return octeon_pci_dma_ops->dma_to_phys(dev, daddr); in dma_to_phys()
|
| /Linux-v5.15/drivers/xen/ |
| D | swiotlb-xen.c | 75 return xen_bus_to_phys(dev, dma_to_phys(dev, dma_addr)); in xen_dma_to_phys() 94 unsigned long bfn = XEN_PFN_DOWN(dma_to_phys(dev, dma_addr)); in is_xen_swiotlb_buffer() 300 phys = dma_to_phys(hwdev, *dma_handle); in xen_swiotlb_alloc_coherent() 401 if (pfn_valid(PFN_DOWN(dma_to_phys(dev, dev_addr)))) in xen_swiotlb_map_page() 425 if (pfn_valid(PFN_DOWN(dma_to_phys(hwdev, dev_addr)))) in xen_swiotlb_unmap_page() 443 if (pfn_valid(PFN_DOWN(dma_to_phys(dev, dma_addr)))) in xen_swiotlb_sync_single_for_cpu() 463 if (pfn_valid(PFN_DOWN(dma_to_phys(dev, dma_addr)))) in xen_swiotlb_sync_single_for_device()
|
| /Linux-v5.15/kernel/dma/ |
| D | direct.h | 57 phys_addr_t paddr = dma_to_phys(dev, addr); in dma_direct_sync_single_for_device() 69 phys_addr_t paddr = dma_to_phys(dev, addr); in dma_direct_sync_single_for_cpu() 111 phys_addr_t phys = dma_to_phys(dev, addr); in dma_direct_unmap_page()
|
| D | direct.c | 36 return pfn_to_page(PHYS_PFN(dma_to_phys(dev, dma_addr))); in dma_direct_to_page() 60 *phys_limit = dma_to_phys(dev, dma_limit); in dma_direct_optimal_gfp_mask() 384 phys_addr_t paddr = dma_to_phys(dev, sg_dma_address(sg)); in dma_direct_sync_sg_for_device() 407 phys_addr_t paddr = dma_to_phys(dev, sg_dma_address(sg)); in dma_direct_sync_sg_for_cpu() 498 unsigned long pfn = PHYS_PFN(dma_to_phys(dev, dma_addr)); in dma_direct_mmap() 549 is_swiotlb_buffer(dev, dma_to_phys(dev, dma_addr)); in dma_direct_need_sync()
|
| /Linux-v5.15/arch/arm/xen/ |
| D | mm.c | 57 cflush.a.dev_bus_addr = dma_to_phys(dev, handle); in dma_cache_maint() 100 unsigned int bfn = XEN_PFN_DOWN(dma_to_phys(dev, dev_addr)); in xen_arch_need_swiotlb()
|
| /Linux-v5.15/arch/mips/loongson2ef/fuloong-2e/ |
| D | dma.c | 9 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) in dma_to_phys() function
|
| /Linux-v5.15/arch/mips/include/asm/ |
| D | dma-direct.h | 6 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr);
|
| /Linux-v5.15/arch/mips/loongson2ef/lemote-2f/ |
| D | dma.c | 9 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) in dma_to_phys() function
|
| /Linux-v5.15/arch/powerpc/include/asm/ |
| D | dma-direct.h | 10 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() function
|
| /Linux-v5.15/arch/mips/loongson64/ |
| D | dma.c | 16 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() function
|
| /Linux-v5.15/arch/mips/sgi-ip32/ |
| D | ip32-dma.c | 30 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) in dma_to_phys() function
|
| /Linux-v5.15/arch/arm/include/asm/ |
| D | dma-direct.h | 42 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dev_addr) in dma_to_phys() function
|
| /Linux-v5.15/arch/mips/bmips/ |
| D | dma.c | 55 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) in dma_to_phys() function
|
| /Linux-v5.15/include/linux/ |
| D | dma-direct.h | 77 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) in dma_to_phys() function
|
| /Linux-v5.15/arch/mips/pci/ |
| D | pci-ar2315.c | 179 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) in dma_to_phys() function
|
| D | pci-xtalk-bridge.c | 37 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) in dma_to_phys() function
|
| /Linux-v5.15/drivers/of/ |
| D | unittest.c | 917 paddr = dma_to_phys(&dev_bogus, expect_dma_addr); in of_unittest_dma_ranges_one()
|