Lines Matching refs:suspend_state
32 struct regulator_state *suspend_state; in of_get_regulation_constraints() local
179 suspend_state = &constraints->state_mem; in of_get_regulation_constraints()
182 suspend_state = &constraints->state_disk; in of_get_regulation_constraints()
192 if (!suspend_np || !suspend_state) in of_get_regulation_constraints()
203 suspend_state->mode = mode; in of_get_regulation_constraints()
212 suspend_state->enabled = ENABLE_IN_SUSPEND; in of_get_regulation_constraints()
215 suspend_state->enabled = DISABLE_IN_SUSPEND; in of_get_regulation_constraints()
219 suspend_state->min_uV = pval; in of_get_regulation_constraints()
223 suspend_state->max_uV = pval; in of_get_regulation_constraints()
227 suspend_state->uV = pval; in of_get_regulation_constraints()
229 suspend_state->uV = suspend_state->min_uV; in of_get_regulation_constraints()
233 suspend_state->changeable = true; in of_get_regulation_constraints()
239 suspend_state = NULL; in of_get_regulation_constraints()