Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/power/supply/
Dab8500_fg.c201 int inst_curr_ua; member
955 ab8500_fg_inst_curr_finalize(di, &di->inst_curr_ua); in ab8500_load_comp_fg_bat_voltage()
962 if (!always && di->inst_curr_ua < IGNORE_VBAT_HIGHCUR) in ab8500_load_comp_fg_bat_voltage()
969 vbat_uv = vbat_uv - (di->inst_curr_ua * rcomp) / 1000; in ab8500_load_comp_fg_bat_voltage()
1078 di->inst_curr_ua = ab8500_fg_inst_curr_blocking(di); in ab8500_fg_calc_cap_charging()
1601 di->inst_curr_ua = ab8500_fg_inst_curr_blocking(di); in ab8500_fg_algorithm_discharging()
1603 if (ab8500_fg_is_low_curr(di, di->inst_curr_ua)) { in ab8500_fg_algorithm_discharging()
1636 di->inst_curr_ua = ab8500_fg_inst_curr_blocking(di); in ab8500_fg_algorithm_discharging()
1638 if (ab8500_fg_is_low_curr(di, di->inst_curr_ua)) { in ab8500_fg_algorithm_discharging()
1785 di->inst_curr_ua, in ab8500_fg_algorithm()
[all …]
Dab8500_chargalg.c84 int inst_curr_ua; member
799 if (di->batt_data.inst_curr_ua > di->ccm.original_iset_ua) { in ab8500_chargalg_chg_curr_maxim()
802 di->batt_data.inst_curr_ua, di->ccm.original_iset_ua, in ab8500_chargalg_chg_curr_maxim()
1136 di->batt_data.inst_curr_ua = ret.intval; in ab8500_chargalg_get_ext_psy_data()
1329 di->batt_data.inst_curr_ua, in ab8500_chargalg_algorithm()