Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/input/serio/
Dq40kbd.c37 struct q40kbd { struct
44 struct q40kbd *q40kbd = dev_id; in q40kbd_interrupt() argument
47 spin_lock_irqsave(&q40kbd->lock, flags); in q40kbd_interrupt()
50 serio_interrupt(q40kbd->port, master_inb(KEYCODE_REG), 0); in q40kbd_interrupt()
54 spin_unlock_irqrestore(&q40kbd->lock, flags); in q40kbd_interrupt()
63 static void q40kbd_flush(struct q40kbd *q40kbd) in q40kbd_flush() argument
68 spin_lock_irqsave(&q40kbd->lock, flags); in q40kbd_flush()
73 spin_unlock_irqrestore(&q40kbd->lock, flags); in q40kbd_flush()
89 struct q40kbd *q40kbd = port->port_data; in q40kbd_open() local
91 q40kbd_flush(q40kbd); in q40kbd_open()
[all …]
DMakefile16 obj-$(CONFIG_SERIO_Q40KBD) += q40kbd.o