Home
last modified time | relevance | path

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

/linux/drivers/hwmon/
H A Dtmp464.c105 static int temp_from_reg(s16 reg) in temp_from_reg() function
195 *val = temp_from_reg(regvals[0] - regvals[1]); in tmp464_temp_read()
201 *val = temp_from_reg(regval); in tmp464_temp_read()
209 *val = temp_from_reg(regvals[0] - regvals[1]); in tmp464_temp_read()
215 *val = temp_from_reg(regval); in tmp464_temp_read()
221 *val = temp_from_reg(regval); in tmp464_temp_read()
231 *val = temp_from_reg(regval); in tmp464_temp_read()
314 val = clamp_val(temp_from_reg(regval) - val, 0, 255000); in tmp464_temp_write()
H A Dsmsc47b397.c154 static int temp_from_reg(u8 reg) in temp_from_reg() function
164 return sprintf(buf, "%d\n", temp_from_reg(data->temp[attr->index])); in temp_show()
H A Dw83795.c266 static inline long temp_from_reg(s8 reg) in temp_from_reg() function
1190 long tmp = temp_from_reg(data->pwm_temp[index][nr]); in show_temp_pwm()
1324 long temp = temp_from_reg(data->temp[index][nr]); in show_temp()
1375 long temp = temp_from_reg(data->dts[index]); in show_dts()
1388 long temp = temp_from_reg(data->dts_ext[nr]); in show_dts_ext()