Lines Matching full:serio
14 #include <linux/serio.h>
29 struct serio *serio; member
43 static irqreturn_t fujitsu_interrupt(struct serio *serio, in fujitsu_interrupt() argument
46 struct fujitsu *fujitsu = serio_get_drvdata(serio); in fujitsu_interrupt()
79 static void fujitsu_disconnect(struct serio *serio) in fujitsu_disconnect() argument
81 struct fujitsu *fujitsu = serio_get_drvdata(serio); in fujitsu_disconnect()
85 serio_close(serio); in fujitsu_disconnect()
86 serio_set_drvdata(serio, NULL); in fujitsu_disconnect()
93 * new serio device that supports the Fujitsu protocol and registers it
96 static int fujitsu_connect(struct serio *serio, struct serio_driver *drv) in fujitsu_connect() argument
109 fujitsu->serio = serio; in fujitsu_connect()
112 "%s/input0", serio->phys); in fujitsu_connect()
125 serio_set_drvdata(serio, fujitsu); in fujitsu_connect()
127 err = serio_open(serio, drv); in fujitsu_connect()
138 serio_close(serio); in fujitsu_connect()
140 serio_set_drvdata(serio, NULL); in fujitsu_connect()
148 * The serio driver structure.
160 MODULE_DEVICE_TABLE(serio, fujitsu_serio_ids);