Searched refs:userio (Results 1 – 5 of 5) sorted by relevance
57 struct userio_device *userio = id->port_data; in userio_device_write() local60 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() local80 userio = kzalloc(sizeof(struct userio_device), GFP_KERNEL); in userio_char_open()81 if (!userio) in userio_char_open()[all …]
33 obj-$(CONFIG_USERIO) += userio.o
299 subsystem accessible under char device 10:240 - /dev/userio. Using305 called userio.
1 The userio Protocol11 of them. userio accomplishes this by allowing any privileged userspace program17 In order to interact with the userio kernel module, one simply opens the18 /dev/userio character device in their applications. Commands are sent to the20 driver is read as-is from the /dev/userio device. All of the structures and21 macros you need to interact with the device are defined in <linux/userio.h> and26 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 argument42 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 …]
11388 F: drivers/input/serio/userio.c11389 F: include/uapi/linux/userio.h