Searched refs:abx500_chargalg (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/power/
H A Dabx500_chargalg.c213 * struct abx500_chargalg - abx500 Charging algorithm device information
241 struct abx500_chargalg { struct
280 ssize_t (*show)(struct abx500_chargalg *, char *);
281 ssize_t (*store)(struct abx500_chargalg *, const char *, size_t);
294 struct abx500_chargalg *di = container_of(timer, struct abx500_chargalg, abx500_chargalg_safety_timer_expired()
317 struct abx500_chargalg *di = container_of(timer, struct abx500_chargalg, abx500_chargalg_maintenance_timer_expired()
331 * @di: pointer to the abx500_chargalg structure
335 static void abx500_chargalg_state_to(struct abx500_chargalg *di, abx500_chargalg_state_to()
349 static int abx500_chargalg_check_charger_enable(struct abx500_chargalg *di) abx500_chargalg_check_charger_enable()
375 * @di: pointer to the abx500_chargalg structure
380 static int abx500_chargalg_check_charger_connection(struct abx500_chargalg *di) abx500_chargalg_check_charger_connection()
420 * @di: pointer to the abx500_chargalg structure
426 (struct abx500_chargalg *di) abx500_chargalg_check_current_step_status()
435 * @di: pointer to the abx500_chargalg structure
440 static void abx500_chargalg_start_safety_timer(struct abx500_chargalg *di) abx500_chargalg_start_safety_timer()
468 * @di: pointer to the abx500_chargalg structure
472 static void abx500_chargalg_stop_safety_timer(struct abx500_chargalg *di) abx500_chargalg_stop_safety_timer()
480 * @di: pointer to the abx500_chargalg structure
487 static void abx500_chargalg_start_maintenance_timer(struct abx500_chargalg *di, abx500_chargalg_start_maintenance_timer()
499 * @di: pointer to the abx500_chargalg structure
504 static void abx500_chargalg_stop_maintenance_timer(struct abx500_chargalg *di) abx500_chargalg_stop_maintenance_timer()
512 * @di: pointer to the abx500_chargalg structure
517 static int abx500_chargalg_kick_watchdog(struct abx500_chargalg *di) abx500_chargalg_kick_watchdog()
542 * @di: pointer to the abx500_chargalg structure
550 static int abx500_chargalg_ac_en(struct abx500_chargalg *di, int enable, abx500_chargalg_ac_en()
580 * @di: pointer to the abx500_chargalg structure
588 static int abx500_chargalg_usb_en(struct abx500_chargalg *di, int enable, abx500_chargalg_usb_en()
608 * @di: pointer to the abx500_chargalg structure
613 static int ab8540_chargalg_usb_pp_en(struct abx500_chargalg *di, bool enable) ab8540_chargalg_usb_pp_en()
623 * @di: pointer to the abx500_chargalg structure
628 static int ab8540_chargalg_usb_pre_chg_en(struct abx500_chargalg *di, ab8540_chargalg_usb_pre_chg_en()
639 * @di: pointer to the abx500_chargalg structure
645 static int abx500_chargalg_update_chg_curr(struct abx500_chargalg *di, abx500_chargalg_update_chg_curr()
680 * @di: pointer to the abx500_chargalg structure
686 static void abx500_chargalg_stop_charging(struct abx500_chargalg *di) abx500_chargalg_stop_charging()
700 * @di: pointer to the abx500_chargalg structure
706 static void abx500_chargalg_hold_charging(struct abx500_chargalg *di) abx500_chargalg_hold_charging()
720 * @di: pointer to the abx500_chargalg structure
727 static void abx500_chargalg_start_charging(struct abx500_chargalg *di, abx500_chargalg_start_charging()
753 * @di: pointer to the abx500_chargalg structure
758 static void abx500_chargalg_check_temp(struct abx500_chargalg *di) abx500_chargalg_check_temp()
798 * @di: pointer to the abx500_chargalg structure
802 static void abx500_chargalg_check_charger_voltage(struct abx500_chargalg *di) abx500_chargalg_check_charger_voltage()
818 * @di: pointer to the abx500_chargalg structure
824 static void abx500_chargalg_end_of_charge(struct abx500_chargalg *di) abx500_chargalg_end_of_charge()
855 static void init_maxim_chg_curr(struct abx500_chargalg *di) init_maxim_chg_curr()
870 * @di pointer to the abx500_chargalg structure
876 static enum maxim_ret abx500_chargalg_chg_curr_maxim(struct abx500_chargalg *di) abx500_chargalg_chg_curr_maxim()
948 static void handle_maxim_chg_curr(struct abx500_chargalg *di) handle_maxim_chg_curr()
979 struct abx500_chargalg *di; abx500_chargalg_get_ext_psy_data()
1313 struct abx500_chargalg *di = power_supply_get_drvdata(psy); abx500_chargalg_external_power_changed()
1324 * @di: pointer to the abx500_chargalg structure
1330 static void abx500_chargalg_algorithm(struct abx500_chargalg *di) abx500_chargalg_algorithm()
1710 struct abx500_chargalg *di = container_of(work, abx500_chargalg_periodic_work()
1711 struct abx500_chargalg, chargalg_periodic_work.work); abx500_chargalg_periodic_work()
1738 struct abx500_chargalg *di = container_of(work, abx500_chargalg_wd_work()
1739 struct abx500_chargalg, chargalg_wd_work.work); abx500_chargalg_wd_work()
1759 struct abx500_chargalg *di = container_of(work, abx500_chargalg_work()
1760 struct abx500_chargalg, chargalg_work); abx500_chargalg_work()
1781 struct abx500_chargalg *di = power_supply_get_drvdata(psy); abx500_chargalg_get_property()
1810 static ssize_t abx500_chargalg_curr_step_show(struct abx500_chargalg *di, abx500_chargalg_curr_step_show()
1816 static ssize_t abx500_chargalg_curr_step_store(struct abx500_chargalg *di, abx500_chargalg_curr_step_store()
1841 static ssize_t abx500_chargalg_en_show(struct abx500_chargalg *di, abx500_chargalg_en_show()
1849 static ssize_t abx500_chargalg_en_store(struct abx500_chargalg *di, abx500_chargalg_en_store()
1910 struct abx500_chargalg *di = container_of(kobj, abx500_chargalg_sysfs_show()
1911 struct abx500_chargalg, chargalg_kobject); abx500_chargalg_sysfs_show()
1925 struct abx500_chargalg *di = container_of(kobj, abx500_chargalg_sysfs_charger()
1926 struct abx500_chargalg, chargalg_kobject); abx500_chargalg_sysfs_charger()
1952 * @di: pointer to the struct abx500_chargalg
1956 static void abx500_chargalg_sysfs_exit(struct abx500_chargalg *di) abx500_chargalg_sysfs_exit()
1963 * @di: pointer to the struct abx500_chargalg
1968 static int abx500_chargalg_sysfs_init(struct abx500_chargalg *di) abx500_chargalg_sysfs_init()
1974 NULL, "abx500_chargalg"); abx500_chargalg_sysfs_init()
1985 struct abx500_chargalg *di = platform_get_drvdata(pdev); abx500_chargalg_resume()
2003 struct abx500_chargalg *di = platform_get_drvdata(pdev); abx500_chargalg_suspend()
2019 struct abx500_chargalg *di = platform_get_drvdata(pdev); abx500_chargalg_remove()
2044 .name = "abx500_chargalg",
2057 struct abx500_chargalg *di; abx500_chargalg_probe()
H A DMakefile47 obj-$(CONFIG_AB8500_BM) += ab8500_bmdata.o ab8500_charger.o ab8500_fg.o ab8500_btemp.o abx500_chargalg.o pm2301_charger.o

Completed in 118 milliseconds