Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/power/supply/
Dab8500_chargalg.c232 struct ab8500_chargalg_charger_info chg_info; member
342 if (di->chg_info.charger_type & USB_CHG) { in ab8500_chargalg_check_charger_enable()
346 } else if ((di->chg_info.charger_type & AC_CHG) && in ab8500_chargalg_check_charger_enable()
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()
368 if (di->chg_info.charger_type != AC_CHG) { in ab8500_chargalg_check_charger_connection()
369 di->chg_info.charger_type = AC_CHG; in ab8500_chargalg_check_charger_connection()
372 } else if (di->chg_info.conn_chg & USB_CHG) { in ab8500_chargalg_check_charger_connection()
374 di->chg_info.charger_type = USB_CHG; in ab8500_chargalg_check_charger_connection()
378 di->chg_info.charger_type = NO_CHG; in ab8500_chargalg_check_charger_connection()
[all …]