coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
elog.c File Reference
#include <bootstate.h>
#include <console/console.h>
#include <device/pci_ops.h>
#include <elog.h>
#include <intelblocks/pmclib.h>
#include <intelblocks/xhci.h>
#include <soc/pci_devs.h>
#include <soc/pm.h>
#include <types.h>
Include dependency graph for elog.c:

Go to the source code of this file.

Data Structures

struct  pme_map
 

Functions

static void pch_log_gpio_gpe (u32 gpe0_sts, u32 gpe0_en, int start)
 
static void pch_log_rp_wake_source (void)
 
static void pch_log_pme_internal_wake_source (void)
 
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)
 

Function Documentation

◆ BOOT_STATE_INIT_ENTRY()

BOOT_STATE_INIT_ENTRY ( BS_DEV_INIT  ,
BS_ON_EXIT  ,
pch_log_state  ,
NULL   
)

◆ elog_gsmi_cb_platform_log_wake_source()

void elog_gsmi_cb_platform_log_wake_source ( void  )

Definition at line 185 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 18 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_pme_internal_wake_source()

◆ pch_log_power_and_resets()

◆ pch_log_rp_wake_source()

◆ pch_log_state()

static void pch_log_state ( void unused)
static

Definition at line 166 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.

Here is the call graph for this function:

◆ pch_log_wake_source()