Lines Matching refs:psy

263 	int (*get_property)(struct power_supply *psy,
266 int (*set_property)(struct power_supply *psy,
274 int (*property_is_writeable)(struct power_supply *psy,
276 void (*external_power_changed)(struct power_supply *psy);
294 int (*get_property)(struct power_supply *psy,
299 int (*set_property)(struct power_supply *psy,
304 int (*property_is_writeable)(struct power_supply *psy,
801 extern void power_supply_put(struct power_supply *psy);
803 static inline void power_supply_put(struct power_supply *psy) {} in power_supply_put() argument
823 extern int power_supply_get_battery_info(struct power_supply *psy,
825 extern void power_supply_put_battery_info(struct power_supply *psy,
848 extern void power_supply_changed(struct power_supply *psy);
849 extern int power_supply_am_i_supplied(struct power_supply *psy);
850 int power_supply_get_property_from_supplier(struct power_supply *psy,
884 extern int power_supply_get_property(struct power_supply *psy,
888 extern int power_supply_set_property(struct power_supply *psy,
892 static inline int power_supply_set_property(struct power_supply *psy, in power_supply_set_property() argument
897 extern void power_supply_external_power_changed(struct power_supply *psy);
907 extern void power_supply_unregister(struct power_supply *psy);
908 extern int power_supply_powers(struct power_supply *psy, struct device *dev);
911 power_supply_register_extension(struct power_supply *psy,
915 extern void power_supply_unregister_extension(struct power_supply *psy,
920 extern void *power_supply_get_drvdata(struct power_supply *psy);
921 extern int power_supply_for_each_psy(void *data, int (*fn)(struct power_supply *psy, void *data));