Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/dma/
H A Ddirect.c159 !dev_is_dma_coherent(dev)) in dma_direct_alloc()
169 (IS_ENABLED(CONFIG_DMA_DIRECT_REMAP) && !dev_is_dma_coherent(dev)))) in dma_direct_alloc()
178 !dev_is_dma_coherent(dev)) || in dma_direct_alloc()
221 !dev_is_dma_coherent(dev)) { in dma_direct_alloc()
256 !dev_is_dma_coherent(dev)) { in dma_direct_free()
346 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_device()
365 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_cpu()
376 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_cpu()
444 return dev_is_dma_coherent(dev) || in dma_direct_can_mmap()
502 return !dev_is_dma_coherent(de in dma_direct_need_sync()
[all...]
H A Ddirect.h62 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_single_for_device()
71 if (!dev_is_dma_coherent(dev)) { in dma_direct_sync_single_for_cpu()
103 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in dma_direct_map_page()
H A Dswiotlb.c730 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in swiotlb_map()
H A Dmapping.c345 if (dev_is_dma_coherent(dev)) in dma_pgprot()
/kernel/linux/linux-6.6/kernel/dma/
H A Ddirect.h63 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_single_for_device()
72 if (!dev_is_dma_coherent(dev)) { in dma_direct_sync_single_for_cpu()
110 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in dma_direct_map_page()
H A Ddirect.c222 if (!dev_is_dma_coherent(dev)) { in dma_direct_alloc()
336 !dev_is_dma_coherent(dev) && in dma_direct_free()
343 !dev_is_dma_coherent(dev)) { in dma_direct_free()
421 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_device()
440 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_cpu()
451 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_cpu()
550 return dev_is_dma_coherent(dev) || in dma_direct_can_mmap()
612 return !dev_is_dma_coherent(dev) || in dma_direct_need_sync()
H A Dmapping.c421 if (dev_is_dma_coherent(dev)) in dma_pgprot()
H A Dswiotlb.c1471 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in swiotlb_map()
/kernel/linux/linux-5.10/arch/mips/include/asm/
H A Ddma-coherence.h24 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function
/kernel/linux/linux-5.10/drivers/iommu/
H A Ddma-iommu.c591 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_alloc_remap()
680 if (dev_is_dma_coherent(dev)) in iommu_dma_sync_single_for_cpu()
692 if (dev_is_dma_coherent(dev)) in iommu_dma_sync_single_for_device()
706 if (dev_is_dma_coherent(dev)) in iommu_dma_sync_sg_for_cpu()
720 if (dev_is_dma_coherent(dev)) in iommu_dma_sync_sg_for_device()
732 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_map_page()
840 int prot = dma_info_to_prot(dir, dev_is_dma_coherent(dev), attrs); in iommu_dma_map_sg()
990 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_alloc_pages()
1027 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_alloc()
/kernel/linux/linux-5.10/drivers/xen/
H A Dswiotlb-xen.c415 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in xen_swiotlb_map_page()
439 if (!dev_is_dma_coherent(hwdev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in xen_swiotlb_unmap_page()
457 if (!dev_is_dma_coherent(dev)) { in xen_swiotlb_sync_single_for_cpu()
477 if (!dev_is_dma_coherent(dev)) { in xen_swiotlb_sync_single_for_device()
/kernel/linux/linux-6.6/drivers/xen/
H A Dswiotlb-xen.c236 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in xen_swiotlb_map_page()
260 if (!dev_is_dma_coherent(hwdev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in xen_swiotlb_unmap_page()
278 if (!dev_is_dma_coherent(dev)) { in xen_swiotlb_sync_single_for_cpu()
298 if (!dev_is_dma_coherent(dev)) { in xen_swiotlb_sync_single_for_device()
/kernel/linux/linux-6.6/drivers/iommu/
H A Ddma-iommu.c841 bool coherent = dev_is_dma_coherent(dev); in __iommu_dma_alloc_noncontiguous()
970 if (dev_is_dma_coherent(dev) && !dev_use_swiotlb(dev, size, dir)) in iommu_dma_sync_single_for_cpu()
974 if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_single_for_cpu()
986 if (dev_is_dma_coherent(dev) && !dev_use_swiotlb(dev, size, dir)) in iommu_dma_sync_single_for_device()
993 if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_single_for_device()
1008 else if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_sg_for_cpu()
1025 else if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_sg_for_device()
1035 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_map_page()
1097 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC) && !dev_is_dma_coherent(dev)) in iommu_dma_unmap_page()
1248 int prot = dma_info_to_prot(dir, dev_is_dma_coherent(de in iommu_dma_map_sg()
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Ddma-map-ops.h262 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function
269 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function
293 if (dev_is_dma_coherent(dev) || dir == DMA_TO_DEVICE) in dma_kmalloc_safe()
/kernel/linux/linux-5.10/arch/arm/xen/
H A Dmm.c118 !dev_is_dma_coherent(dev)); in xen_arch_need_swiotlb()
/kernel/linux/linux-6.6/arch/arm/xen/
H A Dmm.c116 !dev_is_dma_coherent(dev)); in xen_arch_need_swiotlb()
/kernel/linux/linux-5.10/include/linux/
H A Ddma-map-ops.h237 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function
242 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function

Completed in 22 milliseconds