Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/gadget/function/
Df_hid.c93 struct f_hidg *hidg = container_of(dev, struct f_hidg, dev); in hidg_release() local
95 kfree(hidg->set_report_buf); in hidg_release()
96 kfree(hidg); in hidg_release()
294 struct f_hidg *hidg = file->private_data; in f_hidg_intout_read() local
303 spin_lock_irqsave(&hidg->read_spinlock, flags); in f_hidg_intout_read()
305 #define READ_COND_INTOUT (!list_empty(&hidg->completed_out_req)) in f_hidg_intout_read()
309 spin_unlock_irqrestore(&hidg->read_spinlock, flags); in f_hidg_intout_read()
313 if (wait_event_interruptible(hidg->read_queue, READ_COND_INTOUT)) in f_hidg_intout_read()
316 spin_lock_irqsave(&hidg->read_spinlock, flags); in f_hidg_intout_read()
320 list = list_first_entry(&hidg->completed_out_req, in f_hidg_intout_read()
[all …]
/Linux-v6.6/Documentation/ABI/testing/
Dconfigfs-usb-gadget-hid10 except the data passed through /dev/hidg<N>
/Linux-v6.6/Documentation/usb/
Dgadget_hid.rst70 .name = "hidg",
96 gadget driver. To use, point it at a hidg device and set the
Dgadget-testing.rst230 passed with /dev/hidg<X>
257 - run a program which writes to /dev/hidg<N>, e.g.