Lines Matching refs:state
45 int state = (intptr_t)arg;
47 power_pm_fn(POWER_CMD_SUSPEND, power_pm_arg, state);
77 power_pm_suspend(int state)
82 if (state != POWER_SLEEP_STATE_STANDBY &&
83 state != POWER_SLEEP_STATE_SUSPEND &&
84 state != POWER_SLEEP_STATE_HIBERNATE)
86 power_pm_task.ta_context = (void *)(intptr_t)state;
103 power_profile_set_state(int state)
107 if (state != power_profile_state) {
108 power_profile_state = state;
112 (state == POWER_PROFILE_PERFORMANCE) ?