Home
last modified time | relevance | path

Searched refs:uhid (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/hid/
Duhid.c61 struct uhid_device *uhid = container_of(work, struct uhid_device, worker); in uhid_device_add_worker() local
64 ret = hid_add_device(uhid->hid); in uhid_device_add_worker()
66 hid_err(uhid->hid, "Cannot register HID device: error %d\n", ret); in uhid_device_add_worker()
68 hid_destroy_device(uhid->hid); in uhid_device_add_worker()
69 uhid->hid = NULL; in uhid_device_add_worker()
70 uhid->running = false; in uhid_device_add_worker()
74 static void uhid_queue(struct uhid_device *uhid, struct uhid_event *ev) in uhid_queue() argument
78 newhead = (uhid->head + 1) % UHID_BUFSIZE; in uhid_queue()
80 if (newhead != uhid->tail) { in uhid_queue()
81 uhid->outq[uhid->head] = ev; in uhid_queue()
[all …]
DMakefile9 obj-$(CONFIG_UHID) += uhid.o
DKconfig76 module will be called uhid.
/Linux-v4.19/samples/uhid/
DMakefile2 hostprogs-y := uhid-example
/Linux-v4.19/Documentation/hid/
Duhid.txt12 There is an example user-space application in ./samples/uhid/uhid-example.c
19 This is /dev/uhid by default.
22 device with the HID subsystem, then you need to open /dev/uhid once for each
/Linux-v4.19/include/linux/
Dhid.h683 #define HID_USAGE_ID(uhid, utype, ucode) \ argument
684 .usage_hid = (uhid), .usage_type = (utype), .usage_code = (ucode)
/Linux-v4.19/Documentation/admin-guide/
Ddevices.txt375 239 = /dev/uhid User-space I/O driver support for HID subsystem
/Linux-v4.19/
DMAINTAINERS14988 F: drivers/hid/uhid.c
14989 F: include/uapi/linux/uhid.h