Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/power/supply/
Dab8500_charger.c167 struct ab8500_charger, usb_chg)
292 struct ux500_charger usb_chg; member
436 sysfs_notify(&di->usb_chg.psy->dev.kobj, NULL, "present"); in ab8500_charger_set_usb_connected()
1671 ab8500_power_supply_changed(di, di->usb_chg.psy); in ab8500_charger_usb_en()
1738 ret = ab8500_charger_usb_en(&di->usb_chg, true, vset, iset); in ab8500_charger_usb_check_enable()
1788 ret = ab8500_charger_ac_en(&di->usb_chg, true, vset, iset); in ab8500_charger_ac_check_enable()
1872 struct ux500_charger *usb_chg; in ab8500_charger_get_ext_psy_data() local
1874 usb_chg = (struct ux500_charger *)data; in ab8500_charger_get_ext_psy_data()
1875 psy = usb_chg->psy; in ab8500_charger_get_ext_psy_data()
1877 di = to_ab8500_charger_usb_device_info(usb_chg); in ab8500_charger_get_ext_psy_data()
[all …]
Dabx500_chargalg.c253 struct ux500_charger *usb_chg; member
356 return di->usb_chg->ops.check_enable(di->usb_chg, in abx500_chargalg_check_charger_enable()
523 di->usb_chg && di->usb_chg->ops.kick_wd) in abx500_chargalg_kick_watchdog()
524 di->usb_chg->ops.kick_wd(di->usb_chg); in abx500_chargalg_kick_watchdog()
528 else if (di->usb_chg && di->usb_chg->ops.kick_wd && in abx500_chargalg_kick_watchdog()
530 return di->usb_chg->ops.kick_wd(di->usb_chg); in abx500_chargalg_kick_watchdog()
586 if (!di->usb_chg || !di->usb_chg->ops.enable) in abx500_chargalg_usb_en()
590 if (di->usb_chg->max_out_volt) in abx500_chargalg_usb_en()
591 vset = min(vset, di->usb_chg->max_out_volt); in abx500_chargalg_usb_en()
592 if (di->usb_chg->max_out_curr) in abx500_chargalg_usb_en()
[all …]