Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/hid/
Dhidraw.c38 static struct hidraw *hidraw_table[HIDRAW_MAX_DEVICES];
51 add_wait_queue(&list->hidraw->wait, &wait); in hidraw_read()
59 if (!list->hidraw->exist) { in hidraw_read()
76 remove_wait_queue(&list->hidraw->wait, &wait); in hidraw_read()
256 poll_wait(file, &list->hidraw->wait, wait); in hidraw_poll()
259 if (!list->hidraw->exist) in hidraw_poll()
267 struct hidraw *dev; in hidraw_open()
304 list->hidraw = hidraw_table[minor]; in hidraw_open()
326 static void drop_ref(struct hidraw *hidraw, int exists_bit) in drop_ref() argument
329 hidraw->exist = 0; in drop_ref()
[all …]
Dhid-u2fzero.c348 minor = ((struct hidraw *) hdev->hidraw)->minor; in u2fzero_probe()
Dhid-led.c491 minor = ((struct hidraw *) hdev->hidraw)->minor; in hidled_probe()
DMakefile15 hid-$(CONFIG_HIDRAW) += hidraw.o
Dhid-cp2112.c1275 ((struct hidraw *)hdev->hidraw)->minor); in cp2112_probe()
DKconfig46 bool "/dev/hidraw raw HID device support"
53 event interface on /dev/hidraw.
74 special HID-drivers. You should use hidraw for that.
Dhid-core.c2222 ((struct hidraw *)hdev->hidraw)->minor); in hid_connect()
/Linux-v6.6/include/linux/
Dhidraw.h11 struct hidraw { struct
32 struct hidraw *hidraw; argument
Dhid.h656 void *hidraw; member
/Linux-v6.6/Documentation/ABI/testing/
Dsysfs-driver-hid3 What: /sys/class/hidraw/hidraw<num>/device/report_descriptor
14 What: /sys/class/hidraw/hidraw<num>/device/country
/Linux-v6.6/Documentation/hid/
Dhidraw.rst5 The hidraw driver provides a raw interface to USB and Bluetooth Human
23 A benefit of hidraw is that its use by userspace applications is independent
24 of the underlying hardware type. Currently, hidraw is implemented for USB
26 use the HID specification, hidraw will be expanded to add support for these
30 create hidraw device nodes. Udev will typically create the device nodes
32 and udev rule-dependent, applications should use libudev to locate hidraw
174 and all the ioctls for hidraw. The code may be used by anyone for any
176 hidraw.
Dhid-bpf.rst62 Instead of using hidraw or creating new sysfs entries or ioctls, we can rely
104 Right now, tracing relies on hidraw. It works well except for a couple
107 1. if the driver doesn't export a hidraw node, we can't trace anything
109 2. hidraw doesn't catch other processes' requests to the device, which
251 processed by the HID stack. Clients (hidraw, input, LEDs) will **not** see this event.
308 We can not rely on hidraw to bind a BPF program to a HID device. hidraw is an
311 (where it is interesting to get the non-hidraw traces).
316 Given that hidraw is not stable when the device disconnects/reconnects, we recommend
342 position is actually reported in the flow of the pen events, using hidraw to implement
452 Instead of using hidraw for that, we can create a ``SEC("syscall")`` program
Dindex.rst12 hidraw
Dhidintro.rst81 directly accessing the hidraw driver [#hidraw]_.
509 .. [#hidraw] read hidraw: see Documentation/hid/hidraw.rst and
510 file `samples/hidraw/hid-example.c` for an example.
/Linux-v6.6/Documentation/hwmon/
Dnzxt-smart2.rst35 `liquidctl`_) can be used to run "detect fans" command through hidraw interface.
37 The driver coexists with userspace tools that access the device through hidraw
/Linux-v6.6/samples/
DMakefile9 subdir-$(CONFIG_SAMPLE_HIDRAW) += hidraw
DKconfig162 bool "hidraw sample"
/Linux-v6.6/Documentation/userspace-api/ioctl/
Dioctl-number.rst141 'H' 00-0F linux/hidraw.h conflict!