Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/hwmon/
Dtmp464.c105 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()
Dmax6642.c62 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()
Dmax1619.c55 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()
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()