Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/input/misc/
Dpcf8574_keypad.c39 unsigned short btncode[ARRAY_SIZE(pcf8574_kp_btncode)]; member
71 int key_down = nextstate < ARRAY_SIZE(lp->btncode); in pcf8574_kp_irq_handler()
73 lp->btncode[nextstate] : lp->btncode[lp->laststate]; in pcf8574_kp_irq_handler()
110 idev->keycode = lp->btncode; in pcf8574_kp_probe()
111 idev->keycodesize = sizeof(lp->btncode[0]); in pcf8574_kp_probe()
112 idev->keycodemax = ARRAY_SIZE(lp->btncode); in pcf8574_kp_probe()
115 if (lp->btncode[i] <= KEY_MAX) { in pcf8574_kp_probe()
116 lp->btncode[i] = pcf8574_kp_btncode[i]; in pcf8574_kp_probe()
117 __set_bit(lp->btncode[i], idev->keybit); in pcf8574_kp_probe()