Home
last modified time | relevance | path

Searched defs:spwr_battery_device (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/power/supply/
H A Dsurface_battery.c119 struct spwr_battery_device { struct
120 struct ssam_device *sdev;
122 char name[32];
123 struct power_supply *psy;
124 struct power_supply_desc psy_desc;
126 struct delayed_work update_work;
128 struct ssam_event_notifier notif;
130 struct mutex lock; /* Guards access to state data below. */
131 unsigned long timestamp;
155 static bool spwr_battery_present(struct spwr_battery_device *bat) in spwr_battery_present() argument