Searched refs:rsoc (Results 1 – 3 of 3) sorted by relevance
| /rk3399_rockchip-uboot/drivers/power/fuel_gauge/ |
| H A D | fg_rk816.c | 137 int rsoc; member 744 di->rsoc = rk816_bat_get_rsoc(di); in rk816_bat_init_capacity() 814 di->rsoc = rk816_bat_vol_to_soc(di, ocv_vol); in rk816_bat_first_pwron() 815 di->dsoc = di->rsoc; in rk816_bat_first_pwron() 870 pre_soc = di->rsoc; in rk816_bat_not_first_pwron() 893 di->dsoc, di->rsoc, di->remain_cap, di->pwroff_min, in rk816_bat_not_first_pwron() 936 di->calc_rsoc = di->rsoc; in rk816_bat_calc_linek() 939 delta = abs(di->dsoc - di->rsoc); in rk816_bat_calc_linek() 941 di->sm_meet_soc = (di->dsoc >= di->rsoc) ? in rk816_bat_calc_linek() 942 (di->dsoc + diff) : (di->rsoc + diff); in rk816_bat_calc_linek() [all …]
|
| H A D | fg_rk818.c | 176 int rsoc; member 735 di->rsoc = rk818_bat_get_rsoc(di); in rk818_bat_init_capacity() 817 di->rsoc = rk818_bat_vol_to_soc(di, ocv_vol); in rk818_bat_first_pwron() 818 di->dsoc = di->rsoc; in rk818_bat_first_pwron() 881 pre_soc = di->rsoc; in rk818_bat_not_first_pwron() 902 pre_soc = di->rsoc; in rk818_bat_not_first_pwron() 912 di->dsoc, di->rsoc, di->remain_cap, di->pwroff_min, in rk818_bat_not_first_pwron() 999 di->calc_rsoc = di->rsoc; in rk818_bat_calc_linek() 1002 delta = abs(di->dsoc - di->rsoc); in rk818_bat_calc_linek() 1004 di->sm_meet_soc = (di->dsoc >= di->rsoc) ? in rk818_bat_calc_linek() [all …]
|
| H A D | fg_rk817.c | 274 int rsoc; member 798 battery->rsoc = rk817_bat_get_rsoc(battery); in rk817_bat_init_coulomb_cap() 998 battery->rsoc = in rk817_bat_first_pwron() 1001 battery->dsoc = battery->rsoc; in rk817_bat_first_pwron() 1010 __func__, battery->rsoc, battery->dsoc, battery->fcc, battery->nac); in rk817_bat_first_pwron() 1188 (MAX_PERCENTAGE * MAX_INTERPOLATE - battery->rsoc + battery->dsoc); in rk817_bat_calc_linek() 1277 if (chrg_type != NO_CHARGER && (battery->rsoc + 500) / 1000 >= 100) in rk817_bat_get_charger_type() 1410 battery->rsoc = rk817_bat_get_rsoc(battery); in rk817_bat_smooth_charge() 1447 battery->rsoc = rk817_bat_get_rsoc(battery); in rk817_bat_update_get_soc() 1454 battery->dsoc, battery->rsoc, battery->voltage_avg, in rk817_bat_update_get_soc() [all …]
|