Searched refs:ctrlhead (Results 1 – 2 of 2) sorted by relevance
239 if ((kicked = (usbhid->ctrlhead != usbhid->ctrltail))) { in usbhid_restart_ctrl_queue()240 hid_dbg(hid, "Kicking head %d tail %d", usbhid->ctrlhead, usbhid->ctrltail); in usbhid_restart_ctrl_queue()503 usbhid->ctrltail = usbhid->ctrlhead; in hid_ctrl()504 } else if (usbhid->ctrlhead != usbhid->ctrltail) { in hid_ctrl()507 if (usbhid->ctrlhead != usbhid->ctrltail && in hid_ctrl()580 if ((head = (usbhid->ctrlhead + 1) & (HID_CONTROL_FIFO_SIZE - 1)) == usbhid->ctrltail) { in __usbhid_submit_report()586 usbhid->ctrl[usbhid->ctrlhead].raw_report = hid_alloc_report_buf(report, GFP_ATOMIC); in __usbhid_submit_report()587 if (!usbhid->ctrl[usbhid->ctrlhead].raw_report) { in __usbhid_submit_report()591 hid_output_report(report, usbhid->ctrl[usbhid->ctrlhead].raw_report); in __usbhid_submit_report()593 usbhid->ctrl[usbhid->ctrlhead].report = report; in __usbhid_submit_report()[all …]
71 unsigned char ctrlhead, ctrltail; /* Control fifo head & tail */ member