Home
last modified time | relevance | path

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

/freebsd/usr.sbin/bhyve/
H A Dacpi.c464 ACPI_TABLE_FADT fadt; in build_fadt() local
470 memset(&fadt, 0, sizeof(fadt)); in build_fadt()
472 fadt.Facs = htole32(0); /* patched by basl */ in build_fadt()
473 fadt.Dsdt = htole32(0); /* patched by basl */ in build_fadt()
474 fadt.SciInterrupt = htole16(SCI_INT); in build_fadt()
475 fadt.SmiCommand = htole32(SMI_CMD); in build_fadt()
476 fadt.AcpiEnable = BHYVE_ACPI_ENABLE; in build_fadt()
477 fadt.AcpiDisable = BHYVE_ACPI_DISABLE; in build_fadt()
478 fadt.Pm1aEventBlock = htole32(PM1A_EVT_ADDR); in build_fadt()
479 fadt.Pm1aControlBlock = htole32(PM1A_CNT_ADDR); in build_fadt()
[all …]
/freebsd/usr.sbin/acpi/acpidump/
H A Dacpi.c58 static int acpi_get_fadt_revision(ACPI_TABLE_FADT *fadt);
59 static void acpi_handle_fadt(ACPI_TABLE_HEADER *fadt);
229 acpi_get_fadt_revision(ACPI_TABLE_FADT *fadt __unused) in acpi_get_fadt_revision()
249 if (fadt->Facs != 0 && in acpi_get_fadt_revision()
250 (fadt->XFacs & 0xffffffff) != fadt->Facs) in acpi_get_fadt_revision()
263 ACPI_TABLE_FADT *fadt; in acpi_handle_fadt() local
267 fadt = (ACPI_TABLE_FADT *)sdp; in acpi_handle_fadt()
270 fadt_revision = acpi_get_fadt_revision(fadt); in acpi_handle_fadt()
272 addr = fadt->Facs; in acpi_handle_fadt()
274 addr = fadt->XFacs; in acpi_handle_fadt()
[all …]
/freebsd/sys/dev/hyperv/vmbus/aarch64/
H A Dhyperv_aarch64.c91 ACPI_TABLE_FADT *fadt; in is_hyperv() local
100 fadt = acpi_map_table(physaddr, ACPI_SIG_FADT); in is_hyperv()
101 if (fadt == NULL) { in is_hyperv()
106 hypervid = fadt->HypervisorId; in is_hyperv()
107 acpi_unmap_table(fadt); in is_hyperv()
/freebsd/sys/dev/acpica/
H A Dacpi_quirk.c140 ACPI_TABLE_HEADER fadt, dsdt, xsdt, *hdr; in acpi_table_quirks() local
147 if (ACPI_FAILURE(AcpiGetTableHeader(ACPI_SIG_FADT, 0, &fadt))) in acpi_table_quirks()
148 bzero(&fadt, sizeof(fadt)); in acpi_table_quirks()
159 hdr = &fadt; in acpi_table_quirks()
/freebsd/sys/dev/psci/
H A Dpsci.c260 ACPI_TABLE_FADT *fadt; in psci_acpi_bootflags() local
268 fadt = acpi_map_table(physaddr, ACPI_SIG_FADT); in psci_acpi_bootflags()
269 if (fadt == NULL) { in psci_acpi_bootflags()
274 flags = fadt->ArmBootFlags; in psci_acpi_bootflags()
276 acpi_unmap_table(fadt); in psci_acpi_bootflags()
/freebsd/sys/x86/isa/
H A Datrtc.c433 ACPI_TABLE_FADT *fadt; in rtc_acpi_century_get() local
441 fadt = acpi_map_table(physaddr, ACPI_SIG_FADT); in rtc_acpi_century_get()
442 if (fadt == NULL) in rtc_acpi_century_get()
445 century = fadt->Century; in rtc_acpi_century_get()
446 acpi_unmap_table(fadt); in rtc_acpi_century_get()
/freebsd/sys/x86/x86/
H A Dcpu_machdep.c1630 ACPI_TABLE_FADT *fadt; in acpi_get_fadt_bootflags() local
1636 fadt = acpi_map_table(physaddr, ACPI_SIG_FADT); in acpi_get_fadt_bootflags()
1637 if (fadt == NULL) in acpi_get_fadt_bootflags()
1639 *flagsp = fadt->BootFlags; in acpi_get_fadt_bootflags()
1640 acpi_unmap_table(fadt); in acpi_get_fadt_bootflags()