Home
last modified time | relevance | path

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

/linux/drivers/iommu/generic_pt/
H A Dkunit_iommu_pt.h120 struct pt_range top_range = pt_top_range(common); in test_increase_level() local
122 if (top_range.va == 0) in test_increase_level()
123 do_map(test, top_range.last_va + 1, 0, in test_increase_level()
126 do_map(test, top_range.va - priv->smallest_pgsz, 0, in test_increase_level()
130 top_range.top_level + 1); in test_increase_level()
243 struct pt_range top_range = pt_top_range(priv->common); in test_unmap_split() local
258 pt_vaddr_t vaddr = top_range.va; in test_unmap_split()
332 struct pt_range top_range = pt_top_range(priv->common); in test_random_map() local
342 clamp_range(test, &top_range); in test_random_map()
346 struct pt_range *range = &top_range; in test_random_map()
[all …]
H A Diommu_pt.h750 struct pt_range top_range = in increase_top() local
752 struct pt_state pts = pt_init_top(&top_range); in increase_top()
754 top_range.va = range->va; in increase_top()
755 top_range.last_va = range->last_va; in increase_top()
757 if (!pt_check_range(&top_range) && in increase_top()
780 top_range.va = 0; in increase_top()
781 top_range.top_level = pts.level; in increase_top()
1149 struct pt_range top_range = pt_top_range(common); in pt_init_common() local
1151 if (PT_WARN_ON(top_range.top_level > PT_MAX_TOP_LEVEL)) in pt_init_common()
1154 if (top_range.top_level == PT_MAX_TOP_LEVEL || in pt_init_common()
[all …]
/linux/drivers/iommu/generic_pt/fmt/
H A Dvtdss.h262 const struct pt_range *top_range, in vtdss_pt_iommu_fmt_hw_info() argument
265 info->ssptptr = virt_to_phys(top_range->top_table); in vtdss_pt_iommu_fmt_hw_info()
272 info->aw = top_range->top_level - 1; in vtdss_pt_iommu_fmt_hw_info()
H A Damdv1.h393 const struct pt_range *top_range, in amdv1pt_iommu_fmt_hw_info() argument
396 info->host_pt_root = virt_to_phys(top_range->top_table); in amdv1pt_iommu_fmt_hw_info()
398 info->mode = top_range->top_level + 1; in amdv1pt_iommu_fmt_hw_info()