Home
last modified time | relevance | path

Searched refs:level_to_offset_bits (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/iommu/intel/
Diommu.h907 static inline unsigned int level_to_offset_bits(int level) in level_to_offset_bits() function
914 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()
Diommu.c3716 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()