Lines Matching refs:curr_amb_temp
90 s8 curr_amb_temp; member
157 tp->prev_amb_temp = tp->curr_amb_temp; in get_current_temps()
159 (unsigned char *) &tp->curr_amb_temp, in get_current_temps()
168 (int) tp->curr_cpu_temp, (int) tp->curr_amb_temp); in get_current_temps()
184 if (tp->curr_amb_temp >= amb_temp_limits[tp->index].high_shutdown || in do_envctrl_shutdown()
185 tp->curr_amb_temp < amb_temp_limits[tp->index].low_shutdown) { in do_envctrl_shutdown()
187 val = tp->curr_amb_temp; in do_envctrl_shutdown()
212 if (tp->curr_amb_temp >= in analyze_ambient_temp()
216 tp->index, (int) tp->curr_amb_temp); in analyze_ambient_temp()
218 } else if (tp->curr_amb_temp < in analyze_ambient_temp()
222 tp->index, (int) tp->curr_amb_temp); in analyze_ambient_temp()
227 } else if (tp->curr_amb_temp >= amb_temp_limits[tp->index].high_warn || in analyze_ambient_temp()
228 tp->curr_amb_temp < amb_temp_limits[tp->index].low_warn) in analyze_ambient_temp()
232 if (tp->curr_amb_temp >= amb_temp_limits[tp->index].high_shutdown || in analyze_ambient_temp()
233 tp->curr_amb_temp < amb_temp_limits[tp->index].low_shutdown) { in analyze_ambient_temp()
319 tp->avg_amb_temp = (s8)((int)((int)tp->avg_amb_temp + (int)tp->curr_amb_temp) / 2); in analyze_temps()
530 tp->prev_amb_temp = tp->avg_amb_temp = tp->curr_amb_temp; in attach_one_temp()