Searched refs:conn_chg (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/power/
H A Dabx500_chargalg.c60 enum abx500_chargers conn_chg; member in struct:abx500_chargalg_charger_info
382 if (di->chg_info.conn_chg != di->chg_info.prev_conn_chg || abx500_chargalg_check_charger_connection()
388 if ((di->chg_info.conn_chg & AC_CHG) && abx500_chargalg_check_charger_connection()
395 } else if ((di->chg_info.conn_chg & USB_CHG) && abx500_chargalg_check_charger_connection()
400 } else if (di->chg_info.conn_chg && abx500_chargalg_check_charger_connection()
411 di->chg_info.prev_conn_chg = di->chg_info.conn_chg; abx500_chargalg_check_charger_connection()
414 return di->chg_info.conn_chg; abx500_chargalg_check_charger_connection()
1037 (di->chg_info.conn_chg & AC_CHG)) { abx500_chargalg_get_ext_psy_data()
1039 di->chg_info.conn_chg; abx500_chargalg_get_ext_psy_data()
1040 di->chg_info.conn_chg &= ~AC_CHG; abx500_chargalg_get_ext_psy_data()
1044 !(di->chg_info.conn_chg & AC_CHG)) { abx500_chargalg_get_ext_psy_data()
1046 di->chg_info.conn_chg; abx500_chargalg_get_ext_psy_data()
1047 di->chg_info.conn_chg |= AC_CHG; abx500_chargalg_get_ext_psy_data()
1053 (di->chg_info.conn_chg & USB_CHG)) { abx500_chargalg_get_ext_psy_data()
1055 di->chg_info.conn_chg; abx500_chargalg_get_ext_psy_data()
1056 di->chg_info.conn_chg &= ~USB_CHG; abx500_chargalg_get_ext_psy_data()
1060 !(di->chg_info.conn_chg & USB_CHG)) { abx500_chargalg_get_ext_psy_data()
1062 di->chg_info.conn_chg; abx500_chargalg_get_ext_psy_data()
1063 di->chg_info.conn_chg |= USB_CHG; abx500_chargalg_get_ext_psy_data()
1447 di->chg_info.conn_chg & AC_CHG, abx500_chargalg_algorithm()
1448 di->chg_info.conn_chg & USB_CHG, abx500_chargalg_algorithm()
1719 if (di->chg_info.conn_chg) abx500_chargalg_periodic_work()

Completed in 79 milliseconds