Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/regulator/
Dab8500-ext.c289 struct regulation_constraints *regu_constraints = rdev->constraints; in ab8500_ext_set_voltage() local
291 if (!regu_constraints) { in ab8500_ext_set_voltage()
296 if (regu_constraints->min_uV == min_uV && in ab8500_ext_set_voltage()
297 regu_constraints->max_uV == max_uV) in ab8500_ext_set_voltage()
303 regu_constraints->min_uV, regu_constraints->max_uV); in ab8500_ext_set_voltage()
311 struct regulation_constraints *regu_constraints = rdev->constraints; in ab8500_ext_list_voltage() local
313 if (regu_constraints == NULL) { in ab8500_ext_list_voltage()
318 if (regu_constraints->min_uV && regu_constraints->max_uV) { in ab8500_ext_list_voltage()
319 if (regu_constraints->min_uV == regu_constraints->max_uV) in ab8500_ext_list_voltage()
320 return regu_constraints->min_uV; in ab8500_ext_list_voltage()