Lines Matching refs:touch
157 bool touch = data[0] & (1 << i); in parse_multi_touch() local
160 input_mt_report_slot_state(dev, MT_TOOL_FINGER, touch); in parse_multi_touch()
161 if (touch) { in parse_multi_touch()
467 struct w8001_touch_query touch; in w8001_setup_touch() local
487 parse_touchquery(w8001->response, &touch); in w8001_setup_touch()
488 w8001->max_touch_x = touch.x; in w8001_setup_touch()
489 w8001->max_touch_y = touch.y; in w8001_setup_touch()
493 touch.x = w8001->max_pen_x; in w8001_setup_touch()
494 touch.y = w8001->max_pen_y; in w8001_setup_touch()
495 touch.panel_res = W8001_PEN_RESOLUTION; in w8001_setup_touch()
498 input_set_abs_params(dev, ABS_X, 0, touch.x, 0, 0); in w8001_setup_touch()
499 input_set_abs_params(dev, ABS_Y, 0, touch.y, 0, 0); in w8001_setup_touch()
500 input_abs_set_res(dev, ABS_X, touch.panel_res); in w8001_setup_touch()
501 input_abs_set_res(dev, ABS_Y, touch.panel_res); in w8001_setup_touch()
503 switch (touch.sensor_id) { in w8001_setup_touch()
531 0, touch.x, 0, 0); in w8001_setup_touch()
533 0, touch.y, 0, 0); in w8001_setup_touch()
536 input_abs_set_res(dev, ABS_MT_POSITION_X, touch.panel_res); in w8001_setup_touch()
537 input_abs_set_res(dev, ABS_MT_POSITION_Y, touch.panel_res); in w8001_setup_touch()