16 int index, gpe_reg, gpe_reg_count;
20 if (gpe_reg_count < 0)
24 for (index = 0; index < reg_size; index++) {
34 for (gpe_reg = 0; gpe_reg < gpe_reg_count; gpe_reg++) {
36 int start = gpe_reg * reg_size;
37 int end = start + reg_size;
39 for (index = start; index < end; index++) {
46 if (index < gpe_reg_count * reg_size)
int acpi_reset_gnvs_for_wake(struct global_nvs **gnvs_)
int acpi_pm_state_for_wake(const struct chipset_power_state **ps)
static void pm_fill_gnvs(struct global_nvs *gnvs, const struct chipset_power_state *ps)
BOOT_STATE_INIT_ENTRY(BS_PRE_DEVICE, BS_ON_ENTRY, acpi_save_wake_source, NULL)
static void acpi_save_wake_source(void *unused)
#define printk(level,...)
#define BIOS_DEBUG
BIOS_DEBUG - Verbose output.
int soc_fill_acpi_wake(const struct chipset_power_state *ps, uint32_t *pm1, uint32_t **gpe0)