Lines Matching refs:acpi_drhd
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()
119 dev_count = get_drhd_dev_scope_cnt(acpi_drhd); in handle_one_drhd()
124 remaining = (int32_t)(acpi_drhd->header.length - sizeof(struct acpi_dmar_hardware_unit)); in handle_one_drhd()
129 cp = (char *)acpi_drhd + acpi_drhd->header.length - remaining; in handle_one_drhd()
164 struct acpi_dmar_hardware_unit *acpi_drhd; in parse_dmar_table() local
181 acpi_drhd = (struct acpi_dmar_hardware_unit *)dmar_header; in parse_dmar_table()
183 ASSERT(acpi_drhd->address != 0UL, "a zero base address DRHD. Please fix the BIOS."); in parse_dmar_table()
186 segment = acpi_drhd->segment; in parse_dmar_table()
189 if (segment != acpi_drhd->segment) { in parse_dmar_table()
194 if (acpi_drhd->flags & DRHD_FLAG_INCLUDE_PCI_ALL_MASK) { in parse_dmar_table()
201 handle_one_drhd(acpi_drhd, &(plat_dmar_info->drhd_units[dmar_unit_cnt - 1])); in parse_dmar_table()