Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/input/touchscreen/
Dgunze.c33 struct gunze { struct
41 static void gunze_process_packet(struct gunze *gunze) in gunze_process_packet() argument
43 struct input_dev *dev = gunze->dev; in gunze_process_packet()
45 if (gunze->idx != GUNZE_MAX_LENGTH || gunze->data[5] != ',' || in gunze_process_packet()
46 (gunze->data[0] != 'T' && gunze->data[0] != 'R')) { in gunze_process_packet()
47 printk(KERN_WARNING "gunze.c: bad packet: >%.*s<\n", GUNZE_MAX_LENGTH, gunze->data); in gunze_process_packet()
51 input_report_abs(dev, ABS_X, simple_strtoul(gunze->data + 1, NULL, 10)); in gunze_process_packet()
52 input_report_abs(dev, ABS_Y, 1024 - simple_strtoul(gunze->data + 6, NULL, 10)); in gunze_process_packet()
53 input_report_key(dev, BTN_TOUCH, gunze->data[0] == 'T'); in gunze_process_packet()
60 struct gunze *gunze = serio_get_drvdata(serio); in gunze_interrupt() local
[all …]
DMakefile40 obj-$(CONFIG_TOUCHSCREEN_GUNZE) += gunze.o
DKconfig514 module will be called gunze.