Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/input/serio/
Duserio.c57 struct userio_device *userio = id->port_data; in userio_device_write() local
60 spin_lock_irqsave(&userio->buf_lock, flags); in userio_device_write()
62 userio->buf[userio->head] = val; in userio_device_write()
63 userio->head = (userio->head + 1) % USERIO_BUFSIZE; in userio_device_write()
65 if (userio->head == userio->tail) in userio_device_write()
69 spin_unlock_irqrestore(&userio->buf_lock, flags); in userio_device_write()
71 wake_up_interruptible(&userio->waitq); in userio_device_write()
78 struct userio_device *userio; in userio_char_open() local
80 userio = kzalloc(sizeof(struct userio_device), GFP_KERNEL); in userio_char_open()
81 if (!userio) in userio_char_open()
[all …]
DMakefile33 obj-$(CONFIG_USERIO) += userio.o
DKconfig299 subsystem accessible under char device 10:240 - /dev/userio. Using
305 called userio.
/linux-4.4.14/Documentation/input/
Duserio.txt1 The userio Protocol
11 of them. userio accomplishes this by allowing any privileged userspace program
17 In order to interact with the userio kernel module, one simply opens the
18 /dev/userio character device in their applications. Commands are sent to the
20 driver is read as-is from the /dev/userio device. All of the structures and
21 macros you need to interact with the device are defined in <linux/userio.h> and
26 The struct used for sending commands to /dev/userio is as follows:
34 of the USERIO_CMD macros defined in <linux/userio.h>. "data" is the argument
42 To close the virtual serio port, just close /dev/userio.
66 The userio userspace tools are able to record PS/2 devices using some of the
[all …]
/linux-4.4.14/
DMAINTAINERS11388 F: drivers/input/serio/userio.c
11389 F: include/uapi/linux/userio.h