Home
last modified time | relevance | path

Searched refs:phys_to_dma (Results 1 – 15 of 15) sorted by relevance

/linux-4.1.27/arch/mips/cavium-octeon/
Ddma-octeon.c217 dma_addr_t (*phys_to_dma)(struct device *dev, phys_addr_t paddr); member
221 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
227 return ops->phys_to_dma(dev, paddr); in phys_to_dma()
229 EXPORT_SYMBOL(phys_to_dma);
256 .phys_to_dma = octeon_unity_phys_to_dma,
350 _octeon_pci_dma_map_ops.phys_to_dma = octeon_gen2_phys_to_dma; in octeon_pci_dma_init()
354 _octeon_pci_dma_map_ops.phys_to_dma = octeon_gen1_phys_to_dma; in octeon_pci_dma_init()
358 _octeon_pci_dma_map_ops.phys_to_dma = octeon_big_phys_to_dma; in octeon_pci_dma_init()
362 _octeon_pci_dma_map_ops.phys_to_dma = octeon_small_phys_to_dma; in octeon_pci_dma_init()
/linux-4.1.27/arch/mips/include/asm/mach-loongson/
Ddma-coherence.h20 extern dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr);
26 return phys_to_dma(dev, virt_to_phys(addr)); in plat_map_dma_mem()
36 return phys_to_dma(dev, page_to_phys(page)); in plat_map_dma_mem_page()
/linux-4.1.27/lib/
Dswiotlb.c138 return phys_to_dma(hwdev, virt_to_phys(address)); in swiotlb_virt_to_bus()
544 dma_addr_t start_dma_addr = phys_to_dma(hwdev, io_tlb_start); in map_single()
662 dev_addr = phys_to_dma(hwdev, paddr); in swiotlb_alloc_coherent()
737 dma_addr_t dev_addr = phys_to_dma(dev, phys); in swiotlb_map_page()
754 return phys_to_dma(dev, io_tlb_overflow_buffer); in swiotlb_map_page()
757 dev_addr = phys_to_dma(dev, map); in swiotlb_map_page()
762 return phys_to_dma(dev, io_tlb_overflow_buffer); in swiotlb_map_page()
882 dma_addr_t dev_addr = phys_to_dma(hwdev, paddr); in swiotlb_map_sg_attrs()
897 sg->dma_address = phys_to_dma(hwdev, map); in swiotlb_map_sg_attrs()
980 return (dma_addr == phys_to_dma(hwdev, io_tlb_overflow_buffer)); in swiotlb_dma_mapping_error()
[all …]
/linux-4.1.27/arch/x86/include/asm/
Ddma-mapping.h73 extern dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr);
85 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
/linux-4.1.27/arch/mips/include/asm/mach-cavium-octeon/
Ddma-coherence.h64 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr);
/linux-4.1.27/arch/mips/include/asm/mach-generic/
Ddma-coherence.h62 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
/linux-4.1.27/arch/ia64/include/asm/
Ddma-mapping.h88 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
/linux-4.1.27/arch/unicore32/include/asm/
Ddma-mapping.h63 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
/linux-4.1.27/arch/mips/loongson/common/
Ddma-swiotlb.c106 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
/linux-4.1.27/arch/arm64/include/asm/
Ddma-mapping.h65 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
/linux-4.1.27/arch/tile/include/asm/
Ddma-mapping.h50 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
/linux-4.1.27/arch/arm64/mm/
Ddma-mapping.c112 *dma_handle = phys_to_dma(dev, page_to_phys(page)); in __dma_alloc_coherent()
155 *dma_handle = phys_to_dma(dev, page_to_phys(page)); in __dma_alloc()
/linux-4.1.27/arch/powerpc/include/asm/
Ddma-mapping.h203 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
/linux-4.1.27/arch/arm/include/asm/
Ddma-mapping.h137 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
/linux-4.1.27/arch/x86/pci/
Dsta2x11-fixup.c248 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function