Searched refs:ac_chg (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/drivers/power/supply/ |
D | ab8500_chargalg.c | 237 struct ux500_charger *ac_chg; member 338 return di->ac_chg->ops.check_enable(di->ac_chg, in ab8500_chargalg_check_charger_enable() 464 if (di->ac_chg && di->ac_chg->ops.kick_wd && in ab8500_chargalg_kick_watchdog() 466 return di->ac_chg->ops.kick_wd(di->ac_chg); in ab8500_chargalg_kick_watchdog() 487 if (!di->ac_chg || !di->ac_chg->ops.enable) in ab8500_chargalg_ac_en() 491 if (di->ac_chg->max_out_volt_uv) in ab8500_chargalg_ac_en() 492 vset_uv = min(vset_uv, di->ac_chg->max_out_volt_uv); in ab8500_chargalg_ac_en() 493 if (di->ac_chg->max_out_curr_ua) in ab8500_chargalg_ac_en() 494 iset_ua = min(iset_ua, di->ac_chg->max_out_curr_ua); in ab8500_chargalg_ac_en() 499 return di->ac_chg->ops.enable(di->ac_chg, enable, vset_uv, iset_ua); in ab8500_chargalg_ac_en() [all …]
|
D | ab8500_charger.c | 171 struct ab8500_charger, ac_chg) 299 struct ux500_charger ac_chg; member 1555 ab8500_power_supply_changed(di, di->ac_chg.psy); in ab8500_charger_ac_en() 2009 ab8500_power_supply_changed(di, di->ac_chg.psy); in ab8500_charger_check_hw_failure_work() 2092 ab8500_power_supply_changed(di, di->ac_chg.psy); in ab8500_charger_ac_work() 2093 sysfs_notify(&di->ac_chg.psy->dev.kobj, NULL, "present"); in ab8500_charger_ac_work() 2160 ab8500_charger_ac_en(&di->ac_chg, 0, 0, 0); in ab8500_charger_ac_attached_work() 2520 ab8500_power_supply_changed(di, di->ac_chg.psy); in ab8500_charger_check_main_thermal_prot_work() 2611 ab8500_power_supply_changed(di, di->ac_chg.psy); in ab8500_charger_mainextchnotok_handler() 2832 ab8500_power_supply_changed(di, di->ac_chg.psy); in ab8500_charger_chwdexp_handler() [all …]
|