Home
last modified time | relevance | path

Searched refs:dma_to_phys (Results 1 - 25 of 37) sorted by relevance

12

/kernel/linux/linux-6.6/arch/mips/cavium-octeon/
H A Ddma-octeon.c32 phys_addr_t (*dma_to_phys)(struct device *dev, dma_addr_t daddr); member
70 .dma_to_phys = octeon_gen1_dma_to_phys,
85 .dma_to_phys = octeon_gen2_dma_to_phys,
112 .dma_to_phys = octeon_big_dma_to_phys,
145 .dma_to_phys = octeon_small_dma_to_phys,
180 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() function
184 return octeon_pci_dma_ops->dma_to_phys(dev, daddr); in dma_to_phys()
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/
H A Ddma-octeon.c32 phys_addr_t (*dma_to_phys)(struct device *dev, dma_addr_t daddr); member
70 .dma_to_phys = octeon_gen1_dma_to_phys,
85 .dma_to_phys = octeon_gen2_dma_to_phys,
112 .dma_to_phys = octeon_big_dma_to_phys,
145 .dma_to_phys = octeon_small_dma_to_phys,
180 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() function
184 return octeon_pci_dma_ops->dma_to_phys(dev, daddr); in dma_to_phys()
/kernel/linux/linux-5.10/drivers/xen/
H A Dswiotlb-xen.c82 return xen_bus_to_phys(dev, dma_to_phys(dev, dma_addr)); in xen_dma_to_phys()
106 unsigned long bfn = XEN_PFN_DOWN(dma_to_phys(dev, dma_addr)); in is_xen_swiotlb_buffer()
315 phys = dma_to_phys(hwdev, *dma_handle); in xen_swiotlb_alloc_coherent()
416 if (pfn_valid(PFN_DOWN(dma_to_phys(dev, dev_addr)))) in xen_swiotlb_map_page()
440 if (pfn_valid(PFN_DOWN(dma_to_phys(hwdev, dev_addr)))) in xen_swiotlb_unmap_page()
458 if (pfn_valid(PFN_DOWN(dma_to_phys(dev, dma_addr)))) in xen_swiotlb_sync_single_for_cpu()
478 if (pfn_valid(PFN_DOWN(dma_to_phys(dev, dma_addr)))) in xen_swiotlb_sync_single_for_device()
/kernel/linux/linux-5.10/kernel/dma/
H A Ddirect.h57 phys_addr_t paddr = dma_to_phys(dev, addr); in dma_direct_sync_single_for_device()
69 phys_addr_t paddr = dma_to_phys(dev, addr); in dma_direct_sync_single_for_cpu()
111 phys_addr_t phys = dma_to_phys(dev, addr); in dma_direct_unmap_page()
H A Ddirect.c36 return pfn_to_page(PHYS_PFN(dma_to_phys(dev, dma_addr))); in dma_direct_to_page()
60 *phys_limit = dma_to_phys(dev, dma_limit); in dma_direct_optimal_gfp_mask()
340 phys_addr_t paddr = dma_to_phys(dev, sg_dma_address(sg)); in dma_direct_sync_sg_for_device()
363 phys_addr_t paddr = dma_to_phys(dev, sg_dma_address(sg)); in dma_direct_sync_sg_for_cpu()
454 unsigned long pfn = PHYS_PFN(dma_to_phys(dev, dma_addr)); in dma_direct_mmap()
503 is_swiotlb_buffer(dma_to_phys(dev, dma_addr)); in dma_direct_need_sync()
/kernel/linux/linux-6.6/kernel/dma/
H A Ddirect.h58 phys_addr_t paddr = dma_to_phys(dev, addr); in dma_direct_sync_single_for_device()
70 phys_addr_t paddr = dma_to_phys(dev, addr); in dma_direct_sync_single_for_cpu()
118 phys_addr_t phys = dma_to_phys(dev, addr); in dma_direct_unmap_page()
H A Ddirect.c36 return pfn_to_page(PHYS_PFN(dma_to_phys(dev, dma_addr))); in dma_direct_to_page()
61 *phys_limit = dma_to_phys(dev, dma_limit); in dma_direct_optimal_gfp_mask()
415 phys_addr_t paddr = dma_to_phys(dev, sg_dma_address(sg)); in dma_direct_sync_sg_for_device()
438 phys_addr_t paddr = dma_to_phys(dev, sg_dma_address(sg)); in dma_direct_sync_sg_for_cpu()
560 unsigned long pfn = PHYS_PFN(dma_to_phys(dev, dma_addr)); in dma_direct_mmap()
613 is_swiotlb_buffer(dev, dma_to_phys(dev, dma_addr)); in dma_direct_need_sync()
/kernel/linux/linux-6.6/drivers/xen/
H A Dswiotlb-xen.c74 return xen_bus_to_phys(dev, dma_to_phys(dev, dma_addr)); in xen_dma_to_phys()
93 unsigned long bfn = XEN_PFN_DOWN(dma_to_phys(dev, dma_addr)); in is_xen_swiotlb_buffer()
237 if (pfn_valid(PFN_DOWN(dma_to_phys(dev, dev_addr)))) in xen_swiotlb_map_page()
261 if (pfn_valid(PFN_DOWN(dma_to_phys(hwdev, dev_addr)))) in xen_swiotlb_unmap_page()
279 if (pfn_valid(PFN_DOWN(dma_to_phys(dev, dma_addr)))) in xen_swiotlb_sync_single_for_cpu()
299 if (pfn_valid(PFN_DOWN(dma_to_phys(dev, dma_addr)))) in xen_swiotlb_sync_single_for_device()
/kernel/linux/linux-5.10/arch/arm/xen/
H A Dmm.c57 cflush.a.dev_bus_addr = dma_to_phys(dev, handle); in dma_cache_maint()
100 unsigned int bfn = XEN_PFN_DOWN(dma_to_phys(dev, dev_addr)); in xen_arch_need_swiotlb()
/kernel/linux/linux-6.6/arch/arm/xen/
H A Dmm.c55 cflush.a.dev_bus_addr = dma_to_phys(dev, handle); in dma_cache_maint()
98 unsigned int bfn = XEN_PFN_DOWN(dma_to_phys(dev, dev_addr)); in xen_arch_need_swiotlb()
/kernel/linux/linux-5.10/arch/loongarch/include/asm/
H A Ddma-direct.h14 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr);
/kernel/linux/linux-5.10/arch/mips/include/asm/
H A Ddma-direct.h6 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr);
/kernel/linux/linux-6.6/arch/mips/include/asm/
H A Ddma-direct.h6 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr);
/kernel/linux/linux-6.6/arch/loongarch/include/asm/
H A Ddma-direct.h9 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr);
/kernel/linux/linux-5.10/arch/mips/loongson2ef/fuloong-2e/
H A Ddma.c9 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) in dma_to_phys() function
/kernel/linux/linux-6.6/arch/mips/loongson2ef/fuloong-2e/
H A Ddma.c9 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) in dma_to_phys() function
/kernel/linux/linux-5.10/arch/mips/loongson2ef/lemote-2f/
H A Ddma.c9 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) in dma_to_phys() function
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Ddma-direct.h10 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() function
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Ddma-direct.h10 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() function
/kernel/linux/linux-6.6/arch/mips/loongson2ef/lemote-2f/
H A Ddma.c9 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) in dma_to_phys() function
/kernel/linux/linux-5.10/arch/mips/sgi-ip32/
H A Dip32-dma.c30 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) in dma_to_phys() function
/kernel/linux/linux-6.6/arch/mips/sgi-ip32/
H A Dip32-dma.c30 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) in dma_to_phys() function
/kernel/linux/linux-5.10/arch/mips/loongson64/
H A Ddma.c16 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() function
/kernel/linux/linux-6.6/arch/mips/loongson64/
H A Ddma.c16 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() function
/kernel/linux/linux-5.10/arch/arm/include/asm/
H A Ddma-direct.h42 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dev_addr) in dma_to_phys() function

Completed in 13 milliseconds

12