Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/power/supply/
Dab8500_chargalg.c232 struct ab8500_chargalg_charger_info chg_info; member
333 if (di->chg_info.charger_type & USB_CHG) { in ab8500_chargalg_check_charger_enable()
337 } else if (di->chg_info.charger_type & AC_CHG) { in ab8500_chargalg_check_charger_enable()
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()
358 if (di->chg_info.charger_type != AC_CHG) { in ab8500_chargalg_check_charger_connection()
359 di->chg_info.charger_type = AC_CHG; in ab8500_chargalg_check_charger_connection()
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()
368 di->chg_info.charger_type = NO_CHG; in ab8500_chargalg_check_charger_connection()
[all …]