Searched refs:inst_curr (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/power/supply/ |
D | ab8500_btemp.c | 141 int v_batctrl, int inst_curr) in ab8500_btemp_batctrl_volt_to_res() argument 159 - di->bm->gnd_lift_resistance * inst_curr) in ab8500_btemp_batctrl_volt_to_res() 355 int inst_curr; in ab8500_btemp_get_batctrl_res() local 395 ret = ab8500_fg_inst_curr_finalize(di->fg, &inst_curr); in ab8500_btemp_get_batctrl_res() 401 res = ab8500_btemp_batctrl_volt_to_res(di, batctrl, inst_curr); in ab8500_btemp_get_batctrl_res() 410 __func__, batctrl, res, inst_curr, i); in ab8500_btemp_get_batctrl_res()
|
D | ab8500_fg.c | 204 int inst_curr; member 964 ab8500_fg_inst_curr_finalize(di, &di->inst_curr); in ab8500_fg_load_comp_volt_to_capacity() 970 vbat_comp = di->vbat - (di->inst_curr * res) / 1000; in ab8500_fg_load_comp_volt_to_capacity() 974 __func__, di->vbat, vbat_comp, res, di->inst_curr, i); in ab8500_fg_load_comp_volt_to_capacity() 1059 di->inst_curr = ab8500_fg_inst_curr_blocking(di); in ab8500_fg_calc_cap_charging() 1586 di->inst_curr = ab8500_fg_inst_curr_blocking(di); in ab8500_fg_algorithm_discharging() 1588 if (ab8500_fg_is_low_curr(di, di->inst_curr)) { in ab8500_fg_algorithm_discharging() 1621 di->inst_curr = ab8500_fg_inst_curr_blocking(di); in ab8500_fg_algorithm_discharging() 1623 if (ab8500_fg_is_low_curr(di, di->inst_curr)) { in ab8500_fg_algorithm_discharging() 1769 di->inst_curr, in ab8500_fg_algorithm() [all …]
|
D | abx500_chargalg.c | 89 int inst_curr; member 844 delta_i = di->ccm.original_iset - di->batt_data.inst_curr; in abx500_chargalg_chg_curr_maxim() 868 if ((di->batt_data.inst_curr > di->ccm.original_iset)) { in abx500_chargalg_chg_curr_maxim() 871 di->batt_data.inst_curr, di->ccm.original_iset, in abx500_chargalg_chg_curr_maxim() 1226 di->batt_data.inst_curr = ret.intval / 1000; in abx500_chargalg_get_ext_psy_data() 1397 di->batt_data.inst_curr, in abx500_chargalg_algorithm()
|