Searched refs:curr_amb_temp (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/sbus/char/
H A Dbbc_envctrl.c121 tp->prev_amb_temp = tp->curr_amb_temp; get_current_temps()
123 (unsigned char *) &tp->curr_amb_temp, get_current_temps()
132 (int) tp->curr_cpu_temp, (int) tp->curr_amb_temp); get_current_temps()
146 if (tp->curr_amb_temp >= amb_temp_limits[tp->index].high_shutdown || do_envctrl_shutdown()
147 tp->curr_amb_temp < amb_temp_limits[tp->index].low_shutdown) { do_envctrl_shutdown()
149 val = tp->curr_amb_temp; do_envctrl_shutdown()
173 if (tp->curr_amb_temp >= analyze_ambient_temp()
177 tp->index, (int) tp->curr_amb_temp); analyze_ambient_temp()
179 } else if (tp->curr_amb_temp < analyze_ambient_temp()
183 tp->index, (int) tp->curr_amb_temp); analyze_ambient_temp()
188 } else if (tp->curr_amb_temp >= amb_temp_limits[tp->index].high_warn || analyze_ambient_temp()
189 tp->curr_amb_temp < amb_temp_limits[tp->index].low_warn) analyze_ambient_temp()
193 if (tp->curr_amb_temp >= amb_temp_limits[tp->index].high_shutdown || analyze_ambient_temp()
194 tp->curr_amb_temp < amb_temp_limits[tp->index].low_shutdown) { analyze_ambient_temp()
280 tp->avg_amb_temp = (s8)((int)((int)tp->avg_amb_temp + (int)tp->curr_amb_temp) / 2); analyze_temps()
487 tp->prev_amb_temp = tp->avg_amb_temp = tp->curr_amb_temp; attach_one_temp()
H A Dbbc_i2c.h26 s8 curr_amb_temp; member in struct:bbc_cpu_temperature

Completed in 186 milliseconds