Searched refs:nbr_samples (Results 1 – 1 of 1) sorted by relevance
111 int nbr_samples; member394 if (avg->nbr_samples < NBR_AVG_SAMPLES) in ab8500_fg_add_cap_sample()395 avg->nbr_samples++; in ab8500_fg_add_cap_sample()403 avg->avg = avg->sum / avg->nbr_samples; in ab8500_fg_add_cap_sample()420 avg->nbr_samples = 0; in ab8500_fg_clear_cap_samples()451 avg->nbr_samples = NBR_AVG_SAMPLES; in ab8500_fg_fill_cap_sample()