![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <acpi/acpi.h>
#include <acpi/acpi_pm.h>
#include <cbmem.h>
#include <console/console.h>
#include <smbios.h>
Go to the source code of this file.
Functions | |
void __weak | mainboard_suspend_resume (void) |
uint8_t | acpi_get_preferred_pm_profile (void) |
struct chipset_power_state * | acpi_get_pm_state (void) |
int | acpi_pm_state_for_elog (const struct chipset_power_state **ps) |
int | acpi_pm_state_for_rtc (const struct chipset_power_state **ps) |
int | acpi_pm_state_for_wake (const struct chipset_power_state **ps) |
struct chipset_power_state* acpi_get_pm_state | ( | void | ) |
Definition at line 31 of file acpi_pm.c.
References cbmem_find(), and CBMEM_ID_POWER_STATE.
Referenced by acpi_pm_state_for_elog(), acpi_pm_state_for_rtc(), acpi_pm_state_for_wake(), pmc_get_power_state(), and rtc_failure().
Definition at line 14 of file acpi_pm.c.
References PM_DESKTOP, PM_MOBILE, PM_TABLET, PM_UNSPECIFIED, SMBIOS_ENCLOSURE_CONVERTIBLE, SMBIOS_ENCLOSURE_DESKTOP, SMBIOS_ENCLOSURE_DETACHABLE, SMBIOS_ENCLOSURE_LAPTOP, SMBIOS_ENCLOSURE_TABLET, SMBIOS_ENCLOSURE_UNKNOWN, and smbios_mainboard_enclosure_type().
Referenced by acpi_create_fadt().
int acpi_pm_state_for_elog | ( | const struct chipset_power_state ** | ps | ) |
Definition at line 41 of file acpi_pm.c.
References acpi_get_pm_state(), BIOS_ERR, and printk.
Referenced by acpi_pm_gpe_add_events_print_events(), gpio_add_events(), pch_log_state(), and southcluster_log_state().
int acpi_pm_state_for_rtc | ( | const struct chipset_power_state ** | ps | ) |
Definition at line 51 of file acpi_pm.c.
References acpi_get_pm_state(), BIOS_ERR, and printk.
Referenced by soc_get_rtc_failed().
int acpi_pm_state_for_wake | ( | const struct chipset_power_state ** | ps | ) |
Definition at line 61 of file acpi_pm.c.
References acpi_get_pm_state(), BIOS_ERR, and printk.
Referenced by acpi_save_wake_source().