Lines Matching refs:psy
294 int (*get_property)(struct power_supply *psy,
297 int (*set_property)(struct power_supply *psy,
305 int (*property_is_writeable)(struct power_supply *psy,
307 void (*external_power_changed)(struct power_supply *psy);
308 void (*set_charged)(struct power_supply *psy);
438 extern void power_supply_put(struct power_supply *psy);
444 struct power_supply **psy,
455 struct power_supply **psy, in power_supply_get_by_phandle_array() argument
463 extern int power_supply_get_battery_info(struct power_supply *psy,
465 extern void power_supply_put_battery_info(struct power_supply *psy,
477 extern void power_supply_changed(struct power_supply *psy);
478 extern int power_supply_am_i_supplied(struct power_supply *psy);
480 struct power_supply *psy);
481 extern int power_supply_set_battery_charged(struct power_supply *psy);
489 extern int power_supply_get_property(struct power_supply *psy,
493 extern int power_supply_set_property(struct power_supply *psy,
497 static inline int power_supply_set_property(struct power_supply *psy, in power_supply_set_property() argument
502 extern int power_supply_property_is_writeable(struct power_supply *psy,
504 extern void power_supply_external_power_changed(struct power_supply *psy);
522 extern void power_supply_unregister(struct power_supply *psy);
523 extern int power_supply_powers(struct power_supply *psy, struct device *dev);
527 extern void *power_supply_get_drvdata(struct power_supply *psy);
586 int power_supply_add_hwmon_sysfs(struct power_supply *psy);
587 void power_supply_remove_hwmon_sysfs(struct power_supply *psy);
589 static inline int power_supply_add_hwmon_sysfs(struct power_supply *psy) in power_supply_add_hwmon_sysfs() argument
595 void power_supply_remove_hwmon_sysfs(struct power_supply *psy) {} in power_supply_remove_hwmon_sysfs() argument