Lines Matching defs:code
30 u8 code;
50 static struct tps_key_entry *tps_get_key_by_scancode(unsigned int code)
54 for (key = topstar_keymap; key->code; key++)
55 if (code == key->code)
61 static struct tps_key_entry *tps_get_key_by_keycode(unsigned int code)
65 for (key = topstar_keymap; key->code; key++)
66 if (code == key->keycode)
91 * one event/key code for now (3G switch?)
175 for (key = topstar_keymap; key->code; key++) {