Home
last modified time | relevance | path

Searched refs:hp680_ts_dev (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/input/touchscreen/
Dhp680_ts_input.c22 static struct input_dev *hp680_ts_dev; variable
57 input_report_key(hp680_ts_dev, BTN_TOUCH, 1); in do_softint()
58 input_report_abs(hp680_ts_dev, ABS_X, absx); in do_softint()
59 input_report_abs(hp680_ts_dev, ABS_Y, absy); in do_softint()
61 input_report_key(hp680_ts_dev, BTN_TOUCH, 0); in do_softint()
64 input_sync(hp680_ts_dev); in do_softint()
80 hp680_ts_dev = input_allocate_device(); in hp680_ts_init()
81 if (!hp680_ts_dev) in hp680_ts_init()
84 hp680_ts_dev->evbit[0] = BIT_MASK(EV_ABS) | BIT_MASK(EV_KEY); in hp680_ts_init()
85 hp680_ts_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in hp680_ts_init()
[all …]