Home
last modified time | relevance | path

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

/drivers/iommu/
Damd_iommu_init.c166 struct amd_iommu *amd_iommus[MAX_IOMMUS];
206 struct amd_iommu **amd_iommu_rlookup_table;
259 bool translation_pre_enabled(struct amd_iommu *iommu) in translation_pre_enabled()
265 static void clear_translation_pre_enabled(struct amd_iommu *iommu) in clear_translation_pre_enabled()
270 static void init_translation_status(struct amd_iommu *iommu) in init_translation_status()
300 static u32 iommu_read_l1(struct amd_iommu *iommu, u16 l1, u8 address) in iommu_read_l1()
309 static void iommu_write_l1(struct amd_iommu *iommu, u16 l1, u8 address, u32 val) in iommu_write_l1()
316 static u32 iommu_read_l2(struct amd_iommu *iommu, u8 address) in iommu_read_l2()
325 static void iommu_write_l2(struct amd_iommu *iommu, u8 address, u32 val) in iommu_write_l2()
344 static void iommu_set_exclusion_range(struct amd_iommu *iommu) in iommu_set_exclusion_range()
[all …]
Damd_iommu_proto.h18 extern void amd_iommu_reset_cmd_buffer(struct amd_iommu *iommu);
25 void amd_iommu_debugfs_setup(struct amd_iommu *iommu);
27 static inline void amd_iommu_debugfs_setup(struct amd_iommu *iommu) {} in amd_iommu_debugfs_setup()
55 extern int amd_iommu_create_irq_domain(struct amd_iommu *iommu);
57 static inline int amd_iommu_create_irq_domain(struct amd_iommu *iommu) in amd_iommu_create_irq_domain()
76 static inline bool iommu_feature(struct amd_iommu *iommu, u64 f) in iommu_feature()
94 extern bool translation_pre_enabled(struct amd_iommu *iommu);
Damd_iommu.c289 struct amd_iommu *iommu = amd_iommu_rlookup_table[devid]; in find_dev_data()
405 struct amd_iommu *iommu; in iommu_init_device()
431 struct amd_iommu *iommu; in iommu_init_device()
461 struct amd_iommu *iommu; in iommu_uninit_device()
561 static void iommu_print_event(struct amd_iommu *iommu, void *__evt) in iommu_print_event()
644 static void iommu_poll_events(struct amd_iommu *iommu) in iommu_poll_events()
659 static void iommu_handle_ppr_entry(struct amd_iommu *iommu, u64 *raw) in iommu_handle_ppr_entry()
677 static void iommu_poll_ppr_log(struct amd_iommu *iommu) in iommu_poll_ppr_log()
739 static void iommu_poll_ga_log(struct amd_iommu *iommu) in iommu_poll_ga_log()
790 struct amd_iommu *iommu = (struct amd_iommu *) data; in amd_iommu_int_thread()
[all …]
Damd_iommu_types.h486 struct amd_iommu { struct
605 static inline struct amd_iommu *dev_to_amd_iommu(struct device *dev) in dev_to_amd_iommu() argument
609 return container_of(iommu, struct amd_iommu, iommu); in dev_to_amd_iommu()
674 extern struct amd_iommu *amd_iommus[MAX_IOMMUS];
728 extern struct amd_iommu **amd_iommu_rlookup_table;
759 extern void iommu_flush_all_caches(struct amd_iommu *iommu);
Damd_iommu_debugfs.c21 void amd_iommu_debugfs_setup(struct amd_iommu *iommu) in amd_iommu_debugfs_setup()
DMakefile13 obj-$(CONFIG_AMD_IOMMU) += amd_iommu.o amd_iommu_init.o amd_iommu_quirks.o