Searched refs:pm1_cnt (Results 1 – 7 of 7) sorted by relevance
178 u32 pm1_cnt; in chipset_prev_sleep_state() local184 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() local203 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()
24 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()
131 uint32_t pm1_cnt; in checkcpu() local155 pm1_cnt = inl(DEFAULT_PMBASE + PM1_CNT); in checkcpu()157 if ((pm1_sts & WAK_STS) && ((pm1_cnt >> 10) & 7) == 5) { in checkcpu()
68 static inline enum acpi_sleep_state acpi_sleep_from_pm1(u32 pm1_cnt) in acpi_sleep_from_pm1() argument70 switch ((pm1_cnt & SLP_TYP) >> SLP_TYP_SHIFT) { in acpi_sleep_from_pm1()
328 void enter_acpi_mode(int pm1_cnt);
340 void enter_acpi_mode(int pm1_cnt) in enter_acpi_mode() argument342 u16 val = inw(pm1_cnt); in enter_acpi_mode()358 outw(val | PM1_CNT_SCI_EN, pm1_cnt); in enter_acpi_mode()
113 uint32_t pm1_cnt; member