Searched refs:regu_constraints (Results 1 – 1 of 1) sorted by relevance
289 struct regulation_constraints *regu_constraints = rdev->constraints; in ab8500_ext_set_voltage() local291 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() local313 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()