intel_iommu 65 drivers/iommu/dmar.c static void free_iommu(struct intel_iommu *iommu); intel_iommu 921 drivers/iommu/dmar.c static void unmap_iommu(struct intel_iommu *iommu) intel_iommu 935 drivers/iommu/dmar.c static int map_iommu(struct intel_iommu *iommu, u64 phys_addr) intel_iommu 996 drivers/iommu/dmar.c static int dmar_alloc_seq_id(struct intel_iommu *iommu) intel_iommu 1010 drivers/iommu/dmar.c static void dmar_free_seq_id(struct intel_iommu *iommu) intel_iommu 1020 drivers/iommu/dmar.c struct intel_iommu *iommu; intel_iommu 1112 drivers/iommu/dmar.c static void free_iommu(struct intel_iommu *iommu) intel_iommu 1156 drivers/iommu/dmar.c static int qi_check_fault(struct intel_iommu *iommu, int index) intel_iommu 1227 drivers/iommu/dmar.c int qi_submit_sync(struct qi_desc *desc, struct intel_iommu *iommu) intel_iommu 1307 drivers/iommu/dmar.c void qi_global_iec(struct intel_iommu *iommu) intel_iommu 1320 drivers/iommu/dmar.c void qi_flush_context(struct intel_iommu *iommu, u16 did, u16 sid, u8 fm, intel_iommu 1334 drivers/iommu/dmar.c void qi_flush_iotlb(struct intel_iommu *iommu, u16 did, u64 addr, intel_iommu 1358 drivers/iommu/dmar.c void qi_flush_dev_iotlb(struct intel_iommu *iommu, u16 sid, u16 pfsid, intel_iommu 1383 drivers/iommu/dmar.c void dmar_disable_qi(struct intel_iommu *iommu) intel_iommu 1418 drivers/iommu/dmar.c static void __dmar_enable_qi(struct intel_iommu *iommu) intel_iommu 1456 drivers/iommu/dmar.c int dmar_enable_qi(struct intel_iommu *iommu) intel_iommu 1620 drivers/iommu/dmar.c static inline int dmar_msi_reg(struct intel_iommu *iommu, int irq) intel_iommu 1632 drivers/iommu/dmar.c struct intel_iommu *iommu = irq_data_get_irq_handler_data(data); intel_iommu 1646 drivers/iommu/dmar.c struct intel_iommu *iommu = irq_data_get_irq_handler_data(data); intel_iommu 1660 drivers/iommu/dmar.c struct intel_iommu *iommu = irq_get_handler_data(irq); intel_iommu 1673 drivers/iommu/dmar.c struct intel_iommu *iommu = irq_get_handler_data(irq); intel_iommu 1684 drivers/iommu/dmar.c static int dmar_fault_do_one(struct intel_iommu *iommu, int type, intel_iommu 1710 drivers/iommu/dmar.c struct intel_iommu *iommu = dev_id; intel_iommu 1786 drivers/iommu/dmar.c int dmar_set_interrupt(struct intel_iommu *iommu) intel_iommu 1813 drivers/iommu/dmar.c struct intel_iommu *iommu; intel_iommu 1842 drivers/iommu/dmar.c int dmar_reenable_qi(struct intel_iommu *iommu) intel_iommu 112 drivers/iommu/intel-iommu-debugfs.c struct intel_iommu *iommu; intel_iommu 213 drivers/iommu/intel-iommu-debugfs.c static void ctx_tbl_walk(struct seq_file *m, struct intel_iommu *iommu, u16 bus) intel_iommu 259 drivers/iommu/intel-iommu-debugfs.c static void root_tbl_walk(struct seq_file *m, struct intel_iommu *iommu) intel_iommu 283 drivers/iommu/intel-iommu-debugfs.c struct intel_iommu *iommu; intel_iommu 305 drivers/iommu/intel-iommu-debugfs.c struct intel_iommu *iommu) intel_iommu 329 drivers/iommu/intel-iommu-debugfs.c struct intel_iommu *iommu) intel_iommu 361 drivers/iommu/intel-iommu-debugfs.c struct intel_iommu *iommu; intel_iommu 172 drivers/iommu/intel-iommu.c static struct intel_iommu **g_iommus; intel_iommu 344 drivers/iommu/intel-iommu.c static void domain_context_clear(struct intel_iommu *iommu, intel_iommu 347 drivers/iommu/intel-iommu.c struct intel_iommu *iommu); intel_iommu 412 drivers/iommu/intel-iommu.c static bool translation_pre_enabled(struct intel_iommu *iommu) intel_iommu 417 drivers/iommu/intel-iommu.c static void clear_translation_pre_enabled(struct intel_iommu *iommu) intel_iommu 422 drivers/iommu/intel-iommu.c static void init_translation_status(struct intel_iommu *iommu) intel_iommu 484 drivers/iommu/intel-iommu.c static struct dmar_domain* get_iommu_domain(struct intel_iommu *iommu, u16 did) intel_iommu 496 drivers/iommu/intel-iommu.c static void set_iommu_domain(struct intel_iommu *iommu, u16 did, intel_iommu 563 drivers/iommu/intel-iommu.c static int __iommu_calculate_agaw(struct intel_iommu *iommu, int max_gaw) intel_iommu 581 drivers/iommu/intel-iommu.c int iommu_calculate_max_sagaw(struct intel_iommu *iommu) intel_iommu 591 drivers/iommu/intel-iommu.c int iommu_calculate_agaw(struct intel_iommu *iommu) intel_iommu 597 drivers/iommu/intel-iommu.c struct intel_iommu *domain_get_iommu(struct dmar_domain *domain) intel_iommu 617 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 644 drivers/iommu/intel-iommu.c static int domain_update_iommu_snooping(struct intel_iommu *skip) intel_iommu 647 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 664 drivers/iommu/intel-iommu.c static int domain_update_iommu_superpage(struct intel_iommu *skip) intel_iommu 667 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 696 drivers/iommu/intel-iommu.c struct context_entry *iommu_context_addr(struct intel_iommu *iommu, u8 bus, intel_iommu 762 drivers/iommu/intel-iommu.c static struct intel_iommu *device_to_iommu(struct device *dev, u8 *bus, u8 *devfn) intel_iommu 765 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 838 drivers/iommu/intel-iommu.c static int device_context_mapped(struct intel_iommu *iommu, u8 bus, u8 devfn) intel_iommu 852 drivers/iommu/intel-iommu.c static void free_context_table(struct intel_iommu *iommu) intel_iommu 1190 drivers/iommu/intel-iommu.c static int iommu_alloc_root_entry(struct intel_iommu *iommu) intel_iommu 1211 drivers/iommu/intel-iommu.c static void iommu_set_root_entry(struct intel_iommu *iommu) intel_iommu 1233 drivers/iommu/intel-iommu.c void iommu_flush_write_buffer(struct intel_iommu *iommu) intel_iommu 1252 drivers/iommu/intel-iommu.c static void __iommu_flush_context(struct intel_iommu *iommu, intel_iommu 1286 drivers/iommu/intel-iommu.c static void __iommu_flush_iotlb(struct intel_iommu *iommu, u16 did, intel_iommu 1343 drivers/iommu/intel-iommu.c iommu_support_dev_iotlb (struct dmar_domain *domain, struct intel_iommu *iommu, intel_iommu 1486 drivers/iommu/intel-iommu.c static void iommu_flush_iotlb_psi(struct intel_iommu *iommu, intel_iommu 1521 drivers/iommu/intel-iommu.c static inline void __mapping_notify_one(struct intel_iommu *iommu, intel_iommu 1540 drivers/iommu/intel-iommu.c struct intel_iommu *iommu = g_iommus[idx]; intel_iommu 1551 drivers/iommu/intel-iommu.c static void iommu_disable_protect_mem_regions(struct intel_iommu *iommu) intel_iommu 1571 drivers/iommu/intel-iommu.c static void iommu_enable_translation(struct intel_iommu *iommu) intel_iommu 1587 drivers/iommu/intel-iommu.c static void iommu_disable_translation(struct intel_iommu *iommu) intel_iommu 1603 drivers/iommu/intel-iommu.c static int iommu_init_domains(struct intel_iommu *iommu) intel_iommu 1661 drivers/iommu/intel-iommu.c static void disable_dmar_iommu(struct intel_iommu *iommu) intel_iommu 1685 drivers/iommu/intel-iommu.c static void free_dmar_iommu(struct intel_iommu *iommu) intel_iommu 1731 drivers/iommu/intel-iommu.c struct intel_iommu *iommu) intel_iommu 1765 drivers/iommu/intel-iommu.c struct intel_iommu *iommu) intel_iommu 1847 drivers/iommu/intel-iommu.c static int domain_init(struct dmar_domain *domain, struct intel_iommu *iommu, intel_iommu 1974 drivers/iommu/intel-iommu.c struct intel_iommu *iommu, intel_iommu 2123 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 2142 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 2166 drivers/iommu/intel-iommu.c struct intel_iommu *iommu = opaque; intel_iommu 2173 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 2343 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 2372 drivers/iommu/intel-iommu.c static void domain_context_clear_one(struct intel_iommu *iommu, u8 bus, u8 devfn) intel_iommu 2461 drivers/iommu/intel-iommu.c static struct dmar_domain *dmar_insert_one_dev_info(struct intel_iommu *iommu, intel_iommu 2590 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 2635 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 2801 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 2955 drivers/iommu/intel-iommu.c static void intel_iommu_init_qi(struct intel_iommu *iommu) intel_iommu 2990 drivers/iommu/intel-iommu.c static int copy_context_table(struct intel_iommu *iommu, intel_iommu 3092 drivers/iommu/intel-iommu.c static int copy_translation_tables(struct intel_iommu *iommu) intel_iommu 3177 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 3203 drivers/iommu/intel-iommu.c g_iommus = kcalloc(g_num_of_iommus, sizeof(struct intel_iommu *), intel_iommu 3500 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 3578 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 3719 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 3813 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 4172 drivers/iommu/intel-iommu.c struct intel_iommu *iommu = NULL; intel_iommu 4206 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 4219 drivers/iommu/intel-iommu.c struct intel_iommu *iommu = NULL; intel_iommu 4259 drivers/iommu/intel-iommu.c struct intel_iommu *iommu = NULL; intel_iommu 4438 drivers/iommu/intel-iommu.c struct intel_iommu *iommu = dmaru->iommu; intel_iommu 4520 drivers/iommu/intel-iommu.c struct intel_iommu *iommu = dmaru->iommu; intel_iommu 4674 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 4722 drivers/iommu/intel-iommu.c struct intel_iommu *iommu = g_iommus[i]; intel_iommu 4747 drivers/iommu/intel-iommu.c struct intel_iommu *iommu = NULL; intel_iommu 4754 drivers/iommu/intel-iommu.c static inline struct intel_iommu *dev_to_intel_iommu(struct device *dev) intel_iommu 4758 drivers/iommu/intel-iommu.c return container_of(iommu_dev, struct intel_iommu, iommu); intel_iommu 4765 drivers/iommu/intel-iommu.c struct intel_iommu *iommu = dev_to_intel_iommu(dev); intel_iommu 4776 drivers/iommu/intel-iommu.c struct intel_iommu *iommu = dev_to_intel_iommu(dev); intel_iommu 4785 drivers/iommu/intel-iommu.c struct intel_iommu *iommu = dev_to_intel_iommu(dev); intel_iommu 4794 drivers/iommu/intel-iommu.c struct intel_iommu *iommu = dev_to_intel_iommu(dev); intel_iommu 4803 drivers/iommu/intel-iommu.c struct intel_iommu *iommu = dev_to_intel_iommu(dev); intel_iommu 4812 drivers/iommu/intel-iommu.c struct intel_iommu *iommu = dev_to_intel_iommu(dev); intel_iommu 4874 drivers/iommu/intel-iommu.c struct intel_iommu *iommu __maybe_unused; intel_iommu 4917 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 5066 drivers/iommu/intel-iommu.c struct intel_iommu *iommu = opaque; intel_iommu 5078 drivers/iommu/intel-iommu.c static void domain_context_clear(struct intel_iommu *iommu, struct device *dev) intel_iommu 5089 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 5262 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 5319 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 5343 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 5533 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 5551 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 5580 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 5649 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 5732 drivers/iommu/intel-iommu.c int intel_iommu_enable_pasid(struct intel_iommu *iommu, struct device *dev) intel_iommu 5804 drivers/iommu/intel-iommu.c struct intel_iommu *intel_svm_device_to_iommu(struct device *dev) intel_iommu 5806 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 5828 drivers/iommu/intel-iommu.c struct intel_iommu *iommu; intel_iommu 399 drivers/iommu/intel-pasid.c pasid_cache_invalidation_with_pasid(struct intel_iommu *iommu, intel_iommu 413 drivers/iommu/intel-pasid.c iotlb_invalidation_with_pasid(struct intel_iommu *iommu, u16 did, u32 pasid) intel_iommu 427 drivers/iommu/intel-pasid.c devtlb_invalidation_with_pasid(struct intel_iommu *iommu, intel_iommu 444 drivers/iommu/intel-pasid.c void intel_pasid_tear_down_entry(struct intel_iommu *iommu, intel_iommu 472 drivers/iommu/intel-pasid.c int intel_pasid_setup_first_level(struct intel_iommu *iommu, intel_iommu 538 drivers/iommu/intel-pasid.c int intel_pasid_setup_second_level(struct intel_iommu *iommu, intel_iommu 611 drivers/iommu/intel-pasid.c int intel_pasid_setup_pass_through(struct intel_iommu *iommu, intel_iommu 87 drivers/iommu/intel-pasid.h int intel_pasid_setup_first_level(struct intel_iommu *iommu, intel_iommu 90 drivers/iommu/intel-pasid.h int intel_pasid_setup_second_level(struct intel_iommu *iommu, intel_iommu 93 drivers/iommu/intel-pasid.h int intel_pasid_setup_pass_through(struct intel_iommu *iommu, intel_iommu 96 drivers/iommu/intel-pasid.h void intel_pasid_tear_down_entry(struct intel_iommu *iommu, intel_iommu 26 drivers/iommu/intel-svm.c int intel_svm_init(struct intel_iommu *iommu) intel_iommu 41 drivers/iommu/intel-svm.c int intel_svm_enable_prq(struct intel_iommu *iommu) intel_iommu 84 drivers/iommu/intel-svm.c int intel_svm_finish_prq(struct intel_iommu *iommu) intel_iommu 212 drivers/iommu/intel-svm.c struct intel_iommu *iommu = intel_svm_device_to_iommu(dev); intel_iommu 391 drivers/iommu/intel-svm.c struct intel_iommu *iommu; intel_iommu 448 drivers/iommu/intel-svm.c struct intel_iommu *iommu; intel_iommu 533 drivers/iommu/intel-svm.c struct intel_iommu *iommu = d; intel_iommu 32 drivers/iommu/intel_irq_remapping.c struct intel_iommu *iommu; intel_iommu 39 drivers/iommu/intel_irq_remapping.c struct intel_iommu *iommu; intel_iommu 46 drivers/iommu/intel_irq_remapping.c struct intel_iommu *iommu; intel_iommu 82 drivers/iommu/intel_irq_remapping.c static void iommu_disable_irq_remapping(struct intel_iommu *iommu); intel_iommu 85 drivers/iommu/intel_irq_remapping.c static bool ir_pre_enabled(struct intel_iommu *iommu) intel_iommu 90 drivers/iommu/intel_irq_remapping.c static void clear_ir_pre_enabled(struct intel_iommu *iommu) intel_iommu 95 drivers/iommu/intel_irq_remapping.c static void init_ir_status(struct intel_iommu *iommu) intel_iommu 104 drivers/iommu/intel_irq_remapping.c static int alloc_irte(struct intel_iommu *iommu, intel_iommu 144 drivers/iommu/intel_irq_remapping.c static int qi_flush_iec(struct intel_iommu *iommu, int index, int mask) intel_iommu 160 drivers/iommu/intel_irq_remapping.c struct intel_iommu *iommu; intel_iommu 206 drivers/iommu/intel_irq_remapping.c static struct intel_iommu *map_hpet_to_ir(u8 hpet_id) intel_iommu 216 drivers/iommu/intel_irq_remapping.c static struct intel_iommu *map_ioapic_to_ir(int apic) intel_iommu 226 drivers/iommu/intel_irq_remapping.c static struct intel_iommu *map_dev_to_ir(struct pci_dev *dev) intel_iommu 240 drivers/iommu/intel_irq_remapping.c struct intel_iommu *iommu; intel_iommu 432 drivers/iommu/intel_irq_remapping.c static int iommu_load_old_irte(struct intel_iommu *iommu) intel_iommu 474 drivers/iommu/intel_irq_remapping.c static void iommu_set_irq_remapping(struct intel_iommu *iommu, int mode) intel_iommu 501 drivers/iommu/intel_irq_remapping.c static void iommu_enable_irq_remapping(struct intel_iommu *iommu) intel_iommu 529 drivers/iommu/intel_irq_remapping.c static int intel_setup_irq_remapping(struct intel_iommu *iommu) intel_iommu 629 drivers/iommu/intel_irq_remapping.c static void intel_teardown_irq_remapping(struct intel_iommu *iommu) intel_iommu 651 drivers/iommu/intel_irq_remapping.c static void iommu_disable_irq_remapping(struct intel_iommu *iommu) intel_iommu 693 drivers/iommu/intel_irq_remapping.c struct intel_iommu *iommu; intel_iommu 709 drivers/iommu/intel_irq_remapping.c struct intel_iommu *iommu; intel_iommu 780 drivers/iommu/intel_irq_remapping.c struct intel_iommu *iommu; intel_iommu 806 drivers/iommu/intel_irq_remapping.c struct intel_iommu *iommu; intel_iommu 835 drivers/iommu/intel_irq_remapping.c struct intel_iommu *iommu, intel_iommu 880 drivers/iommu/intel_irq_remapping.c struct intel_iommu *iommu, intel_iommu 925 drivers/iommu/intel_irq_remapping.c struct intel_iommu *iommu) intel_iommu 948 drivers/iommu/intel_irq_remapping.c static void ir_remove_ioapic_hpet_scope(struct intel_iommu *iommu) intel_iommu 968 drivers/iommu/intel_irq_remapping.c struct intel_iommu *iommu; intel_iommu 1019 drivers/iommu/intel_irq_remapping.c struct intel_iommu *iommu = NULL; intel_iommu 1042 drivers/iommu/intel_irq_remapping.c struct intel_iommu *iommu = NULL; intel_iommu 1097 drivers/iommu/intel_irq_remapping.c struct intel_iommu *iommu = NULL; intel_iommu 1123 drivers/iommu/intel_irq_remapping.c struct intel_iommu *iommu; intel_iommu 1347 drivers/iommu/intel_irq_remapping.c struct intel_iommu *iommu = domain->host_data; intel_iommu 1453 drivers/iommu/intel_irq_remapping.c static int dmar_ir_add(struct dmar_drhd_unit *dmaru, struct intel_iommu *iommu) intel_iommu 1489 drivers/iommu/intel_irq_remapping.c struct intel_iommu *iommu = dmaru->iommu; intel_iommu 32 include/linux/dmar.h struct intel_iommu; intel_iommu 51 include/linux/dmar.h struct intel_iommu *iommu; intel_iommu 278 include/linux/dmar.h extern int dmar_set_interrupt(struct intel_iommu *iommu); intel_iommu 424 include/linux/intel-iommu.h void (*flush_context)(struct intel_iommu *iommu, u16 did, u16 sid, intel_iommu 426 include/linux/intel-iommu.h void (*flush_iotlb)(struct intel_iommu *iommu, u16 did, u64 addr, intel_iommu 581 include/linux/intel-iommu.h struct intel_iommu *iommu; /* IOMMU used by this device */ intel_iommu 587 include/linux/intel-iommu.h struct intel_iommu *iommu, void *addr, int size) intel_iommu 639 include/linux/intel-iommu.h extern int dmar_enable_qi(struct intel_iommu *iommu); intel_iommu 640 include/linux/intel-iommu.h extern void dmar_disable_qi(struct intel_iommu *iommu); intel_iommu 641 include/linux/intel-iommu.h extern int dmar_reenable_qi(struct intel_iommu *iommu); intel_iommu 642 include/linux/intel-iommu.h extern void qi_global_iec(struct intel_iommu *iommu); intel_iommu 644 include/linux/intel-iommu.h extern void qi_flush_context(struct intel_iommu *iommu, u16 did, u16 sid, intel_iommu 646 include/linux/intel-iommu.h extern void qi_flush_iotlb(struct intel_iommu *iommu, u16 did, u64 addr, intel_iommu 648 include/linux/intel-iommu.h extern void qi_flush_dev_iotlb(struct intel_iommu *iommu, u16 sid, u16 pfsid, intel_iommu 650 include/linux/intel-iommu.h extern int qi_submit_sync(struct qi_desc *desc, struct intel_iommu *iommu); intel_iommu 656 include/linux/intel-iommu.h struct intel_iommu *domain_get_iommu(struct dmar_domain *domain); intel_iommu 659 include/linux/intel-iommu.h void iommu_flush_write_buffer(struct intel_iommu *iommu); intel_iommu 660 include/linux/intel-iommu.h int intel_iommu_enable_pasid(struct intel_iommu *iommu, struct device *dev); intel_iommu 663 include/linux/intel-iommu.h int intel_svm_init(struct intel_iommu *iommu); intel_iommu 664 include/linux/intel-iommu.h extern int intel_svm_enable_prq(struct intel_iommu *iommu); intel_iommu 665 include/linux/intel-iommu.h extern int intel_svm_finish_prq(struct intel_iommu *iommu); intel_iommu 683 include/linux/intel-iommu.h struct intel_iommu *iommu; intel_iommu 690 include/linux/intel-iommu.h extern struct intel_iommu *intel_svm_device_to_iommu(struct device *dev); intel_iommu 701 include/linux/intel-iommu.h struct context_entry *iommu_context_addr(struct intel_iommu *iommu, u8 bus, intel_iommu 705 include/linux/intel-iommu.h extern int iommu_calculate_agaw(struct intel_iommu *iommu); intel_iommu 706 include/linux/intel-iommu.h extern int iommu_calculate_max_sagaw(struct intel_iommu *iommu); intel_iommu 711 include/linux/intel-iommu.h static inline int iommu_calculate_agaw(struct intel_iommu *iommu) intel_iommu 715 include/linux/intel-iommu.h static inline int iommu_calculate_max_sagaw(struct intel_iommu *iommu) intel_iommu 11 include/trace/events/intel_iommu.h #define TRACE_SYSTEM intel_iommu