Home
last modified time | relevance | path

Searched refs:chrg_status (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Dsc89890_charger.c85 u8 chrg_status; member
398 {F_CHG_STAT, &state->chrg_status}, in sc89890_get_chip_state()
415 state->chrg_status, state->online, state->vsys_status, in sc89890_get_chip_state()
482 else if (state.chrg_status == STATUS_NOT_CHARGING) in sc89890_power_supply_get_property()
484 else if (state.chrg_status == STATUS_PRE_CHARGING || in sc89890_power_supply_get_property()
485 state.chrg_status == STATUS_FAST_CHARGING) in sc89890_power_supply_get_property()
487 else if (state.chrg_status == STATUS_TERMINATION_DONE) in sc89890_power_supply_get_property()
495 if (!state.online || state.chrg_status == STATUS_NOT_CHARGING || in sc89890_power_supply_get_property()
496 state.chrg_status == STATUS_TERMINATION_DONE) in sc89890_power_supply_get_property()
498 else if (state.chrg_status == STATUS_PRE_CHARGING) in sc89890_power_supply_get_property()
[all …]
H A Dbq25890_charger.c96 u8 chrg_status; member
441 else if (state.chrg_status == STATUS_NOT_CHARGING) in bq25890_power_supply_get_property()
443 else if (state.chrg_status == STATUS_PRE_CHARGING || in bq25890_power_supply_get_property()
444 state.chrg_status == STATUS_FAST_CHARGING) in bq25890_power_supply_get_property()
446 else if (state.chrg_status == STATUS_TERMINATION_DONE) in bq25890_power_supply_get_property()
454 if (!state.online || state.chrg_status == STATUS_NOT_CHARGING || in bq25890_power_supply_get_property()
455 state.chrg_status == STATUS_TERMINATION_DONE) in bq25890_power_supply_get_property()
457 else if (state.chrg_status == STATUS_PRE_CHARGING) in bq25890_power_supply_get_property()
459 else if (state.chrg_status == STATUS_FAST_CHARGING) in bq25890_power_supply_get_property()
562 {F_CHG_STAT, &state->chrg_status}, in bq25890_get_chip_state()
[all …]
H A Drk818_battery.c175 int chrg_status; member
688 if ((di->chrg_status != CHARGE_FINISH) || in rk818_bat_adc_calib()
2050 if ((di->chrg_status == CHARGE_FINISH) && (di->age_allow_update) && in rk818_bat_update_age_fcc()
2076 if ((di->chrg_status == CHARGE_FINISH) && (di->adc_allow_update) && in rk818_bat_wait_finish_sig()
2233 if ((di->dsoc == 99) && (di->chrg_status == CC_OR_CV) && in rk818_bat_smooth_algorithm()
2238 (di->chrg_status == CC_OR_CV) && (di->dsoc >= TERM_CHRG_DSOC)) { in rk818_bat_smooth_algorithm()
2243 (di->current_avg > 0) && (di->chrg_status == CC_OR_CV) && in rk818_bat_smooth_algorithm()
2283 di->chrg_status == CC_OR_CV && di->dsoc >= 100)) { in rk818_bat_smooth_algorithm()
2633 di->chrg_status = rk818_bat_get_chrg_status(di); in rk818_bat_update_info()
2653 if (di->chrg_status != CHARGE_FINISH) in rk818_bat_update_info()
[all …]
H A Drk816_battery.c186 int chrg_status; member
810 if ((di->chrg_status != CHARGE_FINISH) || in rk816_bat_adc_calib()
2913 if ((di->chrg_status == CHARGE_FINISH) && (di->age_allow_update) && in rk816_bat_update_age_fcc()
2938 if ((di->chrg_status == CHARGE_FINISH) && in rk816_bat_wait_finish_sig()
3096 if ((di->dsoc == 99) && (di->chrg_status == CC_OR_CV) && in rk816_bat_smooth_algorithm()
3101 (di->chrg_status == CC_OR_CV) && (di->dsoc >= TERM_CHRG_DSOC)) { in rk816_bat_smooth_algorithm()
3106 (di->current_avg > 0) && (di->chrg_status == CC_OR_CV) && in rk816_bat_smooth_algorithm()
3146 di->chrg_status == CC_OR_CV && di->dsoc >= 100)) { in rk816_bat_smooth_algorithm()
3511 di->chrg_status = rk816_bat_get_chrg_status(di); in rk816_bat_update_info()
3534 if (di->chrg_status != CHARGE_FINISH) in rk816_bat_update_info()
[all …]
H A Drk817_battery.c506 int chrg_status; member
2301 battery->chrg_status = get_charge_status(battery); in rk817_bat_update_info()
2315 battery->chrg_status, in rk817_bat_update_info()
2332 if (battery->chrg_status != CHARGE_FINISH) in rk817_bat_update_info()