Lines Matching refs:abx500_chargalg

38 	struct abx500_chargalg, chargalg_psy);
221 struct abx500_chargalg { struct
264 struct abx500_chargalg *di = (struct abx500_chargalg *) data; in abx500_chargalg_safety_timer_expired()
283 struct abx500_chargalg *di = (struct abx500_chargalg *) data; in abx500_chargalg_maintenance_timer_expired()
297 static void abx500_chargalg_state_to(struct abx500_chargalg *di, in abx500_chargalg_state_to()
318 static int abx500_chargalg_check_charger_connection(struct abx500_chargalg *di) in abx500_chargalg_check_charger_connection()
362 static void abx500_chargalg_start_safety_timer(struct abx500_chargalg *di) in abx500_chargalg_start_safety_timer()
398 static void abx500_chargalg_stop_safety_timer(struct abx500_chargalg *di) in abx500_chargalg_stop_safety_timer()
413 static void abx500_chargalg_start_maintenance_timer(struct abx500_chargalg *di, in abx500_chargalg_start_maintenance_timer()
436 static void abx500_chargalg_stop_maintenance_timer(struct abx500_chargalg *di) in abx500_chargalg_stop_maintenance_timer()
449 static int abx500_chargalg_kick_watchdog(struct abx500_chargalg *di) in abx500_chargalg_kick_watchdog()
472 static int abx500_chargalg_ac_en(struct abx500_chargalg *di, int enable, in abx500_chargalg_ac_en()
500 static int abx500_chargalg_usb_en(struct abx500_chargalg *di, int enable, in abx500_chargalg_usb_en()
526 static int abx500_chargalg_update_chg_curr(struct abx500_chargalg *di, in abx500_chargalg_update_chg_curr()
567 static void abx500_chargalg_stop_charging(struct abx500_chargalg *di) in abx500_chargalg_stop_charging()
587 static void abx500_chargalg_hold_charging(struct abx500_chargalg *di) in abx500_chargalg_hold_charging()
608 static void abx500_chargalg_start_charging(struct abx500_chargalg *di, in abx500_chargalg_start_charging()
639 static void abx500_chargalg_check_temp(struct abx500_chargalg *di) in abx500_chargalg_check_temp()
683 static void abx500_chargalg_check_charger_voltage(struct abx500_chargalg *di) in abx500_chargalg_check_charger_voltage()
705 static void abx500_chargalg_end_of_charge(struct abx500_chargalg *di) in abx500_chargalg_end_of_charge()
733 static void init_maxim_chg_curr(struct abx500_chargalg *di) in init_maxim_chg_curr()
754 static enum maxim_ret abx500_chargalg_chg_curr_maxim(struct abx500_chargalg *di) in abx500_chargalg_chg_curr_maxim()
826 static void handle_maxim_chg_curr(struct abx500_chargalg *di) in handle_maxim_chg_curr()
857 struct abx500_chargalg *di; in abx500_chargalg_get_ext_psy_data()
1177 struct abx500_chargalg *di = to_abx500_chargalg_device_info(psy); in abx500_chargalg_external_power_changed()
1194 static void abx500_chargalg_algorithm(struct abx500_chargalg *di) in abx500_chargalg_algorithm()
1534 struct abx500_chargalg *di = container_of(work, in abx500_chargalg_periodic_work()
1535 struct abx500_chargalg, chargalg_periodic_work.work); in abx500_chargalg_periodic_work()
1562 struct abx500_chargalg *di = container_of(work, in abx500_chargalg_wd_work()
1563 struct abx500_chargalg, chargalg_wd_work.work); in abx500_chargalg_wd_work()
1583 struct abx500_chargalg *di = container_of(work, in abx500_chargalg_work()
1584 struct abx500_chargalg, chargalg_work); in abx500_chargalg_work()
1605 struct abx500_chargalg *di; in abx500_chargalg_get_property()
1647 struct abx500_chargalg *di = container_of(kobj, in abx500_chargalg_sysfs_charger()
1648 struct abx500_chargalg, chargalg_kobject); in abx500_chargalg_sysfs_charger()
1724 static void abx500_chargalg_sysfs_exit(struct abx500_chargalg *di) in abx500_chargalg_sysfs_exit()
1736 static int abx500_chargalg_sysfs_init(struct abx500_chargalg *di) in abx500_chargalg_sysfs_init()
1753 struct abx500_chargalg *di = platform_get_drvdata(pdev); in abx500_chargalg_resume()
1771 struct abx500_chargalg *di = platform_get_drvdata(pdev); in abx500_chargalg_suspend()
1787 struct abx500_chargalg *di = platform_get_drvdata(pdev); in abx500_chargalg_remove()
1808 struct abx500_chargalg *di = in abx500_chargalg_probe()
1809 kzalloc(sizeof(struct abx500_chargalg), GFP_KERNEL); in abx500_chargalg_probe()