Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/power/supply/
Dab8500_fg.c205 int accu_charge; member
793 di->accu_charge = (val * QLSB_NANO_AMP_HOURS_X10) / in ab8500_fg_acc_cur_work()
811 di->bm->fg_res, di->fg_samples, val, di->accu_charge); in ab8500_fg_acc_cur_work()
1056 di->accu_charge); in ab8500_fg_calc_cap_charging()
1059 if (di->bat_cap.mah + di->accu_charge > 0) in ab8500_fg_calc_cap_charging()
1060 di->bat_cap.mah += di->accu_charge; in ab8500_fg_calc_cap_charging()
1121 di->accu_charge); in ab8500_fg_calc_cap_discharge_fg()
1124 if (di->bat_cap.mah + di->accu_charge > 0) in ab8500_fg_calc_cap_discharge_fg()
1125 di->bat_cap.mah += di->accu_charge; in ab8500_fg_calc_cap_discharge_fg()
1787 di->accu_charge, in ab8500_fg_algorithm()