/linux-4.4.14/arch/mips/include/asm/mach-loongson64/ |
H A D | dma-coherence.h | 20 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 D | dma-octeon.c | 209 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 D | dma-mapping.h | 38 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 D | dma-mapping.h | 38 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 D | dma-mapping.h | 61 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 D | dma-mapping.h | 41 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 D | dma-coherence.h | 64 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 D | dma-coherence.h | 62 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 D | dma-mapping.h | 69 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 D | swiotlb.c | 138 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 D | dma-mapping.h | 50 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 D | dma-swiotlb.c | 101 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 D | dma-mapping.h | 148 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 D | sta2x11-fixup.c | 244 * 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 D | cesa.c | 353 engine->sram_dma = phys_to_dma(cesa->dev, mv_cesa_get_sram()
|
/linux-4.4.14/arch/arm/include/asm/ |
H A D | dma-mapping.h | 139 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 D | dma-mapping.c | 110 *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()
|