Home
last modified time | relevance | path

Searched refs:pm1_cnt (Results 1 – 7 of 7) sorted by relevance

/external/u-boot/arch/x86/cpu/baytrail/
Dacpi.c178 u32 pm1_cnt; in chipset_prev_sleep_state() local
184 pm1_cnt = inl(ACPI_BASE_ADDRESS + PM1_CNT); in chipset_prev_sleep_state()
188 pm1_sts, pm1_cnt, gen_pmcon1); in chipset_prev_sleep_state()
191 prev_sleep_state = acpi_sleep_from_pm1(pm1_cnt); in chipset_prev_sleep_state()
201 u32 pm1_cnt; in chipset_clear_sleep_state() local
203 pm1_cnt = inl(ACPI_BASE_ADDRESS + PM1_CNT); in chipset_clear_sleep_state()
204 outl(pm1_cnt & ~(SLP_TYP), ACPI_BASE_ADDRESS + PM1_CNT); in chipset_clear_sleep_state()
/external/u-boot/arch/x86/cpu/broadwell/
Dpower_state.c24 switch ((ps->pm1_cnt & SLP_TYP) >> SLP_TYP_SHIFT) { in prev_sleep_state()
35 outl(ps->pm1_cnt & ~(SLP_TYP), ACPI_BASE_ADDRESS + PM1_CNT); in prev_sleep_state()
48 debug("PM1_CNT: %08x\n", ps->pm1_cnt); in dump_power_state()
70 ps->pm1_cnt = inl(ACPI_BASE_ADDRESS + PM1_CNT); in power_state_get()
/external/u-boot/arch/x86/cpu/ivybridge/
Dcpu.c131 uint32_t pm1_cnt; in checkcpu() local
155 pm1_cnt = inl(DEFAULT_PMBASE + PM1_CNT); in checkcpu()
157 if ((pm1_sts & WAK_STS) && ((pm1_cnt >> 10) & 7) == 5) { in checkcpu()
/external/u-boot/arch/x86/include/asm/
Dacpi_s3.h68 static inline enum acpi_sleep_state acpi_sleep_from_pm1(u32 pm1_cnt) in acpi_sleep_from_pm1() argument
70 switch ((pm1_cnt & SLP_TYP) >> SLP_TYP_SHIFT) { in acpi_sleep_from_pm1()
Dacpi_table.h328 void enter_acpi_mode(int pm1_cnt);
/external/u-boot/arch/x86/lib/
Dacpi_table.c340 void enter_acpi_mode(int pm1_cnt) in enter_acpi_mode() argument
342 u16 val = inw(pm1_cnt); in enter_acpi_mode()
358 outw(val | PM1_CNT_SCI_EN, pm1_cnt); in enter_acpi_mode()
/external/u-boot/arch/x86/include/asm/arch-broadwell/
Dpm.h113 uint32_t pm1_cnt; member