Lines Matching full:ab8500_chargalg
197 * struct ab8500_chargalg - ab8500 Charging algorithm device information
223 struct ab8500_chargalg { struct
265 struct ab8500_chargalg *di = container_of(timer, struct ab8500_chargalg, in ab8500_chargalg_safety_timer_expired() argument
288 struct ab8500_chargalg *di = container_of(timer, struct ab8500_chargalg, in ab8500_chargalg_maintenance_timer_expired()
302 * @di: pointer to the ab8500_chargalg structure
306 static void ab8500_chargalg_state_to(struct ab8500_chargalg *di, in ab8500_chargalg_state_to()
320 static int ab8500_chargalg_check_charger_enable(struct ab8500_chargalg *di) in ab8500_chargalg_check_charger_enable()
347 * @di: pointer to the ab8500_chargalg structure
352 static int ab8500_chargalg_check_charger_connection(struct ab8500_chargalg *di) in ab8500_chargalg_check_charger_connection()
378 * @di: pointer to the ab8500_chargalg structure
383 static void ab8500_chargalg_start_safety_timer(struct ab8500_chargalg *di) in ab8500_chargalg_start_safety_timer()
411 * @di: pointer to the ab8500_chargalg structure
415 static void ab8500_chargalg_stop_safety_timer(struct ab8500_chargalg *di) in ab8500_chargalg_stop_safety_timer()
423 * @di: pointer to the ab8500_chargalg structure
430 static void ab8500_chargalg_start_maintenance_timer(struct ab8500_chargalg *di, in ab8500_chargalg_start_maintenance_timer()
443 * @di: pointer to the ab8500_chargalg structure
448 static void ab8500_chargalg_stop_maintenance_timer(struct ab8500_chargalg *di) in ab8500_chargalg_stop_maintenance_timer()
456 * @di: pointer to the ab8500_chargalg structure
461 static int ab8500_chargalg_kick_watchdog(struct ab8500_chargalg *di) in ab8500_chargalg_kick_watchdog()
476 * @di: pointer to the ab8500_chargalg structure
484 static int ab8500_chargalg_ac_en(struct ab8500_chargalg *di, int enable, in ab8500_chargalg_ac_en()
504 * @di: pointer to the ab8500_chargalg structure
512 static int ab8500_chargalg_usb_en(struct ab8500_chargalg *di, int enable, in ab8500_chargalg_usb_en()
532 * @di: pointer to the ab8500_chargalg structure
538 static int ab8500_chargalg_update_chg_curr(struct ab8500_chargalg *di, in ab8500_chargalg_update_chg_curr()
573 * @di: pointer to the ab8500_chargalg structure
579 static void ab8500_chargalg_stop_charging(struct ab8500_chargalg *di) in ab8500_chargalg_stop_charging()
593 * @di: pointer to the ab8500_chargalg structure
599 static void ab8500_chargalg_hold_charging(struct ab8500_chargalg *di) in ab8500_chargalg_hold_charging()
613 * @di: pointer to the ab8500_chargalg structure
620 static void ab8500_chargalg_start_charging(struct ab8500_chargalg *di, in ab8500_chargalg_start_charging()
646 * @di: pointer to the ab8500_chargalg structure
651 static void ab8500_chargalg_check_temp(struct ab8500_chargalg *di) in ab8500_chargalg_check_temp()
698 * @di: pointer to the ab8500_chargalg structure
702 static void ab8500_chargalg_check_charger_voltage(struct ab8500_chargalg *di) in ab8500_chargalg_check_charger_voltage()
718 * @di: pointer to the ab8500_chargalg structure
724 static void ab8500_chargalg_end_of_charge(struct ab8500_chargalg *di) in ab8500_chargalg_end_of_charge()
752 static void init_maxim_chg_curr(struct ab8500_chargalg *di) in init_maxim_chg_curr()
766 * @di pointer to the ab8500_chargalg structure
772 static enum maxim_ret ab8500_chargalg_chg_curr_maxim(struct ab8500_chargalg *di) in ab8500_chargalg_chg_curr_maxim()
819 static void handle_maxim_chg_curr(struct ab8500_chargalg *di) in handle_maxim_chg_curr()
852 struct ab8500_chargalg *di; in ab8500_chargalg_get_ext_psy_data()
1180 struct ab8500_chargalg *di = power_supply_get_drvdata(psy); in ab8500_chargalg_external_power_changed()
1197 static bool ab8500_chargalg_time_to_restart(struct ab8500_chargalg *di) in ab8500_chargalg_time_to_restart()
1220 * @di: pointer to the ab8500_chargalg structure
1226 static void ab8500_chargalg_algorithm(struct ab8500_chargalg *di) in ab8500_chargalg_algorithm()
1591 struct ab8500_chargalg *di = container_of(work, in ab8500_chargalg_periodic_work()
1592 struct ab8500_chargalg, chargalg_periodic_work.work); in ab8500_chargalg_periodic_work()
1619 struct ab8500_chargalg *di = container_of(work, in ab8500_chargalg_wd_work()
1620 struct ab8500_chargalg, chargalg_wd_work.work); in ab8500_chargalg_wd_work()
1638 struct ab8500_chargalg *di = container_of(work, in ab8500_chargalg_work()
1639 struct ab8500_chargalg, chargalg_work); in ab8500_chargalg_work()
1660 struct ab8500_chargalg *di = power_supply_get_drvdata(psy); in ab8500_chargalg_get_property()
1689 struct ab8500_chargalg *di = dev_get_drvdata(dev); in ab8500_chargalg_resume()
1706 struct ab8500_chargalg *di = dev_get_drvdata(dev); in ab8500_chargalg_suspend()
1721 .name = "ab8500_chargalg",
1732 struct ab8500_chargalg *di = dev_get_drvdata(dev); in ab8500_chargalg_bind()
1751 struct ab8500_chargalg *di = dev_get_drvdata(dev); in ab8500_chargalg_unbind()
1774 struct ab8500_chargalg *di; in ab8500_chargalg_probe()
1842 .name = "ab8500_chargalg",