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 Dirq_remapping.c220 struct dmar_drhd_unit *drhd = dmar_find_matched_drhd_unit(dev); in map_dev_to_ir() local
222 return drhd ? drhd->iommu->ir_domain : NULL; in map_dev_to_ir()
686 struct dmar_drhd_unit *drhd; in intel_cleanup_irq_remapping() local
689 for_each_iommu(iommu, drhd) { in intel_cleanup_irq_remapping()
702 struct dmar_drhd_unit *drhd; in intel_prepare_irq_remapping() local
728 for_each_iommu(iommu, drhd) in intel_prepare_irq_remapping()
741 for_each_iommu(iommu, drhd) { in intel_prepare_irq_remapping()
753 for_each_iommu(iommu, drhd) { in intel_prepare_irq_remapping()
773 struct dmar_drhd_unit *drhd; in set_irq_posting_cap() local
788 for_each_iommu(iommu, drhd) in set_irq_posting_cap()
[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 …]