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()
3765 int highest_min_uV = 0, target_uV, possible_uV; in regulator_get_optimal_voltage() local3789 possible_uV = desired_min_uV; in regulator_get_optimal_voltage()3849 possible_uV = target_uV; in regulator_get_optimal_voltage()3855 possible_uV = max(target_uV, max_current_uV - max_spread); in regulator_get_optimal_voltage()3856 possible_uV = min(possible_uV, min_current_uV + max_spread); in regulator_get_optimal_voltage()3859 if (possible_uV > desired_max_uV) in regulator_get_optimal_voltage()3862 done = (possible_uV == target_uV); in regulator_get_optimal_voltage()3863 desired_min_uV = possible_uV; in regulator_get_optimal_voltage()