Searched refs:ds278x_read_reg (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | ds2782_battery.c | 69 static inline int ds278x_read_reg(struct ds278x_info *info, int reg, u8 *val) in ds278x_read_reg() function 127 err = ds278x_read_reg(info, DS2782_REG_RSNSP, &sense_res_raw); in ds2782_get_current() 166 err = ds278x_read_reg(info, DS2782_REG_RARC, &raw); in ds2782_get_capacity() 206 err = ds278x_read_reg(info, DS2786_REG_RARC, &raw); in ds2786_get_capacity()
|
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | ds2782_battery.c | 69 static inline int ds278x_read_reg(struct ds278x_info *info, int reg, u8 *val) in ds278x_read_reg() function 127 err = ds278x_read_reg(info, DS2782_REG_RSNSP, &sense_res_raw); in ds2782_get_current() 166 err = ds278x_read_reg(info, DS2782_REG_RARC, &raw); in ds2782_get_capacity() 206 err = ds278x_read_reg(info, DS2786_REG_RARC, &raw); in ds2786_get_capacity()
|
Completed in 3 milliseconds