Lines Matching refs:input
78 struct input_dev *input; member
124 input_report_abs(ts.input, ABS_X, ts.xp); in touch_timer_fire()
125 input_report_abs(ts.input, ABS_Y, ts.yp); in touch_timer_fire()
127 input_report_key(ts.input, BTN_TOUCH, 1); in touch_timer_fire()
128 input_sync(ts.input); in touch_timer_fire()
141 input_report_key(ts.input, BTN_TOUCH, 0); in touch_timer_fire()
142 input_sync(ts.input); in touch_timer_fire()
315 ts.input = input_dev; in s3c2410ts_probe()
316 ts.input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in s3c2410ts_probe()
317 ts.input->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in s3c2410ts_probe()
318 input_set_abs_params(ts.input, ABS_X, 0, 0x3FF, 0, 0); in s3c2410ts_probe()
319 input_set_abs_params(ts.input, ABS_Y, 0, 0x3FF, 0, 0); in s3c2410ts_probe()
321 ts.input->name = "S3C24XX TouchScreen"; in s3c2410ts_probe()
322 ts.input->id.bustype = BUS_HOST; in s3c2410ts_probe()
323 ts.input->id.vendor = 0xDEAD; in s3c2410ts_probe()
324 ts.input->id.product = 0xBEEF; in s3c2410ts_probe()
325 ts.input->id.version = 0x0102; in s3c2410ts_probe()
331 "s3c2410_ts_pen", ts.input); in s3c2410ts_probe()
340 ret = input_register_device(ts.input); in s3c2410ts_probe()
350 free_irq(ts.irq_tc, ts.input); in s3c2410ts_probe()
352 input_free_device(ts.input); in s3c2410ts_probe()
369 free_irq(ts.irq_tc, ts.input); in s3c2410ts_remove()
375 input_unregister_device(ts.input); in s3c2410ts_remove()