Lines Matching refs:temp
220 s32 new_setpoint, temp, power;
230 rc = wf_sensor_get(sensor_cpu_temp, &temp);
232 printk(KERN_WARNING "windfarm: CPU temp sensor error %d\n",
246 DBG("wf_smu: CPU Fans tick ! CPU temp: %d.%03d, power: %d.%03d\n",
247 FIX32TOPRINT(temp), FIX32TOPRINT(power));
250 if (temp > 0x4a0000)
253 if (temp > st->pid.param.tmax)
256 new_setpoint = wf_cpu_pid_run(&st->pid, power, temp);
329 s32 new_setpoint, temp;
339 rc = wf_sensor_get(sensor_hd_temp, &temp);
341 printk(KERN_WARNING "windfarm: HD temp sensor error %d\n",
347 DBG("wf_smu: Drive Fans tick ! HD temp: %d.%03d\n",
348 FIX32TOPRINT(temp));
350 if (temp > (st->pid.param.itarget + 0x50000))
353 new_setpoint = wf_pid_run(&st->pid, temp);
587 if (sensor_cpu_temp == NULL && !strcmp(sr->name, "cpu-temp")) {
592 if (sensor_hd_temp == NULL && !strcmp(sr->name, "hd-temp")) {