Home
last modified time | relevance | path

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

/linux-4.4.14/arch/mips/cavium-octeon/
Ddma-octeon.c209 dma_addr_t (*phys_to_dma)(struct device *dev, phys_addr_t paddr); member
213 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
219 return ops->phys_to_dma(dev, paddr); in phys_to_dma()
221 EXPORT_SYMBOL(phys_to_dma);
248 .phys_to_dma = octeon_unity_phys_to_dma,
342 _octeon_pci_dma_map_ops.phys_to_dma = octeon_gen2_phys_to_dma; in octeon_pci_dma_init()
346 _octeon_pci_dma_map_ops.phys_to_dma = octeon_gen1_phys_to_dma; in octeon_pci_dma_init()
350 _octeon_pci_dma_map_ops.phys_to_dma = octeon_big_phys_to_dma; in octeon_pci_dma_init()
354 _octeon_pci_dma_map_ops.phys_to_dma = octeon_small_phys_to_dma; in octeon_pci_dma_init()
/linux-4.4.14/arch/mips/include/asm/mach-loongson64/
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.4.14/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()
744 dma_addr_t dev_addr = phys_to_dma(dev, phys); in swiotlb_map_page()
761 return phys_to_dma(dev, io_tlb_overflow_buffer); in swiotlb_map_page()
764 dev_addr = phys_to_dma(dev, map); in swiotlb_map_page()
769 return phys_to_dma(dev, io_tlb_overflow_buffer); in swiotlb_map_page()
889 dma_addr_t dev_addr = phys_to_dma(hwdev, paddr); in swiotlb_map_sg_attrs()
904 sg->dma_address = phys_to_dma(hwdev, map); in swiotlb_map_sg_attrs()
987 return (dma_addr == phys_to_dma(hwdev, io_tlb_overflow_buffer)); in swiotlb_dma_mapping_error()
[all …]
/linux-4.4.14/arch/x86/include/asm/
Ddma-mapping.h61 extern dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr);
73 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
/linux-4.4.14/arch/xtensa/include/asm/
Ddma-mapping.h38 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
/linux-4.4.14/arch/ia64/include/asm/
Ddma-mapping.h38 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
/linux-4.4.14/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.4.14/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.4.14/arch/unicore32/include/asm/
Ddma-mapping.h41 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
/linux-4.4.14/arch/arm64/include/asm/
Ddma-mapping.h69 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
/linux-4.4.14/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.4.14/arch/powerpc/include/asm/
Ddma-mapping.h148 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
/linux-4.4.14/arch/mips/loongson64/common/
Ddma-swiotlb.c101 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
/linux-4.4.14/arch/arm/include/asm/
Ddma-mapping.h139 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
/linux-4.4.14/arch/x86/pci/
Dsta2x11-fixup.c248 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
/linux-4.4.14/arch/arm64/mm/
Ddma-mapping.c110 *dma_handle = phys_to_dma(dev, page_to_phys(page)); in __dma_alloc_coherent()
154 *dma_handle = phys_to_dma(dev, page_to_phys(page)); in __dma_alloc()
/linux-4.4.14/drivers/crypto/marvell/
Dcesa.c353 engine->sram_dma = phys_to_dma(cesa->dev, in mv_cesa_get_sram()