Home
last modified time | relevance | path

Searched refs:hidg (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/usb/gadget/function/
Df_hid.c246 struct f_hidg *hidg = file->private_data; in f_hidg_read() local
258 spin_lock_irqsave(&hidg->read_spinlock, flags); in f_hidg_read()
260 #define READ_COND (!list_empty(&hidg->completed_out_req)) in f_hidg_read()
264 spin_unlock_irqrestore(&hidg->read_spinlock, flags); in f_hidg_read()
268 if (wait_event_interruptible(hidg->read_queue, READ_COND)) in f_hidg_read()
271 spin_lock_irqsave(&hidg->read_spinlock, flags); in f_hidg_read()
275 list = list_first_entry(&hidg->completed_out_req, in f_hidg_read()
286 spin_unlock_irqrestore(&hidg->read_spinlock, flags); in f_hidg_read()
301 req->length = hidg->report_length; in f_hidg_read()
302 ret = usb_ep_queue(hidg->out_ep, req, GFP_KERNEL); in f_hidg_read()
[all …]
/Linux-v4.19/Documentation/ABI/testing/
Dconfigfs-usb-gadget-hid9 except the data passed through /dev/hidg<N>
/Linux-v4.19/Documentation/usb/
Dgadget_hid.txt67 .name = "hidg",
91 gadget driver. To use, point it at a hidg device and set the
Dgadget-testing.txt190 passed with /dev/hidg<X>
215 - run a program which writes to /dev/hidg<N>, e.g.