Searched refs:possible_uV (Results 1 – 2 of 2) sorted by relevance
29 int highest_min_uV = 0, target_uV, possible_uV; in regulator_get_optimal_voltage() local96 possible_uV = max(target_uV, max_current_uV - max_spread); in regulator_get_optimal_voltage()97 possible_uV = min(possible_uV, min_current_uV + max_spread); in regulator_get_optimal_voltage()99 if (possible_uV > desired_max_uV) in regulator_get_optimal_voltage()102 done = (possible_uV == target_uV); in regulator_get_optimal_voltage()103 desired_min_uV = possible_uV; in regulator_get_optimal_voltage()
3916 int highest_min_uV = 0, target_uV, possible_uV; in regulator_get_optimal_voltage() local3940 possible_uV = desired_min_uV; in regulator_get_optimal_voltage()4000 possible_uV = target_uV; in regulator_get_optimal_voltage()4006 possible_uV = max(target_uV, max_current_uV - max_spread); in regulator_get_optimal_voltage()4007 possible_uV = min(possible_uV, min_current_uV + max_spread); in regulator_get_optimal_voltage()4010 if (possible_uV > desired_max_uV) in regulator_get_optimal_voltage()4013 done = (possible_uV == target_uV); in regulator_get_optimal_voltage()4014 desired_min_uV = possible_uV; in regulator_get_optimal_voltage()