Searched refs:temp_from_reg (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/hwmon/ |
D | tmp464.c | 105 static int temp_from_reg(s16 reg) in temp_from_reg() function 194 *val = temp_from_reg(regval); in tmp464_temp_read() 200 *val = temp_from_reg(regval); in tmp464_temp_read() 210 *val = temp_from_reg(regval); in tmp464_temp_read() 216 *val = temp_from_reg(regval); in tmp464_temp_read() 222 *val = temp_from_reg(regval); in tmp464_temp_read() 232 *val = temp_from_reg(regval); in tmp464_temp_read() 317 val = clamp_val(temp_from_reg(regval) - val, 0, 255000); in tmp464_temp_write()
|
D | max6642.c | 62 static int temp_from_reg(int val) in temp_from_reg() function 212 return sprintf(buf, "%d\n", temp_from_reg(data->temp_high[attr2->nr])); in temp_max_show()
|
D | max1619.c | 55 static int temp_from_reg(int val) in temp_from_reg() function 145 return sprintf(buf, "%d\n", temp_from_reg(data->temp[attr->index])); in temp_show()
|
D | smsc47b397.c | 154 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()
|
D | f71805f.c | 274 static inline long temp_from_reg(u8 reg) in temp_from_reg() function 795 temp_from_reg(data->auto_points[pwmnr].temp[apnr])); in show_pwm_auto_point_temp() 866 return sprintf(buf, "%ld\n", temp_from_reg(data->temp[nr])); in show_temp() 876 return sprintf(buf, "%ld\n", temp_from_reg(data->temp_high[nr])); in show_temp_max() 886 return sprintf(buf, "%ld\n", temp_from_reg(data->temp_hyst[nr])); in show_temp_hyst()
|
D | w83795.c | 266 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()
|
D | pc87427.c | 335 static inline long temp_from_reg(s16 reg) in temp_from_reg() function 697 return sprintf(buf, "%ld\n", temp_from_reg(data->temp[nr])); in temp_input_show()
|