Lines Matching refs:psy
256 int (*get_property)(struct power_supply *psy,
259 int (*set_property)(struct power_supply *psy,
267 int (*property_is_writeable)(struct power_supply *psy,
269 void (*external_power_changed)(struct power_supply *psy);
270 void (*set_charged)(struct power_supply *psy);
774 extern void power_supply_put(struct power_supply *psy);
776 static inline void power_supply_put(struct power_supply *psy) {} in power_supply_put() argument
794 extern int power_supply_get_battery_info(struct power_supply *psy,
796 extern void power_supply_put_battery_info(struct power_supply *psy,
814 extern void power_supply_changed(struct power_supply *psy);
815 extern int power_supply_am_i_supplied(struct power_supply *psy);
816 int power_supply_get_property_from_supplier(struct power_supply *psy,
819 extern int power_supply_set_battery_charged(struct power_supply *psy);
851 extern int power_supply_get_property(struct power_supply *psy,
855 extern int power_supply_set_property(struct power_supply *psy,
859 static inline int power_supply_set_property(struct power_supply *psy, in power_supply_set_property() argument
864 extern int power_supply_property_is_writeable(struct power_supply *psy,
866 extern void power_supply_external_power_changed(struct power_supply *psy);
884 extern void power_supply_unregister(struct power_supply *psy);
885 extern int power_supply_powers(struct power_supply *psy, struct device *dev);
889 extern void *power_supply_get_drvdata(struct power_supply *psy);
948 int power_supply_add_hwmon_sysfs(struct power_supply *psy);
949 void power_supply_remove_hwmon_sysfs(struct power_supply *psy);
951 static inline int power_supply_add_hwmon_sysfs(struct power_supply *psy) in power_supply_add_hwmon_sysfs() argument
957 void power_supply_remove_hwmon_sysfs(struct power_supply *psy) {} in power_supply_remove_hwmon_sysfs() argument