Searched refs:max_coord (Results 1 – 2 of 2) sorted by relevance
/drivers/input/mouse/ |
D | lifebook.c | 314 int max_coord = lifebook_use_6byte_proto ? 4096 : 1024; in lifebook_init() local 327 input_set_abs_params(dev1, ABS_X, 0, max_coord, 0, 0); in lifebook_init() 328 input_set_abs_params(dev1, ABS_Y, 0, max_coord, 0, 0); in lifebook_init()
|
/drivers/input/misc/ |
D | ad714x.c | 179 int highest_stage, int max_coord) in ad714x_cal_abs_pos() argument 206 return (max_coord / (end_stage - start_stage)) * a_param / b_param; in ad714x_cal_abs_pos() 297 sw->highest_stage, hw->max_coord); in ad714x_slider_cal_abs_pos() 471 sw->abs_pos = ((hw->max_coord / (hw->end_stage - hw->start_stage)) * in ad714x_wheel_cal_abs_pos() 474 if (sw->abs_pos > hw->max_coord) in ad714x_wheel_cal_abs_pos() 475 sw->abs_pos = hw->max_coord; in ad714x_wheel_cal_abs_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() 1044 ABS_X, 0, sd_plat->max_coord, 0, 0); in ad714x_probe() 1074 ABS_WHEEL, 0, wl_plat->max_coord, 0, 0); in ad714x_probe()
|