Lines Matching defs:temp
202 static int cpu_check_overtemp(s32 temp)
208 if (temp >= (cpu_all_tmax + LOW_OVER_IMMEDIATE)) {
214 if (temp >= (cpu_all_tmax + HIGH_OVER_IMMEDIATE)) {
225 cpu_thist[cpu_thist_pt] = temp;
228 cpu_thist_total += temp;
232 FIX32TOPRINT(t_avg), FIX32TOPRINT(t_old), FIX32TOPRINT(temp));
260 (temp < (cpu_all_tmax + LOW_OVER_CLEAR))) {
272 s32 temp, power, t_max = 0;
282 err = sr->ops->get_value(sr, &temp);
292 /* Keep track of highest temp */
293 t_max = max(t_max, temp);
309 t = wf_cpu_pid_run(sp, power, temp);
316 cpu, FIX32TOPRINT(power), FIX32TOPRINT(temp));
359 s32 temp;
377 err = u4_temp->ops->get_value(u4_temp, &temp);
379 printk(KERN_WARNING "windfarm: U4 temp sensor error %d\n",
385 speed = wf_pid_run(&backside_pid, temp);
386 DBG_LOTS("backside PID temp=%d.%.3d speed=%d\n",
387 FIX32TOPRINT(temp), speed);
409 s32 temp;
427 err = hd_temp->ops->get_value(hd_temp, &temp);
429 printk(KERN_WARNING "windfarm: drive bay temp sensor "
435 speed = wf_pid_run(&drive_bay_pid, temp);
436 DBG_LOTS("drive_bay PID temp=%d.%.3d speed=%d\n",
437 FIX32TOPRINT(temp), speed);
607 if (!strncmp(sr->name, "cpu-temp-", 9)) {
618 } else if (!strcmp(sr->name, "hd-temp")) {
624 } else if (!strcmp(sr->name, "backside-temp")) {