Home
last modified time | relevance | path

Searched refs:ctrltail (Results 1 – 2 of 2) sorted by relevance

/drivers/hid/usbhid/
Dhid-core.c237 if ((kicked = (usbhid->ctrlhead != usbhid->ctrltail))) { in usbhid_restart_ctrl_queue()
238 hid_dbg(hid, "Kicking head %d tail %d", usbhid->ctrlhead, usbhid->ctrltail); in usbhid_restart_ctrl_queue()
370 report = usbhid->ctrl[usbhid->ctrltail].report; in hid_submit_ctrl()
371 raw_report = usbhid->ctrl[usbhid->ctrltail].raw_report; in hid_submit_ctrl()
372 dir = usbhid->ctrl[usbhid->ctrltail].dir; in hid_submit_ctrl()
381 usbhid->ctrl[usbhid->ctrltail].raw_report = NULL; in hid_submit_ctrl()
481 if (usbhid->ctrl[usbhid->ctrltail].dir == USB_DIR_IN) in hid_ctrl()
483 usbhid->ctrl[usbhid->ctrltail].report->type, in hid_ctrl()
501 usbhid->ctrltail = usbhid->ctrlhead; in hid_ctrl()
503 usbhid->ctrltail = (usbhid->ctrltail + 1) & (HID_CONTROL_FIFO_SIZE - 1); in hid_ctrl()
[all …]
Dusbhid.h76 unsigned char ctrlhead, ctrltail; /* Control fifo head & tail */ member