Lines Matching refs:intel_iommu

130 struct device *device_rbtree_find(struct intel_iommu *iommu, u16 rid)  in device_rbtree_find()
145 static int device_rbtree_insert(struct intel_iommu *iommu, in device_rbtree_insert()
162 struct intel_iommu *iommu = info->iommu; in device_rbtree_remove()
191 struct intel_iommu *iommu; /* the corresponding iommu */
221 static bool translation_pre_enabled(struct intel_iommu *iommu) in translation_pre_enabled()
226 static void clear_translation_pre_enabled(struct intel_iommu *iommu) in clear_translation_pre_enabled()
231 static void init_translation_status(struct intel_iommu *iommu) in init_translation_status()
299 static unsigned long __iommu_calculate_sagaw(struct intel_iommu *iommu) in __iommu_calculate_sagaw()
317 static int __iommu_calculate_agaw(struct intel_iommu *iommu, int max_gaw) in __iommu_calculate_agaw()
334 int iommu_calculate_max_sagaw(struct intel_iommu *iommu) in iommu_calculate_max_sagaw()
344 int iommu_calculate_agaw(struct intel_iommu *iommu) in iommu_calculate_agaw()
349 static bool iommu_paging_structure_coherency(struct intel_iommu *iommu) in iommu_paging_structure_coherency()
359 struct intel_iommu *iommu; in domain_update_iommu_coherency()
386 struct intel_iommu *skip) in domain_update_iommu_superpage()
389 struct intel_iommu *iommu; in domain_update_iommu_superpage()
483 struct context_entry *iommu_context_addr(struct intel_iommu *iommu, u8 bus, in iommu_context_addr()
581 static bool iommu_is_dummy(struct intel_iommu *iommu, struct device *dev) in iommu_is_dummy()
598 static struct intel_iommu *device_lookup_iommu(struct device *dev, u8 *bus, u8 *devfn) in device_lookup_iommu()
602 struct intel_iommu *iommu; in device_lookup_iommu()
675 static void free_context_table(struct intel_iommu *iommu) in free_context_table()
701 static void pgtable_walk(struct intel_iommu *iommu, unsigned long pfn, in pgtable_walk()
725 void dmar_fault_dump_ptes(struct intel_iommu *iommu, u16 source_id, in dmar_fault_dump_ptes()
1082 static int iommu_alloc_root_entry(struct intel_iommu *iommu) in iommu_alloc_root_entry()
1099 static void iommu_set_root_entry(struct intel_iommu *iommu) in iommu_set_root_entry()
1133 void iommu_flush_write_buffer(struct intel_iommu *iommu) in iommu_flush_write_buffer()
1152 static void __iommu_flush_context(struct intel_iommu *iommu, in __iommu_flush_context()
1187 void __iommu_flush_iotlb(struct intel_iommu *iommu, u16 did, u64 addr, in __iommu_flush_iotlb()
1239 struct intel_iommu *iommu, u8 bus, u8 devfn) in domain_lookup_dev_info()
1308 static void iommu_disable_protect_mem_regions(struct intel_iommu *iommu) in iommu_disable_protect_mem_regions()
1328 static void iommu_enable_translation(struct intel_iommu *iommu) in iommu_enable_translation()
1344 static void iommu_disable_translation(struct intel_iommu *iommu) in iommu_disable_translation()
1364 static int iommu_init_domains(struct intel_iommu *iommu) in iommu_init_domains()
1399 static void disable_dmar_iommu(struct intel_iommu *iommu) in disable_dmar_iommu()
1416 static void free_dmar_iommu(struct intel_iommu *iommu) in free_dmar_iommu()
1478 int domain_attach_iommu(struct dmar_domain *domain, struct intel_iommu *iommu) in domain_attach_iommu()
1530 void domain_detach_iommu(struct dmar_domain *domain, struct intel_iommu *iommu) in domain_detach_iommu()
1588 static void copied_context_tear_down(struct intel_iommu *iommu, in copied_context_tear_down()
1620 static void context_present_cache_flush(struct intel_iommu *iommu, u16 did, in context_present_cache_flush()
1635 struct intel_iommu *iommu, in domain_context_mapping_one()
1700 struct intel_iommu *iommu = info->iommu; in domain_context_mapping_cb()
1711 struct intel_iommu *iommu = info->iommu; in domain_context_mapping()
1890 struct intel_iommu *iommu = info->iommu; in domain_context_clear_one()
1908 static int domain_setup_first_level(struct intel_iommu *iommu, in domain_setup_first_level()
1952 struct intel_iommu *iommu = info->iommu; in dmar_domain_attach_device()
2023 struct intel_iommu *iommu = info->iommu; in device_def_domain_type()
2042 static void intel_iommu_init_qi(struct intel_iommu *iommu) in intel_iommu_init_qi()
2077 static int copy_context_table(struct intel_iommu *iommu, in copy_context_table()
2161 static int copy_translation_tables(struct intel_iommu *iommu) in copy_translation_tables()
2249 struct intel_iommu *iommu; in init_dmars()
2426 struct intel_iommu *iommu = NULL; in init_iommu_hw()
2460 struct intel_iommu *iommu; in iommu_flush_all()
2473 struct intel_iommu *iommu = NULL; in iommu_suspend()
2500 struct intel_iommu *iommu = NULL; in iommu_resume()
2750 struct intel_iommu *iommu = dmaru->iommu; in intel_iommu_add()
2816 struct intel_iommu *iommu = dmaru->iommu; in dmar_iommu_hotplug()
2880 static int dmar_ats_supported(struct pci_dev *dev, struct intel_iommu *iommu) in dmar_ats_supported()
3008 struct intel_iommu *iommu = NULL; in intel_disable_iommus()
3018 struct intel_iommu *iommu = NULL; in intel_iommu_shutdown()
3035 static struct intel_iommu *dev_to_intel_iommu(struct device *dev) in dev_to_intel_iommu()
3039 return container_of(iommu_dev, struct intel_iommu, iommu); in dev_to_intel_iommu()
3045 struct intel_iommu *iommu = dev_to_intel_iommu(dev); in version_show()
3055 struct intel_iommu *iommu = dev_to_intel_iommu(dev); in address_show()
3063 struct intel_iommu *iommu = dev_to_intel_iommu(dev); in cap_show()
3071 struct intel_iommu *iommu = dev_to_intel_iommu(dev); in ecap_show()
3079 struct intel_iommu *iommu = dev_to_intel_iommu(dev); in domains_supported_show()
3087 struct intel_iommu *iommu = dev_to_intel_iommu(dev); in domains_used_show()
3152 struct intel_iommu *iommu __maybe_unused; in probe_acpi_namespace_devices()
3201 struct intel_iommu *iommu; in intel_iommu_init()
3360 struct intel_iommu *iommu = info->iommu; in device_block_translation()
3419 static int iommu_superpage_capability(struct intel_iommu *iommu, bool first_stage) in iommu_superpage_capability()
3433 struct intel_iommu *iommu = info->iommu; in paging_domain_alloc()
3532 struct intel_iommu *iommu = info->iommu; in intel_iommu_domain_alloc_user()
3591 struct intel_iommu *iommu = info->iommu; in prepare_domain_attach_device()
3854 struct intel_iommu *iommu; in intel_iommu_probe_device()
3958 struct intel_iommu *iommu = info->iommu; in intel_iommu_release_device()
4049 struct intel_iommu *iommu; in intel_iommu_enable_sva()
4083 struct intel_iommu *iommu = info->iommu; in context_flip_pri()
4118 struct intel_iommu *iommu; in intel_iommu_enable_iopf()
4165 struct intel_iommu *iommu = info->iommu; in intel_iommu_disable_iopf()
4260 struct intel_iommu *iommu = info->iommu; in intel_iommu_remove_dev_pasid()
4294 struct intel_iommu *iommu = info->iommu; in intel_iommu_set_dev_pasid()
4355 struct intel_iommu *iommu = info->iommu; in intel_iommu_hw_info()
4497 struct intel_iommu *iommu = info->iommu; in context_setup_pass_through()
4556 struct intel_iommu *iommu = info->iommu; in identity_domain_attach_dev()
4579 struct intel_iommu *iommu = info->iommu; in identity_domain_set_dev_pasid()
4879 int ecmd_submit_sync(struct intel_iommu *iommu, u8 ecmd, u64 oa, u64 ob) in ecmd_submit_sync()