Home
last modified time | relevance | path

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

/linux/drivers/iommu/intel/
H A Ddmar.c67 static int alloc_iommu(struct dmar_drhd_unit *drhd);
70 static void dmar_register_drhd_unit(struct dmar_drhd_unit *drhd) in dmar_register_drhd_unit() argument
76 if (drhd->include_all) in dmar_register_drhd_unit()
77 list_add_tail_rcu(&drhd->list, &dmar_drhd_units); in dmar_register_drhd_unit()
79 list_add_rcu(&drhd->list, &dmar_drhd_units); in dmar_register_drhd_unit()
297 struct acpi_dmar_hardware_unit *drhd; in dmar_pci_bus_add_dev() local
303 drhd = container_of(dmaru->hdr, in dmar_pci_bus_add_dev()
305 ret = dmar_insert_dev_scope(info, (void *)(drhd + 1), in dmar_pci_bus_add_dev()
306 ((void *)drhd) + drhd->header.length, in dmar_pci_bus_add_dev()
390 dmar_find_dmaru(struct acpi_dmar_hardware_unit *drhd) in dmar_find_dmaru() argument
[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()
130 iommu->name, drhd->reg_base_addr); in iommu_regset_show()
284 struct dmar_drhd_unit *drhd; in dmar_translation_struct_show() local
289 for_each_active_iommu(iommu, drhd) { in dmar_translation_struct_show()
352 struct dmar_drhd_unit *drhd; in domain_translation_struct_show() local
361 for_each_active_iommu(iommu, drhd) { in domain_translation_struct_show()
511 struct dmar_drhd_unit *drhd; in invalidation_queue_show() local
518 for_each_active_iommu(iommu, drhd) { in invalidation_queue_show()
[all …]
H A Diommu.c441 struct dmar_drhd_unit *drhd; in quirk_ioat_snb_local_iommu() local
459 drhd = dmar_find_matched_drhd_unit(pdev); in quirk_ioat_snb_local_iommu()
460 if (!drhd || drhd->reg_base_addr - vtbar != 0xa000) { in quirk_ioat_snb_local_iommu()
471 if (!iommu || iommu->drhd->ignored) in iommu_is_dummy()
488 struct dmar_drhd_unit *drhd = NULL; in device_lookup_iommu() local
512 for_each_iommu(iommu, drhd) { in device_lookup_iommu()
513 if (pdev && segment != drhd->segment) in device_lookup_iommu()
516 for_each_active_dev_scope(drhd->devices, in device_lookup_iommu()
517 drhd->devices_cnt, i, tmp) { in device_lookup_iommu()
527 *bus = drhd->devices[i].bus; in device_lookup_iommu()
[all …]