Searched refs:drhd (Results 1 – 9 of 9) sorted by relevance
/xen/xen/drivers/passthrough/vtd/ |
A D | dmar.c | 105 iommu_free(drhd); in disable_all_dmar_units() 106 xfree(drhd); in disable_all_dmar_units() 138 return drhd; in ioapic_to_drhd() 169 return drhd; in hpet_to_drhd() 177 return drhd ? drhd->iommu : NULL; in hpet_to_iommu() 260 if ( drhd == NULL ) in drhd_to_rhsa() 273 return drhd && (drhd->address == igd_drhd_address); in is_igd_drhd() 365 if ( drhd ) in acpi_parse_dev_scope() 387 if ( drhd ) in acpi_parse_dev_scope() 401 if ( drhd ) in acpi_parse_dev_scope() [all …]
|
A D | iommu.c | 554 iommu = drhd->iommu; in iommu_flush_all() 597 iommu = drhd->iommu; in iommu_flush_iotlb() 745 if ( is_igd_drhd(drhd) ) in iommu_enable_translation() 1184 iommu->drhd = drhd; in iommu_alloc() 1185 drhd->iommu = iommu; in iommu_alloc() 1259 drhd->iommu = NULL; in iommu_free() 1473 if ( !drhd ) in domain_context_mapping() 1646 if ( !drhd ) in domain_context_unmap() 1648 iommu = drhd->iommu; in domain_context_unmap() 1722 if ( drhd && drhd->iommu == iommu ) in domain_context_unmap() [all …]
|
A D | quirks.c | 143 struct acpi_drhd_unit *drhd = iommu->drhd; in cantiga_vtd_ops_preamble() local 145 if ( !is_igd_drhd(drhd) || !is_cantiga_b3 ) in cantiga_vtd_ops_preamble() 177 struct acpi_drhd_unit *drhd = iommu->drhd; in snb_vtd_ops_preamble() local 180 if ( !is_igd_drhd(drhd) || !is_snb_gfx ) in snb_vtd_ops_preamble() 206 struct acpi_drhd_unit *drhd = iommu->drhd; in snb_vtd_ops_postamble() local 208 if ( !is_igd_drhd(drhd) || !is_snb_gfx ) in snb_vtd_ops_postamble() 333 struct acpi_drhd_unit *drhd; in map_me_phantom_function() local 339 drhd = acpi_find_matched_drhd_unit(pdev); in map_me_phantom_function() 343 rc = domain_context_mapping_one(domain, drhd->iommu, 0, in map_me_phantom_function() 346 rc = domain_context_unmap_one(domain, drhd->iommu, 0, in map_me_phantom_function()
|
A D | intremap.c | 147 struct acpi_drhd_unit *drhd; in intel_iommu_supports_eim() local 163 for_each_drhd_unit ( drhd ) in intel_iommu_supports_eim() 715 if ( drhd ) in msi_msg_read_remap_rte() 729 return drhd ? msi_msg_to_remap_entry(drhd->iommu, pdev, msi_desc, msg) in msi_msg_write_remap_rte() 892 for_each_drhd_unit ( drhd ) in intel_iommu_enable_eim() 894 iommu = drhd->iommu; in intel_iommu_enable_eim() 908 for_each_drhd_unit ( drhd ) in intel_iommu_enable_eim() 910 iommu = drhd->iommu; in intel_iommu_enable_eim() 920 for_each_drhd_unit ( drhd ) in intel_iommu_enable_eim() 922 iommu = drhd->iommu; in intel_iommu_enable_eim() [all …]
|
A D | extern.h | 33 void print_iommu_regs(struct acpi_drhd_unit *drhd); 46 int iommu_alloc(struct acpi_drhd_unit *drhd); 47 void iommu_free(struct acpi_drhd_unit *drhd); 57 struct acpi_rhsa_unit *drhd_to_rhsa(const struct acpi_drhd_unit *drhd);
|
A D | utils.c | 52 void print_iommu_regs(struct acpi_drhd_unit *drhd) in print_iommu_regs() argument 54 struct vtd_iommu *iommu = drhd->iommu; in print_iommu_regs() 58 printk(" drhd->address = %"PRIx64"\n", drhd->address); in print_iommu_regs() 99 iommu->index, iommu->drhd->segment, bus, in print_vtd_entries() 177 struct acpi_drhd_unit *drhd; in vtd_dump_iommu_info() local 181 for_each_drhd_unit ( drhd ) in vtd_dump_iommu_info() 185 iommu = drhd->iommu; in vtd_dump_iommu_info()
|
A D | dmar.h | 93 #define for_each_drhd_unit(drhd) \ argument 94 list_for_each_entry(drhd, &acpi_drhd_units, list) 132 int is_igd_drhd(struct acpi_drhd_unit *drhd);
|
A D | iommu.h | 520 struct acpi_drhd_unit *drhd; member
|
/xen/xen/drivers/passthrough/vtd/x86/ |
A D | ats.c | 35 struct acpi_drhd_unit *drhd; in find_ats_dev_drhd() local 36 list_for_each_entry ( drhd, &ats_dev_drhd_units, list ) in find_ats_dev_drhd() 38 if ( drhd->iommu == iommu ) in find_ats_dev_drhd() 39 return drhd; in find_ats_dev_drhd() 44 int ats_device(const struct pci_dev *pdev, const struct acpi_drhd_unit *drhd) in ats_device() argument 52 if ( !ecap_queued_inval(drhd->iommu->ecap) || in ats_device() 53 !ecap_dev_iotlb(drhd->iommu->ecap) ) in ats_device() 59 ats_drhd = find_ats_dev_drhd(drhd->iommu); in ats_device() 68 *ats_drhd = *drhd; in ats_device()
|
Completed in 21 milliseconds