Lines Matching refs:conn_chg

63 	enum ab8500_chargers conn_chg;  member
354 if (di->chg_info.conn_chg != di->chg_info.prev_conn_chg) { in ab8500_chargalg_check_charger_connection()
356 if (di->chg_info.conn_chg & AC_CHG) { in ab8500_chargalg_check_charger_connection()
362 } else if (di->chg_info.conn_chg & USB_CHG) { in ab8500_chargalg_check_charger_connection()
371 di->chg_info.prev_conn_chg = di->chg_info.conn_chg; in ab8500_chargalg_check_charger_connection()
373 return di->chg_info.conn_chg; in ab8500_chargalg_check_charger_connection()
905 (di->chg_info.conn_chg & AC_CHG)) { in ab8500_chargalg_get_ext_psy_data()
907 di->chg_info.conn_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()
914 di->chg_info.conn_chg; in ab8500_chargalg_get_ext_psy_data()
915 di->chg_info.conn_chg |= AC_CHG; in ab8500_chargalg_get_ext_psy_data()
921 (di->chg_info.conn_chg & USB_CHG)) { in ab8500_chargalg_get_ext_psy_data()
923 di->chg_info.conn_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()
930 di->chg_info.conn_chg; in ab8500_chargalg_get_ext_psy_data()
931 di->chg_info.conn_chg |= USB_CHG; in ab8500_chargalg_get_ext_psy_data()
1337 di->chg_info.conn_chg & AC_CHG, in ab8500_chargalg_algorithm()
1338 di->chg_info.conn_chg & USB_CHG, in ab8500_chargalg_algorithm()
1601 if (di->chg_info.conn_chg) in ab8500_chargalg_periodic_work()