Searched refs:drhd (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.15/include/linux/ |
D | dmar.h | 73 #define for_each_drhd_unit(drhd) \ argument 74 list_for_each_entry_rcu(drhd, &dmar_drhd_units, list, \ 77 #define for_each_active_drhd_unit(drhd) \ argument 78 list_for_each_entry_rcu(drhd, &dmar_drhd_units, list, \ 80 if (drhd->ignored) {} else 82 #define for_each_active_iommu(i, drhd) \ argument 83 list_for_each_entry_rcu(drhd, &dmar_drhd_units, list, \ 85 if (i=drhd->iommu, drhd->ignored) {} else 87 #define for_each_iommu(i, drhd) \ argument 88 list_for_each_entry_rcu(drhd, &dmar_drhd_units, list, \ [all …]
|
D | intel-iommu.h | 622 struct dmar_drhd_unit *drhd; member
|
/Linux-v5.15/drivers/iommu/intel/ |
D | dmar.c | 66 static int alloc_iommu(struct dmar_drhd_unit *drhd); 71 static void dmar_register_drhd_unit(struct dmar_drhd_unit *drhd) in dmar_register_drhd_unit() argument 77 if (drhd->include_all) in dmar_register_drhd_unit() 78 list_add_tail_rcu(&drhd->list, &dmar_drhd_units); in dmar_register_drhd_unit() 80 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 …]
|
D | debugfs.c | 116 struct dmar_drhd_unit *drhd; in iommu_regset_show() local 123 for_each_active_iommu(iommu, drhd) { in iommu_regset_show() 124 if (!drhd->reg_base_addr) { in iommu_regset_show() 131 iommu->name, drhd->reg_base_addr); in iommu_regset_show() 287 struct dmar_drhd_unit *drhd; in dmar_translation_struct_show() local 292 for_each_active_iommu(iommu, drhd) { in dmar_translation_struct_show() 408 struct dmar_drhd_unit *drhd; in invalidation_queue_show() local 415 for_each_active_iommu(iommu, drhd) { in invalidation_queue_show() 496 struct dmar_drhd_unit *drhd; in ir_translation_struct_show() local 502 for_each_active_iommu(iommu, drhd) { in ir_translation_struct_show() [all …]
|
D | irq_remapping.c | 231 struct dmar_drhd_unit *drhd = dmar_find_matched_drhd_unit(dev); in map_dev_to_ir() local 233 return drhd ? drhd->iommu->ir_msi_domain : NULL; in map_dev_to_ir() 705 struct dmar_drhd_unit *drhd; in intel_cleanup_irq_remapping() local 708 for_each_iommu(iommu, drhd) { in intel_cleanup_irq_remapping() 721 struct dmar_drhd_unit *drhd; in intel_prepare_irq_remapping() local 750 for_each_iommu(iommu, drhd) in intel_prepare_irq_remapping() 763 for_each_iommu(iommu, drhd) { in intel_prepare_irq_remapping() 775 for_each_iommu(iommu, drhd) { in intel_prepare_irq_remapping() 795 struct dmar_drhd_unit *drhd; in set_irq_posting_cap() local 810 for_each_iommu(iommu, drhd) in set_irq_posting_cap() [all …]
|
D | iommu.c | 600 struct dmar_drhd_unit *drhd; in domain_update_iommu_coherency() local 619 for_each_active_iommu(iommu, drhd) { in domain_update_iommu_coherency() 630 struct dmar_drhd_unit *drhd; in domain_update_iommu_snooping() local 635 for_each_active_iommu(iommu, drhd) { in domain_update_iommu_snooping() 658 struct dmar_drhd_unit *drhd; in domain_update_iommu_superpage() local 667 for_each_active_iommu(iommu, drhd) { in domain_update_iommu_superpage() 830 struct dmar_drhd_unit *drhd; in quirk_ioat_snb_local_iommu() local 848 drhd = dmar_find_matched_drhd_unit(pdev); in quirk_ioat_snb_local_iommu() 849 if (!drhd || drhd->reg_base_addr - vtbar != 0xa000) { in quirk_ioat_snb_local_iommu() 860 if (!iommu || iommu->drhd->ignored) in iommu_is_dummy() [all …]
|