Lines Matching refs:touch
129 struct input_dev *touch; /* input device for touchscreen */
148 char name_touch[128]; /* touch screen name */
149 char phys_touch[64]; /* touch screen phys path */
150 struct timer_list ttimer; /* touch screen timer */
1104 input_report_abs(ictx->touch, ABS_X, ictx->touch_x);
1105 input_report_abs(ictx->touch, ABS_Y, ictx->touch_y);
1106 input_report_key(ictx->touch, BTN_TOUCH, 0x00);
1107 input_sync(ictx->touch);
1389 input_report_abs(ictx->touch, ABS_X, ictx->touch_x);
1390 input_report_abs(ictx->touch, ABS_Y, ictx->touch_y);
1391 input_report_key(ictx->touch, BTN_TOUCH, 0x01);
1392 input_sync(ictx->touch);
1638 if (ictx->touch && len == 8 && buf[7] == 0x86) {
2080 struct input_dev *touch;
2083 touch = input_allocate_device();
2084 if (!touch)
2090 touch->name = ictx->name_touch;
2095 touch->phys = ictx->phys_touch;
2097 touch->evbit[0] =
2099 touch->keybit[BIT_WORD(BTN_TOUCH)] =
2101 input_set_abs_params(touch, ABS_X,
2103 input_set_abs_params(touch, ABS_Y,
2106 input_set_drvdata(touch, ictx);
2108 usb_to_input_id(ictx->usbdev_intf1, &touch->id);
2109 touch->dev.parent = ictx->dev;
2110 ret = input_register_device(touch);
2116 return touch;
2119 input_free_device(touch);
2341 ictx->touch = imon_init_touch(ictx);
2342 if (!ictx->touch)
2345 ictx->touch = NULL;
2367 if (ictx->touch)
2368 input_unregister_device(ictx->touch);
2544 input_unregister_device(ictx->touch);