Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/hid/
Dhid-input.c216 __s32 physical_extents = field->physical_maximum - in hidinput_calc_abs_res() local
221 if (logical_extents <= 0 || physical_extents <= 0) in hidinput_calc_abs_res()
243 prev = physical_extents; in hidinput_calc_abs_res()
244 physical_extents *= 254; in hidinput_calc_abs_res()
245 if (physical_extents < prev) in hidinput_calc_abs_res()
284 prev = physical_extents; in hidinput_calc_abs_res()
285 physical_extents *= 10; in hidinput_calc_abs_res()
286 if (physical_extents < prev) in hidinput_calc_abs_res()
291 return DIV_ROUND_CLOSEST(logical_extents, physical_extents); in hidinput_calc_abs_res()
Dwacom_sys.c204 static int wacom_calc_hid_res(int logical_extents, int physical_extents, in wacom_calc_hid_res() argument
209 .physical_maximum = physical_extents, in wacom_calc_hid_res()