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

/linux-4.4.14/arch/mips/include/asm/mach-loongson64/
H A 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)); plat_map_dma_mem()
36 return phys_to_dma(dev, page_to_phys(page)); plat_map_dma_mem_page()
/linux-4.4.14/arch/mips/cavium-octeon/
H A Ddma-octeon.c209 dma_addr_t (*phys_to_dma)(struct device *dev, phys_addr_t paddr); member in struct:octeon_dma_map_ops
213 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) phys_to_dma() function
219 return ops->phys_to_dma(dev, paddr); phys_to_dma()
221 EXPORT_SYMBOL(phys_to_dma); variable
248 .phys_to_dma = octeon_unity_phys_to_dma,
342 _octeon_pci_dma_map_ops.phys_to_dma = octeon_gen2_phys_to_dma; octeon_pci_dma_init()
346 _octeon_pci_dma_map_ops.phys_to_dma = octeon_gen1_phys_to_dma; octeon_pci_dma_init()
350 _octeon_pci_dma_map_ops.phys_to_dma = octeon_big_phys_to_dma; octeon_pci_dma_init()
354 _octeon_pci_dma_map_ops.phys_to_dma = octeon_small_phys_to_dma; octeon_pci_dma_init()
/linux-4.4.14/arch/xtensa/include/asm/
H A Ddma-mapping.h38 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) phys_to_dma() function
/linux-4.4.14/arch/ia64/include/asm/
H A Ddma-mapping.h38 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) phys_to_dma() function
/linux-4.4.14/arch/x86/include/asm/
H A 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) phys_to_dma() function
/linux-4.4.14/arch/unicore32/include/asm/
H A Ddma-mapping.h41 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) phys_to_dma() function
/linux-4.4.14/arch/mips/include/asm/mach-cavium-octeon/
H A 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/
H A Ddma-coherence.h62 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) phys_to_dma() function
/linux-4.4.14/arch/arm64/include/asm/
H A Ddma-mapping.h69 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) phys_to_dma() function
/linux-4.4.14/lib/
H A Dswiotlb.c138 return phys_to_dma(hwdev, virt_to_phys(address)); swiotlb_virt_to_bus()
544 dma_addr_t start_dma_addr = phys_to_dma(hwdev, io_tlb_start); map_single()
662 dev_addr = phys_to_dma(hwdev, paddr); swiotlb_alloc_coherent()
744 dma_addr_t dev_addr = phys_to_dma(dev, phys); swiotlb_map_page()
761 return phys_to_dma(dev, io_tlb_overflow_buffer); swiotlb_map_page()
764 dev_addr = phys_to_dma(dev, map); swiotlb_map_page()
769 return phys_to_dma(dev, io_tlb_overflow_buffer); swiotlb_map_page()
889 dma_addr_t dev_addr = phys_to_dma(hwdev, paddr); for_each_sg()
904 sg->dma_address = phys_to_dma(hwdev, map); for_each_sg()
987 return (dma_addr == phys_to_dma(hwdev, io_tlb_overflow_buffer)); swiotlb_dma_mapping_error()
1000 return phys_to_dma(hwdev, io_tlb_end - 1) <= mask; swiotlb_dma_supported()
/linux-4.4.14/arch/tile/include/asm/
H A Ddma-mapping.h50 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) phys_to_dma() function
/linux-4.4.14/arch/mips/loongson64/common/
H A Ddma-swiotlb.c101 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) phys_to_dma() function
/linux-4.4.14/arch/powerpc/include/asm/
H A Ddma-mapping.h148 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) phys_to_dma() function
/linux-4.4.14/arch/x86/pci/
H A Dsta2x11-fixup.c244 * phys_to_dma - Return the DMA AMBA address used for this STA2x11 device
248 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) phys_to_dma() function
/linux-4.4.14/drivers/crypto/marvell/
H A Dcesa.c353 engine->sram_dma = phys_to_dma(cesa->dev, mv_cesa_get_sram()
/linux-4.4.14/arch/arm/include/asm/
H A Ddma-mapping.h139 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) phys_to_dma() function
/linux-4.4.14/arch/arm64/mm/
H A Ddma-mapping.c110 *dma_handle = phys_to_dma(dev, page_to_phys(page)); __dma_alloc_coherent()
154 *dma_handle = phys_to_dma(dev, page_to_phys(page)); __dma_alloc()

Completed in 860 milliseconds