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

/linux-4.1.27/drivers/macintosh/
H A Dwindfarm_rm31.c62 #define CPU_TEMP_HIST_SIZE 180 macro
67 static u32 cpu_thist[CPU_TEMP_HIST_SIZE];
148 for (i = 0; i < CPU_TEMP_HIST_SIZE; i++) { cpu_check_overtemp()
161 cpu_thist_pt = (cpu_thist_pt + 1) % CPU_TEMP_HIST_SIZE; cpu_check_overtemp()
164 t_avg = cpu_thist_total / CPU_TEMP_HIST_SIZE; cpu_check_overtemp()
H A Dwindfarm_pm112.c73 #define CPU_TEMP_HIST_SIZE 180 macro
91 static u32 cpu_thist[CPU_TEMP_HIST_SIZE];
220 cpu_thist_pt = (cpu_thist_pt + 1) % CPU_TEMP_HIST_SIZE; cpu_check_overtemp()
223 t_avg = cpu_thist_total / CPU_TEMP_HIST_SIZE; cpu_check_overtemp()
H A Dwindfarm_pm72.c64 #define CPU_TEMP_HIST_SIZE 180 macro
76 static u32 cpu_thist[CPU_TEMP_HIST_SIZE];
154 for (i = 0; i < CPU_TEMP_HIST_SIZE; i++) { cpu_check_overtemp()
167 cpu_thist_pt = (cpu_thist_pt + 1) % CPU_TEMP_HIST_SIZE; cpu_check_overtemp()
170 t_avg = cpu_thist_total / CPU_TEMP_HIST_SIZE; cpu_check_overtemp()

Completed in 126 milliseconds