Searched refs:drhd (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.10/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 | 610 struct dmar_drhd_unit *drhd; member
|
| /Linux-v5.10/drivers/iommu/intel/ |
| D | dmar.c | 64 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 …]
|
| D | irq_remapping.c | 238 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() 712 struct dmar_drhd_unit *drhd; in intel_cleanup_irq_remapping() local 715 for_each_iommu(iommu, drhd) { in intel_cleanup_irq_remapping() 728 struct dmar_drhd_unit *drhd; in intel_prepare_irq_remapping() local 754 for_each_iommu(iommu, drhd) in intel_prepare_irq_remapping() 767 for_each_iommu(iommu, drhd) { in intel_prepare_irq_remapping() 779 for_each_iommu(iommu, drhd) { in intel_prepare_irq_remapping() 799 struct dmar_drhd_unit *drhd; in set_irq_posting_cap() local 814 for_each_iommu(iommu, drhd) in set_irq_posting_cap() [all …]
|
| D | debugfs.c | 112 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 …]
|
| D | iommu.c | 622 struct dmar_drhd_unit *drhd; in domain_update_iommu_coherency() local 641 for_each_active_iommu(iommu, drhd) { in domain_update_iommu_coherency() 652 struct dmar_drhd_unit *drhd; in domain_update_iommu_snooping() local 657 for_each_active_iommu(iommu, drhd) { in domain_update_iommu_snooping() 673 struct dmar_drhd_unit *drhd; in domain_update_iommu_superpage() local 683 for_each_active_iommu(iommu, drhd) { in domain_update_iommu_superpage() 812 struct dmar_drhd_unit *drhd; in quirk_ioat_snb_local_iommu() local 830 drhd = dmar_find_matched_drhd_unit(pdev); in quirk_ioat_snb_local_iommu() 831 if (!drhd || drhd->reg_base_addr - vtbar != 0xa000) { in quirk_ioat_snb_local_iommu() 842 if (!iommu || iommu->drhd->ignored) in iommu_is_dummy() [all …]
|