Home
last modified time | relevance | path

Searched refs:sensor_val (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/input/misc/
Dad714x.c168 if (ad714x->sensor_val[i] > max_res) { in ad714x_cal_highest_stage()
169 max_res = ad714x->sensor_val[i]; in ad714x_cal_highest_stage()
184 a_param = ad714x->sensor_val[start_stage + 1]; in ad714x_cal_abs_pos()
185 b_param = ad714x->sensor_val[start_stage] + in ad714x_cal_abs_pos()
186 ad714x->sensor_val[start_stage + 1]; in ad714x_cal_abs_pos()
188 a_param = ad714x->sensor_val[end_stage] * in ad714x_cal_abs_pos()
190 ad714x->sensor_val[end_stage - 1] * in ad714x_cal_abs_pos()
192 b_param = ad714x->sensor_val[end_stage] + in ad714x_cal_abs_pos()
193 ad714x->sensor_val[end_stage - 1]; in ad714x_cal_abs_pos()
195 a_param = ad714x->sensor_val[highest_stage] * in ad714x_cal_abs_pos()
[all …]
Dad714x.h29 unsigned short sensor_val[STAGE_NUM]; member
/Linux-v5.10/drivers/hwmon/pmbus/
Dmax31785.c169 static inline u32 max31785_scale_pwm(u32 sensor_val) in max31785_scale_pwm() argument
187 return (sensor_val * 100) / 255; in max31785_scale_pwm()
/Linux-v5.10/drivers/media/usb/gspca/
Dstk1135.c196 struct sensor_val { struct
204 static const struct sensor_val cfg[] = { in stk1135_configure_mt9m112() argument