Home
last modified time | relevance | path

Searched refs:nkbd (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.1/drivers/input/keyboard/
Dnewtonkbd.c40 struct nkbd { struct
50 struct nkbd *nkbd = serio_get_drvdata(serio); in nkbd_interrupt() argument
53 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() local
71 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 …]