Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/input/serio/
Dhp_sdc.c371 if (hp_sdc.wcurr < 0) in hp_sdc_put()
372 hp_sdc.wcurr = 0; in hp_sdc_put()
374 if (hp_sdc.rcurr == hp_sdc.wcurr) in hp_sdc_put()
375 hp_sdc.wcurr++; in hp_sdc_put()
377 if (hp_sdc.wcurr >= HP_SDC_QUEUE_LEN) in hp_sdc_put()
378 hp_sdc.wcurr = 0; in hp_sdc_put()
379 curridx = hp_sdc.wcurr; in hp_sdc_put()
384 while (++curridx != hp_sdc.wcurr) { in hp_sdc_put()
398 if (curridx == hp_sdc.wcurr) { /* There's nothing queued to do. */ in hp_sdc_put()
401 hp_sdc.wcurr = curridx; in hp_sdc_put()
[all …]
/linux-4.1.27/include/linux/
Dhp_sdc.h285 int wcurr; /* Current write transact in process */ member