Searched refs:dev_is_dma_coherent (Results 1 – 8 of 8) sorted by relevance
218 if (!dev_is_dma_coherent(dev)) { in dma_direct_alloc()323 !dev_is_dma_coherent(dev) && in dma_direct_free()330 !dev_is_dma_coherent(dev)) { in dma_direct_free()405 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_device()424 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_cpu()433 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_cpu()516 return dev_is_dma_coherent(dev) || in dma_direct_can_mmap()626 return !dev_is_dma_coherent(dev) || in dma_direct_need_sync()
480 dev->dma_skip_sync = dev_is_dma_coherent(dev); in dma_setup_need_sync()531 if (dev_is_dma_coherent(dev)) in dma_pgprot()
1598 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in swiotlb_map()
264 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in xen_swiotlb_map_phys()289 if (!dev_is_dma_coherent(hwdev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in xen_swiotlb_unmap_phys()310 if (!dev_is_dma_coherent(dev)) { in xen_swiotlb_sync_single_for_cpu()333 if (!dev_is_dma_coherent(dev)) { in xen_swiotlb_sync_single_for_device()
935 bool coherent = dev_is_dma_coherent(dev); in __iommu_dma_alloc_noncontiguous()1094 if (dev_is_dma_coherent(dev) && !dev_use_swiotlb(dev, size, dir)) in iommu_dma_sync_single_for_cpu()1098 if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_single_for_cpu()1109 if (dev_is_dma_coherent(dev) && !dev_use_swiotlb(dev, size, dir)) in iommu_dma_sync_single_for_device()1115 if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_single_for_device()1129 else if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_sg_for_cpu()1145 else if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_sg_for_device()1201 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_map_phys()1245 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC) && !dev_is_dma_coherent(dev)) in iommu_dma_unmap_phys()1395 int prot = dma_info_to_prot(dir, dev_is_dma_coherent(dev), attrs); in iommu_dma_map_sg()[all …]
231 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function238 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function271 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()
1033 dma_coherent = dev_is_dma_coherent(subs->dev->bus->sysdev); in uaudio_transfer_buffer_setup()1109 dma_coherent = dev_is_dma_coherent(subs->dev->bus->sysdev); in uaudio_endpoint_setup()1182 dma_coherent = dev_is_dma_coherent(subs->dev->bus->sysdev); in uaudio_event_ring_setup()