Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/arch/mips/cavium-octeon/
H A Ddma-octeon.c31 dma_addr_t (*phys_to_dma)(struct device *dev, phys_addr_t paddr); member
69 .phys_to_dma = octeon_gen1_phys_to_dma,
84 .phys_to_dma = octeon_gen2_phys_to_dma,
111 .phys_to_dma = octeon_big_phys_to_dma,
144 .phys_to_dma = octeon_small_phys_to_dma,
171 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
175 return octeon_pci_dma_ops->phys_to_dma(dev, paddr); in phys_to_dma()
/OK3568_Linux_fs/kernel/include/linux/
H A Ddma-direct.h82 #define phys_to_dma_unencrypted phys_to_dma
99 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
134 min(addr, end) < phys_to_dma(dev, PFN_PHYS(min_low_pfn))) in dma_capable()
/OK3568_Linux_fs/kernel/arch/mips/loongson2ef/fuloong-2e/
H A Ddma.c4 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
/OK3568_Linux_fs/kernel/arch/mips/include/asm/
H A Ddma-direct.h5 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr);
/OK3568_Linux_fs/kernel/arch/mips/loongson2ef/lemote-2f/
H A Ddma.c4 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/
H A Ddma-direct.h5 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
/OK3568_Linux_fs/kernel/arch/mips/loongson64/
H A Ddma.c7 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
/OK3568_Linux_fs/kernel/arch/mips/sgi-ip32/
H A Dip32-dma.c21 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
/OK3568_Linux_fs/kernel/drivers/xen/
H A Dswiotlb-xen.c66 return phys_to_dma(dev, xen_phys_to_bus(dev, paddr)); in xen_phys_to_dma()
326 *dma_handle = phys_to_dma(hwdev, *dma_handle); in xen_swiotlb_alloc_coherent()
362 xen_free_coherent_pages(hwdev, size, vaddr, phys_to_dma(hwdev, phys), in xen_swiotlb_free_coherent()
/OK3568_Linux_fs/kernel/arch/arm/include/asm/
H A Ddma-direct.h36 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
/OK3568_Linux_fs/kernel/arch/mips/bmips/
H A Ddma.c43 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t pa) in phys_to_dma() function
/OK3568_Linux_fs/kernel/arch/arm64/mm/
H A Ddma-mapping-noalias.c193 bool bounce = !dma_capable(dev, phys_to_dma(dev, phys), size, true); in arm64_noalias_map_page()
197 return phys_to_dma(dev, phys); in arm64_noalias_map_page()
205 return phys_to_dma(dev, phys); in arm64_noalias_map_page()
/OK3568_Linux_fs/kernel/kernel/dma/
H A Ddirect.h88 dma_addr_t dma_addr = phys_to_dma(dev, phys); in dma_direct_map_page()
H A Dcoherent.c36 return phys_to_dma(dev, PFN_PHYS(mem->pfn_base)); in dma_get_device_base()
H A Ddirect.c30 return phys_to_dma(dev, phys); in phys_to_dma_direct()
H A Dswiotlb.c711 trace_swiotlb_bounced(dev, phys_to_dma(dev, paddr), size, in swiotlb_map()
/OK3568_Linux_fs/kernel/arch/mips/pci/
H A Dpci-ar2315.c173 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
H A Dpci-xtalk-bridge.c28 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() function
/OK3568_Linux_fs/kernel/drivers/of/
H A Dunittest.c924 dma_addr = phys_to_dma(dev_bogus, expect_paddr); in of_unittest_dma_ranges_one()