Lines Matching refs:device
15 #include <linux/device.h>
264 * of power supply. If this happens during device probe then it must
265 * not access internal data of device (because probe did not end).
296 struct device dev;
379 * below charge_term_current_ua, and then restart it (if the device is still
423 * the user to disconnect the device and make use of it before both maintenance
430 * device is e.g. actively used during charging, so more current is drawn than
568 * of mobile device batteries.
785 struct device *dev, const char *property);
791 devm_power_supply_get_by_phandle(struct device *dev, const char *property)
877 power_supply_register(struct device *parent,
881 power_supply_register_no_ws(struct device *parent,
885 devm_power_supply_register(struct device *parent,
889 devm_power_supply_register_no_ws(struct device *parent,
893 extern int power_supply_powers(struct power_supply *psy, struct device *dev);
895 #define to_power_supply(device) container_of(device, struct power_supply, dev)
969 ssize_t power_supply_charge_behaviour_show(struct device *dev,
977 ssize_t power_supply_charge_behaviour_show(struct device *dev,