Searched refs:ds2781_read16 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/power/supply/ |
H A D | ds2781_battery.c | 71 static int ds2781_read16(struct ds2781_device_info *dev_info, s16 *val, in ds2781_read16() function 141 return ds2781_read16(dev_info, rsgain, DS2781_RSGAIN_MSB); in ds2781_get_rsgain_register() 252 ret = ds2781_read16(dev_info, ¤t_raw, reg_msb); in ds2781_get_current() 289 ret = ds2781_read16(dev_info, ¤t_raw, DS2781_ACR_MSB); in ds2781_get_accumulated_current() 350 ret = ds2781_read16(dev_info, &charge_raw, DS2781_RAAC_MSB); in ds2781_get_charge_now()
|