Searched refs:ds2781_read8 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/power/supply/ |
H A D | ds2781_battery.c | 65 static inline int ds2781_read8(struct ds2781_device_info *dev_info, u8 *val, in ds2781_read8() function 226 ret = ds2781_read8(dev_info, &sense_res_raw, DS2781_RSNSP); in ds2781_get_current() 271 ret = ds2781_read8(dev_info, &sense_res_raw, DS2781_RSNSP); in ds2781_get_accumulated_current() 303 ret = ds2781_read8(dev_info, &raw, DS2781_RARC); in ds2781_get_capacity() 361 return ds2781_read8(dev_info, control_reg, DS2781_CONTROL); in ds2781_get_control_register() 508 ret = ds2781_read8(dev_info, &sense_resistor, DS2781_RSNSP); in ds2781_get_sense_resistor_value() 589 ret = ds2781_read8(dev_info, &sfr, DS2781_SFR); in ds2781_get_pio_pin()
|