Lines Matching defs:serio
23 #include <linux/serio.h>
80 struct serio *serio;
87 static irqreturn_t touchit213_interrupt(struct serio *serio,
90 struct touchit213 *touchit213 = serio_get_drvdata(serio);
123 static void touchit213_disconnect(struct serio *serio)
125 struct touchit213 *touchit213 = serio_get_drvdata(serio);
129 serio_close(serio);
130 serio_set_drvdata(serio, NULL);
137 * new serio device that supports the Touchright protocol and registers it as
141 static int touchit213_connect(struct serio *serio, struct serio_driver *drv)
154 touchit213->serio = serio;
157 "%s/input0", serio->phys);
165 input_dev->dev.parent = &serio->dev;
173 serio_set_drvdata(serio, touchit213);
175 err = serio_open(serio, drv);
185 fail3: serio_close(serio);
186 fail2: serio_set_drvdata(serio, NULL);
193 * The serio driver structure.
206 MODULE_DEVICE_TABLE(serio, touchit213_serio_ids);