Searched refs:physical_extents (Results 1 – 2 of 2) sorted by relevance
251 __s32 physical_extents = field->physical_maximum - in hidinput_calc_abs_res() local256 if (logical_extents <= 0 || physical_extents <= 0) in hidinput_calc_abs_res()278 prev = physical_extents; in hidinput_calc_abs_res()279 physical_extents *= 254; in hidinput_calc_abs_res()280 if (physical_extents < prev) in hidinput_calc_abs_res()319 prev = physical_extents; in hidinput_calc_abs_res()320 physical_extents *= 10; in hidinput_calc_abs_res()321 if (physical_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() argument201 .physical_maximum = physical_extents, in wacom_calc_hid_res()