Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/dma/
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()
122 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()
614 is_swiotlb_buffer(dev, dma_to_phys(dev, dma_addr)); in dma_direct_need_sync()
Dswiotlb.c973 if (!is_swiotlb_buffer(dev, tlb_addr)) in swiotlb_free()
/linux-6.1.9/include/linux/
Dswiotlb.h108 static inline bool is_swiotlb_buffer(struct device *dev, phys_addr_t paddr) in is_swiotlb_buffer() function
132 static inline bool is_swiotlb_buffer(struct device *dev, phys_addr_t paddr) in is_swiotlb_buffer() function
/linux-6.1.9/drivers/iommu/
Ddma-iommu.c924 if (is_swiotlb_buffer(dev, phys)) in iommu_dma_sync_single_for_cpu()
937 if (is_swiotlb_buffer(dev, phys)) in iommu_dma_sync_single_for_device()
1026 if (iova == DMA_MAPPING_ERROR && is_swiotlb_buffer(dev, phys)) in iommu_dma_map_page()
1046 if (unlikely(is_swiotlb_buffer(dev, phys))) in iommu_dma_unmap_page()
/linux-6.1.9/drivers/xen/
Dswiotlb-xen.c102 return is_swiotlb_buffer(dev, paddr); in is_xen_swiotlb_buffer()