Home
last modified time | relevance | path

Searched refs:dma_to_phys (Results 1 – 16 of 16) sorted by relevance

/linux-4.1.27/arch/mips/cavium-octeon/
Ddma-octeon.c218 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/
Ddma-mapping.c126 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/
Ddma-coherence.h21 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/
Ddma-mapping.h74 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/
Ddma-coherence.h65 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr);
/linux-4.1.27/arch/mips/include/asm/mach-generic/
Ddma-coherence.h67 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/
Dpci-swiotlb.c35 if (is_swiotlb_buffer(dma_to_phys(dev, dma_addr))) in x86_swiotlb_free_coherent()
/linux-4.1.27/arch/ia64/include/asm/
Ddma-mapping.h93 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/
Ddma-mapping.h68 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/
Ddma-swiotlb.c118 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/
Ddma-mapping.h70 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/
Ddma-mapping.h55 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/
Dswiotlb.c688 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/
Ddma-mapping.h208 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/
Ddma-mapping.h143 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/
Dsta2x11-fixup.c260 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() function