Searched refs:nkbd (Results 1 – 1 of 1) sorted by relevance
40 struct nkbd { struct50 struct nkbd *nkbd = serio_get_drvdata(serio); in nkbd_interrupt() argument53 if (nkbd->keycode[data & NKBD_KEY]) { in nkbd_interrupt()54 input_report_key(nkbd->dev, nkbd->keycode[data & NKBD_KEY], data & NKBD_PRESS); in nkbd_interrupt()55 input_sync(nkbd->dev); in nkbd_interrupt()59 printk(KERN_INFO "input: %s on %s\n", nkbd->dev->name, serio->phys); in nkbd_interrupt()66 struct nkbd *nkbd; in nkbd_connect() local71 nkbd = kzalloc(sizeof(struct nkbd), GFP_KERNEL); in nkbd_connect()73 if (!nkbd || !input_dev) in nkbd_connect()76 nkbd->serio = serio; in nkbd_connect()[all …]