Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dds2780_battery.c61 static inline int ds2780_read8(struct ds2780_device_info *dev_info, u8 *val, in ds2780_read8() function
225 ret = ds2780_read8(dev_info, &sense_res_raw, DS2780_RSNSP_REG); in ds2780_get_current()
270 ret = ds2780_read8(dev_info, &sense_res_raw, DS2780_RSNSP_REG); in ds2780_get_accumulated_current()
302 ret = ds2780_read8(dev_info, &raw, DS2780_RARC_REG); in ds2780_get_capacity()
359 return ds2780_read8(dev_info, control_reg, DS2780_CONTROL_REG); in ds2780_get_control_register()
506 ret = ds2780_read8(dev_info, &sense_resistor, DS2780_RSNSP_REG); in ds2780_get_sense_resistor_value()
587 ret = ds2780_read8(dev_info, &sfr, DS2780_SFR_REG); in ds2780_get_pio_pin()