Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/hid/
Dhid-input.c249 __s32 logical_extents = field->logical_maximum - in hidinput_calc_abs_res() local
256 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()
Dwacom_sys.c196 static int wacom_calc_hid_res(int logical_extents, int physical_extents, in wacom_calc_hid_res() argument
200 .logical_maximum = logical_extents, in wacom_calc_hid_res()