Home
last modified time | relevance | path

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

/hypervisor/acpi_parser/
A Ddmar_parse.c82 static uint32_t get_drhd_dev_scope_cnt(struct acpi_dmar_hardware_unit *drhd) in get_drhd_dev_scope_cnt() argument
89 start = (char *)drhd + sizeof(struct acpi_dmar_hardware_unit); in get_drhd_dev_scope_cnt()
90 end = (char *)drhd + drhd->header.length; in get_drhd_dev_scope_cnt()
107 static int32_t handle_one_drhd(struct acpi_dmar_hardware_unit *acpi_drhd, struct dmar_drhd *drhd) in handle_one_drhd() argument
115 drhd->segment = acpi_drhd->segment; in handle_one_drhd()
116 drhd->flags = acpi_drhd->flags; in handle_one_drhd()
117 drhd->reg_base_addr = acpi_drhd->address; in handle_one_drhd()
122 drhd->dev_cnt = dev_count; in handle_one_drhd()
126 dev_scope = drhd->devices; in handle_one_drhd()
135 if ((((uint32_t)drhd->segment << 16U) | in handle_one_drhd()
[all …]
/hypervisor/arch/x86/
A Dvtd.c127 struct dmar_drhd *drhd; member
210 drhd_rt->drhd = &platform_dmar_info->drhd_units[i]; in register_hrhd_units()
213 set_paging_supervisor(drhd_rt->drhd->reg_base_addr, PAGE_SIZE); in register_hrhd_units()
286 pr_info("dmar unit[0x%x]", dmar_unit->drhd->reg_base_addr); in dmar_unit_show_capability()
502 for (i = 0U; i < dmar_unit->drhd->dev_cnt; i++) { in ioapic_to_dmaru()
504 ((uint16_t)dmar_unit->drhd->devices[i].id == ioapic_id)) { in ioapic_to_dmaru()
505 sid->fields.devfun = dmar_unit->drhd->devices[i].devfun; in ioapic_to_dmaru()
506 sid->fields.bus = dmar_unit->drhd->devices[i].bus; in ioapic_to_dmaru()
982 if ((dmar_unit != NULL) && (dmar_unit->drhd->ignore)) { in is_dmar_unit_ignored()
995 } else if (dmar_unit->drhd->ignore) { in is_dmar_unit_valid()
[all …]

Completed in 6 milliseconds