Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/input/misc/
Dpcf8574_keypad.c38 unsigned short btncode[ARRAY_SIZE(pcf8574_kp_btncode)]; member
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()
109 idev->keycode = lp->btncode; in pcf8574_kp_probe()
110 idev->keycodesize = sizeof(lp->btncode[0]); in pcf8574_kp_probe()
111 idev->keycodemax = ARRAY_SIZE(lp->btncode); in pcf8574_kp_probe()
114 if (lp->btncode[i] <= KEY_MAX) { in pcf8574_kp_probe()
115 lp->btncode[i] = pcf8574_kp_btncode[i]; in pcf8574_kp_probe()
116 __set_bit(lp->btncode[i], idev->keybit); in pcf8574_kp_probe()