Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/input/keyboard/
Dimx_sc_key.c29 bool keystate; /* true: pressed, false: released */ member
89 if (state ^ priv->keystate) { in imx_sc_check_for_events()
90 priv->keystate = state; in imx_sc_check_for_events()
93 if (!priv->keystate) in imx_sc_check_for_events()
Dpmic8xxx-keypad.c102 u16 keystate[PM8XXX_MAX_ROWS]; member
289 __pmic8xxx_kp_scan_matrix(kp, new_state, kp->keystate); in pmic8xxx_kp_scan_matrix()
290 memcpy(kp->keystate, new_state, sizeof(new_state)); in pmic8xxx_kp_scan_matrix()
297 __pmic8xxx_kp_scan_matrix(kp, old_state, kp->keystate); in pmic8xxx_kp_scan_matrix()
299 memcpy(kp->keystate, new_state, sizeof(new_state)); in pmic8xxx_kp_scan_matrix()
306 __pmic8xxx_kp_scan_matrix(kp, old_state, kp->keystate); in pmic8xxx_kp_scan_matrix()
308 memcpy(kp->keystate, new_state, sizeof(new_state)); in pmic8xxx_kp_scan_matrix()
580 memset(kp->keystate, 0xff, sizeof(kp->keystate)); in pmic8xxx_kp_probe()
Dsnvs_pwrkey.c38 int keystate; /* 1:pressed */ member
55 if (state ^ pdata->keystate) { in imx_imx_snvs_check_for_events()
56 pdata->keystate = state; in imx_imx_snvs_check_for_events()
/kernel/linux/linux-5.10/drivers/media/rc/
Dir-mce_kbd-decoder.c154 int i, keystate; in ir_mce_kbd_process_keyboard_data() local
162 keystate = 1; in ir_mce_kbd_process_keyboard_data()
164 keystate = 0; in ir_mce_kbd_process_keyboard_data()
165 input_report_key(dev->input_dev, maskcode, keystate); in ir_mce_kbd_process_keyboard_data()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0024_linux_drivers_input.patch83 + bool keystate; /* 1: pressed, 0: release */
139 + if (!state && !pdata->keystate)
142 + if (state ^ pdata->keystate) {
144 + pdata->keystate = !!state;
260 int keystate; /* 1:pressed */
302 + pdata->keystate = 1;
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch54635 + unsigned int keystate;
54648 + ret = key_unify_query(ukdev, curkey->name, &keystate, &keypermit);
54655 + if (keystate > 2)
54656 + keystate = 2;
54658 + n = sprintf(buf, "%s\n", state[keystate]);