Searched refs:newhead (Results 1 – 2 of 2) sorted by relevance
94 __u8 newhead; in uhid_queue() local96 newhead = (uhid->head + 1) % UHID_BUFSIZE; in uhid_queue()98 if (newhead != uhid->tail) { in uhid_queue()100 uhid->head = newhead; in uhid_queue()
74 __u8 newhead; in wiimote_queue() local97 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