Searched refs:logical_extents (Results 1 – 2 of 2) sorted by relevance
249 __s32 logical_extents = field->logical_maximum - in hidinput_calc_abs_res() local256 if (logical_extents <= 0 || physical_extents <= 0) in hidinput_calc_abs_res()296 prev = logical_extents; in hidinput_calc_abs_res()297 logical_extents *= 573; in hidinput_calc_abs_res()298 if (logical_extents < prev) in hidinput_calc_abs_res()312 prev = logical_extents; in hidinput_calc_abs_res()313 logical_extents *= 10; in hidinput_calc_abs_res()314 if (logical_extents < prev) in hidinput_calc_abs_res()326 return DIV_ROUND_CLOSEST(logical_extents, physical_extents); in hidinput_calc_abs_res()
196 static int wacom_calc_hid_res(int logical_extents, int physical_extents, in wacom_calc_hid_res() argument200 .logical_maximum = logical_extents, in wacom_calc_hid_res()