Home
last modified time | relevance | path

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

/drivers/hid/
Duhid.c70 struct uhid_device *uhid = container_of(work, struct uhid_device, worker); in uhid_device_add_worker() local
73 ret = hid_add_device(uhid->hid); in uhid_device_add_worker()
75 hid_err(uhid->hid, "Cannot register HID device: error %d\n", ret); in uhid_device_add_worker()
87 WRITE_ONCE(uhid->running, false); in uhid_device_add_worker()
88 wake_up_interruptible(&uhid->report_wait); in uhid_device_add_worker()
92 static void uhid_queue(struct uhid_device *uhid, struct uhid_event *ev) in uhid_queue() argument
96 newhead = (uhid->head + 1) % UHID_BUFSIZE; in uhid_queue()
98 if (newhead != uhid->tail) { in uhid_queue()
99 uhid->outq[uhid->head] = ev; in uhid_queue()
100 uhid->head = newhead; in uhid_queue()
[all …]
DMakefile11 obj-$(CONFIG_UHID) += uhid.o
DKconfig81 module will be called uhid.