• Home
  • Raw
  • Download

Lines Matching refs:max_x

266 	uint16_t max_x, max_y;  in synaptics_ts_probe()  local
441 ts->max[0] = max_x = (ret >> 8 & 0xff) | ((ret & 0x1f) << 8); in synaptics_ts_probe()
449 swap(max_x, max_y); in synaptics_ts_probe()
469 inactive_area_left = inactive_area_left * max_x / 0x10000; in synaptics_ts_probe()
470 inactive_area_right = inactive_area_right * max_x / 0x10000; in synaptics_ts_probe()
473 snap_left_on = snap_left_on * max_x / 0x10000; in synaptics_ts_probe()
474 snap_left_off = snap_left_off * max_x / 0x10000; in synaptics_ts_probe()
475 snap_right_on = snap_right_on * max_x / 0x10000; in synaptics_ts_probe()
476 snap_right_off = snap_right_off * max_x / 0x10000; in synaptics_ts_probe()
481 fuzz_x = fuzz_x * max_x / 0x10000; in synaptics_ts_probe()
484 ts->snap_up[!!(ts->flags & SYNAPTICS_SWAP_XY)] = max_x + inactive_area_right; in synaptics_ts_probe()
489 ts->snap_up_on[!!(ts->flags & SYNAPTICS_SWAP_XY)] = max_x - snap_right_on; in synaptics_ts_probe()
490 ts->snap_up_off[!!(ts->flags & SYNAPTICS_SWAP_XY)] = max_x - snap_right_off; in synaptics_ts_probe()
495 printk(KERN_INFO "synaptics_ts_probe: max_x %d, max_y %d\n", max_x, max_y); in synaptics_ts_probe()
502 …input_set_abs_params(ts->input_dev, ABS_X, -inactive_area_left, max_x + inactive_area_right, fuzz_… in synaptics_ts_probe()
506 …input_set_abs_params(ts->input_dev, ABS_HAT0X, -inactive_area_left, max_x + inactive_area_right, f… in synaptics_ts_probe()
508 …input_set_abs_params(ts->input_dev, ABS_MT_POSITION_X, -inactive_area_left, max_x + inactive_area_… in synaptics_ts_probe()