Searched refs:ds278x_read_reg (Results 1 – 1 of 1) sorted by relevance
69 static inline int ds278x_read_reg(struct ds278x_info *info, int reg, u8 *val) in ds278x_read_reg() function127 err = ds278x_read_reg(info, DS2782_REG_RSNSP, &sense_res_raw); in ds2782_get_current()166 err = ds278x_read_reg(info, DS2782_REG_RARC, &raw); in ds2782_get_capacity()206 err = ds278x_read_reg(info, DS2786_REG_RARC, &raw); in ds2786_get_capacity()