Lines Matching refs:suspend_state
30 struct regulator_state *suspend_state; in of_get_regulation_constraints() local
194 suspend_state = &constraints->state_mem; in of_get_regulation_constraints()
197 suspend_state = &constraints->state_disk; in of_get_regulation_constraints()
200 suspend_state = &constraints->state_standby; in of_get_regulation_constraints()
209 if (!suspend_np || !suspend_state) in of_get_regulation_constraints()
220 suspend_state->mode = mode; in of_get_regulation_constraints()
229 suspend_state->enabled = ENABLE_IN_SUSPEND; in of_get_regulation_constraints()
232 suspend_state->enabled = DISABLE_IN_SUSPEND; in of_get_regulation_constraints()
236 suspend_state->min_uV = pval; in of_get_regulation_constraints()
240 suspend_state->max_uV = pval; in of_get_regulation_constraints()
244 suspend_state->uV = pval; in of_get_regulation_constraints()
246 suspend_state->uV = suspend_state->min_uV; in of_get_regulation_constraints()
250 suspend_state->changeable = true; in of_get_regulation_constraints()
256 suspend_state = NULL; in of_get_regulation_constraints()