Home
last modified time | relevance | path

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

/linux/drivers/input/serio/
H A Dhp_sdc.c368 if (hp_sdc.wcurr < 0) in hp_sdc_put()
369 hp_sdc.wcurr = 0; in hp_sdc_put()
371 if (hp_sdc.rcurr == hp_sdc.wcurr) in hp_sdc_put()
372 hp_sdc.wcurr++; in hp_sdc_put()
374 if (hp_sdc.wcurr >= HP_SDC_QUEUE_LEN) in hp_sdc_put()
375 hp_sdc.wcurr = 0; in hp_sdc_put()
376 curridx = hp_sdc.wcurr; in hp_sdc_put()
381 while (++curridx != hp_sdc.wcurr) { in hp_sdc_put()
395 if (curridx == hp_sdc.wcurr) { /* There's nothing queued to do. */ in hp_sdc_put()
398 hp_sdc.wcurr = curridx; in hp_sdc_put()
[all …]
/linux/include/linux/
H A Dhp_sdc.h285 int wcurr; /* Current write transact in process */ member