/linux/drivers/hid/ |
H A D | hidraw.c | 38 static struct hidraw *hidraw_table[HIDRAW_MAX_DEVICES]; 59 add_wait_queue(&list->hidraw->wait, &wait); in hidraw_read() 67 if (!list->hidraw->exist) { in hidraw_read() 84 remove_wait_queue(&list->hidraw->wait, &wait); in hidraw_read() 268 poll_wait(file, &list->hidraw->wait, wait); in hidraw_poll() 271 if (!list->hidraw->exist || hidraw_is_revoked(list)) in hidraw_poll() 279 struct hidraw *dev; in hidraw_open() 316 list->hidraw = hidraw_table[minor]; in hidraw_open() 341 static void drop_ref(struct hidraw *hidraw, int exists_bit) in drop_ref() argument 344 hidraw->exist = 0; in drop_ref() [all …]
|
H A D | hid-u2fzero.c | 348 minor = ((struct hidraw *) hdev->hidraw)->minor; in u2fzero_probe()
|
H A D | hid-led.c | 491 minor = ((struct hidraw *) hdev->hidraw)->minor; in hidled_probe()
|
H A D | Makefile | 15 hid-$(CONFIG_HIDRAW) += hidraw.o
|
H A D | hid-cp2112.c | 1274 ((struct hidraw *)hdev->hidraw)->minor); in cp2112_probe()
|
H A D | Kconfig | 46 bool "/dev/hidraw raw HID device support" 53 event interface on /dev/hidraw. 74 special HID-drivers. You should use hidraw for that.
|
H A D | hid-core.c | 2269 ((struct hidraw *)hdev->hidraw)->minor); in hid_connect()
|
/linux/tools/testing/selftests/hid/ |
H A D | hidraw.c | 11 FIXTURE(hidraw) { in FIXTURE() argument 18 static void close_hidraw(FIXTURE_DATA(hidraw) * self) in close_hidraw() 25 FIXTURE_TEARDOWN(hidraw) { in FIXTURE_TEARDOWN() argument 38 FIXTURE_SETUP(hidraw) in FIXTURE_SETUP() argument 66 TEST_F(hidraw, test_create_uhid) in TEST_F() argument 74 TEST_F(hidraw, raw_event) in TEST_F() argument 96 TEST_F(hidraw, raw_event_revoked) in TEST_F() argument 133 TEST_F(hidraw, ioctl_revoked) in TEST_F() argument 151 TEST_F(hidraw, poll_revoked) in TEST_F() argument 192 TEST_F(hidraw, write_event_revoked) in TEST_F() argument
|
H A D | .gitignore | 5 hidraw
|
H A D | Makefile | 38 TEST_GEN_PROGS = hid_bpf hidraw
|
/linux/include/linux/ |
H A D | hidraw.h | 11 struct hidraw { struct 32 struct hidraw *hidraw; argument
|
H A D | hid.h | 656 void *hidraw; member
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-driver-hid | 3 What: /sys/class/hidraw/hidraw<num>/device/report_descriptor 14 What: /sys/class/hidraw/hidraw<num>/device/country
|
/linux/Documentation/hid/ |
H A D | hidraw.rst | 5 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.
|
H A D | index.rst | 12 hidraw
|
H A D | hid-bpf.rst | 62 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 275 processed by the HID stack. Clients (hidraw, input, LEDs) will **not** see this event. 330 We can not rely on hidraw to bind a BPF program to a HID device. hidraw is an 333 (where it is interesting to get the non-hidraw traces). 338 Given that hidraw is not stable when the device disconnects/reconnects, we recommend 364 position is actually reported in the flow of the pen events, using hidraw to implement 457 Instead of using hidraw for that, we can create a ``SEC("syscall")`` program
|
H A D | hidintro.rst | 81 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/Documentation/hwmon/ |
H A D | nzxt-smart2.rst | 35 `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/samples/ |
H A D | Makefile | 10 subdir-$(CONFIG_SAMPLE_HIDRAW) += hidraw
|
H A D | Kconfig | 162 bool "hidraw sample"
|
/linux/Documentation/userspace-api/ioctl/ |
H A D | ioctl-number.rst | 144 'H' 00-0F linux/hidraw.h conflict!
|