Lines Matching refs:index
107 fp->index,
131 tp->index,
146 if (tp->curr_amb_temp >= amb_temp_limits[tp->index].high_shutdown ||
147 tp->curr_amb_temp < amb_temp_limits[tp->index].low_shutdown) {
150 } else if (tp->curr_cpu_temp >= cpu_temp_limits[tp->index].high_shutdown ||
151 tp->curr_cpu_temp < cpu_temp_limits[tp->index].low_shutdown) {
158 tp->index, type, val);
175 amb_temp_limits[tp->index].high_warn) {
178 tp->index, (int) tp->curr_amb_temp);
181 amb_temp_limits[tp->index].low_warn) {
184 tp->index, (int) tp->curr_amb_temp);
189 } else if (tp->curr_amb_temp >= amb_temp_limits[tp->index].high_warn ||
190 tp->curr_amb_temp < amb_temp_limits[tp->index].low_warn)
194 if (tp->curr_amb_temp >= amb_temp_limits[tp->index].high_shutdown ||
195 tp->curr_amb_temp < amb_temp_limits[tp->index].low_shutdown) {
203 s8 amb_goal_hi = amb_temp_limits[tp->index].high_warn - 10;
230 cpu_temp_limits[tp->index].high_warn) {
233 tp->index, (int) tp->curr_cpu_temp);
236 cpu_temp_limits[tp->index].low_warn) {
239 tp->index, (int) tp->curr_cpu_temp);
244 } else if (tp->curr_cpu_temp >= cpu_temp_limits[tp->index].high_warn ||
245 tp->curr_cpu_temp < cpu_temp_limits[tp->index].low_warn)
249 if (tp->curr_cpu_temp >= cpu_temp_limits[tp->index].high_shutdown ||
250 tp->curr_cpu_temp < cpu_temp_limits[tp->index].low_shutdown) {
258 s8 cpu_goal_hi = cpu_temp_limits[tp->index].high_warn - 10;
462 tp->index = temp_idx;
474 bbc_i2c_writeb(tp->client, amb_temp_limits[tp->index].high_pwroff,
476 bbc_i2c_writeb(tp->client, amb_temp_limits[tp->index].low_pwroff,
478 bbc_i2c_writeb(tp->client, cpu_temp_limits[tp->index].high_pwroff,
480 bbc_i2c_writeb(tp->client, cpu_temp_limits[tp->index].low_pwroff,
506 fp->index = fan_idx;