Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/hid/
Duhid.c58 static void uhid_queue(struct uhid_device *uhid, struct uhid_event *ev) in uhid_queue() argument
62 newhead = (uhid->head + 1) % UHID_BUFSIZE; in uhid_queue()
64 if (newhead != uhid->tail) { in uhid_queue()
65 uhid->outq[uhid->head] = ev; in uhid_queue()
66 uhid->head = newhead; in uhid_queue()
67 wake_up_interruptible(&uhid->waitq); in uhid_queue()
69 hid_warn(uhid->hid, "Output queue is full\n"); in uhid_queue()
74 static int uhid_queue_event(struct uhid_device *uhid, __u32 event) in uhid_queue_event() argument
85 spin_lock_irqsave(&uhid->qlock, flags); in uhid_queue_event()
86 uhid_queue(uhid, ev); in uhid_queue_event()
[all …]
DMakefile8 obj-$(CONFIG_UHID) += uhid.o
DKconfig76 module will be called uhid.
/linux-4.1.27/samples/uhid/
DMakefile5 hostprogs-y := uhid-example
/linux-4.1.27/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-4.1.27/include/linux/
Dhid.h620 #define HID_USAGE_ID(uhid, utype, ucode) \ argument
621 .usage_hid = (uhid), .usage_type = (utype), .usage_code = (ucode)
/linux-4.1.27/include/uapi/linux/
DKbuild406 header-y += uhid.h
/linux-4.1.27/Documentation/
Ddevices.txt456 239 = /dev/uhid User-space I/O driver support for HID subsystem
/linux-4.1.27/
DMAINTAINERS10184 F: drivers/hid/uhid.c
10185 F: include/uapi/linux/uhid.h