Searched refs:keystate (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/drivers/input/keyboard/ |
D | imx-sm-bbm-key.c | 24 int keystate; /* 1:pressed */ member 45 pr_debug("%s: state: %d, keystate %d\n", __func__, state, bbnsm->keystate); in scmi_imx_bbm_pwrkey_check_for_events() 48 if (state ^ bbnsm->keystate) { in scmi_imx_bbm_pwrkey_check_for_events() 49 bbnsm->keystate = state; in scmi_imx_bbm_pwrkey_check_for_events() 72 bbnsm->keystate = 1; in scmi_imx_bbm_pwrkey_event()
|
D | imx_sc_key.c | 29 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()
|
D | pmic8xxx-keypad.c | 102 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()
|
D | snvs_pwrkey.c | 38 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()
|
/linux-6.12.1/drivers/input/misc/ |
D | nxp-bbnsm-pwrkey.c | 40 int keystate; /* 1:pressed */ member 57 if (state ^ bbnsm->keystate) { in bbnsm_pwrkey_check_for_events() 58 bbnsm->keystate = state; in bbnsm_pwrkey_check_for_events() 88 bbnsm->keystate = 1; in bbnsm_pwrkey_interrupt()
|
/linux-6.12.1/drivers/media/rc/ |
D | ir-mce_kbd-decoder.c | 154 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()
|