Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dds2782_battery.c83 static inline int ds278x_read_reg16(struct ds278x_info *info, int reg_msb, in ds278x_read_reg16() function
109 err = ds278x_read_reg16(info, DS278x_REG_TEMP_MSB, &raw); in ds278x_get_temp()
138 err = ds278x_read_reg16(info, DS278x_REG_CURRENT_MSB, &raw); in ds2782_get_current()
154 err = ds278x_read_reg16(info, DS278x_REG_VOLT_MSB, &raw); in ds2782_get_voltage()
178 err = ds278x_read_reg16(info, DS278x_REG_CURRENT_MSB, &raw); in ds2786_get_current()
194 err = ds278x_read_reg16(info, DS278x_REG_VOLT_MSB, &raw); in ds2786_get_voltage()