Home
last modified time | relevance | path

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

/linux-6.3-rc2/kernel/dma/
A Ddirect.c223 if (!dev_is_dma_coherent(dev)) { in dma_direct_alloc()
337 !dev_is_dma_coherent(dev) && in dma_direct_free()
344 !dev_is_dma_coherent(dev)) { in dma_direct_free()
422 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_device()
441 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_cpu()
452 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_cpu()
551 return dev_is_dma_coherent(dev) || in dma_direct_can_mmap()
613 return !dev_is_dma_coherent(dev) || in dma_direct_need_sync()
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()
109 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in dma_direct_map_page()
A Dmapping.c417 if (dev_is_dma_coherent(dev)) in dma_pgprot()
A Dswiotlb.c899 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in swiotlb_map()
/linux-6.3-rc2/drivers/xen/
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()
/linux-6.3-rc2/drivers/iommu/
A Ddma-iommu.c796 bool coherent = dev_is_dma_coherent(dev); in __iommu_dma_alloc_noncontiguous()
925 if (dev_is_dma_coherent(dev) && !dev_use_swiotlb(dev)) in iommu_dma_sync_single_for_cpu()
929 if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_single_for_cpu()
941 if (dev_is_dma_coherent(dev) && !dev_use_swiotlb(dev)) in iommu_dma_sync_single_for_device()
948 if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_single_for_device()
963 else if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_sg_for_cpu()
980 else if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_sg_for_device()
990 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_map_page()
1198 int prot = dma_info_to_prot(dir, dev_is_dma_coherent(dev), attrs); in iommu_dma_map_sg()
1416 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_alloc_pages()
[all …]
/linux-6.3-rc2/arch/arm/xen/
A Dmm.c116 !dev_is_dma_coherent(dev)); in xen_arch_need_swiotlb()
/linux-6.3-rc2/include/linux/
A Ddma-map-ops.h267 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function
272 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function

Completed in 16 milliseconds