Lines Matching refs:index

108 	       fp->index,  in set_fan_speeds()
132 tp->index, in get_current_temps()
147 if (tp->curr_amb_temp >= amb_temp_limits[tp->index].high_shutdown || in do_envctrl_shutdown()
148 tp->curr_amb_temp < amb_temp_limits[tp->index].low_shutdown) { in do_envctrl_shutdown()
151 } else if (tp->curr_cpu_temp >= cpu_temp_limits[tp->index].high_shutdown || in do_envctrl_shutdown()
152 tp->curr_cpu_temp < cpu_temp_limits[tp->index].low_shutdown) { in do_envctrl_shutdown()
159 tp->index, type, val); in do_envctrl_shutdown()
175 amb_temp_limits[tp->index].high_warn) { in analyze_ambient_temp()
178 tp->index, (int) tp->curr_amb_temp); in analyze_ambient_temp()
181 amb_temp_limits[tp->index].low_warn) { in analyze_ambient_temp()
184 tp->index, (int) tp->curr_amb_temp); in analyze_ambient_temp()
189 } else if (tp->curr_amb_temp >= amb_temp_limits[tp->index].high_warn || in analyze_ambient_temp()
190 tp->curr_amb_temp < amb_temp_limits[tp->index].low_warn) in analyze_ambient_temp()
194 if (tp->curr_amb_temp >= amb_temp_limits[tp->index].high_shutdown || in analyze_ambient_temp()
195 tp->curr_amb_temp < amb_temp_limits[tp->index].low_shutdown) { in analyze_ambient_temp()
203 s8 amb_goal_hi = amb_temp_limits[tp->index].high_warn - 10; in analyze_ambient_temp()
230 cpu_temp_limits[tp->index].high_warn) { in analyze_cpu_temp()
233 tp->index, (int) tp->curr_cpu_temp); in analyze_cpu_temp()
236 cpu_temp_limits[tp->index].low_warn) { in analyze_cpu_temp()
239 tp->index, (int) tp->curr_cpu_temp); in analyze_cpu_temp()
244 } else if (tp->curr_cpu_temp >= cpu_temp_limits[tp->index].high_warn || in analyze_cpu_temp()
245 tp->curr_cpu_temp < cpu_temp_limits[tp->index].low_warn) in analyze_cpu_temp()
249 if (tp->curr_cpu_temp >= cpu_temp_limits[tp->index].high_shutdown || in analyze_cpu_temp()
250 tp->curr_cpu_temp < cpu_temp_limits[tp->index].low_shutdown) { in analyze_cpu_temp()
258 s8 cpu_goal_hi = cpu_temp_limits[tp->index].high_warn - 10; in analyze_cpu_temp()
465 tp->index = temp_idx; in attach_one_temp()
477 bbc_i2c_writeb(tp->client, amb_temp_limits[tp->index].high_pwroff, in attach_one_temp()
479 bbc_i2c_writeb(tp->client, amb_temp_limits[tp->index].low_pwroff, in attach_one_temp()
481 bbc_i2c_writeb(tp->client, cpu_temp_limits[tp->index].high_pwroff, in attach_one_temp()
483 bbc_i2c_writeb(tp->client, cpu_temp_limits[tp->index].low_pwroff, in attach_one_temp()
512 fp->index = fan_idx; in attach_one_fan()