Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/input/serio/
Dhp_sdc.c352 int idx, curridx; in hp_sdc_put() local
376 curridx = hp_sdc.wcurr; in hp_sdc_put()
378 if (hp_sdc.tq[curridx] != NULL) in hp_sdc_put()
381 while (++curridx != hp_sdc.wcurr) { in hp_sdc_put()
382 if (curridx >= HP_SDC_QUEUE_LEN) { in hp_sdc_put()
383 curridx = -1; /* Wrap to top */ in hp_sdc_put()
387 if (hp_sdc.rcurr == curridx) { in hp_sdc_put()
392 if (hp_sdc.tq[curridx] != NULL) in hp_sdc_put()
395 if (curridx == hp_sdc.wcurr) { /* There's nothing queued to do. */ in hp_sdc_put()
396 curridx = -1; in hp_sdc_put()
[all …]