Home
last modified time | relevance | path

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

/openbmc/linux/drivers/thermal/intel/
H A Dintel_powerclamp.c698 unsigned long new_target_ratio) in powerclamp_set_cur_state() argument
704 new_target_ratio = clamp(new_target_ratio, 0UL, in powerclamp_set_cur_state()
707 if (powerclamp_data.target_ratio == new_target_ratio) in powerclamp_set_cur_state()
710 if (!powerclamp_data.target_ratio && new_target_ratio > 0) { in powerclamp_set_cur_state()
712 powerclamp_data.target_ratio = new_target_ratio; in powerclamp_set_cur_state()
717 } else if (powerclamp_data.target_ratio > 0 && new_target_ratio == 0) { in powerclamp_set_cur_state()
724 powerclamp_data.target_ratio = new_target_ratio; in powerclamp_set_cur_state()