Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/dma/
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()
258 !dev_is_dma_coherent(dev)) { in dma_direct_free()
350 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_device()
369 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_cpu()
380 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_cpu()
448 return dev_is_dma_coherent(dev) || in dma_direct_can_mmap()
506 return !dev_is_dma_coherent(dev) || in dma_direct_need_sync()
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.c687 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in swiotlb_map()
Dmapping.c345 if (dev_is_dma_coherent(dev)) in dma_pgprot()
/Linux-v5.10/arch/mips/include/asm/
Ddma-coherence.h24 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function
/Linux-v5.10/drivers/xen/
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()
/Linux-v5.10/drivers/iommu/
Ddma-iommu.c589 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_alloc_remap()
678 if (dev_is_dma_coherent(dev)) in iommu_dma_sync_single_for_cpu()
690 if (dev_is_dma_coherent(dev)) in iommu_dma_sync_single_for_device()
704 if (dev_is_dma_coherent(dev)) in iommu_dma_sync_sg_for_cpu()
718 if (dev_is_dma_coherent(dev)) in iommu_dma_sync_sg_for_device()
730 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_map_page()
838 int prot = dma_info_to_prot(dir, dev_is_dma_coherent(dev), attrs); in iommu_dma_map_sg()
988 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_alloc_pages()
1025 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_alloc()
/Linux-v5.10/arch/arm/xen/
Dmm.c118 !dev_is_dma_coherent(dev)); in xen_arch_need_swiotlb()
/Linux-v5.10/include/linux/
Ddma-map-ops.h234 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function
239 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function