Lines Matching refs:ac_chg
171 struct ab8500_charger, ac_chg)
299 struct ux500_charger ac_chg; member
1567 ab8500_power_supply_changed(di, di->ac_chg.psy); in ab8500_charger_ac_en()
2020 ab8500_power_supply_changed(di, di->ac_chg.psy); in ab8500_charger_check_hw_failure_work()
2103 ab8500_power_supply_changed(di, di->ac_chg.psy); in ab8500_charger_ac_work()
2104 sysfs_notify(&di->ac_chg.psy->dev.kobj, NULL, "present"); in ab8500_charger_ac_work()
2171 ab8500_charger_ac_en(&di->ac_chg, 0, 0, 0); in ab8500_charger_ac_attached_work()
2531 ab8500_power_supply_changed(di, di->ac_chg.psy); in ab8500_charger_check_main_thermal_prot_work()
2622 ab8500_power_supply_changed(di, di->ac_chg.psy); in ab8500_charger_mainextchnotok_handler()
2843 ab8500_power_supply_changed(di, di->ac_chg.psy); in ab8500_charger_chwdexp_handler()
3378 ab8500_charger_ac_en(&di->ac_chg, false, 0, 0); in ab8500_charger_unbind()
3501 ac_psy_cfg.drv_data = &di->ac_chg; in ab8500_charger_probe()
3509 di->ac_chg.ops.enable = &ab8500_charger_ac_en; in ab8500_charger_probe()
3510 di->ac_chg.ops.check_enable = &ab8500_charger_ac_check_enable; in ab8500_charger_probe()
3511 di->ac_chg.ops.kick_wd = &ab8500_charger_watchdog_kick; in ab8500_charger_probe()
3512 di->ac_chg.ops.update_curr = &ab8500_charger_update_charger_current; in ab8500_charger_probe()
3513 di->ac_chg.max_out_volt_uv = ab8500_charger_voltage_map[ in ab8500_charger_probe()
3515 di->ac_chg.max_out_curr_ua = in ab8500_charger_probe()
3517 di->ac_chg.wdt_refresh = CHG_WD_INTERVAL; in ab8500_charger_probe()
3525 di->ac_chg.enabled = true; in ab8500_charger_probe()
3599 if (di->ac_chg.enabled) { in ab8500_charger_probe()
3600 di->ac_chg.psy = devm_power_supply_register(dev, in ab8500_charger_probe()
3603 if (IS_ERR(di->ac_chg.psy)) { in ab8500_charger_probe()
3605 return PTR_ERR(di->ac_chg.psy); in ab8500_charger_probe()
3632 ab8500_power_supply_changed(di, di->ac_chg.psy); in ab8500_charger_probe()
3633 sysfs_notify(&di->ac_chg.psy->dev.kobj, NULL, "present"); in ab8500_charger_probe()