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

/linux-4.4.14/drivers/power/
H A Dab8500_fg.c166 * @accu_charge: Accumulated charge from the last conversion
208 int accu_charge; member in struct:ab8500_fg
803 di->accu_charge = (val * QLSB_NANO_AMP_HOURS_X10) / 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()
1041 dev_dbg(di->dev, "%s cap_mah %d accu_charge %d\n", ab8500_fg_calc_cap_charging()
1044 di->accu_charge); ab8500_fg_calc_cap_charging()
1047 if (di->bat_cap.mah + di->accu_charge > 0) ab8500_fg_calc_cap_charging()
1048 di->bat_cap.mah += di->accu_charge; ab8500_fg_calc_cap_charging()
1110 dev_dbg(di->dev, "%s cap_mah %d accu_charge %d\n", ab8500_fg_calc_cap_discharge_fg()
1113 di->accu_charge); ab8500_fg_calc_cap_discharge_fg()
1116 if (di->bat_cap.mah + di->accu_charge > 0) ab8500_fg_calc_cap_discharge_fg()
1117 di->bat_cap.mah += di->accu_charge; ab8500_fg_calc_cap_discharge_fg()
1778 di->accu_charge, ab8500_fg_algorithm()

Completed in 61 milliseconds