Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/power/supply/
Dab8500_chargalg.c63 enum ab8500_chargers conn_chg; member
364 if (di->chg_info.conn_chg != di->chg_info.prev_conn_chg) { in ab8500_chargalg_check_charger_connection()
366 if (di->chg_info.conn_chg & AC_CHG) { in ab8500_chargalg_check_charger_connection()
372 } else if (di->chg_info.conn_chg & USB_CHG) { in ab8500_chargalg_check_charger_connection()
381 di->chg_info.prev_conn_chg = di->chg_info.conn_chg; in ab8500_chargalg_check_charger_connection()
383 return di->chg_info.conn_chg; in ab8500_chargalg_check_charger_connection()
934 (di->chg_info.conn_chg & AC_CHG)) { in ab8500_chargalg_get_ext_psy_data()
936 di->chg_info.conn_chg; in ab8500_chargalg_get_ext_psy_data()
937 di->chg_info.conn_chg &= ~AC_CHG; in ab8500_chargalg_get_ext_psy_data()
941 !(di->chg_info.conn_chg & AC_CHG)) { in ab8500_chargalg_get_ext_psy_data()
[all …]