Lines Matching refs:touch

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