Lines Matching refs:power_state
112 enum power_state compute_power_state(struct sysctrl_soft_state *softsp,
1826 enum power_state current_power_state; in ps_fail_handler()
2078 if (softsp->power_state != current_power_state) { in ps_fail_handler()
2093 if (softsp->power_state == REDUNDANT) { in ps_fail_handler()
2096 } else if (softsp->power_state == BELOW_MINIMUM) { in ps_fail_handler()
2105 if (softsp->power_state != BOOT) { in ps_fail_handler()
2115 softsp->power_state = current_power_state; in ps_fail_handler()
2127 if (softsp->power_state == BELOW_MINIMUM && in ps_fail_handler()
2166 enum power_state
2987 kstat_named_init(&sysksp->power_state, POWER_KSTAT_NAMED, in sysctrl_add_kstats()
3057 sysksp->power_state.value.i32 = softsp->power_state; in sysctrl_kstat_update()