Lines Matching refs:AC_CHG
58 AC_CHG, enumerator
337 } else if (di->chg_info.charger_type & AC_CHG) { in ab8500_chargalg_check_charger_enable()
356 if (di->chg_info.conn_chg & AC_CHG) { in ab8500_chargalg_check_charger_connection()
358 if (di->chg_info.charger_type != AC_CHG) { in ab8500_chargalg_check_charger_connection()
359 di->chg_info.charger_type = AC_CHG; in ab8500_chargalg_check_charger_connection()
389 case AC_CHG: in ab8500_chargalg_start_safety_timer()
465 di->chg_info.online_chg & AC_CHG) { in ab8500_chargalg_kick_watchdog()
543 di->chg_info.charger_type & AC_CHG) { in ab8500_chargalg_update_chg_curr()
624 case AC_CHG: in ab8500_chargalg_start_charging()
905 (di->chg_info.conn_chg & AC_CHG)) { in ab8500_chargalg_get_ext_psy_data()
908 di->chg_info.conn_chg &= ~AC_CHG; in ab8500_chargalg_get_ext_psy_data()
912 !(di->chg_info.conn_chg & AC_CHG)) { in ab8500_chargalg_get_ext_psy_data()
915 di->chg_info.conn_chg |= AC_CHG; in ab8500_chargalg_get_ext_psy_data()
946 (di->chg_info.online_chg & AC_CHG)) { in ab8500_chargalg_get_ext_psy_data()
949 di->chg_info.online_chg &= ~AC_CHG; in ab8500_chargalg_get_ext_psy_data()
953 !(di->chg_info.online_chg & AC_CHG)) { in ab8500_chargalg_get_ext_psy_data()
956 di->chg_info.online_chg |= AC_CHG; in ab8500_chargalg_get_ext_psy_data()
1337 di->chg_info.conn_chg & AC_CHG, in ab8500_chargalg_algorithm()
1339 di->chg_info.online_chg & AC_CHG, in ab8500_chargalg_algorithm()