Home
last modified time | relevance | path

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

/linux-5.19.10/kernel/dma/
Ddirect.h59 if (unlikely(is_swiotlb_buffer(dev, paddr))) in dma_direct_sync_single_for_device()
76 if (unlikely(is_swiotlb_buffer(dev, paddr))) in dma_direct_sync_single_for_cpu()
116 if (unlikely(is_swiotlb_buffer(dev, phys))) in dma_direct_unmap_page()
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()
583 is_swiotlb_buffer(dev, dma_to_phys(dev, dma_addr)); in dma_direct_need_sync()
Dswiotlb.c807 if (!is_swiotlb_buffer(dev, tlb_addr)) in swiotlb_free()
/linux-5.19.10/include/linux/
Dswiotlb.h113 static inline bool is_swiotlb_buffer(struct device *dev, phys_addr_t paddr) in is_swiotlb_buffer() function
137 static inline bool is_swiotlb_buffer(struct device *dev, phys_addr_t paddr) in is_swiotlb_buffer() function
/linux-5.19.10/drivers/iommu/
Ddma-iommu.c913 if (is_swiotlb_buffer(dev, phys)) in iommu_dma_sync_single_for_cpu()
926 if (is_swiotlb_buffer(dev, phys)) in iommu_dma_sync_single_for_device()
1015 if (iova == DMA_MAPPING_ERROR && is_swiotlb_buffer(dev, phys)) in iommu_dma_map_page()
1035 if (unlikely(is_swiotlb_buffer(dev, phys))) in iommu_dma_unmap_page()
/linux-5.19.10/drivers/xen/
Dswiotlb-xen.c102 return is_swiotlb_buffer(dev, paddr); in is_xen_swiotlb_buffer()