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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/input/serio/
H A Dhp_sdc.c345 int idx, curridx; local
369 curridx = hp_sdc.wcurr;
371 if (hp_sdc.tq[curridx] != NULL)
374 while (++curridx != hp_sdc.wcurr) {
375 if (curridx >= HP_SDC_QUEUE_LEN) {
376 curridx = -1; /* Wrap to top */
380 if (hp_sdc.rcurr == curridx) {
385 if (hp_sdc.tq[curridx] != NULL)
388 if (curridx == hp_sdc.wcurr) { /* There's nothing queued to do. */
389 curridx
[all...]

Completed in 232 milliseconds