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

/linux-4.4.14/drivers/power/
H A Dab8500_fg.c165 * @fg_samples: Number of samples used in the FG accumulation
207 int fg_samples; member in struct:ab8500_fg
486 di->fg_samples); ab8500_fg_coulomb_counter()
521 enable, di->fg_samples); ab8500_fg_coulomb_counter()
813 (1000 * di->bm->fg_res * (di->fg_samples / 4)); ab8500_fg_acc_cur_work()
821 dev_dbg(di->dev, "fg_res: %d, fg_samples: %d, gasg: %d, accu_charge: %d \n", ab8500_fg_acc_cur_work()
822 di->bm->fg_res, di->fg_samples, val, di->accu_charge); ab8500_fg_acc_cur_work()
1443 di->fg_samples = SEC_TO_SAMPLE( ab8500_fg_algorithm_charging()
1547 di->fg_samples = SEC_TO_SAMPLE(di->bm->fg_params->init_timer); ab8500_fg_algorithm_discharging()
1598 di->fg_samples = SEC_TO_SAMPLE( ab8500_fg_algorithm_discharging()
1611 di->fg_samples = SEC_TO_SAMPLE( ab8500_fg_algorithm_discharging()
1620 di->fg_samples = SEC_TO_SAMPLE( ab8500_fg_algorithm_discharging()
1683 di->fg_samples = SEC_TO_SAMPLE( ab8500_fg_algorithm_discharging()
3157 di->fg_samples = SEC_TO_SAMPLE(di->bm->fg_params->init_timer); ab8500_fg_probe()

Completed in 70 milliseconds