gunze 44 drivers/input/touchscreen/gunze.c static void gunze_process_packet(struct gunze *gunze) gunze 46 drivers/input/touchscreen/gunze.c struct input_dev *dev = gunze->dev; gunze 48 drivers/input/touchscreen/gunze.c if (gunze->idx != GUNZE_MAX_LENGTH || gunze->data[5] != ',' || gunze 49 drivers/input/touchscreen/gunze.c (gunze->data[0] != 'T' && gunze->data[0] != 'R')) { gunze 50 drivers/input/touchscreen/gunze.c printk(KERN_WARNING "gunze.c: bad packet: >%.*s<\n", GUNZE_MAX_LENGTH, gunze->data); gunze 54 drivers/input/touchscreen/gunze.c input_report_abs(dev, ABS_X, simple_strtoul(gunze->data + 1, NULL, 10)); gunze 55 drivers/input/touchscreen/gunze.c input_report_abs(dev, ABS_Y, 1024 - simple_strtoul(gunze->data + 6, NULL, 10)); gunze 56 drivers/input/touchscreen/gunze.c input_report_key(dev, BTN_TOUCH, gunze->data[0] == 'T'); gunze 63 drivers/input/touchscreen/gunze.c struct gunze *gunze = serio_get_drvdata(serio); gunze 66 drivers/input/touchscreen/gunze.c gunze_process_packet(gunze); gunze 67 drivers/input/touchscreen/gunze.c gunze->idx = 0; gunze 69 drivers/input/touchscreen/gunze.c if (gunze->idx < GUNZE_MAX_LENGTH) gunze 70 drivers/input/touchscreen/gunze.c gunze->data[gunze->idx++] = data; gunze 81 drivers/input/touchscreen/gunze.c struct gunze *gunze = serio_get_drvdata(serio); gunze 83 drivers/input/touchscreen/gunze.c input_get_device(gunze->dev); gunze 84 drivers/input/touchscreen/gunze.c input_unregister_device(gunze->dev); gunze 87 drivers/input/touchscreen/gunze.c input_put_device(gunze->dev); gunze 88 drivers/input/touchscreen/gunze.c kfree(gunze); gunze 99 drivers/input/touchscreen/gunze.c struct gunze *gunze; gunze 103 drivers/input/touchscreen/gunze.c gunze = kzalloc(sizeof(struct gunze), GFP_KERNEL); gunze 105 drivers/input/touchscreen/gunze.c if (!gunze || !input_dev) { gunze 110 drivers/input/touchscreen/gunze.c gunze->serio = serio; gunze 111 drivers/input/touchscreen/gunze.c gunze->dev = input_dev; gunze 112 drivers/input/touchscreen/gunze.c snprintf(gunze->phys, sizeof(serio->phys), "%s/input0", serio->phys); gunze 115 drivers/input/touchscreen/gunze.c input_dev->phys = gunze->phys; gunze 126 drivers/input/touchscreen/gunze.c serio_set_drvdata(serio, gunze); gunze 132 drivers/input/touchscreen/gunze.c err = input_register_device(gunze->dev); gunze 141 drivers/input/touchscreen/gunze.c kfree(gunze);