Searched refs:nextstate (Results 1 – 1 of 1) sorted by relevance
67 unsigned char nextstate = read_state(lp); in pcf8574_kp_irq_handler() local69 if (lp->laststate != nextstate) { in pcf8574_kp_irq_handler()70 int key_down = nextstate < ARRAY_SIZE(lp->btncode); in pcf8574_kp_irq_handler()72 lp->btncode[nextstate] : lp->btncode[lp->laststate]; in pcf8574_kp_irq_handler()77 lp->laststate = nextstate; in pcf8574_kp_irq_handler()