Searched refs:drhd (Results 1 – 6 of 6) sorted by relevance
| /Linux-v6.1/include/linux/ |
| D | dmar.h | 69 #define for_each_drhd_unit(drhd) \ argument 70 list_for_each_entry_rcu(drhd, &dmar_drhd_units, list, \ 73 #define for_each_active_drhd_unit(drhd) \ argument 74 list_for_each_entry_rcu(drhd, &dmar_drhd_units, list, \ 76 if (drhd->ignored) {} else 78 #define for_each_active_iommu(i, drhd) \ argument 79 list_for_each_entry_rcu(drhd, &dmar_drhd_units, list, \ 81 if (i=drhd->iommu, drhd->ignored) {} else 83 #define for_each_iommu(i, drhd) \ argument 84 list_for_each_entry_rcu(drhd, &dmar_drhd_units, list, \ [all …]
|
| /Linux-v6.1/drivers/iommu/intel/ |
| D | dmar.c | 65 static int alloc_iommu(struct dmar_drhd_unit *drhd); 68 static void dmar_register_drhd_unit(struct dmar_drhd_unit *drhd) in dmar_register_drhd_unit() argument 74 if (drhd->include_all) in dmar_register_drhd_unit() 75 list_add_tail_rcu(&drhd->list, &dmar_drhd_units); in dmar_register_drhd_unit() 77 list_add_rcu(&drhd->list, &dmar_drhd_units); in dmar_register_drhd_unit() 296 struct acpi_dmar_hardware_unit *drhd; in dmar_pci_bus_add_dev() local 302 drhd = container_of(dmaru->hdr, in dmar_pci_bus_add_dev() 304 ret = dmar_insert_dev_scope(info, (void *)(drhd + 1), in dmar_pci_bus_add_dev() 305 ((void *)drhd) + drhd->header.length, in dmar_pci_bus_add_dev() 389 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() 285 struct dmar_drhd_unit *drhd; in dmar_translation_struct_show() local 290 for_each_active_iommu(iommu, drhd) { in dmar_translation_struct_show() 425 struct dmar_drhd_unit *drhd; in invalidation_queue_show() local 432 for_each_active_iommu(iommu, drhd) { in invalidation_queue_show() 513 struct dmar_drhd_unit *drhd; in ir_translation_struct_show() local 519 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() 714 struct dmar_drhd_unit *drhd; in intel_cleanup_irq_remapping() local 717 for_each_iommu(iommu, drhd) { in intel_cleanup_irq_remapping() 730 struct dmar_drhd_unit *drhd; in intel_prepare_irq_remapping() local 759 for_each_iommu(iommu, drhd) in intel_prepare_irq_remapping() 772 for_each_iommu(iommu, drhd) { in intel_prepare_irq_remapping() 784 for_each_iommu(iommu, drhd) { in intel_prepare_irq_remapping() 804 struct dmar_drhd_unit *drhd; in set_irq_posting_cap() local 819 for_each_iommu(iommu, drhd) in set_irq_posting_cap() [all …]
|
| D | iommu.c | 462 struct dmar_drhd_unit *drhd; in domain_update_iommu_coherency() local 480 for_each_active_iommu(iommu, drhd) { in domain_update_iommu_coherency() 492 struct dmar_drhd_unit *drhd; in domain_update_iommu_superpage() local 501 for_each_active_iommu(iommu, drhd) { in domain_update_iommu_superpage() 660 struct dmar_drhd_unit *drhd; in quirk_ioat_snb_local_iommu() local 678 drhd = dmar_find_matched_drhd_unit(pdev); in quirk_ioat_snb_local_iommu() 679 if (!drhd || drhd->reg_base_addr - vtbar != 0xa000) { in quirk_ioat_snb_local_iommu() 690 if (!iommu || iommu->drhd->ignored) in iommu_is_dummy() 707 struct dmar_drhd_unit *drhd = NULL; in device_to_iommu() local 731 for_each_iommu(iommu, drhd) { in device_to_iommu() [all …]
|
| D | iommu.h | 609 struct dmar_drhd_unit *drhd; member
|