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

/linux-4.1.27/drivers/power/
H A Dda9052-battery.c174 int charger_type; member in struct:da9052_battery
253 bat->charger_type = DA9052_CHARGER; da9052_bat_check_status()
277 bat->charger_type = DA9052_CHARGER; da9052_bat_check_status()
280 bat->charger_type = DA9052_NOCHARGER; da9052_bat_check_status()
517 (bat->charger_type == DA9052_NOCHARGER) ? 0 : 1; da9052_bat_get_property()
605 bat->charger_type = DA9052_NOCHARGER; da9052_bat_probe()
H A Dabx500_chargalg.c64 enum abx500_chargers charger_type; member in struct:abx500_chargalg_charger_info
360 if (di->chg_info.charger_type & USB_CHG) { abx500_chargalg_check_charger_enable()
364 } else if ((di->chg_info.charger_type & AC_CHG) && abx500_chargalg_check_charger_enable()
391 if (di->chg_info.charger_type != AC_CHG) { abx500_chargalg_check_charger_connection()
392 di->chg_info.charger_type = AC_CHG; abx500_chargalg_check_charger_connection()
398 di->chg_info.charger_type = USB_CHG; abx500_chargalg_check_charger_connection()
404 di->chg_info.charger_type = NO_CHG; abx500_chargalg_check_charger_connection()
408 di->chg_info.charger_type = NO_CHG; abx500_chargalg_check_charger_connection()
445 switch (di->chg_info.charger_type) { abx500_chargalg_start_safety_timer()
650 di->chg_info.charger_type & AC_CHG) { abx500_chargalg_update_chg_curr()
662 di->chg_info.charger_type & USB_CHG) { abx500_chargalg_update_chg_curr()
730 switch (di->chg_info.charger_type) { abx500_chargalg_start_charging()
836 if ((di->chg_info.charger_type & USB_CHG) && abx500_chargalg_end_of_charge()
1445 di->chg_info.charger_type, abx500_chargalg_algorithm()
1543 if ((di->chg_info.charger_type & USB_CHG) && abx500_chargalg_algorithm()

Completed in 69 milliseconds