Searched refs:ds2780_read16 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/power/supply/ |
H A D | ds2780_battery.c | 67 static int ds2780_read16(struct ds2780_device_info *dev_info, s16 *val, in ds2780_read16() function 137 return ds2780_read16(dev_info, rsgain, DS2780_RSGAIN_MSB_REG); in ds2780_get_rsgain_register() 170 ret = ds2780_read16(dev_info, &voltage_raw, in ds2780_get_voltage() 199 ret = ds2780_read16(dev_info, &temperature_raw, in ds2780_get_temperature() 251 ret = ds2780_read16(dev_info, ¤t_raw, reg_msb); in ds2780_get_current() 288 ret = ds2780_read16(dev_info, ¤t_raw, DS2780_ACR_MSB_REG); in ds2780_get_accumulated_current() 348 ret = ds2780_read16(dev_info, &charge_raw, DS2780_RAAC_MSB_REG); in ds2780_get_charge_now()
|