Lines Matching defs:psy

63 	struct power_supply *psy = data;  in __power_supply_changed_work()  local
77 struct power_supply *psy = container_of(work, struct power_supply, in power_supply_changed_work() local
112 void power_supply_changed(struct power_supply *psy) in power_supply_changed()
138 struct power_supply *psy = container_of(work, struct power_supply, in power_supply_deferred_register_work() local
156 struct power_supply *psy = data; in __power_supply_populate_supplied_from() local
180 static int power_supply_populate_supplied_from(struct power_supply *psy) in power_supply_populate_supplied_from()
225 static int power_supply_check_supplies(struct power_supply *psy) in power_supply_check_supplies()
277 static inline int power_supply_check_supplies(struct power_supply *psy) in power_supply_check_supplies()
286 struct power_supply *psy = data; in __power_supply_am_i_supplied() local
297 int power_supply_am_i_supplied(struct power_supply *psy) in power_supply_am_i_supplied()
313 struct power_supply *psy = dev_get_drvdata(dev); in __power_supply_is_system_supplied() local
344 int power_supply_set_battery_charged(struct power_supply *psy) in power_supply_set_battery_charged()
360 struct power_supply *psy = dev_get_drvdata(dev); in power_supply_match_device_by_name() local
378 struct power_supply *psy = NULL; in power_supply_get_by_name() local
398 void power_supply_put(struct power_supply *psy) in power_supply_put()
429 struct power_supply *psy = NULL; in power_supply_get_by_phandle() local
451 int power_supply_get_property(struct power_supply *psy, in power_supply_get_property()
462 int power_supply_set_property(struct power_supply *psy, in power_supply_set_property()
473 int power_supply_property_is_writeable(struct power_supply *psy, in power_supply_property_is_writeable()
484 void power_supply_external_power_changed(struct power_supply *psy) in power_supply_external_power_changed()
494 int power_supply_powers(struct power_supply *psy, struct device *dev) in power_supply_powers()
502 struct power_supply *psy = container_of(dev, struct power_supply, dev); in power_supply_dev_release() local
523 struct power_supply *psy; in power_supply_read_temp() local
542 static int psy_register_thermal(struct power_supply *psy) in psy_register_thermal()
560 static void psy_unregister_thermal(struct power_supply *psy) in psy_unregister_thermal()
571 struct power_supply *psy; in ps_get_max_charge_cntl_limit() local
587 struct power_supply *psy; in ps_get_cur_chrage_cntl_limit() local
603 struct power_supply *psy; in ps_set_cur_charge_cntl_limit() local
621 static int psy_register_cooler(struct power_supply *psy) in psy_register_cooler()
638 static void psy_unregister_cooler(struct power_supply *psy) in psy_unregister_cooler()
645 static int psy_register_thermal(struct power_supply *psy) in psy_register_thermal()
650 static void psy_unregister_thermal(struct power_supply *psy) in psy_unregister_thermal()
654 static int psy_register_cooler(struct power_supply *psy) in psy_register_cooler()
659 static void psy_unregister_cooler(struct power_supply *psy) in psy_unregister_cooler()
671 struct power_supply *psy; in __power_supply_register() local
812 struct power_supply **psy = res; in devm_power_supply_release() local
836 struct power_supply **ptr, *psy; in devm_power_supply_register() local
872 struct power_supply **ptr, *psy; in devm_power_supply_register_no_ws() local
896 void power_supply_unregister(struct power_supply *psy) in power_supply_unregister()
910 void *power_supply_get_drvdata(struct power_supply *psy) in power_supply_get_drvdata()