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 */
1099 input_report_abs(ictx->touch, ABS_X, ictx->touch_x);
1100 input_report_abs(ictx->touch, ABS_Y, ictx->touch_y);
1101 input_report_key(ictx->touch, BTN_TOUCH, 0x00);
1102 input_sync(ictx->touch);
1384 input_report_abs(ictx->touch, ABS_X, ictx->touch_x);
1385 input_report_abs(ictx->touch, ABS_Y, ictx->touch_y);
1386 input_report_key(ictx->touch, BTN_TOUCH, 0x01);
1387 input_sync(ictx->touch);
1633 if (ictx->touch && len == 8 && buf[7] == 0x86) {
2075 struct input_dev *touch;
2078 touch = input_allocate_device();
2079 if (!touch)
2085 touch->name = ictx->name_touch;
2090 touch->phys = ictx->phys_touch;
2092 touch->evbit[0] =
2094 touch->keybit[BIT_WORD(BTN_TOUCH)] =
2096 input_set_abs_params(touch, ABS_X,
2098 input_set_abs_params(touch, ABS_Y,
2101 input_set_drvdata(touch, ictx);
2103 usb_to_input_id(ictx->usbdev_intf1, &touch->id);
2104 touch->dev.parent = ictx->dev;
2105 ret = input_register_device(touch);
2111 return touch;
2114 input_free_device(touch);
2336 ictx->touch = imon_init_touch(ictx);
2337 if (!ictx->touch)
2340 ictx->touch = NULL;
2362 if (ictx->touch)
2363 input_unregister_device(ictx->touch);
2541 input_unregister_device(ictx->touch);