Lines Matching defs:temp
221 s32 new_setpoint, temp, power;
231 rc = wf_sensor_get(sensor_cpu_temp, &temp);
233 printk(KERN_WARNING "windfarm: CPU temp sensor error %d\n",
247 DBG("wf_smu: CPU Fans tick ! CPU temp: %d.%03d, power: %d.%03d\n",
248 FIX32TOPRINT(temp), FIX32TOPRINT(power));
251 if (temp > 0x4a0000)
254 if (temp > st->pid.param.tmax)
257 new_setpoint = wf_cpu_pid_run(&st->pid, power, temp);
330 s32 new_setpoint, temp;
340 rc = wf_sensor_get(sensor_hd_temp, &temp);
342 printk(KERN_WARNING "windfarm: HD temp sensor error %d\n",
348 DBG("wf_smu: Drive Fans tick ! HD temp: %d.%03d\n",
349 FIX32TOPRINT(temp));
351 if (temp > (st->pid.param.itarget + 0x50000))
354 new_setpoint = wf_pid_run(&st->pid, temp);
588 if (sensor_cpu_temp == NULL && !strcmp(sr->name, "cpu-temp")) {
593 if (sensor_hd_temp == NULL && !strcmp(sr->name, "hd-temp")) {