Lines Matching refs:serio
69 struct serio *serio; member
73 static irqreturn_t skbd_interrupt(struct serio *serio, unsigned char data, in skbd_interrupt() argument
76 struct skbd *skbd = serio_get_drvdata(serio); in skbd_interrupt()
88 static int skbd_connect(struct serio *serio, struct serio_driver *drv) in skbd_connect() argument
100 skbd->serio = serio; in skbd_connect()
102 snprintf(skbd->phys, sizeof(skbd->phys), "%s/input0", serio->phys); in skbd_connect()
111 input_dev->dev.parent = &serio->dev; in skbd_connect()
121 serio_set_drvdata(serio, skbd); in skbd_connect()
123 err = serio_open(serio, drv); in skbd_connect()
133 fail3: serio_close(serio); in skbd_connect()
134 fail2: serio_set_drvdata(serio, NULL); in skbd_connect()
140 static void skbd_disconnect(struct serio *serio) in skbd_disconnect() argument
142 struct skbd *skbd = serio_get_drvdata(serio); in skbd_disconnect()
144 serio_close(serio); in skbd_disconnect()
145 serio_set_drvdata(serio, NULL); in skbd_disconnect()
160 MODULE_DEVICE_TABLE(serio, skbd_serio_ids);