Searched refs:hidg (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
H A D | f_hid.c | 89 struct f_hidg *hidg = container_of(dev, struct f_hidg, dev); in hidg_release() local 91 kfree(hidg->report_desc); in hidg_release() 92 kfree(hidg->set_report_buf); in hidg_release() 93 kfree(hidg); in hidg_release() 291 struct f_hidg *hidg = file->private_data; in f_hidg_intout_read() local 300 spin_lock_irqsave(&hidg->read_spinlock, flags); in f_hidg_intout_read() 302 #define READ_COND_INTOUT (!list_empty(&hidg->completed_out_req)) in f_hidg_intout_read() 306 spin_unlock_irqrestore(&hidg->read_spinlock, flags); in f_hidg_intout_read() 310 if (wait_event_interruptible(hidg->read_queue, READ_COND_INTOUT)) in f_hidg_intout_read() 313 spin_lock_irqsave(&hidg in f_hidg_intout_read() 365 struct f_hidg *hidg = file->private_data; f_hidg_ssreport_read() local 406 struct f_hidg *hidg = file->private_data; f_hidg_read() local 416 struct f_hidg *hidg = (struct f_hidg *)ep->driver_data; f_hidg_req_complete() local 433 struct f_hidg *hidg = file->private_data; f_hidg_write() local 525 struct f_hidg *hidg = file->private_data; f_hidg_poll() local 557 struct f_hidg *hidg = f_hidg_open() local 576 struct f_hidg *hidg = (struct f_hidg *) req->context; hidg_intout_complete() local 611 struct f_hidg *hidg = (struct f_hidg *)req->context; hidg_ssreport_complete() local 643 struct f_hidg *hidg = func_to_hidg(f); hidg_setup() local 774 struct f_hidg *hidg = func_to_hidg(f); hidg_disable() local 805 struct f_hidg *hidg = func_to_hidg(f); hidg_set_alt() local 914 struct f_hidg *hidg = func_to_hidg(f); hidg_bind() local 1239 struct f_hidg *hidg; hidg_free() local 1252 struct f_hidg *hidg = func_to_hidg(f); hidg_unbind() local 1261 struct f_hidg *hidg; hidg_alloc() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/function/ |
H A D | f_hid.c | 28 .name = "hidg", 93 struct f_hidg *hidg = container_of(dev, struct f_hidg, dev); in hidg_release() local 95 kfree(hidg->report_desc); in hidg_release() 96 kfree(hidg->set_report_buf); in hidg_release() 97 kfree(hidg); in hidg_release() 295 struct f_hidg *hidg = file->private_data; in f_hidg_intout_read() local 304 spin_lock_irqsave(&hidg->read_spinlock, flags); in f_hidg_intout_read() 306 #define READ_COND_INTOUT (!list_empty(&hidg->completed_out_req)) in f_hidg_intout_read() 310 spin_unlock_irqrestore(&hidg->read_spinlock, flags); in f_hidg_intout_read() 314 if (wait_event_interruptible(hidg in f_hidg_intout_read() 369 struct f_hidg *hidg = file->private_data; f_hidg_ssreport_read() local 410 struct f_hidg *hidg = file->private_data; f_hidg_read() local 420 struct f_hidg *hidg = (struct f_hidg *)ep->driver_data; f_hidg_req_complete() local 437 struct f_hidg *hidg = file->private_data; f_hidg_write() local 529 struct f_hidg *hidg = file->private_data; f_hidg_poll() local 561 struct f_hidg *hidg = f_hidg_open() local 580 struct f_hidg *hidg = (struct f_hidg *) req->context; hidg_intout_complete() local 615 struct f_hidg *hidg = (struct f_hidg *)req->context; hidg_ssreport_complete() local 647 struct f_hidg *hidg = func_to_hidg(f); hidg_setup() local 778 struct f_hidg *hidg = func_to_hidg(f); hidg_disable() local 809 struct f_hidg *hidg = func_to_hidg(f); hidg_set_alt() local 918 struct f_hidg *hidg = func_to_hidg(f); hidg_bind() local 1243 struct f_hidg *hidg; hidg_free() local 1256 struct f_hidg *hidg = func_to_hidg(f); hidg_unbind() local 1265 struct f_hidg *hidg; hidg_alloc() local [all...] |
Completed in 3 milliseconds