/linux-4.1.27/arch/mips/cavium-octeon/ |
D | dma-octeon.c | 218 phys_addr_t (*dma_to_phys)(struct device *dev, dma_addr_t daddr); member 231 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() function 237 return ops->dma_to_phys(dev, daddr); in dma_to_phys() 239 EXPORT_SYMBOL(dma_to_phys); 257 .dma_to_phys = octeon_unity_dma_to_phys 351 _octeon_pci_dma_map_ops.dma_to_phys = octeon_gen2_dma_to_phys; in octeon_pci_dma_init() 355 _octeon_pci_dma_map_ops.dma_to_phys = octeon_gen1_dma_to_phys; in octeon_pci_dma_init() 359 _octeon_pci_dma_map_ops.dma_to_phys = octeon_big_dma_to_phys; in octeon_pci_dma_init() 363 _octeon_pci_dma_map_ops.dma_to_phys = octeon_small_dma_to_phys; in octeon_pci_dma_init()
|
/linux-4.1.27/arch/arm64/mm/ |
D | dma-mapping.c | 126 phys_addr_t paddr = dma_to_phys(dev, dma_handle); in __dma_free_coherent() 193 void *swiotlb_addr = phys_to_virt(dma_to_phys(dev, dma_handle)); in __dma_free() 214 __dma_map_area(phys_to_virt(dma_to_phys(dev, dev_addr)), size, dir); in __swiotlb_map_page() 225 __dma_unmap_area(phys_to_virt(dma_to_phys(dev, dev_addr)), size, dir); in __swiotlb_unmap_page() 239 __dma_map_area(phys_to_virt(dma_to_phys(dev, sg->dma_address)), in __swiotlb_map_sg_attrs() 255 __dma_unmap_area(phys_to_virt(dma_to_phys(dev, sg->dma_address)), in __swiotlb_unmap_sg_attrs() 265 __dma_unmap_area(phys_to_virt(dma_to_phys(dev, dev_addr)), size, dir); in __swiotlb_sync_single_for_cpu() 275 __dma_map_area(phys_to_virt(dma_to_phys(dev, dev_addr)), size, dir); in __swiotlb_sync_single_for_device() 287 __dma_unmap_area(phys_to_virt(dma_to_phys(dev, sg->dma_address)), in __swiotlb_sync_sg_for_cpu() 302 __dma_map_area(phys_to_virt(dma_to_phys(dev, sg->dma_address)), in __swiotlb_sync_sg_for_device() [all …]
|
/linux-4.1.27/arch/mips/include/asm/mach-loongson/ |
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.1.27/arch/x86/include/asm/ |
D | dma-mapping.h | 74 extern phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr); 90 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() function
|
/linux-4.1.27/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.1.27/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.1.27/arch/x86/kernel/ |
D | pci-swiotlb.c | 35 if (is_swiotlb_buffer(dma_to_phys(dev, dma_addr))) in x86_swiotlb_free_coherent()
|
/linux-4.1.27/arch/ia64/include/asm/ |
D | dma-mapping.h | 93 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() function
|
/linux-4.1.27/arch/unicore32/include/asm/ |
D | dma-mapping.h | 68 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() function
|
/linux-4.1.27/arch/mips/loongson/common/ |
D | dma-swiotlb.c | 118 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() function
|
/linux-4.1.27/arch/arm64/include/asm/ |
D | dma-mapping.h | 70 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dev_addr) in dma_to_phys() function
|
/linux-4.1.27/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.1.27/lib/ |
D | swiotlb.c | 688 phys_addr_t paddr = dma_to_phys(hwdev, dev_addr); in swiotlb_free_coherent() 780 phys_addr_t paddr = dma_to_phys(hwdev, dev_addr); in unmap_single() 824 phys_addr_t paddr = dma_to_phys(hwdev, dev_addr); in swiotlb_sync_single()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | dma-mapping.h | 208 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() function
|
/linux-4.1.27/arch/arm/include/asm/ |
D | dma-mapping.h | 143 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dev_addr) in dma_to_phys() function
|
/linux-4.1.27/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
|