Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/power/supply/
Dab8500_fg.c206 int inst_curr_ua; member
960 ab8500_fg_inst_curr_finalize(di, &di->inst_curr_ua); in ab8500_load_comp_fg_bat_voltage()
967 if (!always && di->inst_curr_ua < IGNORE_VBAT_HIGHCUR) in ab8500_load_comp_fg_bat_voltage()
974 vbat_uv = vbat_uv - (di->inst_curr_ua * rcomp) / 1000; in ab8500_load_comp_fg_bat_voltage()
1083 di->inst_curr_ua = ab8500_fg_inst_curr_blocking(di); in ab8500_fg_calc_cap_charging()
1606 di->inst_curr_ua = ab8500_fg_inst_curr_blocking(di); in ab8500_fg_algorithm_discharging()
1608 if (ab8500_fg_is_low_curr(di, di->inst_curr_ua)) { in ab8500_fg_algorithm_discharging()
1641 di->inst_curr_ua = ab8500_fg_inst_curr_blocking(di); in ab8500_fg_algorithm_discharging()
1643 if (ab8500_fg_is_low_curr(di, di->inst_curr_ua)) { in ab8500_fg_algorithm_discharging()
1790 di->inst_curr_ua, in ab8500_fg_algorithm()
[all …]
Dab8500_chargalg.c84 int inst_curr_ua; member
828 if (di->batt_data.inst_curr_ua > di->ccm.original_iset_ua) { in ab8500_chargalg_chg_curr_maxim()
831 di->batt_data.inst_curr_ua, di->ccm.original_iset_ua, in ab8500_chargalg_chg_curr_maxim()
1165 di->batt_data.inst_curr_ua = ret.intval; in ab8500_chargalg_get_ext_psy_data()
1331 di->batt_data.inst_curr_ua, in ab8500_chargalg_algorithm()