Lines Matching refs:touch
151 bool touch = data[0] & (1 << i); in parse_multi_touch() local
154 input_mt_report_slot_state(dev, MT_TOOL_FINGER, touch); in parse_multi_touch()
155 if (touch) { in parse_multi_touch()
387 struct w8001_touch_query touch; in w8001_setup() local
438 parse_touchquery(w8001->response, &touch); in w8001_setup()
439 w8001->max_touch_x = touch.x; in w8001_setup()
440 w8001->max_touch_y = touch.y; in w8001_setup()
444 touch.x = w8001->max_pen_x; in w8001_setup()
445 touch.y = w8001->max_pen_y; in w8001_setup()
446 touch.panel_res = W8001_PEN_RESOLUTION; in w8001_setup()
449 input_set_abs_params(dev, ABS_X, 0, touch.x, 0, 0); in w8001_setup()
450 input_set_abs_params(dev, ABS_Y, 0, touch.y, 0, 0); in w8001_setup()
451 input_abs_set_res(dev, ABS_X, touch.panel_res); in w8001_setup()
452 input_abs_set_res(dev, ABS_Y, touch.panel_res); in w8001_setup()
454 switch (touch.sensor_id) { in w8001_setup()
475 0, touch.x, 0, 0); in w8001_setup()
477 0, touch.y, 0, 0); in w8001_setup()