Searched refs:is_first_power_on (Results 1 – 5 of 5) sorted by relevance
| /OK3568_Linux_fs/u-boot/drivers/power/fuel_gauge/ |
| H A D | fg_rk818.c | 219 bool is_first_power_on; member 418 if (di->is_first_power_on || (!plugin && curr >= 0) || (plugin && curr <= 0)) { in rk818_bat_get_est_voltage() 420 __func__, curr, plugin, di->is_first_power_on); in rk818_bat_get_est_voltage() 433 if (di->is_first_power_on || (!plugin && curr >= 0) || (plugin && curr <= 0)) { in rk818_bat_get_est_voltage() 435 __func__, curr, plugin, di->is_first_power_on); in rk818_bat_get_est_voltage() 961 di->is_first_power_on = is_rk818_bat_first_poweron(di); in rk818_bat_init_rsoc() 971 if (di->is_first_power_on) { in rk818_bat_init_rsoc() 988 if (di->is_first_power_on || di->is_sw_reset) in rk818_bat_init_rsoc()
|
| H A D | fg_rk817.c | 213 bool is_first_power_on; member 836 battery->is_first_power_on = is_rk817_bat_first_pwron(battery); in rk817_bat_rsoc_init() 847 battery->is_first_power_on = 1; in rk817_bat_rsoc_init() 855 __func__, battery->is_first_power_on, in rk817_bat_rsoc_init() 858 if (battery->is_first_power_on) in rk817_bat_rsoc_init()
|
| H A D | fg_rk816.c | 171 bool is_first_power_on; member 1094 di->is_first_power_on = is_rk816_bat_first_poweron(di); in rk816_bat_init_rsoc() 1096 if (di->is_first_power_on) in rk816_bat_init_rsoc() 1110 if (di->is_first_power_on || di->is_sw_reset) in rk816_bat_init_rsoc()
|
| /OK3568_Linux_fs/kernel/drivers/power/supply/ |
| H A D | rk817_battery.c | 505 bool is_first_power_on; member 1684 battery->is_first_power_on = is_rk817_bat_first_pwron(battery); in rk817_bat_rsoc_init() 1689 __func__, battery->is_first_power_on, in rk817_bat_rsoc_init() 1692 if (battery->is_first_power_on) in rk817_bat_rsoc_init()
|
| H A D | rk818_battery.c | 177 bool is_first_power_on; member 835 if (di->is_first_power_on || is_rk818_bat_ocv_valid(di)) { in rk818_bat_init_age_algorithm() 1362 di->is_first_power_on = is_rk818_bat_first_pwron(di); in rk818_bat_init_rsoc() 1366 if (di->is_first_power_on || di->is_sw_reset) in rk818_bat_init_rsoc()
|