Searched refs:set_target_ratio (Results 1 – 1 of 1) sorted by relevance
62 static unsigned int set_target_ratio; variable305 delta = set_target_ratio - current_ratio; in adjust_compensation()344 return set_target_ratio + guard <= current_ratio; in powerclamp_adjust_controls()363 w_data->target_ratio = READ_ONCE(set_target_ratio); in clamp_balancing_func()514 set_target_ratio = clamp(set_target_ratio, 0U, MAX_TARGET_RATIO - 1); in start_power_clamp()604 if (set_target_ratio == 0 && new_target_ratio > 0) { in powerclamp_set_cur_state()606 set_target_ratio = new_target_ratio; in powerclamp_set_cur_state()609 } else if (set_target_ratio > 0 && new_target_ratio == 0) { in powerclamp_set_cur_state()612 set_target_ratio = 0; in powerclamp_set_cur_state()614 set_target_ratio = new_target_ratio; in powerclamp_set_cur_state()