Home
last modified time | relevance | path

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

/linux/drivers/iommu/generic_pt/
H A Dpt_iter.h225 pts.level != PT_MAX_TOP_LEVEL) in _pt_top_range()
500 if (range.top_level != PT_MAX_TOP_LEVEL && in pt_top_memsize_lg2()
577 static_assert(PT_MAX_TOP_LEVEL <= 5); \
580 if (level == 1 || PT_MAX_TOP_LEVEL == 1) \
582 if (level == 2 || PT_MAX_TOP_LEVEL == 2) \
584 if (level == 3 || PT_MAX_TOP_LEVEL == 3) \
586 if (level == 4 || PT_MAX_TOP_LEVEL == 4) \
595 static_assert(PT_MAX_TOP_LEVEL <= 5); in __pt_make_level_fn_err()
H A Diommu_pt.h695 if (pts.level > PT_MAX_TOP_LEVEL || in increase_top()
1076 for (pts.level = 0; pts.level <= PT_MAX_TOP_LEVEL; in NS()
1125 if (PT_WARN_ON(top_range.top_level > PT_MAX_TOP_LEVEL)) in pt_init_common()
1128 if (top_range.top_level == PT_MAX_TOP_LEVEL || in pt_init_common()
1147 top_range.top_level != PT_MAX_TOP_LEVEL) { in pt_init_common()
1178 _pt_top_set(NULL, PT_MAX_TOP_LEVEL)); in pt_iommu_init_domain()
/linux/drivers/iommu/generic_pt/fmt/
H A Dvtdss.h35 PT_MAX_TOP_LEVEL = 4, enumerator