Home
last modified time | relevance | path

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

/linux-4.4.14/arch/mips/cavium-octeon/
Ddma-octeon.c210 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/
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.4.14/arch/arm64/mm/
Ddma-mapping.c124 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/
Ddma-mapping.h62 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/
Ddma-mapping.h43 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/
Ddma-mapping.h43 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/
Ddma-coherence.h65 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr);
/linux-4.4.14/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.4.14/arch/unicore32/include/asm/
Ddma-mapping.h46 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/
Ddma-mapping.h74 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/
Dpci-swiotlb.c42 if (is_swiotlb_buffer(dma_to_phys(dev, dma_addr))) in x86_swiotlb_free_coherent()
/linux-4.4.14/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.4.14/arch/powerpc/include/asm/
Ddma-mapping.h153 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/
Ddma-swiotlb.c113 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/
Ddma-mapping.h145 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/
Dswiotlb.c695 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/
Dsta2x11-fixup.c260 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/
Dgk20a.c145 pages[0] = pfn_to_page(dma_to_phys(dev, node->handle) >> PAGE_SHIFT); in gk20a_instobj_cpu_map_dma()