Home
last modified time | relevance | path

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

/drivers/regulator/
Dof_regulator.c173 constraints->max_spread = devm_kzalloc(dev, in of_get_regulation_constraints()
174 sizeof(*constraints->max_spread) * n_phandles, in of_get_regulation_constraints()
177 if (!constraints->max_spread) in of_get_regulation_constraints()
181 constraints->max_spread, n_phandles); in of_get_regulation_constraints()
556 int max_spread = rdev->constraints->max_spread[i]; in of_check_coupling_data() local
559 if (max_spread <= 0) { in of_check_coupling_data()
592 if (c_max_spread != max_spread) { in of_check_coupling_data()
Dcore.c3512 int i, ret, max_spread; in regulator_get_optimal_voltage() local
3566 max_spread = constraints->max_spread[0]; in regulator_get_optimal_voltage()
3573 target_uV = max(desired_min_uV, highest_min_uV - max_spread); in regulator_get_optimal_voltage()
3601 possible_uV = max(target_uV, max_current_uV - max_spread); in regulator_get_optimal_voltage()
3602 possible_uV = min(possible_uV, min_current_uV + max_spread); in regulator_get_optimal_voltage()