Searched refs:pt_common (Results 1 – 12 of 12) sorted by relevance
| /linux/drivers/iommu/generic_pt/ |
| H A D | pt_common.h | 115 static inline bool pt_dirty_supported(struct pt_common *common); 174 static inline pt_vaddr_t pt_full_va_prefix(const struct pt_common *common); 184 static inline bool pt_has_system_page_size(const struct pt_common *common); 253 pt_max_oa_lg2(const struct pt_common *common); 279 static inline unsigned int pt_pgsz_lg2_to_level(struct pt_common *common, 352 static inline unsigned int pt_max_sw_bit(struct pt_common *common);
|
| H A D | pt_fmt_defaults.h | 31 static inline unsigned int pt_pgsz_lg2_to_level(struct pt_common *common, in pt_pgsz_lg2_to_level() 72 static inline bool pt_dirty_supported(struct pt_common *common) in pt_dirty_supported() 79 static inline bool pt_dirty_supported(struct pt_common *common) in pt_dirty_supported() 130 pt_max_oa_lg2(const struct pt_common *common) in pt_max_oa_lg2() 137 static inline bool pt_has_system_page_size(const struct pt_common *common) in pt_has_system_page_size() 164 static inline pt_vaddr_t pt_full_va_prefix(const struct pt_common *common) in pt_full_va_prefix() 247 static inline unsigned int pt_max_sw_bit(struct pt_common *common) in pt_max_sw_bit()
|
| H A D | pt_defs.h | 134 struct pt_common *common; 205 static __always_inline bool pt_feature(const struct pt_common *common, in pt_feature() 310 static inline void pt_top_set(struct pt_common *common, in pt_top_set() 317 static inline void pt_top_set_level(struct pt_common *common, in pt_top_set_level() 323 static inline unsigned int pt_top_get_level(const struct pt_common *common) in pt_top_get_level()
|
| H A D | iommu_pt.h | 48 struct pt_common *common = common_from_iommu(iommu_table); in gather_range_pages() 70 static int make_range_ul(struct pt_common *common, struct pt_range *range, in make_range_ul() 89 static __maybe_unused int make_range_u64(struct pt_common *common, in make_range_u64() 366 static inline struct pt_table_p *_table_alloc(struct pt_common *common, in _table_alloc() 390 static inline struct pt_table_p *table_alloc_top(struct pt_common *common, in table_alloc_top() 672 struct pt_common *common = common_from_iommu(iommu_table); in increase_top() 776 struct pt_common *common = common_from_iommu(iommu_table); in check_map_range() 798 static int do_map(struct pt_range *range, struct pt_common *common, in do_map() 851 struct pt_common *common = common_from_iommu(iommu_table); in DOMAIN_NS() 1062 struct pt_common *common = common_from_iommu(iommu_table); in NS() [all …]
|
| H A D | pt_iter.h | 210 static __always_inline struct pt_range _pt_top_range(struct pt_common *common, in _pt_top_range() 250 static __always_inline struct pt_range pt_top_range(struct pt_common *common) in pt_top_range() 268 static inline struct pt_range pt_all_range(struct pt_common *common) in pt_all_range() 290 static inline struct pt_range pt_upper_range(struct pt_common *common) in pt_upper_range() 311 pt_make_range(struct pt_common *common, pt_vaddr_t va, pt_vaddr_t last_va) in pt_make_range() 492 static inline unsigned int pt_top_memsize_lg2(struct pt_common *common, in pt_top_memsize_lg2()
|
| H A D | kunit_iommu.h | 66 struct pt_common *common;
|
| H A D | kunit_iommu_pt.h | 107 struct pt_common *common = priv->common; in test_increase_level()
|
| /linux/include/linux/generic_pt/ |
| H A D | common.h | 51 struct pt_common { struct 142 struct pt_common common; 161 struct pt_common common; 179 struct pt_common common;
|
| /linux/drivers/iommu/generic_pt/fmt/ |
| H A D | x86_64.h | 170 static inline unsigned int x86_64_pt_max_sw_bit(struct pt_common *common) in x86_64_pt_max_sw_bit() 204 static inline struct pt_common *common_from_iommu(struct pt_iommu *iommu_table) in common_from_iommu() 210 static inline struct pt_iommu *iommu_from_common(struct pt_common *common) in iommu_from_common() 216 static inline int x86_64_pt_iommu_set_prot(struct pt_common *common, in x86_64_pt_iommu_set_prot()
|
| H A D | vtdss.h | 169 static inline unsigned int vtdss_pt_max_sw_bit(struct pt_common *common) in vtdss_pt_max_sw_bit() 203 static inline struct pt_common *common_from_iommu(struct pt_iommu *iommu_table) in common_from_iommu() 209 static inline struct pt_iommu *iommu_from_common(struct pt_common *common) in iommu_from_common() 215 static inline int vtdss_pt_iommu_set_prot(struct pt_common *common, in vtdss_pt_iommu_set_prot()
|
| H A D | amdv1.h | 329 static inline struct pt_common *common_from_iommu(struct pt_iommu *iommu_table) in common_from_iommu() 335 static inline struct pt_iommu *iommu_from_common(struct pt_common *common) in iommu_from_common() 340 static inline int amdv1pt_iommu_set_prot(struct pt_common *common, in amdv1pt_iommu_set_prot()
|
| /linux/Documentation/driver-api/ |
| H A D | generic_pt.rst | 37 #include "../pt_common.h" 56 The format uses struct pt_common as the top-level struct for the table, 60 The implementation will further wrap struct pt_common in its own top-level 63 Format functions at the struct pt_common level 68 .. kernel-doc:: drivers/iommu/generic_pt/pt_common.h 94 pt_common.h will cause the compiler to validate the function signature to
|