Lines Matching refs:curr_cpu_temp
89 s8 curr_cpu_temp; member
161 tp->prev_cpu_temp = tp->curr_cpu_temp; in get_current_temps()
163 (unsigned char *) &tp->curr_cpu_temp, in get_current_temps()
168 (int) tp->curr_cpu_temp, (int) tp->curr_amb_temp); in get_current_temps()
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()
191 val = tp->curr_cpu_temp; in do_envctrl_shutdown()
267 if (tp->curr_cpu_temp >= in analyze_cpu_temp()
271 tp->index, (int) tp->curr_cpu_temp); in analyze_cpu_temp()
273 } else if (tp->curr_cpu_temp < in analyze_cpu_temp()
277 tp->index, (int) tp->curr_cpu_temp); 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()
320 tp->avg_cpu_temp = (s8)((int)((int)tp->avg_cpu_temp + (int)tp->curr_cpu_temp) / 2); in analyze_temps()
529 tp->prev_cpu_temp = tp->avg_cpu_temp = tp->curr_cpu_temp; in attach_one_temp()