Home
last modified time | relevance | path

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

/linux/drivers/iommu/amd/
H A Damd_iommu.h19 void amd_iommu_apply_erratum_63(struct amd_iommu *iommu, u16 devid);
20 void amd_iommu_restart_log(struct amd_iommu *iommu, const char *evt_type,
23 void amd_iommu_restart_event_logging(struct amd_iommu *iommu);
24 void amd_iommu_restart_ga_log(struct amd_iommu *iommu);
25 void amd_iommu_restart_ppr_log(struct amd_iommu *iommu);
26 void amd_iommu_set_rlookup_table(struct amd_iommu *iommu, u16 devid);
27 void iommu_feature_enable(struct amd_iommu *iommu, u8 bit);
28 void *__init iommu_alloc_4k_pages(struct amd_iommu *iommu,
32 void amd_iommu_debugfs_setup(struct amd_iommu *iommu);
34 static inline void amd_iommu_debugfs_setup(struct amd_iommu *iommu) {} in amd_iommu_debugfs_setup()
[all …]
H A Dinit.c181 struct amd_iommu *amd_iommus[MAX_IOMMUS];
238 bool translation_pre_enabled(struct amd_iommu *iommu) in translation_pre_enabled()
243 static void clear_translation_pre_enabled(struct amd_iommu *iommu) in clear_translation_pre_enabled()
248 static void init_translation_status(struct amd_iommu *iommu) in init_translation_status()
276 struct amd_iommu *iommu; in get_global_efr()
311 static void __init early_iommu_features_init(struct amd_iommu *iommu, in early_iommu_features_init()
324 static u32 iommu_read_l1(struct amd_iommu *iommu, u16 l1, u8 address) in iommu_read_l1()
333 static void iommu_write_l1(struct amd_iommu *iommu, u16 l1, u8 address, u32 val) in iommu_write_l1()
340 static u32 iommu_read_l2(struct amd_iommu *iommu, u8 address) in iommu_read_l2()
349 static void iommu_write_l2(struct amd_iommu *iommu, u8 address, u32 val) in iommu_write_l2()
[all …]
H A Diommu.c77 static void set_dte_entry(struct amd_iommu *iommu,
138 struct dev_table_entry *get_dev_table(struct amd_iommu *iommu) in get_dev_table()
168 void amd_iommu_set_rlookup_table(struct amd_iommu *iommu, u16 devid) in amd_iommu_set_rlookup_table()
175 static struct amd_iommu *__rlookup_amd_iommu(u16 seg, u16 devid) in __rlookup_amd_iommu()
186 static struct amd_iommu *rlookup_amd_iommu(struct device *dev) in rlookup_amd_iommu()
196 static struct iommu_dev_data *alloc_dev_data(struct amd_iommu *iommu, u16 devid) in alloc_dev_data()
213 static struct iommu_dev_data *search_dev_data(struct amd_iommu *iommu, u16 devid) in search_dev_data()
233 struct amd_iommu *iommu; in clone_alias()
253 static void clone_aliases(struct amd_iommu *iommu, struct device *dev) in clone_aliases()
271 static void setup_aliases(struct amd_iommu *iommu, struct device *dev) in setup_aliases()
[all …]
H A Damd_iommu_types.h519 struct amd_iommu;
628 struct amd_iommu **rlookup_table;
661 struct amd_iommu { struct
794 static inline struct amd_iommu *dev_to_amd_iommu(struct device *dev) in dev_to_amd_iommu() argument
798 return container_of(iommu, struct amd_iommu, iommu); in dev_to_amd_iommu()
879 extern struct amd_iommu *amd_iommus[MAX_IOMMUS];
1045 struct amd_iommu *iommu;
1062 void (*activate)(struct amd_iommu *iommu, void *, u16, u16);
1063 void (*deactivate)(struct amd_iommu *iommu, void *, u16, u16);
1064 void (*set_affinity)(struct amd_iommu *iommu, void *, u16, u16, u8, u32);
H A Ddebugfs.c20 void amd_iommu_debugfs_setup(struct amd_iommu *iommu) in amd_iommu_debugfs_setup()
/linux/include/linux/
H A Damd-iommu.h13 struct amd_iommu;
82 int amd_iommu_pc_set_reg(struct amd_iommu *iommu, u8 bank, u8 cntr, u8 fxn,
84 int amd_iommu_pc_get_reg(struct amd_iommu *iommu, u8 bank, u8 cntr, u8 fxn,
86 struct amd_iommu *get_amd_iommu(unsigned int idx);
/linux/arch/x86/events/amd/
H A Diommu.c38 struct amd_iommu *iommu;
232 static inline struct amd_iommu *perf_event_2_iommu(struct perf_event *ev) in perf_event_2_iommu()
239 struct amd_iommu *iommu = perf_event_2_iommu(ev); in perf_iommu_enable_event()
269 struct amd_iommu *iommu = perf_event_2_iommu(event); in perf_iommu_disable_event()
296 struct amd_iommu *iommu = perf_event_2_iommu(event); in perf_iommu_start()
313 struct amd_iommu *iommu = perf_event_2_iommu(event); in perf_iommu_read()
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt325 amd_iommu= [HW,X86-64]