Searched refs:next_rq_head (Results 1 - 1 of 1) sorted by relevance

/linux-master/drivers/hid/
H A Dhid-nintendo.c1950 int next_rq_head; local
1972 next_rq_head = ctlr->rumble_queue_head + 1;
1973 if (next_rq_head >= JC_RUMBLE_QUEUE_SIZE)
1974 next_rq_head = 0;
1979 if (next_rq_head == ctlr->rumble_queue_tail) {
1982 next_rq_head = ctlr->rumble_queue_head;
1985 ctlr->rumble_queue_head = next_rq_head;

Completed in 130 milliseconds