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);
387 extern void power_supply_put(struct power_supply *psy);
389 static inline void power_supply_put(struct power_supply *psy) {} in power_supply_put() argument
407 extern int power_supply_get_battery_info(struct power_supply *psy,
409 extern void power_supply_put_battery_info(struct power_supply *psy,
421 extern void power_supply_changed(struct power_supply *psy);
422 extern int power_supply_am_i_supplied(struct power_supply *psy);
424 struct power_supply *psy);
425 extern int power_supply_set_battery_charged(struct power_supply *psy);
433 extern int power_supply_get_property(struct power_supply *psy,
437 extern int power_supply_set_property(struct power_supply *psy,
441 static inline int power_supply_set_property(struct power_supply *psy, in power_supply_set_property() argument
446 extern int power_supply_property_is_writeable(struct power_supply *psy,
448 extern void power_supply_external_power_changed(struct power_supply *psy);
466 extern void power_supply_unregister(struct power_supply *psy);
467 extern int power_supply_powers(struct power_supply *psy, struct device *dev);
471 extern void *power_supply_get_drvdata(struct power_supply *psy);
530 int power_supply_add_hwmon_sysfs(struct power_supply *psy);
531 void power_supply_remove_hwmon_sysfs(struct power_supply *psy);
533 static inline int power_supply_add_hwmon_sysfs(struct power_supply *psy) in power_supply_add_hwmon_sysfs() argument
539 void power_supply_remove_hwmon_sysfs(struct power_supply *psy) {} in power_supply_remove_hwmon_sysfs() argument