Home
last modified time | relevance | path

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

/drivers/hid/
A Duhid.c94 __u8 newhead; in uhid_queue() local
96 newhead = (uhid->head + 1) % UHID_BUFSIZE; in uhid_queue()
98 if (newhead != uhid->tail) { in uhid_queue()
100 uhid->head = newhead; in uhid_queue()
A Dhid-wiimote-core.c74 __u8 newhead; in wiimote_queue() local
97 newhead = (wdata->queue.head + 1) % WIIMOTE_BUFSIZE; in wiimote_queue()
100 wdata->queue.head = newhead; in wiimote_queue()
102 } else if (newhead != wdata->queue.tail) { in wiimote_queue()
103 wdata->queue.head = newhead; in wiimote_queue()

Completed in 12 milliseconds