Searched refs:NBR_AVG_SAMPLES (Results 1 – 1 of 1) sorted by relevance
45 #define NBR_AVG_SAMPLES 20 macro108 int samples[NBR_AVG_SAMPLES];109 time64_t time_stamps[NBR_AVG_SAMPLES];398 if (avg->pos == NBR_AVG_SAMPLES) in ab8500_fg_add_cap_sample()401 if (avg->nbr_samples < NBR_AVG_SAMPLES) in ab8500_fg_add_cap_sample()431 for (i = 0; i < NBR_AVG_SAMPLES; i++) { in ab8500_fg_clear_cap_samples()452 for (i = 0; i < NBR_AVG_SAMPLES; i++) { in ab8500_fg_fill_cap_sample()458 avg->nbr_samples = NBR_AVG_SAMPLES; in ab8500_fg_fill_cap_sample()459 avg->sum = sample * NBR_AVG_SAMPLES; in ab8500_fg_fill_cap_sample()