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);
775 extern void power_supply_put(struct power_supply *psy);
777 static inline void power_supply_put(struct power_supply *psy) {}
797 extern int power_supply_get_battery_info(struct power_supply *psy,
799 extern void power_supply_put_battery_info(struct power_supply *psy,
822 extern void power_supply_changed(struct power_supply *psy);
823 extern int power_supply_am_i_supplied(struct power_supply *psy);
824 int power_supply_get_property_from_supplier(struct power_supply *psy,
827 extern int power_supply_set_battery_charged(struct power_supply *psy);
859 extern int power_supply_get_property(struct power_supply *psy,
863 extern int power_supply_set_property(struct power_supply *psy,
867 static inline int power_supply_set_property(struct power_supply *psy,
872 extern int power_supply_property_is_writeable(struct power_supply *psy,
874 extern void power_supply_external_power_changed(struct power_supply *psy);
892 extern void power_supply_unregister(struct power_supply *psy);
893 extern int power_supply_powers(struct power_supply *psy, struct device *dev);
897 extern void *power_supply_get_drvdata(struct power_supply *psy);
956 int power_supply_add_hwmon_sysfs(struct power_supply *psy);
957 void power_supply_remove_hwmon_sysfs(struct power_supply *psy);
959 static inline int power_supply_add_hwmon_sysfs(struct power_supply *psy)
965 void power_supply_remove_hwmon_sysfs(struct power_supply *psy) {}