/linux-4.4.14/arch/mips/cavium-octeon/ |
D | dma-octeon.c | 210 phys_addr_t (*dma_to_phys)(struct device *dev, dma_addr_t daddr); member 223 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() function 229 return ops->dma_to_phys(dev, daddr); in dma_to_phys() 231 EXPORT_SYMBOL(dma_to_phys); 249 .dma_to_phys = octeon_unity_dma_to_phys 343 _octeon_pci_dma_map_ops.dma_to_phys = octeon_gen2_dma_to_phys; in octeon_pci_dma_init() 347 _octeon_pci_dma_map_ops.dma_to_phys = octeon_gen1_dma_to_phys; in octeon_pci_dma_init() 351 _octeon_pci_dma_map_ops.dma_to_phys = octeon_big_dma_to_phys; in octeon_pci_dma_init() 355 _octeon_pci_dma_map_ops.dma_to_phys = octeon_small_dma_to_phys; in octeon_pci_dma_init()
|
/linux-4.4.14/arch/mips/include/asm/mach-loongson64/ |
D | dma-coherence.h | 21 extern phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr); 46 return dma_to_phys(dev, dma_addr); in plat_dma_addr_to_phys()
|
/linux-4.4.14/arch/arm64/mm/ |
D | dma-mapping.c | 124 phys_addr_t paddr = dma_to_phys(dev, dma_handle); in __dma_free_coherent() 190 void *swiotlb_addr = phys_to_virt(dma_to_phys(dev, dma_handle)); in __dma_free() 211 __dma_map_area(phys_to_virt(dma_to_phys(dev, dev_addr)), size, dir); in __swiotlb_map_page() 222 __dma_unmap_area(phys_to_virt(dma_to_phys(dev, dev_addr)), size, dir); in __swiotlb_unmap_page() 236 __dma_map_area(phys_to_virt(dma_to_phys(dev, sg->dma_address)), in __swiotlb_map_sg_attrs() 252 __dma_unmap_area(phys_to_virt(dma_to_phys(dev, sg->dma_address)), in __swiotlb_unmap_sg_attrs() 262 __dma_unmap_area(phys_to_virt(dma_to_phys(dev, dev_addr)), size, dir); in __swiotlb_sync_single_for_cpu() 272 __dma_map_area(phys_to_virt(dma_to_phys(dev, dev_addr)), size, dir); in __swiotlb_sync_single_for_device() 284 __dma_unmap_area(phys_to_virt(dma_to_phys(dev, sg->dma_address)), in __swiotlb_sync_sg_for_cpu() 299 __dma_map_area(phys_to_virt(dma_to_phys(dev, sg->dma_address)), in __swiotlb_sync_sg_for_device() [all …]
|
/linux-4.4.14/arch/x86/include/asm/ |
D | dma-mapping.h | 62 extern phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr); 78 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() function
|
/linux-4.4.14/arch/xtensa/include/asm/ |
D | dma-mapping.h | 43 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() function
|
/linux-4.4.14/arch/ia64/include/asm/ |
D | dma-mapping.h | 43 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() function
|
/linux-4.4.14/arch/mips/include/asm/mach-cavium-octeon/ |
D | dma-coherence.h | 65 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr);
|
/linux-4.4.14/arch/mips/include/asm/mach-generic/ |
D | dma-coherence.h | 67 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() function
|
/linux-4.4.14/arch/unicore32/include/asm/ |
D | dma-mapping.h | 46 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() function
|
/linux-4.4.14/arch/arm64/include/asm/ |
D | dma-mapping.h | 74 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dev_addr) in dma_to_phys() function
|
/linux-4.4.14/arch/x86/kernel/ |
D | pci-swiotlb.c | 42 if (is_swiotlb_buffer(dma_to_phys(dev, dma_addr))) in x86_swiotlb_free_coherent()
|
/linux-4.4.14/arch/tile/include/asm/ |
D | dma-mapping.h | 55 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() function
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | dma-mapping.h | 153 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() function
|
/linux-4.4.14/arch/mips/loongson64/common/ |
D | dma-swiotlb.c | 113 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() function
|
/linux-4.4.14/arch/arm/include/asm/ |
D | dma-mapping.h | 145 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dev_addr) in dma_to_phys() function
|
/linux-4.4.14/lib/ |
D | swiotlb.c | 695 phys_addr_t paddr = dma_to_phys(hwdev, dev_addr); in swiotlb_free_coherent() 787 phys_addr_t paddr = dma_to_phys(hwdev, dev_addr); in unmap_single() 831 phys_addr_t paddr = dma_to_phys(hwdev, dev_addr); in swiotlb_sync_single()
|
/linux-4.4.14/arch/x86/pci/ |
D | sta2x11-fixup.c | 260 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() function
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
D | gk20a.c | 145 pages[0] = pfn_to_page(dma_to_phys(dev, node->handle) >> PAGE_SHIFT); in gk20a_instobj_cpu_map_dma()
|