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 Diommu.c412 struct dmar_drhd_unit *drhd; in quirk_ioat_snb_local_iommu() local
430 drhd = dmar_find_matched_drhd_unit(pdev); in quirk_ioat_snb_local_iommu()
431 if (!drhd || drhd->reg_base_addr - vtbar != 0xa000) { in quirk_ioat_snb_local_iommu()
442 if (!iommu || iommu->drhd->ignored) in iommu_is_dummy()
459 struct dmar_drhd_unit *drhd = NULL; in device_lookup_iommu() local
483 for_each_iommu(iommu, drhd) { in device_lookup_iommu()
484 if (pdev && segment != drhd->segment) in device_lookup_iommu()
487 for_each_active_dev_scope(drhd->devices, in device_lookup_iommu()
488 drhd->devices_cnt, i, tmp) { in device_lookup_iommu()
498 *bus = drhd->devices[i].bus; in device_lookup_iommu()
[all …]
H A Diommu.h738 struct dmar_drhd_unit *drhd; member