Home
last modified time | relevance | path

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

/drivers/input/misc/
Dad714x.c72 int flt_pos; member
79 int flt_pos; member
317 sw->flt_pos = (sw->flt_pos * (10 - 4) + in ad714x_slider_cal_flt_pos()
321 sw->flt_pos); in ad714x_slider_cal_flt_pos()
367 sw->flt_pos = sw->abs_pos; in ad714x_slider_state_machine()
379 input_report_abs(sw->input, ABS_X, sw->flt_pos); in ad714x_slider_state_machine()
488 sw->flt_pos = sw->abs_pos; in ad714x_wheel_cal_flt_pos()
490 sw->flt_pos = ((sw->flt_pos * 30) + (sw->abs_pos * 71)) / 100; in ad714x_wheel_cal_flt_pos()
492 if (sw->flt_pos > hw->max_coord) in ad714x_wheel_cal_flt_pos()
493 sw->flt_pos = hw->max_coord; in ad714x_wheel_cal_flt_pos()
[all …]