Lines Matching refs:serio
80 struct serio *serio; member
87 static irqreturn_t touchit213_interrupt(struct serio *serio, in touchit213_interrupt() argument
90 struct touchit213 *touchit213 = serio_get_drvdata(serio); in touchit213_interrupt()
123 static void touchit213_disconnect(struct serio *serio) in touchit213_disconnect() argument
125 struct touchit213 *touchit213 = serio_get_drvdata(serio); in touchit213_disconnect()
129 serio_close(serio); in touchit213_disconnect()
130 serio_set_drvdata(serio, NULL); in touchit213_disconnect()
141 static int touchit213_connect(struct serio *serio, struct serio_driver *drv) in touchit213_connect() argument
154 touchit213->serio = serio; in touchit213_connect()
157 "%s/input0", serio->phys); in touchit213_connect()
165 input_dev->dev.parent = &serio->dev; in touchit213_connect()
173 serio_set_drvdata(serio, touchit213); in touchit213_connect()
175 err = serio_open(serio, drv); in touchit213_connect()
185 fail3: serio_close(serio); in touchit213_connect()
186 fail2: serio_set_drvdata(serio, NULL); in touchit213_connect()
206 MODULE_DEVICE_TABLE(serio, touchit213_serio_ids);