coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <acpi/acpi_pm.h>
#include <bootstate.h>
#include <stdint.h>
#include <elog.h>
#include <soc/lpc.h>
#include <soc/pm.h>
Go to the source code of this file.
Functions | |
static void | pch_log_gpio_gpe (u32 gpe0_sts, u32 gpe0_en, int start) |
static void | pch_log_wake_source (const struct chipset_power_state *ps) |
static void | pch_log_power_and_resets (const struct chipset_power_state *ps) |
static void | pch_log_state (void *unused) |
BOOT_STATE_INIT_ENTRY (BS_DEV_INIT, BS_ON_ENTRY, pch_log_state, NULL) | |
BOOT_STATE_INIT_ENTRY | ( | BS_DEV_INIT | , |
BS_ON_ENTRY | , | ||
pch_log_state | , | ||
NULL | |||
) |
Definition at line 10 of file elog.c.
References elog_add_event_wake(), and ELOG_WAKE_SOURCE_GPE.
Referenced by pch_log_wake_source().
|
static |
Definition at line 58 of file elog.c.
References ACPI_S0, ACPI_S3, elog_add_event(), elog_add_event_byte(), ELOG_TYPE_ACPI_WAKE, ELOG_TYPE_POWER_BUTTON_OVERRIDE, ELOG_TYPE_POWER_FAIL, ELOG_TYPE_PWROK_FAIL, ELOG_TYPE_RESET_BUTTON, ELOG_TYPE_RTC_RESET, ELOG_TYPE_SUS_POWER_FAIL, ELOG_TYPE_SYS_PWROK_FAIL, ELOG_TYPE_SYSTEM_RESET, ELOG_TYPE_TCO_RESET, ELOG_TYPE_THERM_TRIP, chipset_power_state::gen_pmcon2, chipset_power_state::gen_pmcon3, GEN_RST_STS, chipset_power_state::pm1_sts, PRBTNOR_STS, chipset_power_state::prev_sleep_state, PWROK_FLR, RTC_BATTERY_DEAD, SUS_PWR_FLR, SYSPWR_FLR, SYSTEM_RESET_STS, chipset_power_state::tco2_sts, TCO2_STS_SECOND_TO, and THERMTRIP_STS.
Referenced by pch_log_state().
Definition at line 106 of file elog.c.
References acpi_pm_state_for_elog(), pch_log_power_and_resets(), and pch_log_wake_source().
|
static |
Definition at line 22 of file elog.c.
References elog_add_event_wake(), ELOG_WAKE_SOURCE_GPE, ELOG_WAKE_SOURCE_PCIE, ELOG_WAKE_SOURCE_PME, ELOG_WAKE_SOURCE_PME_INTERNAL, ELOG_WAKE_SOURCE_PWRBTN, ELOG_WAKE_SOURCE_RTC, ELOG_WAKE_SOURCE_SMBUS, GP27_STS, chipset_power_state::gpe0_en, chipset_power_state::gpe0_sts, GPE_31_0, GPE_63_32, GPE_94_64, GPE_STD, pch_log_gpio_gpe(), PCIEXPWAK_STS, chipset_power_state::pm1_sts, PME_B0_STS, PME_STS, PWRBTN_STS, RTC_STS, and SMB_WAK_STS.
Referenced by pch_log_state().