Lines Matching refs:temp
196 static int cpu_check_overtemp(s32 temp) in cpu_check_overtemp() argument
202 if (temp >= (cpu_all_tmax + LOW_OVER_IMMEDIATE)) { in cpu_check_overtemp()
208 if (temp >= (cpu_all_tmax + HIGH_OVER_IMMEDIATE)) { in cpu_check_overtemp()
219 cpu_thist[cpu_thist_pt] = temp; in cpu_check_overtemp()
222 cpu_thist_total += temp; in cpu_check_overtemp()
226 FIX32TOPRINT(t_avg), FIX32TOPRINT(t_old), FIX32TOPRINT(temp)); in cpu_check_overtemp()
254 (temp < (cpu_all_tmax + LOW_OVER_CLEAR))) { in cpu_check_overtemp()
266 s32 temp, power, t_max = 0; in cpu_fans_tick() local
276 err = sr->ops->get_value(sr, &temp); in cpu_fans_tick()
287 t_max = max(t_max, temp); in cpu_fans_tick()
303 t = wf_cpu_pid_run(sp, power, temp); in cpu_fans_tick()
310 cpu, FIX32TOPRINT(power), FIX32TOPRINT(temp)); in cpu_fans_tick()
353 s32 temp; in backside_fan_tick() local
371 err = u4_temp->ops->get_value(u4_temp, &temp); in backside_fan_tick()
379 speed = wf_pid_run(&backside_pid, temp); in backside_fan_tick()
381 FIX32TOPRINT(temp), speed); in backside_fan_tick()
403 s32 temp; in drive_bay_fan_tick() local
421 err = hd_temp->ops->get_value(hd_temp, &temp); in drive_bay_fan_tick()
429 speed = wf_pid_run(&drive_bay_pid, temp); in drive_bay_fan_tick()
431 FIX32TOPRINT(temp), speed); in drive_bay_fan_tick()