Lines Matching refs:USB_CHG
59 USB_CHG, enumerator
333 if (di->chg_info.charger_type & USB_CHG) { in ab8500_chargalg_check_charger_enable()
362 } else if (di->chg_info.conn_chg & USB_CHG) { in ab8500_chargalg_check_charger_connection()
364 di->chg_info.charger_type = USB_CHG; in ab8500_chargalg_check_charger_connection()
393 case USB_CHG: in ab8500_chargalg_start_safety_timer()
468 di->chg_info.online_chg & USB_CHG) in ab8500_chargalg_kick_watchdog()
555 di->chg_info.charger_type & USB_CHG) { in ab8500_chargalg_update_chg_curr()
631 case USB_CHG: in ab8500_chargalg_start_charging()
921 (di->chg_info.conn_chg & USB_CHG)) { in ab8500_chargalg_get_ext_psy_data()
924 di->chg_info.conn_chg &= ~USB_CHG; in ab8500_chargalg_get_ext_psy_data()
928 !(di->chg_info.conn_chg & USB_CHG)) { in ab8500_chargalg_get_ext_psy_data()
931 di->chg_info.conn_chg |= USB_CHG; in ab8500_chargalg_get_ext_psy_data()
964 (di->chg_info.online_chg & USB_CHG)) { in ab8500_chargalg_get_ext_psy_data()
967 di->chg_info.online_chg &= ~USB_CHG; in ab8500_chargalg_get_ext_psy_data()
971 !(di->chg_info.online_chg & USB_CHG)) { in ab8500_chargalg_get_ext_psy_data()
974 di->chg_info.online_chg |= USB_CHG; in ab8500_chargalg_get_ext_psy_data()
1337 di->chg_info.conn_chg & USB_CHG, in ab8500_chargalg_algorithm()
1339 di->chg_info.online_chg & USB_CHG, in ab8500_chargalg_algorithm()