Home
last modified time | relevance | path

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

/drivers/input/touchscreen/
Dgunze.c36 struct gunze { struct
44 static void gunze_process_packet(struct gunze *gunze) in gunze_process_packet() argument
46 struct input_dev *dev = gunze->dev; in gunze_process_packet()
48 if (gunze->idx != GUNZE_MAX_LENGTH || gunze->data[5] != ',' || in gunze_process_packet()
49 (gunze->data[0] != 'T' && gunze->data[0] != 'R')) { in gunze_process_packet()
50 printk(KERN_WARNING "gunze.c: bad packet: >%.*s<\n", GUNZE_MAX_LENGTH, gunze->data); in gunze_process_packet()
54 input_report_abs(dev, ABS_X, simple_strtoul(gunze->data + 1, NULL, 10)); in gunze_process_packet()
55 input_report_abs(dev, ABS_Y, 1024 - simple_strtoul(gunze->data + 6, NULL, 10)); in gunze_process_packet()
56 input_report_key(dev, BTN_TOUCH, gunze->data[0] == 'T'); in gunze_process_packet()
63 struct gunze *gunze = serio_get_drvdata(serio); in gunze_interrupt() local
[all …]
DMakefile38 obj-$(CONFIG_TOUCHSCREEN_GUNZE) += gunze.o
DKconfig497 module will be called gunze.