Searched refs:dev_is_dma_coherent (Results 1 – 9 of 9) sorted by relevance
223 if (!dev_is_dma_coherent(dev)) { in dma_direct_alloc()328 !dev_is_dma_coherent(dev) && in dma_direct_free()335 !dev_is_dma_coherent(dev)) { in dma_direct_free()410 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_device()429 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_cpu()438 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_cpu()536 return dev_is_dma_coherent(dev) || in dma_direct_can_mmap()646 return !dev_is_dma_coherent(dev) || in dma_direct_need_sync()
63 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()
474 dev->dma_skip_sync = dev_is_dma_coherent(dev); in dma_setup_need_sync()525 if (dev_is_dma_coherent(dev)) in dma_pgprot()
1600 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in swiotlb_map()
249 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in xen_swiotlb_map_page()274 if (!dev_is_dma_coherent(hwdev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in xen_swiotlb_unmap_page()295 if (!dev_is_dma_coherent(dev)) { in xen_swiotlb_sync_single_for_cpu()318 if (!dev_is_dma_coherent(dev)) { in xen_swiotlb_sync_single_for_device()
930 bool coherent = dev_is_dma_coherent(dev); in __iommu_dma_alloc_noncontiguous()1089 if (dev_is_dma_coherent(dev) && !dev_use_swiotlb(dev, size, dir)) in iommu_dma_sync_single_for_cpu()1093 if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_single_for_cpu()1104 if (dev_is_dma_coherent(dev) && !dev_use_swiotlb(dev, size, dir)) in iommu_dma_sync_single_for_device()1110 if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_single_for_device()1124 else if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_sg_for_cpu()1140 else if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_sg_for_device()1198 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_map_page()1235 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC) && !dev_is_dma_coherent(dev)) in iommu_dma_unmap_page()1385 int prot = dma_info_to_prot(dir, dev_is_dma_coherent(dev), attrs); in iommu_dma_map_sg()[all …]
237 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function244 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function277 if (dev_is_dma_coherent(dev) || dir == DMA_TO_DEVICE) in dma_kmalloc_safe()
116 !dev_is_dma_coherent(dev)); in xen_arch_need_swiotlb()
1031 dma_coherent = dev_is_dma_coherent(subs->dev->bus->sysdev); in uaudio_transfer_buffer_setup()1113 dma_coherent = dev_is_dma_coherent(subs->dev->bus->sysdev); in uaudio_endpoint_setup()1186 dma_coherent = dev_is_dma_coherent(subs->dev->bus->sysdev); in uaudio_event_ring_setup()