Lines Matching refs:cpu_temp_limits
70 static struct temp_limits cpu_temp_limits[2] = { variable
188 } else if (tp->curr_cpu_temp >= cpu_temp_limits[tp->index].high_shutdown || in do_envctrl_shutdown()
189 tp->curr_cpu_temp < cpu_temp_limits[tp->index].low_shutdown) { in do_envctrl_shutdown()
268 cpu_temp_limits[tp->index].high_warn) { in analyze_cpu_temp()
274 cpu_temp_limits[tp->index].low_warn) { in analyze_cpu_temp()
282 } else if (tp->curr_cpu_temp >= cpu_temp_limits[tp->index].high_warn || in analyze_cpu_temp()
283 tp->curr_cpu_temp < cpu_temp_limits[tp->index].low_warn) in analyze_cpu_temp()
287 if (tp->curr_cpu_temp >= cpu_temp_limits[tp->index].high_shutdown || in analyze_cpu_temp()
288 tp->curr_cpu_temp < cpu_temp_limits[tp->index].low_shutdown) { in analyze_cpu_temp()
296 s8 cpu_goal_hi = cpu_temp_limits[tp->index].high_warn - 10; in analyze_cpu_temp()
523 bbc_i2c_writeb(tp->client, cpu_temp_limits[tp->index].high_pwroff, in attach_one_temp()
525 bbc_i2c_writeb(tp->client, cpu_temp_limits[tp->index].low_pwroff, in attach_one_temp()