Lines Matching refs:keycode
43 unsigned short keycode = keyentry & MATRIX_KEY_MASK; in clear_phantom_key() local
46 if (!test_bit(keycode, kp->input_devs->dev[dev]->key)) { in clear_phantom_key()
49 "cleared\n", keycode, out, in, in clear_phantom_key()
55 "not cleared\n", keycode, out, in, in clear_phantom_key()
112 unsigned short keycode = keyentry & MATRIX_KEY_MASK; in report_key() local
115 if (pressed != test_bit(keycode, kp->input_devs->dev[dev]->key)) { in report_key()
116 if (keycode == KEY_RESERVED) { in report_key()
125 "changed to %d\n", keycode, in report_key()
128 input_report_key(kp->input_devs->dev[dev], keycode, pressed); in report_key()
342 unsigned short keycode = keyentry & MATRIX_KEY_MASK; in gpio_event_matrix_func() local
347 dev, input_devs->count, keycode); in gpio_event_matrix_func()
351 if (keycode && keycode <= KEY_MAX) in gpio_event_matrix_func()
353 EV_KEY, keycode); in gpio_event_matrix_func()