Lines Matching refs:max_y
258 u16 max_x, u16 max_y)
297 inactive_area_top = inactive_area_top * max_y / 0x10000;
298 inactive_area_bottom = inactive_area_bottom * max_y / 0x10000;
303 snap_top_on = snap_top_on * max_y / 0x10000;
304 snap_top_off = snap_top_off * max_y / 0x10000;
305 snap_bottom_on = snap_bottom_on * max_y / 0x10000;
306 snap_bottom_off = snap_bottom_off * max_y / 0x10000;
308 fuzz_y = fuzz_y * max_y / 0x10000;
314 ts->snap_up[!swapped] = max_y + inactive_area_bottom;
321 ts->snap_up_on[!swapped] = max_y - snap_bottom_on;
322 ts->snap_up_off[!swapped] = max_y - snap_bottom_off;
323 pr_info("synaptics_ts_probe: max_x %d, max_y %d\n", max_x, max_y);
335 -inactive_area_top, max_y + inactive_area_bottom,
352 u16 max_x, max_y;
449 ts->max[1] = max_y = (ret >> 8 & 0xff) | ((ret & 0x1f) << 8);
451 swap(max_x, max_y);
475 compute_areas(ts, pdata, max_x, max_y);