Searched refs:t_avg (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/macintosh/
H A Dwindfarm_pm112.c199 s32 t_avg, t_old; cpu_check_overtemp() local
223 t_avg = cpu_thist_total / CPU_TEMP_HIST_SIZE; cpu_check_overtemp()
225 DBG_LOTS("t_avg = %d.%03d (out: %d.%03d, in: %d.%03d)\n", cpu_check_overtemp()
226 FIX32TOPRINT(t_avg), FIX32TOPRINT(t_old), FIX32TOPRINT(temp)); cpu_check_overtemp()
229 if (t_avg >= (cpu_all_tmax + LOW_OVER_AVERAGE)) { cpu_check_overtemp()
235 if (t_avg >= (cpu_all_tmax + HIGH_OVER_AVERAGE)) { cpu_check_overtemp()
H A Dwindfarm_rm31.c123 s32 t_avg, t_old; cpu_check_overtemp() local
164 t_avg = cpu_thist_total / CPU_TEMP_HIST_SIZE; cpu_check_overtemp()
166 DBG_LOTS(" t_avg = %d.%03d (out: %d.%03d, in: %d.%03d)\n", cpu_check_overtemp()
167 FIX32TOPRINT(t_avg), FIX32TOPRINT(t_old), FIX32TOPRINT(temp)); cpu_check_overtemp()
170 if (t_avg >= (cpu_all_tmax + LOW_OVER_AVERAGE)) { cpu_check_overtemp()
176 if (t_avg >= (cpu_all_tmax + HIGH_OVER_AVERAGE)) { cpu_check_overtemp()
H A Dwindfarm_pm72.c129 s32 t_avg, t_old; cpu_check_overtemp() local
170 t_avg = cpu_thist_total / CPU_TEMP_HIST_SIZE; cpu_check_overtemp()
172 DBG_LOTS(" t_avg = %d.%03d (out: %d.%03d, in: %d.%03d)\n", cpu_check_overtemp()
173 FIX32TOPRINT(t_avg), FIX32TOPRINT(t_old), FIX32TOPRINT(temp)); cpu_check_overtemp()
176 if (t_avg >= (cpu_all_tmax + LOW_OVER_AVERAGE)) { cpu_check_overtemp()
182 if (t_avg >= (cpu_all_tmax + HIGH_OVER_AVERAGE)) { cpu_check_overtemp()

Completed in 93 milliseconds