Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/input/
Dad714x.h25 int max_coord; member
31 int max_coord; member
/Linux-v4.19/drivers/input/mouse/
Dlifebook.c317 int max_coord = lifebook_use_6byte_proto ? 4096 : 1024; in lifebook_init() local
330 input_set_abs_params(dev1, ABS_X, 0, max_coord, 0, 0); in lifebook_init()
331 input_set_abs_params(dev1, ABS_Y, 0, max_coord, 0, 0); in lifebook_init()
/Linux-v4.19/drivers/input/misc/
Dad714x.c180 int highest_stage, int max_coord) in ad714x_cal_abs_pos() argument
207 return (max_coord / (end_stage - start_stage)) * a_param / b_param; in ad714x_cal_abs_pos()
298 sw->highest_stage, hw->max_coord); in ad714x_slider_cal_abs_pos()
472 sw->abs_pos = ((hw->max_coord / (hw->end_stage - hw->start_stage)) * in ad714x_wheel_cal_abs_pos()
475 if (sw->abs_pos > hw->max_coord) in ad714x_wheel_cal_abs_pos()
476 sw->abs_pos = hw->max_coord; in ad714x_wheel_cal_abs_pos()
493 if (sw->flt_pos > hw->max_coord) in ad714x_wheel_cal_flt_pos()
494 sw->flt_pos = hw->max_coord; in ad714x_wheel_cal_flt_pos()
1045 ABS_X, 0, sd_plat->max_coord, 0, 0); in ad714x_probe()
1075 ABS_WHEEL, 0, wl_plat->max_coord, 0, 0); in ad714x_probe()