Lines Matching defs:ec_battery
33 struct ec_battery { struct
34 struct i2c_client *i2c;
35 struct device *dev;
36 struct regmap *regmap;
37 struct power_supply *bat;
38 struct workqueue_struct *bat_monitor_wq;
39 struct delayed_work bat_delay_work;
40 u32 monitor_sec;
41 u32 bat_mode;
42 u16 status;
43 int current_now;
44 u16 voltage_now;
45 u16 rem_capacity;
46 u16 full_charge_capacity;
47 u16 design_capacity;
48 int temperature_now;
49 int soc;
50 bool is_charge;
51 bool dis_charge;
52 bool is_ctitical;
53 bool is_battery_low;
54 bool is_battery_in;
55 bool is_ac_in;
56 struct gpio_desc *ec_notify_io;