Searched refs:regu_constraints (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/regulator/
H A Dab8500-ext.c237 struct regulation_constraints *regu_constraints = rdev->constraints; ab8500_ext_set_voltage() local
239 if (!regu_constraints) { ab8500_ext_set_voltage()
244 if (regu_constraints->min_uV == min_uV && ab8500_ext_set_voltage()
245 regu_constraints->max_uV == max_uV) ab8500_ext_set_voltage()
251 regu_constraints->min_uV, regu_constraints->max_uV); ab8500_ext_set_voltage()
259 struct regulation_constraints *regu_constraints = rdev->constraints; ab8500_ext_list_voltage() local
261 if (regu_constraints == NULL) { ab8500_ext_list_voltage()
266 if (regu_constraints->min_uV && regu_constraints->max_uV) { ab8500_ext_list_voltage()
267 if (regu_constraints->min_uV == regu_constraints->max_uV) ab8500_ext_list_voltage()
268 return regu_constraints->min_uV; ab8500_ext_list_voltage()

Completed in 99 milliseconds