Searched refs:abs_pos (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/input/misc/
H A Dad714x.c72 int abs_pos; member in struct:ad714x_slider_drv
79 int abs_pos; member in struct:ad714x_wheel_drv
297 sw->abs_pos = ad714x_cal_abs_pos(ad714x, hw->start_stage, hw->end_stage, ad714x_slider_cal_abs_pos()
301 sw->abs_pos); ad714x_slider_cal_abs_pos()
319 sw->abs_pos * 4)/10; ad714x_slider_cal_flt_pos()
368 sw->flt_pos = sw->abs_pos; ad714x_slider_state_machine()
472 sw->abs_pos = ((hw->max_coord / (hw->end_stage - hw->start_stage)) * ad714x_wheel_cal_abs_pos()
475 if (sw->abs_pos > hw->max_coord) ad714x_wheel_cal_abs_pos()
476 sw->abs_pos = hw->max_coord; ad714x_wheel_cal_abs_pos()
477 else if (sw->abs_pos < 0) ad714x_wheel_cal_abs_pos()
478 sw->abs_pos = 0; ad714x_wheel_cal_abs_pos()
489 sw->flt_pos = sw->abs_pos; ad714x_wheel_cal_flt_pos()
491 sw->flt_pos = ((sw->flt_pos * 30) + (sw->abs_pos * 71)) / 100; ad714x_wheel_cal_flt_pos()
540 sw->flt_pos = sw->abs_pos; ad714x_wheel_state_machine()

Completed in 48 milliseconds