Home
last modified time | relevance | path

Searched refs:is_swiotlb_buffer (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/kernel/dma/
H A Ddirect.h60 if (unlikely(is_swiotlb_buffer(dev, paddr))) in dma_direct_sync_single_for_device()
77 if (unlikely(is_swiotlb_buffer(dev, paddr))) in dma_direct_sync_single_for_cpu()
123 if (unlikely(is_swiotlb_buffer(dev, phys))) in dma_direct_unmap_page()
H A Ddirect.c418 if (unlikely(is_swiotlb_buffer(dev, paddr))) in dma_direct_sync_sg_for_device()
444 if (unlikely(is_swiotlb_buffer(dev, paddr))) in dma_direct_sync_sg_for_cpu()
614 is_swiotlb_buffer(dev, dma_to_phys(dev, dma_addr)); in dma_direct_need_sync()
H A Dswiotlb.c1681 if (!is_swiotlb_buffer(dev, tlb_addr)) in swiotlb_free()
/openbmc/linux/include/linux/
H A Dswiotlb.h168 static inline bool is_swiotlb_buffer(struct device *dev, phys_addr_t paddr) in is_swiotlb_buffer() function
219 static inline bool is_swiotlb_buffer(struct device *dev, phys_addr_t paddr) in is_swiotlb_buffer() function
/openbmc/linux/drivers/iommu/
H A Ddma-iommu.c977 if (is_swiotlb_buffer(dev, phys)) in iommu_dma_sync_single_for_cpu()
990 if (is_swiotlb_buffer(dev, phys)) in iommu_dma_sync_single_for_device()
1082 if (iova == DMA_MAPPING_ERROR && is_swiotlb_buffer(dev, phys)) in iommu_dma_map_page()
1102 if (unlikely(is_swiotlb_buffer(dev, phys))) in iommu_dma_unmap_page()
/openbmc/linux/drivers/xen/
H A Dswiotlb-xen.c108 return is_swiotlb_buffer(dev, paddr); in is_xen_swiotlb_buffer()