Home
last modified time | relevance | path

Searched refs:dev_is_dma_coherent (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/kernel/dma/
Ddirect.c222 if (!dev_is_dma_coherent(dev)) { in dma_direct_alloc()
327 !dev_is_dma_coherent(dev) && in dma_direct_free()
334 !dev_is_dma_coherent(dev)) { in dma_direct_free()
409 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_device()
428 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_cpu()
437 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_cpu()
536 return dev_is_dma_coherent(dev) || in dma_direct_can_mmap()
638 return !dev_is_dma_coherent(dev) || in dma_direct_need_sync()
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()
109 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in dma_direct_map_page()
Dmapping.c455 dev->dma_skip_sync = dev_is_dma_coherent(dev); in dma_setup_need_sync()
506 if (dev_is_dma_coherent(dev)) in dma_pgprot()
Dswiotlb.c1600 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in swiotlb_map()
/linux-6.12.1/drivers/xen/
Dswiotlb-xen.c244 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in xen_swiotlb_map_page()
269 if (!dev_is_dma_coherent(hwdev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in xen_swiotlb_unmap_page()
290 if (!dev_is_dma_coherent(dev)) { in xen_swiotlb_sync_single_for_cpu()
313 if (!dev_is_dma_coherent(dev)) { in xen_swiotlb_sync_single_for_device()
/linux-6.12.1/drivers/iommu/
Ddma-iommu.c948 bool coherent = dev_is_dma_coherent(dev); in __iommu_dma_alloc_noncontiguous()
1107 if (dev_is_dma_coherent(dev) && !dev_use_swiotlb(dev, size, dir)) in iommu_dma_sync_single_for_cpu()
1111 if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_single_for_cpu()
1122 if (dev_is_dma_coherent(dev) && !dev_use_swiotlb(dev, size, dir)) in iommu_dma_sync_single_for_device()
1128 if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_single_for_device()
1142 else if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_sg_for_cpu()
1158 else if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_sg_for_device()
1168 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_map_page()
1233 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC) && !dev_is_dma_coherent(dev)) in iommu_dma_unmap_page()
1383 int prot = dma_info_to_prot(dir, dev_is_dma_coherent(dev), attrs); in iommu_dma_map_sg()
[all …]
/linux-6.12.1/include/linux/
Ddma-map-ops.h234 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function
241 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function
274 if (dev_is_dma_coherent(dev) || dir == DMA_TO_DEVICE) in dma_kmalloc_safe()
/linux-6.12.1/arch/arm/xen/
Dmm.c116 !dev_is_dma_coherent(dev)); in xen_arch_need_swiotlb()