Lines Matching defs:charger
139 struct da9030_charger *charger = s->private; in bat_debug_show() local
177 static struct dentry *da9030_bat_create_debugfs(struct da9030_charger *charger) in da9030_bat_create_debugfs()
184 static void da9030_bat_remove_debugfs(struct da9030_charger *charger) in da9030_bat_remove_debugfs()
189 static inline struct dentry *da9030_bat_create_debugfs(struct da9030_charger *charger) in da9030_bat_create_debugfs()
193 static inline void da9030_bat_remove_debugfs(struct da9030_charger *charger) in da9030_bat_remove_debugfs()
198 static inline void da9030_read_adc(struct da9030_charger *charger, in da9030_read_adc()
205 static void da9030_charger_update_state(struct da9030_charger *charger) in da9030_charger_update_state()
220 static void da9030_set_charge(struct da9030_charger *charger, int on) in da9030_set_charge()
239 static void da9030_charger_check_state(struct da9030_charger *charger) in da9030_charger_check_state()
283 struct da9030_charger *charger; in da9030_charging_monitor() local
304 static void da9030_battery_check_status(struct da9030_charger *charger, in da9030_battery_check_status()
317 static void da9030_battery_check_health(struct da9030_charger *charger, in da9030_battery_check_health()
332 struct da9030_charger *charger = power_supply_get_drvdata(psy); in da9030_battery_get_property() local
367 static void da9030_battery_vbat_event(struct da9030_charger *charger) in da9030_battery_vbat_event()
391 struct da9030_charger *charger = in da9030_battery_event() local
411 static void da9030_battery_convert_thresholds(struct da9030_charger *charger, in da9030_battery_convert_thresholds()
435 static void da9030_battery_setup_psy(struct da9030_charger *charger) in da9030_battery_setup_psy()
449 static int da9030_battery_charger_init(struct da9030_charger *charger) in da9030_battery_charger_init()
483 struct da9030_charger *charger; in da9030_battery_probe() local
557 struct da9030_charger *charger = platform_get_drvdata(dev); in da9030_battery_remove() local