Searched refs:usb_chg (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/power/supply/ |
D | ab8500_chargalg.c | 238 struct ux500_charger *usb_chg; member 343 return di->usb_chg->ops.check_enable(di->usb_chg, in ab8500_chargalg_check_charger_enable() 482 di->usb_chg && di->usb_chg->ops.kick_wd) in ab8500_chargalg_kick_watchdog() 483 di->usb_chg->ops.kick_wd(di->usb_chg); in ab8500_chargalg_kick_watchdog() 486 } else if (di->usb_chg && di->usb_chg->ops.kick_wd && in ab8500_chargalg_kick_watchdog() 488 return di->usb_chg->ops.kick_wd(di->usb_chg); in ab8500_chargalg_kick_watchdog() 544 if (!di->usb_chg || !di->usb_chg->ops.enable) in ab8500_chargalg_usb_en() 548 if (di->usb_chg->max_out_volt_uv) in ab8500_chargalg_usb_en() 549 vset_uv = min(vset_uv, di->usb_chg->max_out_volt_uv); in ab8500_chargalg_usb_en() 550 if (di->usb_chg->max_out_curr_ua) in ab8500_chargalg_usb_en() [all …]
|
D | ab8500_charger.c | 169 struct ab8500_charger, usb_chg) 300 struct ux500_charger usb_chg; member 457 if (di->usb_chg.psy) { in ab8500_charger_set_usb_connected() 458 sysfs_notify(&di->usb_chg.psy->dev.kobj, NULL, in ab8500_charger_set_usb_connected() 1714 ab8500_power_supply_changed(di, di->usb_chg.psy); in ab8500_charger_usb_en() 1781 ret = ab8500_charger_usb_en(&di->usb_chg, true, vset_uv, iset_ua); in ab8500_charger_usb_check_enable() 1831 ret = ab8500_charger_ac_en(&di->usb_chg, true, vset_uv, iset_ua); in ab8500_charger_ac_check_enable() 1916 struct ux500_charger *usb_chg; in ab8500_charger_get_ext_psy_data() local 1918 usb_chg = (struct ux500_charger *)data; in ab8500_charger_get_ext_psy_data() 1919 psy = usb_chg->psy; in ab8500_charger_get_ext_psy_data() [all …]
|