Lines Matching refs:index
107 fp->index, in set_fan_speeds()
131 tp->index, in get_current_temps()
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()
150 } else if (tp->curr_cpu_temp >= cpu_temp_limits[tp->index].high_shutdown || in do_envctrl_shutdown()
151 tp->curr_cpu_temp < cpu_temp_limits[tp->index].low_shutdown) { in do_envctrl_shutdown()
158 tp->index, type, val); in do_envctrl_shutdown()
174 amb_temp_limits[tp->index].high_warn) { in analyze_ambient_temp()
177 tp->index, (int) tp->curr_amb_temp); in analyze_ambient_temp()
180 amb_temp_limits[tp->index].low_warn) { in analyze_ambient_temp()
183 tp->index, (int) tp->curr_amb_temp); 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()
229 cpu_temp_limits[tp->index].high_warn) { in analyze_cpu_temp()
232 tp->index, (int) tp->curr_cpu_temp); in analyze_cpu_temp()
235 cpu_temp_limits[tp->index].low_warn) { in analyze_cpu_temp()
238 tp->index, (int) tp->curr_cpu_temp); in analyze_cpu_temp()
243 } else if (tp->curr_cpu_temp >= cpu_temp_limits[tp->index].high_warn || in analyze_cpu_temp()
244 tp->curr_cpu_temp < cpu_temp_limits[tp->index].low_warn) in analyze_cpu_temp()
248 if (tp->curr_cpu_temp >= cpu_temp_limits[tp->index].high_shutdown || in analyze_cpu_temp()
249 tp->curr_cpu_temp < cpu_temp_limits[tp->index].low_shutdown) { in analyze_cpu_temp()
257 s8 cpu_goal_hi = cpu_temp_limits[tp->index].high_warn - 10; in analyze_cpu_temp()
464 tp->index = temp_idx; in attach_one_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()
480 bbc_i2c_writeb(tp->client, cpu_temp_limits[tp->index].high_pwroff, in attach_one_temp()
482 bbc_i2c_writeb(tp->client, cpu_temp_limits[tp->index].low_pwroff, in attach_one_temp()
511 fp->index = fan_idx; in attach_one_fan()