Searched refs:level_to_offset_bits (Results 1 – 1 of 1) sorted by relevance
84 static inline unsigned int level_to_offset_bits(int level) in level_to_offset_bits() function91 return (pfn >> level_to_offset_bits(level)) & LEVEL_MASK; in pfn_level_offset()96 return -1ULL << level_to_offset_bits(level); in level_mask()101 return 1ULL << level_to_offset_bits(level); in level_size()4350 if (size < VTD_PAGE_SIZE << level_to_offset_bits(level)) in intel_iommu_unmap()4351 size = VTD_PAGE_SIZE << level_to_offset_bits(level); in intel_iommu_unmap()4410 (iova & (BIT_MASK(level_to_offset_bits(level) + in intel_iommu_iova_to_phys()