/linux-4.1.27/arch/mips/cavium-octeon/ |
D | dma-octeon.c | 217 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/ |
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)); 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/ |
D | swiotlb.c | 138 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/ |
D | dma-mapping.h | 73 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/ |
D | dma-coherence.h | 64 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr);
|
/linux-4.1.27/arch/mips/include/asm/mach-generic/ |
D | dma-coherence.h | 62 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/ |
D | dma-mapping.h | 88 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/ |
D | dma-mapping.h | 63 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/ |
D | dma-swiotlb.c | 106 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/ |
D | dma-mapping.h | 65 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/ |
D | dma-mapping.h | 50 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/ |
D | dma-mapping.c | 112 *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/ |
D | dma-mapping.h | 203 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/ |
D | dma-mapping.h | 137 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/ |
D | sta2x11-fixup.c | 248 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
|