Searched refs:pm_states (Results 1 – 4 of 4) sorted by relevance
37 const char *pm_states[PM_SUSPEND_MAX]; variable122 pm_states[PM_SUSPEND_FREEZE] = pm_labels[relative_states ? 0 : 2]; in sleep_states_setup()142 pm_states[i] = pm_labels[j++]; in suspend_set_ops()144 pm_states[i] = NULL; in suspend_set_ops()148 pm_states[PM_SUSPEND_FREEZE] = pm_labels[j]; in suspend_set_ops()503 pr_debug("PM: Preparing system for %s sleep\n", pm_states[state]); in enter_state()512 pr_debug("PM: Entering %s sleep\n", pm_states[state]); in enter_state()
98 printk(info_test, pm_states[state]); in test_wakealarm()104 printk(info_test, pm_states[state]); in test_wakealarm()110 printk(info_test, pm_states[state]); in test_wakealarm()194 const char *state_label = pm_states[test_state]; in test_suspend()
306 if (pm_states[i]) in state_show()307 s += sprintf(s,"%s ", pm_states[i]); in state_show()335 const char *label = pm_states[state]; in decode_state()457 return sprintf(buf, "%s\n", pm_states[state] ? in autosleep_show()458 pm_states[state] : "error"); in autosleep_show()
183 extern const char *pm_states[];