Home
last modified time | relevance | path

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

/Linux-v5.15/kernel/dma/
Ddirect.c179 !dev_is_dma_coherent(dev) && in dma_direct_alloc()
184 !dev_is_dma_coherent(dev)) in dma_direct_alloc()
198 !dev_is_dma_coherent(dev))) && in dma_direct_alloc()
208 !dev_is_dma_coherent(dev)) || in dma_direct_alloc()
251 !dev_is_dma_coherent(dev)) { in dma_direct_alloc()
289 !dev_is_dma_coherent(dev) && in dma_direct_free()
296 !dev_is_dma_coherent(dev)) { in dma_direct_free()
390 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_device()
409 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_cpu()
420 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_cpu()
[all …]
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()
Dswiotlb.c694 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in swiotlb_map()
Dmapping.c416 if (dev_is_dma_coherent(dev)) in dma_pgprot()
/Linux-v5.15/drivers/iommu/
Ddma-iommu.c675 bool coherent = dev_is_dma_coherent(dev); in __iommu_dma_alloc_noncontiguous()
797 if (dev_is_dma_coherent(dev) && !dev_is_untrusted(dev)) in iommu_dma_sync_single_for_cpu()
801 if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_single_for_cpu()
813 if (dev_is_dma_coherent(dev) && !dev_is_untrusted(dev)) in iommu_dma_sync_single_for_device()
820 if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_single_for_device()
831 if (dev_is_dma_coherent(dev) && !dev_is_untrusted(dev)) in iommu_dma_sync_sg_for_cpu()
835 if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_sg_for_cpu()
851 if (dev_is_dma_coherent(dev) && !dev_is_untrusted(dev)) in iommu_dma_sync_sg_for_device()
859 if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_sg_for_device()
869 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_map_page()
[all …]
/Linux-v5.15/drivers/xen/
Dswiotlb-xen.c400 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in xen_swiotlb_map_page()
424 if (!dev_is_dma_coherent(hwdev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in xen_swiotlb_unmap_page()
442 if (!dev_is_dma_coherent(dev)) { in xen_swiotlb_sync_single_for_cpu()
462 if (!dev_is_dma_coherent(dev)) { in xen_swiotlb_sync_single_for_device()
/Linux-v5.15/arch/arm/xen/
Dmm.c118 !dev_is_dma_coherent(dev)); in xen_arch_need_swiotlb()
/Linux-v5.15/include/linux/
Ddma-map-ops.h253 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function
258 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function