Searched refs:temp_from_reg (Results 1 – 3 of 3) sorted by relevance
105 static int temp_from_reg(s16 reg) in temp_from_reg() function195 *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()
154 static int temp_from_reg(u8 reg) in temp_from_reg() function164 return sprintf(buf, "%d\n", temp_from_reg(data->temp[attr->index])); in temp_show()
266 static inline long temp_from_reg(s8 reg) in temp_from_reg() function1190 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()