Lines Matching refs:amb_temp_limits
74 static struct temp_limits amb_temp_limits[2] = { variable
146 if (tp->curr_amb_temp >= amb_temp_limits[tp->index].high_shutdown || in do_envctrl_shutdown()
147 tp->curr_amb_temp < amb_temp_limits[tp->index].low_shutdown) { in do_envctrl_shutdown()
174 amb_temp_limits[tp->index].high_warn) { in analyze_ambient_temp()
180 amb_temp_limits[tp->index].low_warn) { in analyze_ambient_temp()
188 } else if (tp->curr_amb_temp >= amb_temp_limits[tp->index].high_warn || in analyze_ambient_temp()
189 tp->curr_amb_temp < amb_temp_limits[tp->index].low_warn) in analyze_ambient_temp()
193 if (tp->curr_amb_temp >= amb_temp_limits[tp->index].high_shutdown || in analyze_ambient_temp()
194 tp->curr_amb_temp < amb_temp_limits[tp->index].low_shutdown) { in analyze_ambient_temp()
202 s8 amb_goal_hi = amb_temp_limits[tp->index].high_warn - 10; in analyze_ambient_temp()
476 bbc_i2c_writeb(tp->client, amb_temp_limits[tp->index].high_pwroff, in attach_one_temp()
478 bbc_i2c_writeb(tp->client, amb_temp_limits[tp->index].low_pwroff, in attach_one_temp()