Home
last modified time | relevance | path

Searched refs:CPU_TEMP_HISTORY_SIZE (Results 1 – 2 of 2) sorted by relevance

/drivers/macintosh/
Dtherm_pm72.h269 #define CPU_TEMP_HISTORY_SIZE 2 macro
294 s32 temp_history[CPU_TEMP_HISTORY_SIZE];
Dtherm_pm72.c853 state->cur_temp = (state->cur_temp + 1) % CPU_TEMP_HISTORY_SIZE; in do_cpu_pid()
866 for (i = 0; i < (CPU_TEMP_HISTORY_SIZE - 1); i++) { in do_cpu_pid()
867 state->cur_temp = (state->cur_temp + 1) % CPU_TEMP_HISTORY_SIZE; in do_cpu_pid()
899 state->temp_history[(state->cur_temp + CPU_TEMP_HISTORY_SIZE - 1) in do_cpu_pid()
900 % CPU_TEMP_HISTORY_SIZE]; in do_cpu_pid()