Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/misc/
H A Dad714x.c169 max_res = ad714x->sensor_val[i]; in ad714x_cal_highest_stage()
261 ad714x->sensor_val[i] = in ad714x_slider_cal_sensor_val()
433 ad714x->sensor_val[i] = in ad714x_wheel_cal_sensor_val()
436 ad714x->sensor_val[i] = 0; in ad714x_wheel_cal_sensor_val()
469 ad714x->sensor_val[first_after]; in ad714x_wheel_cal_abs_pos()
587 ad714x->sensor_val[i] = in touchpad_cal_sensor_val()
590 ad714x->sensor_val[i] = 0; in touchpad_cal_sensor_val()
622 if ((ad714x->sensor_val[i] - ad714x->sensor_val[i + 1]) in touchpad_check_second_peak()
628 if ((ad714x->sensor_val[i + 1] - ad714x->sensor_val[i]) in touchpad_check_second_peak()
634 if ((ad714x->sensor_val[i] - ad714x->sensor_val[i + 1]) in touchpad_check_second_peak()
[all …]
H A Dad714x.h30 unsigned short sensor_val[STAGE_NUM]; member
/openbmc/linux/drivers/media/usb/gspca/
H A Dstk1135.c196 struct sensor_val { struct
204 static const struct sensor_val cfg[] = { in stk1135_configure_mt9m112() argument
/openbmc/linux/drivers/hwmon/pmbus/
H A Dmax31785.c265 static inline u32 max31785_scale_pwm(u32 sensor_val) in max31785_scale_pwm() argument
283 return (sensor_val * 100) / 255; in max31785_scale_pwm()