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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/macintosh/
H A Dtherm_pm72.h240 #define SLOTS_PID_HISTORY_SIZE 20 macro
246 s32 sample_history[SLOTS_PID_HISTORY_SIZE];
247 s32 error_history[SLOTS_PID_HISTORY_SIZE];
H A Dtherm_pm72.c1558 state->cur_sample = (state->cur_sample + 1) % SLOTS_PID_HISTORY_SIZE;
1564 for (i = 0; i < (SLOTS_PID_HISTORY_SIZE - 1); i++) {
1566 SLOTS_PID_HISTORY_SIZE;
1577 for (i = 0; i < SLOTS_PID_HISTORY_SIZE; i++)
1587 state->error_history[(state->cur_sample + SLOTS_PID_HISTORY_SIZE - 1)
1588 % SLOTS_PID_HISTORY_SIZE];

Completed in 57 milliseconds