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 <bootstate.h>
#include <stdint.h>
#include <elog.h>
#include <soc/lpc.h>
#include <soc/pm.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)
 
static void pch_log_state (void *unused)
 
 BOOT_STATE_INIT_ENTRY (BS_DEV_INIT, BS_ON_ENTRY, pch_log_state, NULL)
 

Function Documentation

◆ BOOT_STATE_INIT_ENTRY()

BOOT_STATE_INIT_ENTRY ( BS_DEV_INIT  ,
BS_ON_ENTRY  ,
pch_log_state  ,
NULL   
)

◆ pch_log_gpio_gpe()

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

Definition at line 10 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()

◆ pch_log_state()

static void pch_log_state ( void unused)
static

Definition at line 106 of file elog.c.

References acpi_pm_state_for_elog(), pch_log_power_and_resets(), and pch_log_wake_source().

Here is the call graph for this function:

◆ pch_log_wake_source()