Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/iommu/amd/
Damd_iommu.h19 void amd_iommu_apply_erratum_63(struct amd_iommu *iommu, u16 devid);
20 void amd_iommu_restart_event_logging(struct amd_iommu *iommu);
21 void amd_iommu_restart_ga_log(struct amd_iommu *iommu);
22 void amd_iommu_restart_ppr_log(struct amd_iommu *iommu);
23 void amd_iommu_set_rlookup_table(struct amd_iommu *iommu, u16 devid);
26 void amd_iommu_debugfs_setup(struct amd_iommu *iommu);
28 static inline void amd_iommu_debugfs_setup(struct amd_iommu *iommu) {} in amd_iommu_debugfs_setup()
45 struct amd_iommu *get_amd_iommu(unsigned int idx);
49 int amd_iommu_pc_get_reg(struct amd_iommu *iommu, u8 bank, u8 cntr,
51 int amd_iommu_pc_set_reg(struct amd_iommu *iommu, u8 bank, u8 cntr,
[all …]
Dinit.c181 struct amd_iommu *amd_iommus[MAX_IOMMUS];
239 bool translation_pre_enabled(struct amd_iommu *iommu) in translation_pre_enabled()
244 static void clear_translation_pre_enabled(struct amd_iommu *iommu) in clear_translation_pre_enabled()
249 static void init_translation_status(struct amd_iommu *iommu) in init_translation_status()
277 struct amd_iommu *iommu; in get_global_efr()
322 static void __init early_iommu_features_init(struct amd_iommu *iommu, in early_iommu_features_init()
335 static u32 iommu_read_l1(struct amd_iommu *iommu, u16 l1, u8 address) in iommu_read_l1()
344 static void iommu_write_l1(struct amd_iommu *iommu, u16 l1, u8 address, u32 val) in iommu_write_l1()
351 static u32 iommu_read_l2(struct amd_iommu *iommu, u8 address) in iommu_read_l2()
360 static void iommu_write_l2(struct amd_iommu *iommu, u8 address, u32 val) in iommu_write_l2()
[all …]
Diommu.c122 struct dev_table_entry *get_dev_table(struct amd_iommu *iommu) in get_dev_table()
152 void amd_iommu_set_rlookup_table(struct amd_iommu *iommu, u16 devid) in amd_iommu_set_rlookup_table()
159 static struct amd_iommu *__rlookup_amd_iommu(u16 seg, u16 devid) in __rlookup_amd_iommu()
170 static struct amd_iommu *rlookup_amd_iommu(struct device *dev) in rlookup_amd_iommu()
185 static struct iommu_dev_data *alloc_dev_data(struct amd_iommu *iommu, u16 devid) in alloc_dev_data()
202 static struct iommu_dev_data *search_dev_data(struct amd_iommu *iommu, u16 devid) in search_dev_data()
222 struct amd_iommu *iommu; in clone_alias()
242 static void clone_aliases(struct amd_iommu *iommu, struct device *dev) in clone_aliases()
260 static void setup_aliases(struct amd_iommu *iommu, struct device *dev) in setup_aliases()
282 static struct iommu_dev_data *find_dev_data(struct amd_iommu *iommu, u16 devid) in find_dev_data()
[all …]
Damd_iommu_types.h522 struct amd_iommu;
610 struct amd_iommu **rlookup_table;
643 struct amd_iommu { struct
775 static inline struct amd_iommu *dev_to_amd_iommu(struct device *dev) in dev_to_amd_iommu() argument
779 return container_of(iommu, struct amd_iommu, iommu); in dev_to_amd_iommu()
848 extern struct amd_iommu *amd_iommus[MAX_IOMMUS];
901 void iommu_flush_all_caches(struct amd_iommu *iommu);
1021 struct amd_iommu *iommu;
1038 void (*activate)(struct amd_iommu *iommu, void *, u16, u16);
1039 void (*deactivate)(struct amd_iommu *iommu, void *, u16, u16);
[all …]
Ddebugfs.c20 void amd_iommu_debugfs_setup(struct amd_iommu *iommu) in amd_iommu_debugfs_setup()
/linux-6.6.21/include/linux/
Damd-iommu.h13 struct amd_iommu;
202 int amd_iommu_pc_set_reg(struct amd_iommu *iommu, u8 bank, u8 cntr, u8 fxn,
204 int amd_iommu_pc_get_reg(struct amd_iommu *iommu, u8 bank, u8 cntr, u8 fxn,
206 struct amd_iommu *get_amd_iommu(unsigned int idx);
/linux-6.6.21/arch/x86/events/amd/
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-6.6.21/Documentation/admin-guide/
Dkernel-parameters.txt310 amd_iommu= [HW,X86-64]