![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <acpi/acpi_pm.h>
#include <device/pci_type.h>
#include <elog.h>
#include <intelblocks/pmclib.h>
#include <intelblocks/xhci.h>
#include <soc/pm.h>
#include <soc/pci_devs.h>
#include <soc/smbus.h>
#include <stdint.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) |
void | pch_log_state (void) |
void | elog_gsmi_cb_platform_log_wake_source (void) |
Definition at line 103 of file elog.c.
References pch_log_wake_source(), and pmc_fill_pm_reg_info().
Definition at line 13 of file elog.c.
References elog_add_event_wake(), and ELOG_WAKE_SOURCE_GPE.
Referenced by pch_log_wake_source().
|
static |
Definition at line 67 of file elog.c.
References ACPI_S3, elog_add_event(), ELOG_TYPE_POWER_BUTTON_OVERRIDE, ELOG_TYPE_RTC_RESET, ELOG_TYPE_SYSTEM_RESET, ELOG_TYPE_TCO_RESET, chipset_power_state::gen_pmcon1, chipset_power_state::pm1_sts, PRBTNOR_STS, chipset_power_state::prev_sleep_state, RPS, chipset_power_state::tco1_sts, TCO_TIMEOUT, and WARM_RESET_STS.
Referenced by pch_log_state().
Definition at line 88 of file elog.c.
References acpi_pm_state_for_elog(), ACPI_S0, pch_log_power_and_resets(), pch_log_wake_source(), and chipset_power_state::prev_sleep_state.
|
static |
Definition at line 25 of file elog.c.
References ACPI_S0, ARRAY_SIZE, CSE_PME_STS, elog_add_event_byte(), elog_add_event_wake(), ELOG_TYPE_ACPI_WAKE, ELOG_WAKE_SOURCE_PCIE, ELOG_WAKE_SOURCE_PME, ELOG_WAKE_SOURCE_PME_XHCI, ELOG_WAKE_SOURCE_PWRBTN, ELOG_WAKE_SOURCE_RTC, ELOG_WAKE_SOURCE_SMBUS, GPE0_A, GPE0_B, GPE0_C, GPE0_D, chipset_power_state::gpe0_en, chipset_power_state::gpe0_sts, PCH_DEVFN_XHCI, pch_log_gpio_gpe(), PCIEXPWAK_STS, chipset_power_state::pm1_sts, chipset_power_state::prev_sleep_state, PWRBTN_STS, RTC_STS, SMB_WAK_STS, XHCI_PME_STS, and xhci_update_wake_event().
Referenced by elog_gsmi_cb_platform_log_wake_source(), and pch_log_state().