Searched refs:level_to_offset_bits (Results 1 – 2 of 2) sorted by relevance
907 static inline unsigned int level_to_offset_bits(int level) in level_to_offset_bits() function914 return (pfn >> level_to_offset_bits(level)) & LEVEL_MASK; in pfn_level_offset()919 return -1ULL << level_to_offset_bits(level); in level_mask()924 return 1ULL << level_to_offset_bits(level); in level_size()
3716 if (size < VTD_PAGE_SIZE << level_to_offset_bits(level)) in intel_iommu_unmap()3717 size = VTD_PAGE_SIZE << level_to_offset_bits(level); in intel_iommu_unmap()3768 (iova & (BIT_MASK(level_to_offset_bits(level) + in intel_iommu_iova_to_phys()