Home
last modified time | relevance | path

Searched refs:accu_charge (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/power/supply/
Dab8500_fg.c208 int accu_charge; member
796 di->accu_charge = (val * QLSB_NANO_AMP_HOURS_X10) / in ab8500_fg_acc_cur_work()
815 di->bm->fg_res, di->fg_samples, val, di->accu_charge); in ab8500_fg_acc_cur_work()
1037 di->accu_charge); in ab8500_fg_calc_cap_charging()
1040 if (di->bat_cap.mah + di->accu_charge > 0) in ab8500_fg_calc_cap_charging()
1041 di->bat_cap.mah += di->accu_charge; in ab8500_fg_calc_cap_charging()
1106 di->accu_charge); in ab8500_fg_calc_cap_discharge_fg()
1109 if (di->bat_cap.mah + di->accu_charge > 0) in ab8500_fg_calc_cap_discharge_fg()
1110 di->bat_cap.mah += di->accu_charge; in ab8500_fg_calc_cap_discharge_fg()
1771 di->accu_charge, in ab8500_fg_algorithm()