Home
last modified time | relevance | path

Searched refs:drhd (Results 1 – 4 of 4) sorted by relevance

/drivers/iommu/intel/
Ddmar.c64 static int alloc_iommu(struct dmar_drhd_unit *drhd);
69 static void dmar_register_drhd_unit(struct dmar_drhd_unit *drhd) in dmar_register_drhd_unit() argument
75 if (drhd->include_all) in dmar_register_drhd_unit()
76 list_add_tail_rcu(&drhd->list, &dmar_drhd_units); in dmar_register_drhd_unit()
78 list_add_rcu(&drhd->list, &dmar_drhd_units); in dmar_register_drhd_unit()
299 struct acpi_dmar_hardware_unit *drhd; in dmar_pci_bus_add_dev() local
305 drhd = container_of(dmaru->hdr, in dmar_pci_bus_add_dev()
307 ret = dmar_insert_dev_scope(info, (void *)(drhd + 1), in dmar_pci_bus_add_dev()
308 ((void *)drhd) + drhd->header.length, in dmar_pci_bus_add_dev()
392 dmar_find_dmaru(struct acpi_dmar_hardware_unit *drhd) in dmar_find_dmaru() argument
[all …]
Dirq_remapping.c238 struct dmar_drhd_unit *drhd = dmar_find_matched_drhd_unit(dev); in map_dev_to_ir() local
240 return drhd ? drhd->iommu->ir_msi_domain : NULL; in map_dev_to_ir()
719 struct dmar_drhd_unit *drhd; in intel_cleanup_irq_remapping() local
722 for_each_iommu(iommu, drhd) { in intel_cleanup_irq_remapping()
735 struct dmar_drhd_unit *drhd; in intel_prepare_irq_remapping() local
761 for_each_iommu(iommu, drhd) in intel_prepare_irq_remapping()
774 for_each_iommu(iommu, drhd) { in intel_prepare_irq_remapping()
786 for_each_iommu(iommu, drhd) { in intel_prepare_irq_remapping()
806 struct dmar_drhd_unit *drhd; in set_irq_posting_cap() local
821 for_each_iommu(iommu, drhd) in set_irq_posting_cap()
[all …]
Diommu.c644 struct dmar_drhd_unit *drhd; in domain_update_iommu_coherency() local
663 for_each_active_iommu(iommu, drhd) { in domain_update_iommu_coherency()
674 struct dmar_drhd_unit *drhd; in domain_update_iommu_snooping() local
679 for_each_active_iommu(iommu, drhd) { in domain_update_iommu_snooping()
702 struct dmar_drhd_unit *drhd; in domain_update_iommu_superpage() local
712 for_each_active_iommu(iommu, drhd) { in domain_update_iommu_superpage()
853 struct dmar_drhd_unit *drhd; in quirk_ioat_snb_local_iommu() local
871 drhd = dmar_find_matched_drhd_unit(pdev); in quirk_ioat_snb_local_iommu()
872 if (!drhd || drhd->reg_base_addr - vtbar != 0xa000) { in quirk_ioat_snb_local_iommu()
883 if (!iommu || iommu->drhd->ignored) in iommu_is_dummy()
[all …]
Ddebugfs.c112 struct dmar_drhd_unit *drhd; in iommu_regset_show() local
119 for_each_active_iommu(iommu, drhd) { in iommu_regset_show()
120 if (!drhd->reg_base_addr) { in iommu_regset_show()
127 iommu->name, drhd->reg_base_addr); in iommu_regset_show()
283 struct dmar_drhd_unit *drhd; in dmar_translation_struct_show() local
288 for_each_active_iommu(iommu, drhd) { in dmar_translation_struct_show()
404 struct dmar_drhd_unit *drhd; in invalidation_queue_show() local
411 for_each_active_iommu(iommu, drhd) { in invalidation_queue_show()
492 struct dmar_drhd_unit *drhd; in ir_translation_struct_show() local
498 for_each_active_iommu(iommu, drhd) { in ir_translation_struct_show()
[all …]