Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Ddma-noncoherent.h13 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function
18 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function
30 if (dev_is_dma_coherent(dev)) in dma_alloc_need_uncached()
/Linux-v5.4/kernel/dma/
Ddirect.c233 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_single_for_device()
251 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_device()
267 if (!dev_is_dma_coherent(dev)) { in dma_direct_sync_single_for_cpu()
286 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_cpu()
294 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_cpu()
345 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in dma_direct_map_page()
Dmapping.c118 if (!dev_is_dma_coherent(dev)) { in dma_common_get_sgtable()
172 if (dev_is_dma_coherent(dev) || in dma_pgprot()
206 if (!dev_is_dma_coherent(dev)) { in dma_common_mmap()
238 (dev_is_dma_coherent(dev) || in dma_can_mmap()
/Linux-v5.4/drivers/xen/
Dswiotlb-xen.c407 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in xen_swiotlb_map_page()
427 if (!dev_is_dma_coherent(hwdev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in xen_swiotlb_unmap_page()
441 if (!dev_is_dma_coherent(dev)) in xen_swiotlb_sync_single_for_cpu()
457 if (!dev_is_dma_coherent(dev)) in xen_swiotlb_sync_single_for_device()
/Linux-v5.4/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.4/drivers/iommu/
Ddma-iommu.c571 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_alloc_remap()
658 if (dev_is_dma_coherent(dev)) in iommu_dma_sync_single_for_cpu()
670 if (dev_is_dma_coherent(dev)) in iommu_dma_sync_single_for_device()
684 if (dev_is_dma_coherent(dev)) in iommu_dma_sync_sg_for_cpu()
698 if (dev_is_dma_coherent(dev)) in iommu_dma_sync_sg_for_device()
710 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_map_page()
818 int prot = dma_info_to_prot(dir, dev_is_dma_coherent(dev), attrs); in iommu_dma_map_sg()
964 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_alloc_pages()
1001 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_alloc()
/Linux-v5.4/arch/arm/xen/
Dmm.c116 !dev_is_dma_coherent(dev)); in xen_arch_need_swiotlb()