Home
last modified time | relevance | path

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

/linux/drivers/iommu/generic_pt/
H A Diommu_pt.h50 if (pt_feature(common, PT_FEAT_DMA_INCOHERENT)) in gather_range_pages()
63 if (pt_feature(common, PT_FEAT_FLUSH_RANGE_NO_GAPS) && in gather_range_pages()
388 if (pt_feature(common, PT_FEAT_DMA_INCOHERENT) && in _table_alloc()
788 if (pt_feature(common, PT_FEAT_DMA_INCOHERENT)) { in increase_top()
828 if (pt_feature(common, PT_FEAT_DMA_INCOHERENT)) in increase_top()
843 if (!pt_feature(common, PT_FEAT_DYNAMIC_TOP)) in check_map_range()
869 if (single_page && !pt_feature(common, PT_FEAT_DMA_INCOHERENT)) { in do_map()
1093 if (pt_feature(common, PT_FEAT_DYNAMIC_TOP)) { in get_info()
1124 if (pt_feature(common, PT_FEAT_DMA_INCOHERENT)) in deinit()
1166 if (!pt_feature(common, PT_FEAT_DYNAMIC_TOP) && in pt_init_common()
[all …]
H A Dpt_iter.h34 if (pt_feature(range->common, PT_FEAT_SIGN_EXTEND)) { in pt_check_range()
224 if (pt_feature(common, PT_FEAT_DYNAMIC_TOP) && in _pt_top_range()
234 if (pt_feature(common, PT_FEAT_SIGN_EXTEND)) in _pt_top_range()
272 if (!pt_feature(common, PT_FEAT_SIGN_EXTEND)) in pt_all_range()
294 if (!pt_feature(common, PT_FEAT_SIGN_EXTEND)) in pt_upper_range()
501 pt_feature(common, PT_FEAT_DYNAMIC_TOP)) in pt_top_memsize_lg2()
H A Dpt_defs.h205 static __always_inline bool pt_feature(const struct pt_common *common, in pt_feature() function
218 return pt_feature(pts->range->common, feature_nr); in pts_feature()
H A Dkunit_iommu_pt.h109 if (!pt_feature(common, PT_FEAT_DYNAMIC_TOP)) in test_increase_level()
352 if (pt_feature(priv->common, PT_FEAT_SIGN_EXTEND) && in test_random_map()
H A Dkunit_generic_pt.h52 if (pt_feature(range->common, PT_FEAT_SIGN_EXTEND) && in __check_all_levels()
117 if (pt_feature(priv->common, PT_FEAT_DYNAMIC_TOP) && in check_all_levels()
/linux/drivers/iommu/generic_pt/fmt/
H A Damdv1.h346 if (pt_feature(common, PT_FEAT_AMDV1_FORCE_COHERENCE)) in amdv1pt_iommu_set_prot()
357 if (pt_feature(common, PT_FEAT_AMDV1_ENCRYPT_TABLES) && in amdv1pt_iommu_set_prot()
375 if (!pt_feature(&table->common, PT_FEAT_DYNAMIC_TOP) && in amdv1pt_iommu_fmt_init()
H A Dvtdss.h232 if (pt_feature(common, PT_FEAT_VTDSS_FORCE_COHERENCE)) in vtdss_pt_iommu_set_prot()
235 if (pt_feature(common, PT_FEAT_VTDSS_FORCE_WRITEABLE) && in vtdss_pt_iommu_set_prot()
H A Dx86_64.h230 if (pt_feature(common, PT_FEAT_X86_64_AMD_ENCRYPT_TABLES) && in x86_64_pt_iommu_set_prot()