Searched refs:pm1_cnt (Results 1 – 10 of 10) sorted by relevance
/u-boot/arch/x86/cpu/broadwell/ |
A D | power_state.c | 25 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()
|
/u-boot/arch/x86/lib/ |
A D | acpi.c | 90 void enter_acpi_mode(int pm1_cnt) in enter_acpi_mode() argument 92 u16 val = inw(pm1_cnt); in enter_acpi_mode() 108 outw(val | PM1_CNT_SCI_EN, pm1_cnt); in enter_acpi_mode()
|
/u-boot/arch/x86/cpu/baytrail/ |
A D | acpi.c | 180 u32 pm1_cnt; in chipset_prev_sleep_state() local 186 pm1_cnt = inl(ACPI_BASE_ADDRESS + PM1_CNT); in chipset_prev_sleep_state() 190 pm1_sts, pm1_cnt, gen_pmcon1); in chipset_prev_sleep_state() 193 prev_sleep_state = acpi_sleep_from_pm1(pm1_cnt); in chipset_prev_sleep_state() 203 u32 pm1_cnt; in chipset_clear_sleep_state() local 205 pm1_cnt = inl(ACPI_BASE_ADDRESS + PM1_CNT); in chipset_clear_sleep_state() 206 outl(pm1_cnt & ~(SLP_TYP), ACPI_BASE_ADDRESS + PM1_CNT); in chipset_clear_sleep_state()
|
/u-boot/include/acpi/ |
A D | acpi_s3.h | 72 static inline enum acpi_sleep_state acpi_sleep_from_pm1(u32 pm1_cnt) in acpi_sleep_from_pm1() argument 74 switch ((pm1_cnt & SLP_TYP) >> SLP_TYP_SHIFT) { in acpi_sleep_from_pm1()
|
/u-boot/drivers/power/acpi_pmc/ |
A D | acpi-pmc-uclass.c | 93 upriv->pm1_cnt = inw(upriv->acpi_base + PM1_CNT); in pmc_fill_pm_reg_info() 96 upriv->pm1_sts, upriv->pm1_en, upriv->pm1_cnt); in pmc_fill_pm_reg_info() 143 switch (acpi_sleep_from_pm1(upriv->pm1_cnt)) { in pmc_prev_sleep_state() 156 outl(upriv->pm1_cnt & ~SLP_TYP, upriv->acpi_base + PM1_CNT); in pmc_prev_sleep_state() 196 upriv->pm1_sts, upriv->pm1_en, upriv->pm1_cnt); in pmc_dump_info()
|
/u-boot/arch/x86/cpu/ivybridge/ |
A D | cpu.c | 135 uint32_t pm1_cnt; in checkcpu() local 159 pm1_cnt = inl(DEFAULT_PMBASE + PM1_CNT); in checkcpu() 161 if ((pm1_sts & WAK_STS) && ((pm1_cnt >> 10) & 7) == 5) { in checkcpu()
|
/u-boot/arch/x86/include/asm/ |
A D | acpi.h | 39 void enter_acpi_mode(int pm1_cnt);
|
/u-boot/arch/x86/include/asm/arch-apollolake/ |
A D | pm.h | 44 u32 pm1_cnt; member
|
/u-boot/include/power/ |
A D | acpi_pmc.h | 56 u32 pm1_cnt; member
|
/u-boot/arch/x86/include/asm/arch-broadwell/ |
A D | pm.h | 113 uint32_t pm1_cnt; member
|
Completed in 9 milliseconds