Searched refs:fadt (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | acpi.c | 463 ACPI_TABLE_FADT fadt; in build_fadt() local 469 memset(&fadt, 0, sizeof(fadt)); in build_fadt() 471 fadt.Facs = htole32(0); /* patched by basl */ in build_fadt() 472 fadt.Dsdt = htole32(0); /* patched by basl */ in build_fadt() 473 fadt.SciInterrupt = htole16(SCI_INT); in build_fadt() 474 fadt.SmiCommand = htole32(SMI_CMD); in build_fadt() 475 fadt.AcpiEnable = BHYVE_ACPI_ENABLE; in build_fadt() 476 fadt.AcpiDisable = BHYVE_ACPI_DISABLE; in build_fadt() 477 fadt.Pm1aEventBlock = htole32(PM1A_EVT_ADDR); in build_fadt() 478 fadt.Pm1aControlBlock = htole32(PM1A_CNT_ADDR); in build_fadt() [all …]
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | todpc_subr.c | 93 pc_tod_set_rtc_offsets(ACPI_TABLE_FADT *fadt) in pc_tod_set_rtc_offsets() argument 102 ASSERT(fadt); in pc_tod_set_rtc_offsets() 103 if (fadt == NULL) { in pc_tod_set_rtc_offsets() 107 if (fadt->DayAlarm) { in pc_tod_set_rtc_offsets() 108 pc_rtc_offset.day_alrm = fadt->DayAlarm; in pc_tod_set_rtc_offsets() 112 if (fadt->MonthAlarm) { in pc_tod_set_rtc_offsets() 113 pc_rtc_offset.mon_alrm = fadt->MonthAlarm; in pc_tod_set_rtc_offsets() 117 if (fadt->Century) { in pc_tod_set_rtc_offsets() 118 pc_rtc_offset.century = fadt->Century; in pc_tod_set_rtc_offsets()
|
/illumos-gate/usr/src/uts/intel/io/acpica/ |
H A D | acpica.c | 316 ACPI_TABLE_HEADER *fadt; in acpica_metro_old_bios() local 319 if (AcpiGetTable(ACPI_SIG_FADT, 1, (ACPI_TABLE_HEADER **)&fadt) != in acpica_metro_old_bios() 324 if (strncmp("SUNmetro", fadt->OemTableId, 8)) in acpica_metro_old_bios() 517 ACPI_TABLE_FADT *fadt; in acpica_get_sci() local 541 if (AcpiGetTable(ACPI_SIG_FADT, 1, (ACPI_TABLE_HEADER **)&fadt) != in acpica_get_sci() 545 *sci_irq = fadt->SciInterrupt; in acpica_get_sci() 801 ACPI_TABLE_FADT *fadt; in acpica_init_kstats() local 825 status = AcpiGetTable(ACPI_SIG_FADT, 1, (ACPI_TABLE_HEADER **)&fadt); in acpica_init_kstats() 826 knp->value.l = (status == AE_OK) ? fadt->PreferredProfile : -1; in acpica_init_kstats()
|
/illumos-gate/usr/src/uts/i86pc/io/ppm/ |
H A D | acpippm.c | 199 ACPI_TABLE_FADT *fadt = NULL; in appm_attach() local 258 (ACPI_TABLE_HEADER **)&fadt) != AE_OK) in appm_attach() 262 if (fadt != NULL) in appm_attach() 263 pc_tod_set_rtc_offsets(fadt); in appm_attach()
|
/illumos-gate/usr/src/uts/i86pc/cpu/amd_opteron/ |
H A D | ao_mca.c | 900 ACPI_TABLE_FADT *fadt = NULL; in ao_acpi_find_smicmd() local 906 if (AcpiGetTable(ACPI_SIG_FADT, 1, (ACPI_TABLE_HEADER **)&fadt) != in ao_acpi_find_smicmd() 910 ASSERT(fadt != NULL); in ao_acpi_find_smicmd() 912 *asd_port = fadt->SmiCommand; in ao_acpi_find_smicmd()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | power.c | 1020 ACPI_TABLE_FADT *fadt; in power_probe_fixed_button() local 1022 if (AcpiGetTable(ACPI_SIG_FADT, 1, (ACPI_TABLE_HEADER **) &fadt) != in power_probe_fixed_button() 1026 if ((fadt->Flags & ACPI_FADT_POWER_BUTTON) == 0) { in power_probe_fixed_button()
|