Lines Matching defs:temp
200 static int cpu_check_overtemp(s32 temp)
206 if (temp >= (cpu_all_tmax + LOW_OVER_IMMEDIATE)) {
212 if (temp >= (cpu_all_tmax + HIGH_OVER_IMMEDIATE)) {
223 cpu_thist[cpu_thist_pt] = temp;
226 cpu_thist_total += temp;
230 FIX32TOPRINT(t_avg), FIX32TOPRINT(t_old), FIX32TOPRINT(temp));
258 (temp < (cpu_all_tmax + LOW_OVER_CLEAR))) {
270 s32 temp, power, t_max = 0;
280 err = sr->ops->get_value(sr, &temp);
290 /* Keep track of highest temp */
291 t_max = max(t_max, temp);
307 t = wf_cpu_pid_run(sp, power, temp);
314 cpu, FIX32TOPRINT(power), FIX32TOPRINT(temp));
357 s32 temp;
375 err = u4_temp->ops->get_value(u4_temp, &temp);
377 printk(KERN_WARNING "windfarm: U4 temp sensor error %d\n",
383 speed = wf_pid_run(&backside_pid, temp);
384 DBG_LOTS("backside PID temp=%d.%.3d speed=%d\n",
385 FIX32TOPRINT(temp), speed);
407 s32 temp;
425 err = hd_temp->ops->get_value(hd_temp, &temp);
427 printk(KERN_WARNING "windfarm: drive bay temp sensor "
433 speed = wf_pid_run(&drive_bay_pid, temp);
434 DBG_LOTS("drive_bay PID temp=%d.%.3d speed=%d\n",
435 FIX32TOPRINT(temp), speed);
605 if (!strncmp(sr->name, "cpu-temp-", 9)) {
616 } else if (!strcmp(sr->name, "hd-temp")) {
622 } else if (!strcmp(sr->name, "backside-temp")) {