• Home
  • Raw
  • Download

Lines Matching refs:serio

72 	struct serio *serio;  member
215 static irqreturn_t hil_kbd_interrupt(struct serio *serio, in hil_kbd_interrupt() argument
222 kbd = serio_get_drvdata(serio); in hil_kbd_interrupt()
248 static void hil_kbd_disconnect(struct serio *serio) in hil_kbd_disconnect() argument
252 kbd = serio_get_drvdata(serio); in hil_kbd_disconnect()
255 serio_close(serio); in hil_kbd_disconnect()
260 static int hil_kbd_connect(struct serio *serio, struct serio_driver *drv) in hil_kbd_connect() argument
274 if (serio_open(serio, drv)) in hil_kbd_connect()
277 serio_set_drvdata(serio, kbd); in hil_kbd_connect()
278 kbd->serio = serio; in hil_kbd_connect()
283 serio->write(serio, 0); in hil_kbd_connect()
284 serio->write(serio, 0); in hil_kbd_connect()
285 serio->write(serio, HIL_PKT_CMD >> 8); in hil_kbd_connect()
286 serio->write(serio, HIL_CMD_IDD); in hil_kbd_connect()
289 serio->write(serio, 0); in hil_kbd_connect()
290 serio->write(serio, 0); in hil_kbd_connect()
291 serio->write(serio, HIL_PKT_CMD >> 8); in hil_kbd_connect()
292 serio->write(serio, HIL_CMD_RSC); in hil_kbd_connect()
295 serio->write(serio, 0); in hil_kbd_connect()
296 serio->write(serio, 0); in hil_kbd_connect()
297 serio->write(serio, HIL_PKT_CMD >> 8); in hil_kbd_connect()
298 serio->write(serio, HIL_CMD_RNM); in hil_kbd_connect()
301 serio->write(serio, 0); in hil_kbd_connect()
302 serio->write(serio, 0); in hil_kbd_connect()
303 serio->write(serio, HIL_PKT_CMD >> 8); in hil_kbd_connect()
304 serio->write(serio, HIL_CMD_EXD); in hil_kbd_connect()
341 kbd->dev->dev.parent = &serio->dev; in hil_kbd_connect()
353 serio->write(serio, 0); in hil_kbd_connect()
354 serio->write(serio, 0); in hil_kbd_connect()
355 serio->write(serio, HIL_PKT_CMD >> 8); in hil_kbd_connect()
356 serio->write(serio, HIL_CMD_EK1); /* Enable Keyswitch Autorepeat 1 */ in hil_kbd_connect()
362 serio_close(serio); in hil_kbd_connect()
363 serio_set_drvdata(serio, NULL); in hil_kbd_connect()