Home
last modified time | relevance | path

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

/openbmc/linux/drivers/thermal/intel/
H A Dintel_powerclamp.c62 struct powerclamp_data { struct
71 static struct powerclamp_data powerclamp_data; argument
163 if (powerclamp_data.clamping) { in cpumask_set()
224 if (powerclamp_data.clamping) { in max_idle_set()
447 delta = powerclamp_data.target_ratio - current_ratio; in adjust_compensation()
486 return powerclamp_data.target_ratio + guard <= current_ratio; in powerclamp_adjust_controls()
503 powerclamp_data.guard = 1 + powerclamp_data.target_ratio / 20; in get_run_time()
504 powerclamp_data.window_size_now = window_size; in get_run_time()
511 compensated_ratio = powerclamp_data.target_ratio + in get_run_time()
512 get_compensation(powerclamp_data.target_ratio); in get_run_time()
[all …]