Searched refs:iova_offset (Results 1 – 2 of 2) sorted by relevance
58 static inline size_t iova_offset(struct iova_domain *iovad, dma_addr_t iova) in iova_offset() function
404 start -= iova_offset(iovad, start); in cookie_init_hw_msi_region()680 size_t iova_off = iova_offset(iovad, dma_addr); in __iommu_dma_unmap()703 size_t iova_off = iova_offset(iovad, phys); in __iommu_dma_map()993 if (dev_use_swiotlb(dev) && iova_offset(iovad, phys | size)) { in iommu_dma_map_page()1218 size_t s_iova_off = iova_offset(iovad, s->offset); in iommu_dma_map_sg()