Home
last modified time | relevance | path

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

/linux/drivers/input/serio/
H A Dhp_sdc.c353 int idx, curridx; in hp_sdc_put() local
377 curridx = hp_sdc.wcurr; in hp_sdc_put()
379 if (hp_sdc.tq[curridx] != NULL) in hp_sdc_put()
382 while (++curridx != hp_sdc.wcurr) { in hp_sdc_put()
383 if (curridx >= HP_SDC_QUEUE_LEN) { in hp_sdc_put()
384 curridx = -1; /* Wrap to top */ in hp_sdc_put()
388 if (hp_sdc.rcurr == curridx) { in hp_sdc_put()
393 if (hp_sdc.tq[curridx] != NULL) in hp_sdc_put()
396 if (curridx == hp_sdc.wcurr) { /* There's nothing queued to do. */ in hp_sdc_put()
397 curridx = -1; in hp_sdc_put()
[all …]