Home
last modified time | relevance | path

Searched refs:fadt (Results 1 – 6 of 6) sorted by relevance

/xen/xen/arch/x86/acpi/
A Dboot.c357 if (fadt->header.revision >= 5 && in acpi_fadt_parse_sleep_info()
370 if ((fadt->sleep_control.address && in acpi_fadt_parse_sleep_info()
374 (fadt->sleep_status.address && in acpi_fadt_parse_sleep_info()
387 fadt->sleep_control.address = 0; in acpi_fadt_parse_sleep_info()
388 fadt->sleep_status.address = 0; in acpi_fadt_parse_sleep_info()
414 ? fadt->Xfacs : (uint64_t)fadt->facs); in acpi_fadt_parse_sleep_info()
415 if (fadt->facs && ((uint64_t)fadt->facs != facs_pa)) { in acpi_fadt_parse_sleep_info()
419 fadt->facs, facs_pa); in acpi_fadt_parse_sleep_info()
420 facs_pa = (uint64_t)fadt->facs; in acpi_fadt_parse_sleep_info()
468 acpi_fadt.sci_int = fadt->sci_int; in acpi_parse_fadt()
[all …]
/xen/tools/libacpi/
A Dbuild.c509 struct acpi_fadt *fadt; in acpi_build_tables() local
589 fadt_size = sizeof(*fadt); in acpi_build_tables()
596 if (!fadt) goto oom; in acpi_build_tables()
604 memcpy(fadt, &Fadt, fadt_size); in acpi_build_tables()
609 fadt->header.revision = config->acpi_revision; in acpi_build_tables()
610 fadt->header.length = fadt_size; in acpi_build_tables()
611 fadt->dsdt = ctxt->mem_ops.v2p(ctxt, dsdt); in acpi_build_tables()
612 fadt->x_dsdt = ctxt->mem_ops.v2p(ctxt, dsdt); in acpi_build_tables()
616 fadt->iapc_boot_arch |= ACPI_FADT_NO_VGA; in acpi_build_tables()
618 fadt->iapc_boot_arch |= ACPI_FADT_8042; in acpi_build_tables()
[all …]
/xen/xen/arch/arm/acpi/
A Dboot.c176 struct acpi_table_fadt *fadt = (struct acpi_table_fadt *)table; in acpi_parse_fadt() local
185 || (table->revision == 6 && fadt->minor_revision >= 0) ) in acpi_parse_fadt()
189 table->revision, fadt->minor_revision); in acpi_parse_fadt()
A Ddomain_build.c410 struct acpi_table_fadt *fadt = NULL; in acpi_create_fadt() local
430 fadt = (struct acpi_table_fadt *)base_ptr; in acpi_create_fadt()
433 fadt->arm_boot_flags |= (ACPI_FADT_PSCI_COMPLIANT | ACPI_FADT_PSCI_USE_HVC); in acpi_create_fadt()
434 checksum = acpi_tb_checksum(ACPI_CAST_PTR(u8, fadt), table_size); in acpi_create_fadt()
435 fadt->header.checksum -= checksum; in acpi_create_fadt()
/xen/tools/libxl/
A Dlibxl_arm_acpi.c345 struct acpi_table_fadt *fadt = (void *)dom->acpi_modules[0].data + offset; in make_acpi_fadt() local
348 fadt->flags = ACPI_FADT_HW_REDUCED; in make_acpi_fadt()
349 fadt->arm_boot_flags = ACPI_FADT_PSCI_COMPLIANT | ACPI_FADT_PSCI_USE_HVC; in make_acpi_fadt()
352 fadt->minor_revision = 0x1; in make_acpi_fadt()
353 fadt->dsdt = acpitables[DSDT].addr; in make_acpi_fadt()
355 make_acpi_header(&fadt->header, "FACP", acpitables[FADT].size, 5); in make_acpi_fadt()
356 calculate_checksum(fadt, offsetof(struct acpi_table_header, checksum), in make_acpi_fadt()
/xen/tools/firmware/rombios/32bit/
A Dutil.c441 struct acpi_fadt *fadt; in get_s3_waking_vector() local
452 fadt = (struct acpi_fadt *)(long)xsdt->entry[0]; in get_s3_waking_vector()
453 if (!fadt || (fadt->header.signature != ACPI_FADT_SIGNATURE)) in get_s3_waking_vector()
456 facs = (struct acpi_20_facs *)(long)fadt->x_firmware_ctrl; in get_s3_waking_vector()

Completed in 9 milliseconds