Searched refs:inst_curr (Results 1 – 3 of 3) sorted by relevance
/linux-3.4.99/drivers/power/ |
D | ab8500_btemp.c | 138 int v_batctrl, int inst_curr) in ab8500_btemp_batctrl_volt_to_res() argument 156 - di->bat->gnd_lift_resistance * inst_curr) in ab8500_btemp_batctrl_volt_to_res() 348 int inst_curr; in ab8500_btemp_get_batctrl_res() local 391 ret = ab8500_fg_inst_curr_finalize(di->fg, &inst_curr); in ab8500_btemp_get_batctrl_res() 397 res = ab8500_btemp_batctrl_volt_to_res(di, batctrl, inst_curr); in ab8500_btemp_get_batctrl_res() 406 __func__, batctrl, res, inst_curr, i); in ab8500_btemp_get_batctrl_res()
|
D | ab8500_fg.c | 194 int inst_curr; member 922 ab8500_fg_inst_curr_finalize(di, &di->inst_curr); in ab8500_fg_load_comp_volt_to_capacity() 928 vbat_comp = di->vbat - (di->inst_curr * res) / 1000; in ab8500_fg_load_comp_volt_to_capacity() 932 __func__, di->vbat, vbat_comp, res, di->inst_curr, i); in ab8500_fg_load_comp_volt_to_capacity() 1017 di->inst_curr = ab8500_fg_inst_curr_blocking(di); in ab8500_fg_calc_cap_charging() 1438 di->inst_curr = ab8500_fg_inst_curr_blocking(di); in ab8500_fg_algorithm_discharging() 1440 if (ab8500_fg_is_low_curr(di, di->inst_curr)) { in ab8500_fg_algorithm_discharging() 1473 di->inst_curr = ab8500_fg_inst_curr_blocking(di); in ab8500_fg_algorithm_discharging() 1475 if (ab8500_fg_is_low_curr(di, di->inst_curr)) { in ab8500_fg_algorithm_discharging() 1527 di->inst_curr = ab8500_fg_inst_curr_blocking(di); in ab8500_fg_algorithm_discharging() [all …]
|
D | abx500_chargalg.c | 74 int inst_curr; member 761 delta_i = di->ccm.original_iset - di->batt_data.inst_curr; in abx500_chargalg_chg_curr_maxim() 785 if ((di->batt_data.inst_curr > di->ccm.original_iset)) { in abx500_chargalg_chg_curr_maxim() 788 di->batt_data.inst_curr, di->ccm.original_iset, in abx500_chargalg_chg_curr_maxim() 1134 di->batt_data.inst_curr = ret.intval / 1000; in abx500_chargalg_get_ext_psy_data() 1293 di->batt_data.inst_curr, in abx500_chargalg_algorithm()
|