coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
elog.c File Reference
#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>
Include dependency graph for elog.c:

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)
 

Function Documentation

◆ elog_gsmi_cb_platform_log_wake_source()

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().

Here is the call graph for this function:

◆ pch_log_gpio_gpe()

static void pch_log_gpio_gpe ( u32  gpe0_sts,
u32  gpe0_en,
int  start 
)
static

Definition at line 13 of file elog.c.

References elog_add_event_wake(), and ELOG_WAKE_SOURCE_GPE.

Referenced by pch_log_wake_source().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pch_log_power_and_resets()

static void pch_log_power_and_resets ( const struct chipset_power_state ps)
static

◆ pch_log_state()

void pch_log_state ( void  )

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.

Here is the call graph for this function:

◆ pch_log_wake_source()