Searched refs:temp_samples (Results 1 – 1 of 1) sorted by relevance
98 u8 temp_samples[3]; member345 state->temp_samples[state->sample_index] = temp; in throttle_active_work()347 state->sample_index = (state->sample_index + 1) % ARRAY_SIZE(state->temp_samples); in throttle_active_work()348 if (state->sample_count < ARRAY_SIZE(state->temp_samples)) in throttle_active_work()352 for (i = 0; i < ARRAY_SIZE(state->temp_samples); ++i) in throttle_active_work()353 avg += state->temp_samples[i]; in throttle_active_work()355 avg /= ARRAY_SIZE(state->temp_samples); in throttle_active_work()