Lines Matching refs:ds278x_info

44 struct ds278x_info;
47 int (*get_battery_current)(struct ds278x_info *info, int *current_uA);
48 int (*get_battery_voltage)(struct ds278x_info *info, int *voltage_uV);
49 int (*get_battery_capacity)(struct ds278x_info *info, int *capacity);
54 struct ds278x_info { struct
69 static inline int ds278x_read_reg(struct ds278x_info *info, int reg, u8 *val) in ds278x_read_reg() argument
83 static inline int ds278x_read_reg16(struct ds278x_info *info, int reg_msb, in ds278x_read_reg16()
98 static int ds278x_get_temp(struct ds278x_info *info, int *temp) in ds278x_get_temp()
116 static int ds2782_get_current(struct ds278x_info *info, int *current_uA) in ds2782_get_current()
145 static int ds2782_get_voltage(struct ds278x_info *info, int *voltage_uV) in ds2782_get_voltage()
161 static int ds2782_get_capacity(struct ds278x_info *info, int *capacity) in ds2782_get_capacity()
173 static int ds2786_get_current(struct ds278x_info *info, int *current_uA) in ds2786_get_current()
185 static int ds2786_get_voltage(struct ds278x_info *info, int *voltage_uV) in ds2786_get_voltage()
201 static int ds2786_get_capacity(struct ds278x_info *info, int *capacity) in ds2786_get_capacity()
214 static int ds278x_get_status(struct ds278x_info *info, int *status) in ds278x_get_status()
246 struct ds278x_info *info = to_ds278x_info(psy); in ds278x_battery_get_property()
277 static void ds278x_bat_update(struct ds278x_info *info) in ds278x_bat_update()
290 struct ds278x_info *info; in ds278x_bat_work()
292 info = container_of(work, struct ds278x_info, bat_work.work); in ds278x_bat_work()
317 struct ds278x_info *info = i2c_get_clientdata(client); in ds278x_battery_remove()
335 struct ds278x_info *info = i2c_get_clientdata(client); in ds278x_suspend()
344 struct ds278x_info *info = i2c_get_clientdata(client); in ds278x_resume()
376 struct ds278x_info *info; in ds278x_battery_probe()