Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iommu/intel/
Diommu.h887 #define LEVEL_STRIDE (9) macro
888 #define LEVEL_MASK (((u64)1 << LEVEL_STRIDE) - 1)
899 return min_t(int, 30 + agaw * LEVEL_STRIDE, MAX_AGAW_WIDTH); in agaw_to_width()
904 return DIV_ROUND_UP(width - 30, LEVEL_STRIDE); in width_to_agaw()
909 return (level - 1) * LEVEL_STRIDE; in level_to_offset_bits()
934 return 1UL << min_t(int, (lvl - 1) * LEVEL_STRIDE, MAX_AGAW_PFN_WIDTH); in lvl_to_nr_pages()