Home
last modified time | relevance | path

Searched refs:pt_state (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/iommu/generic_pt/
H A Dpt_common.h40 static inline void pt_attr_from_entry(const struct pt_state *pts,
50 static inline bool pt_can_have_leaf(const struct pt_state *pts);
58 static inline bool pt_can_have_table(const struct pt_state *pts) in pt_can_have_table()
73 static inline void pt_clear_entries(struct pt_state *pts,
84 static inline bool pt_entry_make_write_dirty(struct pt_state *pts);
99 static inline void pt_entry_make_write_clean(struct pt_state *pts);
109 static inline bool pt_entry_is_write_dirty(const struct pt_state *pts);
124 static inline unsigned int pt_entry_num_contig_lg2(const struct pt_state *pts);
138 static inline pt_oaddr_t pt_entry_oa(const struct pt_state *pts);
147 static inline unsigned int pt_entry_oa_lg2sz(const struct pt_state *pts) in pt_entry_oa_lg2sz()
[all …]
H A Dpt_fmt_defaults.h23 static inline unsigned int pt_table_item_lg2sz(const struct pt_state *pts) in pt_table_item_lg2sz()
47 static inline unsigned int pt_entry_num_contig_lg2(const struct pt_state *pts) in pt_entry_num_contig_lg2()
55 static inline unsigned short pt_contig_count_lg2(const struct pt_state *pts) in pt_contig_count_lg2()
63 static inline bool pt_entry_is_write_dirty(const struct pt_state *pts) in pt_entry_is_write_dirty()
68 static inline void pt_entry_make_write_clean(struct pt_state *pts) in pt_entry_make_write_clean()
87 static inline bool pt_entry_make_write_dirty(struct pt_state *pts) in pt_entry_make_write_dirty()
106 static inline pt_oaddr_t pt_item_oa(const struct pt_state *pts) in pt_item_oa()
115 static inline pt_oaddr_t pt_entry_oa(const struct pt_state *pts) in pt_entry_oa()
148 static inline unsigned short pt_contig_count_lg2(const struct pt_state *pts);
151 static inline pt_vaddr_t pt_possible_sizes(const struct pt_state *pts) in pt_possible_sizes()
[all …]
H A Dpt_defs.h146 struct pt_state { struct
166 static inline bool pt_table_install64(struct pt_state *pts, u64 table_entry) in pt_table_install64() argument
185 static inline bool pt_table_install32(struct pt_state *pts, u32 table_entry) in pt_table_install32()
215 static __always_inline bool pts_feature(const struct pt_state *pts, in pts_feature()
328 static inline bool pt_check_install_leaf_args(struct pt_state *pts,
/linux/drivers/iommu/generic_pt/fmt/
H A Dvtdss.h62 static inline pt_oaddr_t vtdss_pt_table_pa(const struct pt_state *pts) in vtdss_pt_table_pa()
69 static inline pt_oaddr_t vtdss_pt_entry_oa(const struct pt_state *pts) in vtdss_pt_entry_oa()
76 static inline bool vtdss_pt_can_have_leaf(const struct pt_state *pts) in vtdss_pt_can_have_leaf()
82 static inline unsigned int vtdss_pt_num_items_lg2(const struct pt_state *pts) in vtdss_pt_num_items_lg2()
88 static inline enum pt_entry_type vtdss_pt_load_entry_raw(struct pt_state *pts) in vtdss_pt_load_entry_raw()
104 vtdss_pt_install_leaf_entry(struct pt_state *pts, pt_oaddr_t oa, in vtdss_pt_install_leaf_entry()
124 static inline bool vtdss_pt_install_table(struct pt_state *pts, in vtdss_pt_install_table()
136 static inline void vtdss_pt_attr_from_entry(const struct pt_state *pts, in vtdss_pt_attr_from_entry()
144 static inline bool vtdss_pt_entry_is_write_dirty(const struct pt_state *pts) in vtdss_pt_entry_is_write_dirty()
152 static inline void vtdss_pt_entry_make_write_clean(struct pt_state *pts) in vtdss_pt_entry_make_write_clean()
[all …]
/linux/Documentation/driver-api/
H A Dgeneric_pt.rst85 static inline pt_oaddr_t amdv1pt_entry_oa(const struct pt_state *pts)