![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <arch/io.h>
#include <device/pci_ops.h>
#include <cbmem.h>
#include <console/console.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_def.h>
#include <string.h>
#include <soc/iomap.h>
#include <soc/lpc.h>
#include <soc/pci_devs.h>
#include <soc/pm.h>
#include <soc/romstage.h>
Go to the source code of this file.
Functions | |
static void | migrate_power_state (int is_recovery) |
static int | prev_sleep_state (const struct chipset_power_state *ps) |
static void | dump_power_state (struct chipset_power_state *ps) |
struct chipset_power_state * | fill_power_state (void) |
Variables | |
static struct chipset_power_state | power_state |
|
static |
Definition at line 61 of file power_state.c.
References BIOS_DEBUG, chipset_power_state::gen_pmcon1, chipset_power_state::gen_pmcon2, chipset_power_state::gen_pmcon3, chipset_power_state::gpe0_en, chipset_power_state::gpe0_sts, chipset_power_state::pm1_cnt, chipset_power_state::pm1_en, chipset_power_state::pm1_sts, chipset_power_state::prev_sleep_state, printk, chipset_power_state::tco1_sts, and chipset_power_state::tco2_sts.
Referenced by fill_power_state().
struct chipset_power_state* fill_power_state | ( | void | ) |
Definition at line 84 of file power_state.c.
References ACPI_BASE_ADDRESS, dump_power_state(), chipset_power_state::gen_pmcon1, chipset_power_state::gen_pmcon2, chipset_power_state::gen_pmcon3, GEN_PMCON_1, GEN_PMCON_2, GEN_PMCON_3, GPE0_EN, chipset_power_state::gpe0_en, GPE0_STS, chipset_power_state::gpe0_sts, inl(), inw(), PCH_DEV_LPC, pci_read_config16(), PM1_CNT, chipset_power_state::pm1_cnt, PM1_EN, chipset_power_state::pm1_en, PM1_STS, chipset_power_state::pm1_sts, power_state, chipset_power_state::prev_sleep_state, prev_sleep_state(), chipset_power_state::tco1_sts, TCO1_STS, chipset_power_state::tco2_sts, and TCO2_STS.
|
static |
Definition at line 19 of file power_state.c.
References BIOS_DEBUG, cbmem_add(), CBMEM_ID_POWER_STATE, memcpy(), NULL, power_state, and printk.
|
static |
Definition at line 36 of file power_state.c.
References ACPI_BASE_ADDRESS, ACPI_S0, ACPI_S3, ACPI_S5, CONFIG, outl(), PM1_CNT, PWR_FLR, SLP_TYP, SUS_PWR_FLR, and WAK_STS.
Referenced by acpi_get_sleep_type(), chipset_prev_sleep_state(), fill_power_state(), mainboard_romstage_entry(), pmc_prev_sleep_state(), raminit(), and soc_prev_sleep_state().
|
static |
Definition at line 1 of file power_state.c.
Referenced by fill_power_state(), and migrate_power_state().