Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/hwmon/
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()
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()
Df71805f.c274 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()
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()
Dpc87427.c335 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()