Symbol: gunze
drivers/input/touchscreen/gunze.c
100
gunze = kzalloc_obj(*gunze);
drivers/input/touchscreen/gunze.c
102
if (!gunze || !input_dev) {
drivers/input/touchscreen/gunze.c
107
gunze->serio = serio;
drivers/input/touchscreen/gunze.c
108
gunze->dev = input_dev;
drivers/input/touchscreen/gunze.c
109
scnprintf(gunze->phys, sizeof(serio->phys), "%s/input0", serio->phys);
drivers/input/touchscreen/gunze.c
112
input_dev->phys = gunze->phys;
drivers/input/touchscreen/gunze.c
123
serio_set_drvdata(serio, gunze);
drivers/input/touchscreen/gunze.c
129
err = input_register_device(gunze->dev);
drivers/input/touchscreen/gunze.c
138
kfree(gunze);
drivers/input/touchscreen/gunze.c
41
static void gunze_process_packet(struct gunze *gunze)
drivers/input/touchscreen/gunze.c
43
struct input_dev *dev = gunze->dev;
drivers/input/touchscreen/gunze.c
45
if (gunze->idx != GUNZE_MAX_LENGTH || gunze->data[5] != ',' ||
drivers/input/touchscreen/gunze.c
46
(gunze->data[0] != 'T' && gunze->data[0] != 'R')) {
drivers/input/touchscreen/gunze.c
47
printk(KERN_WARNING "gunze.c: bad packet: >%.*s<\n", GUNZE_MAX_LENGTH, gunze->data);
drivers/input/touchscreen/gunze.c
51
input_report_abs(dev, ABS_X, simple_strtoul(gunze->data + 1, NULL, 10));
drivers/input/touchscreen/gunze.c
52
input_report_abs(dev, ABS_Y, 1024 - simple_strtoul(gunze->data + 6, NULL, 10));
drivers/input/touchscreen/gunze.c
53
input_report_key(dev, BTN_TOUCH, gunze->data[0] == 'T');
drivers/input/touchscreen/gunze.c
60
struct gunze *gunze = serio_get_drvdata(serio);
drivers/input/touchscreen/gunze.c
63
gunze_process_packet(gunze);
drivers/input/touchscreen/gunze.c
64
gunze->idx = 0;
drivers/input/touchscreen/gunze.c
66
if (gunze->idx < GUNZE_MAX_LENGTH)
drivers/input/touchscreen/gunze.c
67
gunze->data[gunze->idx++] = data;
drivers/input/touchscreen/gunze.c
78
struct gunze *gunze = serio_get_drvdata(serio);
drivers/input/touchscreen/gunze.c
80
input_get_device(gunze->dev);
drivers/input/touchscreen/gunze.c
81
input_unregister_device(gunze->dev);
drivers/input/touchscreen/gunze.c
84
input_put_device(gunze->dev);
drivers/input/touchscreen/gunze.c
85
kfree(gunze);
drivers/input/touchscreen/gunze.c
96
struct gunze *gunze;