Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/kernel/dma/
H A Ddirect.c161 !dev_is_dma_coherent(dev)) in dma_direct_alloc()
171 (IS_ENABLED(CONFIG_DMA_DIRECT_REMAP) && !dev_is_dma_coherent(dev)))) in dma_direct_alloc()
180 !dev_is_dma_coherent(dev)) || in dma_direct_alloc()
223 !dev_is_dma_coherent(dev)) { in dma_direct_alloc()
258 !dev_is_dma_coherent(dev)) { in dma_direct_free()
348 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_device()
367 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_cpu()
378 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_cpu()
446 return dev_is_dma_coherent(dev) || in dma_direct_can_mmap()
504 return !dev_is_dma_coherent(dev) || in dma_direct_need_sync()
H A 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()
H A Dswiotlb.c730 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in swiotlb_map()
H A Dmapping.c345 if (dev_is_dma_coherent(dev)) in dma_pgprot()
/OK3568_Linux_fs/kernel/drivers/iommu/
H A Ddma-iommu.c666 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_alloc_remap()
755 if (dev_is_dma_coherent(dev)) in iommu_dma_sync_single_for_cpu()
767 if (dev_is_dma_coherent(dev)) in iommu_dma_sync_single_for_device()
781 if (dev_is_dma_coherent(dev)) in iommu_dma_sync_sg_for_cpu()
795 if (dev_is_dma_coherent(dev)) in iommu_dma_sync_sg_for_device()
807 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_map_page()
915 int prot = dma_info_to_prot(dir, dev_is_dma_coherent(dev), attrs); in iommu_dma_map_sg()
1065 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_alloc_pages()
1102 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_alloc()
/OK3568_Linux_fs/kernel/drivers/xen/
H A 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()
/OK3568_Linux_fs/kernel/arch/mips/include/asm/
H A Ddma-coherence.h24 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function
/OK3568_Linux_fs/kernel/arch/arm/xen/
H A Dmm.c118 !dev_is_dma_coherent(dev)); in xen_arch_need_swiotlb()
/OK3568_Linux_fs/kernel/include/linux/
H A Ddma-map-ops.h243 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function
248 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function
/OK3568_Linux_fs/kernel/arch/arm64/mm/
H A Ddma-mapping-noalias.c552 if (dev_is_dma_coherent(dev)) in arm64_noalias_setup_dma_ops()