Lines Matching defs:psy
37 struct power_supply **psy; member
72 struct power_supply *psy = data; in __power_supply_changed_work() local
86 struct power_supply *psy = container_of(work, struct power_supply, in power_supply_changed_work() local
121 void power_supply_changed(struct power_supply *psy) in power_supply_changed()
149 struct power_supply *psy = container_of(work, struct power_supply, in power_supply_deferred_register_work() local
170 struct power_supply *psy = data; in __power_supply_populate_supplied_from() local
194 static int power_supply_populate_supplied_from(struct power_supply *psy) in power_supply_populate_supplied_from()
239 static int power_supply_check_supplies(struct power_supply *psy) in power_supply_check_supplies()
287 static int power_supply_check_supplies(struct power_supply *psy) in power_supply_check_supplies()
316 struct power_supply *psy; member
336 int power_supply_am_i_supplied(struct power_supply *psy) in power_supply_am_i_supplied()
356 struct power_supply *psy = dev_get_drvdata(dev); in __power_supply_is_system_supplied() local
392 struct power_supply *psy; member
409 int power_supply_get_property_from_supplier(struct power_supply *psy, in power_supply_get_property_from_supplier()
435 int power_supply_set_battery_charged(struct power_supply *psy) in power_supply_set_battery_charged()
451 struct power_supply *psy = dev_get_drvdata(dev); in power_supply_match_device_by_name() local
469 struct power_supply *psy = NULL; in power_supply_get_by_name() local
489 void power_supply_put(struct power_supply *psy) in power_supply_put()
520 struct power_supply *psy = NULL; in power_supply_get_by_phandle() local
546 struct power_supply **psy = param->psy; in power_supply_match_device_node_array() local
585 struct power_supply **psy, in power_supply_get_by_phandle_array()
614 struct power_supply **psy = res; in devm_power_supply_put() local
631 struct power_supply **ptr, *psy; in devm_power_supply_get_by_phandle() local
652 int power_supply_get_battery_info(struct power_supply *psy, in power_supply_get_battery_info()
846 void power_supply_put_battery_info(struct power_supply *psy, in power_supply_put_battery_info()
979 int power_supply_get_property(struct power_supply *psy, in power_supply_get_property()
993 int power_supply_set_property(struct power_supply *psy, in power_supply_set_property()
1004 int power_supply_property_is_writeable(struct power_supply *psy, in power_supply_property_is_writeable()
1015 void power_supply_external_power_changed(struct power_supply *psy) in power_supply_external_power_changed()
1025 int power_supply_powers(struct power_supply *psy, struct device *dev) in power_supply_powers()
1033 struct power_supply *psy = to_power_supply(dev); in power_supply_dev_release() local
1054 struct power_supply *psy; in power_supply_read_temp() local
1074 static int psy_register_thermal(struct power_supply *psy) in psy_register_thermal()
1097 static void psy_unregister_thermal(struct power_supply *psy) in psy_unregister_thermal()
1105 static int psy_register_thermal(struct power_supply *psy) in psy_register_thermal()
1110 static void psy_unregister_thermal(struct power_supply *psy) in psy_unregister_thermal()
1122 struct power_supply *psy; in __power_supply_register() local
1275 struct power_supply **psy = res; in devm_power_supply_release() local
1299 struct power_supply **ptr, *psy; in devm_power_supply_register() local
1335 struct power_supply **ptr, *psy; in devm_power_supply_register_no_ws() local
1359 void power_supply_unregister(struct power_supply *psy) in power_supply_unregister()
1374 void *power_supply_get_drvdata(struct power_supply *psy) in power_supply_get_drvdata()