coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
acpi_wake_source.c File Reference
#include <acpi/acpi_gnvs.h>
#include <acpi/acpi_pm.h>
#include <bootstate.h>
#include <console/console.h>
#include <intelblocks/acpi_wake_source.h>
#include <soc/nvs.h>
#include <soc/pm.h>
#include <stdint.h>
Include dependency graph for acpi_wake_source.c:

Go to the source code of this file.

Functions

static void pm_fill_gnvs (struct global_nvs *gnvs, const struct chipset_power_state *ps)
 
static void acpi_save_wake_source (void *unused)
 
 BOOT_STATE_INIT_ENTRY (BS_PRE_DEVICE, BS_ON_ENTRY, acpi_save_wake_source, NULL)
 

Function Documentation

◆ acpi_save_wake_source()

static void acpi_save_wake_source ( void unused)
static

Definition at line 50 of file acpi_wake_source.c.

References acpi_pm_state_for_wake(), acpi_reset_gnvs_for_wake(), BIOS_DEBUG, gnvs, global_nvs::gpei, global_nvs::pm1i, pm_fill_gnvs(), and printk.

Here is the call graph for this function:

◆ BOOT_STATE_INIT_ENTRY()

BOOT_STATE_INIT_ENTRY ( BS_PRE_DEVICE  ,
BS_ON_ENTRY  ,
acpi_save_wake_source  ,
NULL   
)

◆ pm_fill_gnvs()

static void pm_fill_gnvs ( struct global_nvs gnvs,
const struct chipset_power_state ps 
)
static

Definition at line 13 of file acpi_wake_source.c.

References gnvs, global_nvs::gpei, global_nvs::pm1i, and soc_fill_acpi_wake().

Referenced by acpi_save_wake_source().

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