Searched refs:NBR_AVG_SAMPLES (Results 1 – 1 of 1) sorted by relevance
47 #define NBR_AVG_SAMPLES 20 macro110 int samples[NBR_AVG_SAMPLES];111 time64_t time_stamps[NBR_AVG_SAMPLES];394 if (avg->pos == NBR_AVG_SAMPLES) in ab8500_fg_add_cap_sample()397 if (avg->nbr_samples < NBR_AVG_SAMPLES) in ab8500_fg_add_cap_sample()427 for (i = 0; i < NBR_AVG_SAMPLES; i++) { in ab8500_fg_clear_cap_samples()448 for (i = 0; i < NBR_AVG_SAMPLES; i++) { in ab8500_fg_fill_cap_sample()454 avg->nbr_samples = NBR_AVG_SAMPLES; in ab8500_fg_fill_cap_sample()455 avg->sum = sample * NBR_AVG_SAMPLES; in ab8500_fg_fill_cap_sample()