Home
last modified time | relevance | path

Searched refs:ds278x_info (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/power/supply/
H A Dds2782_battery.c44 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()
[all …]