![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <bootstate.h>
#include <console/console.h>
#include <stdint.h>
#include <elog.h>
#include <intelblocks/pmclib.h>
#include <soc/pci_devs.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_EXIT, pch_log_state, NULL) | |
void | elog_gsmi_cb_platform_log_wake_source (void) |
BOOT_STATE_INIT_ENTRY | ( | BS_DEV_INIT | , |
BS_ON_EXIT | , | ||
pch_log_state | , | ||
NULL | |||
) |
Definition at line 112 of file elog.c.
References pch_log_wake_source(), and pmc_fill_pm_reg_info().
Definition at line 11 of file elog.c.
References elog_add_event_wake(), and ELOG_WAKE_SOURCE_GPE.
Referenced by pch_log_wake_source().
|
static |
Definition at line 57 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_RTC_RESET, ELOG_TYPE_SUS_POWER_FAIL, ELOG_TYPE_SYSTEM_RESET, ELOG_TYPE_TCO_RESET, ELOG_TYPE_THERM_TRIP, chipset_power_state::gblrst_cause, GBLRST_CAUSE0_THERMTRIP, chipset_power_state::gen_pmcon_a, chipset_power_state::gen_pmcon_b, HOST_RST_STS, chipset_power_state::pm1_sts, PRBTNOR_STS, chipset_power_state::prev_sleep_state, PWR_FLR, RTC_BATTERY_DEAD, SUS_PWR_FLR, chipset_power_state::tco2_sts, and TCO_STS_SECOND_TO.
Referenced by pch_log_state().
Definition at line 93 of file elog.c.
References ACPI_S0, BIOS_ERR, pch_log_power_and_resets(), pch_log_wake_source(), pmc_get_power_state(), chipset_power_state::prev_sleep_state, and printk.
|
static |
Definition at line 23 of file elog.c.
References elog_add_event_wake(), 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, chipset_power_state::gpe0_en, chipset_power_state::gpe0_sts, GPE_31_0, GPE_63_32, GPE_95_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 elog_gsmi_cb_platform_log_wake_source(), and pch_log_state().