Lines Matching refs:psy
247 int (*get_property)(struct power_supply *psy,
250 int (*set_property)(struct power_supply *psy,
258 int (*property_is_writeable)(struct power_supply *psy,
260 void (*external_power_changed)(struct power_supply *psy);
261 void (*set_charged)(struct power_supply *psy);
385 extern void power_supply_put(struct power_supply *psy);
400 extern int power_supply_get_battery_info(struct power_supply *psy,
402 extern void power_supply_put_battery_info(struct power_supply *psy,
414 extern void power_supply_changed(struct power_supply *psy);
415 extern int power_supply_am_i_supplied(struct power_supply *psy);
417 struct power_supply *psy);
418 extern int power_supply_set_battery_charged(struct power_supply *psy);
426 extern int power_supply_get_property(struct power_supply *psy,
429 extern int power_supply_set_property(struct power_supply *psy,
432 extern int power_supply_property_is_writeable(struct power_supply *psy,
434 extern void power_supply_external_power_changed(struct power_supply *psy);
452 extern void power_supply_unregister(struct power_supply *psy);
453 extern int power_supply_powers(struct power_supply *psy, struct device *dev);
457 extern void *power_supply_get_drvdata(struct power_supply *psy);
516 int power_supply_add_hwmon_sysfs(struct power_supply *psy);
517 void power_supply_remove_hwmon_sysfs(struct power_supply *psy);
519 static inline int power_supply_add_hwmon_sysfs(struct power_supply *psy) in power_supply_add_hwmon_sysfs() argument
525 void power_supply_remove_hwmon_sysfs(struct power_supply *psy) {} in power_supply_remove_hwmon_sysfs() argument