Searched defs:ecbat (Results 1 – 2 of 2) sorted by relevance
126 static int gaokun_psy_get_adp_status(struct gaokun_psy *ecbat) in gaokun_psy_get_adp_status()145 struct gaokun_psy *ecbat = power_supply_get_drvdata(psy); in gaokun_psy_get_adp_property() local183 static inline void gaokun_psy_get_bat_present(struct gaokun_psy *ecbat) in gaokun_psy_get_bat_present()196 static inline int gaokun_psy_bat_present(struct gaokun_psy *ecbat) in gaokun_psy_bat_present()201 static int gaokun_psy_get_bat_info(struct gaokun_psy *ecbat) in gaokun_psy_get_bat_info()211 static void gaokun_psy_update_bat_charge(struct gaokun_psy *ecbat) in gaokun_psy_update_bat_charge()232 static int gaokun_psy_get_bat_status(struct gaokun_psy *ecbat) in gaokun_psy_get_bat_status()250 static void gaokun_psy_init(struct gaokun_psy *ecbat) in gaokun_psy_init()276 struct gaokun_psy *ecbat = power_supply_get_drvdata(psy); in gaokun_psy_get_bat_property() local365 struct gaokun_psy *ecbat = power_supply_get_drvdata(psy); in gaokun_psy_set_bat_property() local[all …]
71 static int yoga_c630_psy_update_bat_info(struct yoga_c630_psy *ecbat) in yoga_c630_psy_update_bat_info()128 static int yoga_c630_psy_maybe_update_bat_status(struct yoga_c630_psy *ecbat) in yoga_c630_psy_maybe_update_bat_status()176 static int yoga_c630_psy_update_adapter_status(struct yoga_c630_psy *ecbat) in yoga_c630_psy_update_adapter_status()192 static bool yoga_c630_psy_is_charged(struct yoga_c630_psy *ecbat) in yoga_c630_psy_is_charged()210 struct yoga_c630_psy *ecbat = power_supply_get_drvdata(psy); in yoga_c630_psy_bat_get_property() local330 struct yoga_c630_psy *ecbat = power_supply_get_drvdata(psy); in yoga_c630_psy_adpt_get_property() local365 static int yoga_c630_psy_register_bat_psy(struct yoga_c630_psy *ecbat) in yoga_c630_psy_register_bat_psy()385 static void yoga_c630_ec_refresh_bat_info(struct yoga_c630_psy *ecbat) in yoga_c630_ec_refresh_bat_info()404 struct yoga_c630_psy *ecbat = container_of(nb, struct yoga_c630_psy, nb); in yoga_c630_psy_notify() local427 struct yoga_c630_psy *ecbat; in yoga_c630_psy_probe() local[all …]