Home
last modified time | relevance | path

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

/drivers/hid/
Dhid-nintendo.c1606 int next_rq_head; in joycon_set_rumble() local
1628 next_rq_head = ctlr->rumble_queue_head + 1; in joycon_set_rumble()
1629 if (next_rq_head >= JC_RUMBLE_QUEUE_SIZE) in joycon_set_rumble()
1630 next_rq_head = 0; in joycon_set_rumble()
1635 if (next_rq_head == ctlr->rumble_queue_tail) { in joycon_set_rumble()
1638 next_rq_head = ctlr->rumble_queue_head; in joycon_set_rumble()
1641 ctlr->rumble_queue_head = next_rq_head; in joycon_set_rumble()