Home
last modified time | relevance | path

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

/linux-6.15/include/linux/
H A Ddmar.h70 #define for_each_drhd_unit(drhd) \ argument
71 list_for_each_entry_rcu(drhd, &dmar_drhd_units, list, \
74 #define for_each_active_drhd_unit(drhd) \ argument
75 list_for_each_entry_rcu(drhd, &dmar_drhd_units, list, \
77 if (drhd->ignored) {} else
79 #define for_each_active_iommu(i, drhd) \ argument
80 list_for_each_entry_rcu(drhd, &dmar_drhd_units, list, \
82 if (i=drhd->iommu, drhd->ignored) {} else
84 #define for_each_iommu(i, drhd) \ argument
85 list_for_each_entry_rcu(drhd, &dmar_drhd_units, list, \
[all …]
/linux-6.15/drivers/iommu/intel/
H A Ddmar.c76 if (drhd->include_all) in dmar_register_drhd_unit()
306 ((void *)drhd) + drhd->header.length, in dmar_pci_bus_add_dev()
435 ((void *)drhd) + drhd->header.length, in dmar_parse_one_drhd()
535 (unsigned long long)drhd->address, drhd->flags); in dmar_table_print_dmar_entry()
744 (unsigned long)scope < ((unsigned long)drhd) + drhd->header.length; in dmar_acpi_insert_dev_scope()
887 drhd = (void *)entry; in dmar_validate_one_drhd()
1075 drhd->ignored = 1; in alloc_iommu()
1083 drhd->ignored = 1; in alloc_iommu()
1091 drhd->ignored = 1; in alloc_iommu()
1151 drhd->iommu = iommu; in alloc_iommu()
[all …]
H A Ddebugfs.c115 struct dmar_drhd_unit *drhd; in iommu_regset_show() local
122 for_each_active_iommu(iommu, drhd) { in iommu_regset_show()
123 if (!drhd->reg_base_addr) { in iommu_regset_show()
284 struct dmar_drhd_unit *drhd; in dmar_translation_struct_show() local
352 struct dmar_drhd_unit *drhd; in domain_translation_struct_show() local
511 struct dmar_drhd_unit *drhd; in invalidation_queue_show() local
599 struct dmar_drhd_unit *drhd; in ir_translation_struct_show() local
666 struct dmar_drhd_unit *drhd; in latency_show() local
670 for_each_active_iommu(iommu, drhd) in latency_show()
671 latency_show_one(m, iommu, drhd); in latency_show()
[all …]
H A Dirq_remapping.c221 return drhd ? drhd->iommu->ir_domain : NULL; in map_dev_to_ir()
688 struct dmar_drhd_unit *drhd; in intel_cleanup_irq_remapping() local
704 struct dmar_drhd_unit *drhd; in intel_prepare_irq_remapping() local
730 for_each_iommu(iommu, drhd) in intel_prepare_irq_remapping()
775 struct dmar_drhd_unit *drhd; in set_irq_posting_cap() local
790 for_each_iommu(iommu, drhd) in set_irq_posting_cap()
801 struct dmar_drhd_unit *drhd; in intel_enable_irq_remapping() local
929 start = (void *)(drhd + 1); in ir_parse_ioapic_hpet_scope()
963 struct dmar_drhd_unit *drhd; in parse_ioapics_under_ir() local
1014 struct dmar_drhd_unit *drhd; in disable_irq_remapping() local
[all …]
H A Diommu.c441 struct dmar_drhd_unit *drhd; in quirk_ioat_snb_local_iommu() local
460 if (!drhd || drhd->reg_base_addr - vtbar != 0xa000) { in quirk_ioat_snb_local_iommu()
2154 if (drhd->ignored) { in init_dmars()
2242 if (drhd->ignored) { in init_dmars()
2288 for_each_drhd_unit(drhd) { in init_no_remapping_devices()
2295 drhd->ignored = 1; in init_no_remapping_devices()
2300 if (drhd->include_all) in init_no_remapping_devices()
2312 drhd->gfx_dedicated = 1; in init_no_remapping_devices()
2314 drhd->ignored = 1; in init_no_remapping_devices()
2334 if (drhd->ignored) { in init_iommu_hw()
[all …]
H A Diommu.h756 struct dmar_drhd_unit *drhd; member