Searched refs:is_first_power_on (Results 1 – 3 of 3) sorted by relevance
219 bool is_first_power_on; member418 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()
258 bool is_first_power_on; member1149 battery->is_first_power_on = is_rk817_bat_first_pwron(battery); in rk817_bat_rsoc_init()1160 battery->is_first_power_on = 1; in rk817_bat_rsoc_init()1168 __func__, battery->is_first_power_on, in rk817_bat_rsoc_init()1171 if (battery->is_first_power_on) in rk817_bat_rsoc_init()
171 bool is_first_power_on; member1094 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()