Home
last modified time | relevance | path

Searched refs:PT_MAX_TOP_LEVEL (Results 1 – 6 of 6) 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()
599 static_assert(PT_MAX_TOP_LEVEL <= 5); \
602 if (level == 1 || PT_MAX_TOP_LEVEL == 1) \
604 if (level == 2 || PT_MAX_TOP_LEVEL == 2) \
606 if (level == 3 || PT_MAX_TOP_LEVEL == 3) \
608 if (level == 4 || PT_MAX_TOP_LEVEL == 4) \
617 static_assert(PT_MAX_TOP_LEVEL <= 5); in __pt_make_level_fn_err()
H A Diommu_pt.h758 if (pts.level > PT_MAX_TOP_LEVEL || in increase_top()
1094 for (pts.level = 0; pts.level <= PT_MAX_TOP_LEVEL; in get_info()
1145 if (PT_WARN_ON(top_range.top_level > PT_MAX_TOP_LEVEL)) in pt_init_common()
1148 if (top_range.top_level == PT_MAX_TOP_LEVEL || in pt_init_common()
1167 top_range.top_level != PT_MAX_TOP_LEVEL) { in pt_init_common()
1199 _pt_top_set(NULL, PT_MAX_TOP_LEVEL)); in pt_iommu_init_domain()
/linux/drivers/iommu/generic_pt/fmt/
H A Damdv1.h38 PT_MAX_TOP_LEVEL = 4, enumerator
43 PT_MAX_TOP_LEVEL = 5,
107 return pts->level < PT_MAX_TOP_LEVEL; in amdv1pt_can_have_leaf()
372 if (cfg->starting_level == 0 || cfg->starting_level > PT_MAX_TOP_LEVEL) in amdv1pt_iommu_fmt_init()
376 cfg->starting_level != PT_MAX_TOP_LEVEL) in amdv1pt_iommu_fmt_init()
H A Driscv.h38 PT_MAX_TOP_LEVEL = 1, enumerator
42 PT_MAX_TOP_LEVEL = 4,
H A Dx86_64.h49 PT_MAX_TOP_LEVEL = 4, enumerator
H A Dvtdss.h35 PT_MAX_TOP_LEVEL = 4, enumerator