Home
last modified time | relevance | path

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

/drivers/hid/
Dhid-input.c204 __s32 physical_extents = field->physical_maximum - in hidinput_calc_abs_res() local
209 if (logical_extents <= 0 || physical_extents <= 0) in hidinput_calc_abs_res()
231 prev = physical_extents; in hidinput_calc_abs_res()
232 physical_extents *= 254; in hidinput_calc_abs_res()
233 if (physical_extents < prev) in hidinput_calc_abs_res()
272 prev = physical_extents; in hidinput_calc_abs_res()
273 physical_extents *= 10; in hidinput_calc_abs_res()
274 if (physical_extents < prev) in hidinput_calc_abs_res()
279 return DIV_ROUND_CLOSEST(logical_extents, physical_extents); in hidinput_calc_abs_res()
Dwacom_sys.c201 static int wacom_calc_hid_res(int logical_extents, int physical_extents, in wacom_calc_hid_res() argument
206 .physical_maximum = physical_extents, in wacom_calc_hid_res()