Lines Matching refs:ctrltail
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()
373 report = usbhid->ctrl[usbhid->ctrltail].report; in hid_submit_ctrl()
374 raw_report = usbhid->ctrl[usbhid->ctrltail].raw_report; in hid_submit_ctrl()
375 dir = usbhid->ctrl[usbhid->ctrltail].dir; in hid_submit_ctrl()
383 usbhid->ctrl[usbhid->ctrltail].raw_report = NULL; in hid_submit_ctrl()
482 if (usbhid->ctrl[usbhid->ctrltail].dir == USB_DIR_IN) in hid_ctrl()
484 usbhid->ctrl[usbhid->ctrltail].report->type, in hid_ctrl()
503 usbhid->ctrltail = usbhid->ctrlhead; in hid_ctrl()
504 } else if (usbhid->ctrlhead != usbhid->ctrltail) { in hid_ctrl()
505 usbhid->ctrltail = (usbhid->ctrltail + 1) & (HID_CONTROL_FIFO_SIZE - 1); 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()
1225 while (usbhid->ctrltail != usbhid->ctrlhead) { in usbhid_stop()
1226 if (usbhid->ctrl[usbhid->ctrltail].dir == USB_DIR_OUT) { in usbhid_stop()
1227 kfree(usbhid->ctrl[usbhid->ctrltail].raw_report); in usbhid_stop()
1228 usbhid->ctrl[usbhid->ctrltail].raw_report = NULL; in usbhid_stop()
1231 usbhid->ctrltail = (usbhid->ctrltail + 1) & in usbhid_stop()