Home
last modified time | relevance | path

Searched refs:prev_sleep_state (Results 1 – 18 of 18) sorted by relevance

/u-boot/arch/x86/cpu/broadwell/
A Dpower_state.c19 static int prev_sleep_state(struct chipset_power_state *ps) in prev_sleep_state() function
22 int prev_sleep_state = SLEEP_STATE_S0; in prev_sleep_state() local
28 prev_sleep_state = SLEEP_STATE_S3; in prev_sleep_state()
31 prev_sleep_state = SLEEP_STATE_S5; in prev_sleep_state()
39 prev_sleep_state = SLEEP_STATE_S5; in prev_sleep_state()
41 return prev_sleep_state; in prev_sleep_state()
62 ps->prev_sleep_state); in dump_power_state()
86 ps->prev_sleep_state = prev_sleep_state(ps); in power_state_get()
/u-boot/arch/x86/lib/fsp1/
A Dfsp_common.c50 int prev_sleep_state; in arch_fsp_init() local
53 prev_sleep_state = chipset_prev_sleep_state(); in arch_fsp_init()
54 gd->arch.prev_sleep_state = prev_sleep_state; in arch_fsp_init()
64 prev_sleep_state == ACPI_S3) { in arch_fsp_init()
/u-boot/drivers/power/acpi_pmc/
A Dacpi-pmc-uclass.c140 int prev_sleep_state = ACPI_S0; /* Default to S0 */ in pmc_prev_sleep_state() local
146 prev_sleep_state = ACPI_S3; in pmc_prev_sleep_state()
149 prev_sleep_state = ACPI_S5; in pmc_prev_sleep_state()
159 if (!ops->prev_sleep_state) in pmc_prev_sleep_state()
160 return prev_sleep_state; in pmc_prev_sleep_state()
162 return ops->prev_sleep_state(dev, prev_sleep_state); in pmc_prev_sleep_state()
A Dsandbox.c50 static int sandbox_prev_sleep_state(struct udevice *dev, int prev_sleep_state) in sandbox_prev_sleep_state() argument
52 return prev_sleep_state; in sandbox_prev_sleep_state()
82 .prev_sleep_state = sandbox_prev_sleep_state,
/u-boot/include/power/
A Dacpi_pmc.h105 int (*prev_sleep_state)(struct udevice *dev, int prev_sleep_state); member
/u-boot/arch/x86/cpu/apollolake/
A Dpmc.c72 static int apl_prev_sleep_state(struct udevice *dev, int prev_sleep_state) in apl_prev_sleep_state() argument
79 prev_sleep_state = ACPI_S5; in apl_prev_sleep_state()
81 return prev_sleep_state; in apl_prev_sleep_state()
204 .prev_sleep_state = apl_prev_sleep_state,
A Dcpu_spl.c178 gd->arch.prev_sleep_state = ret; in arch_cpu_init_spl()
A Dfsp_s.c188 gd->arch.prev_sleep_state == ACPI_S3; in arch_fsp_init_r()
/u-boot/arch/x86/cpu/baytrail/
A Dacpi.c182 enum acpi_sleep_state prev_sleep_state = ACPI_S0; in chipset_prev_sleep_state() local
193 prev_sleep_state = acpi_sleep_from_pm1(pm1_cnt); in chipset_prev_sleep_state()
196 prev_sleep_state = ACPI_S5; in chipset_prev_sleep_state()
198 return prev_sleep_state; in chipset_prev_sleep_state()
/u-boot/arch/x86/lib/
A Dacpi_s3.c79 if (gd->arch.prev_sleep_state == ACPI_S3) in acpi_s3_reserve()
A Dcoreboot_table.c26 gd->arch.prev_sleep_state != ACPI_S3) { in high_table_reserve()
/u-boot/arch/x86/include/asm/arch-apollolake/
A Dpm.h53 u32 prev_sleep_state; member
/u-boot/arch/x86/lib/fsp/
A Dfsp_common.c70 if (gd->arch.prev_sleep_state == ACPI_S3) in fsp_save_s3_stack()
/u-boot/arch/x86/cpu/
A Dcpu.c175 acpi_ss_string(gd->arch.prev_sleep_state)); in default_print_cpuinfo()
215 if (fadt && gd->arch.prev_sleep_state == ACPI_S3) in last_stage_init()
/u-boot/arch/x86/lib/fsp2/
A Dfsp_dram.c36 gd->arch.prev_sleep_state == ACPI_S3; in dram_init()
/u-boot/arch/x86/include/asm/arch-broadwell/
A Dpm.h121 int prev_sleep_state; member
/u-boot/arch/x86/include/asm/
A Dglobal_data.h119 int prev_sleep_state; /* Previous sleep state ACPI_S0/1../5 */ member
/u-boot/drivers/pci/
A Dpci_rom.c48 if (gd->arch.prev_sleep_state == ACPI_S3) { in board_should_run_oprom()

Completed in 27 milliseconds