Searched refs:BACKSIDE_PID_HISTORY_SIZE (Results 1 - 2 of 2) sorted by relevance

/drivers/macintosh/
H A Dtherm_pm72.h148 #define BACKSIDE_PID_HISTORY_SIZE 2 macro
166 s32 sample_history[BACKSIDE_PID_HISTORY_SIZE];
167 s32 error_history[BACKSIDE_PID_HISTORY_SIZE];
192 s32 sample_history[BACKSIDE_PID_HISTORY_SIZE];
193 s32 error_history[BACKSIDE_PID_HISTORY_SIZE];
H A Dtherm_pm72.c1260 state->cur_sample = (state->cur_sample + 1) % BACKSIDE_PID_HISTORY_SIZE;
1266 for (i = 0; i < (BACKSIDE_PID_HISTORY_SIZE - 1); i++) {
1268 BACKSIDE_PID_HISTORY_SIZE;
1279 for (i = 0; i < BACKSIDE_PID_HISTORY_SIZE; i++)
1289 state->error_history[(state->cur_sample + BACKSIDE_PID_HISTORY_SIZE - 1)
1290 % BACKSIDE_PID_HISTORY_SIZE];

Completed in 45 milliseconds