Lines Matching +defs:code +defs:key
39 #define POLL_INTERVAL_BURST 100 /* when a key was recently pressed */
132 "wistron_btns: Can't map BIOS code at %08X\n",
236 static struct key_entry *keymap; /* = NULL; Current key map */
243 const struct key_entry *key;
246 for (key = keymap; key->type != KE_END; key++) {
247 if (key->type == KE_WIFI)
249 else if (key->type == KE_BLUETOOTH)
252 leds_present = key->code & (FE_MAIL_LED | FE_WIFI_LED);
485 * wifi event as a normal key, then userspace can really change the wifi state.
635 * a list of buttons and their key codes (reported when loading this module
781 .driver_data = keymap_acer_travelmate_380 /* keyboard minus 1 key */
979 const struct key_entry *key;
983 for (key = keymap; key->type != KE_END; key++)
1107 static void handle_key(u8 code)
1109 const struct key_entry *key =
1110 sparse_keymap_entry_from_scancode(wistron_idev->input, code);
1112 if (key) {
1113 switch (key->type) {
1130 key, 1, true);
1136 "wistron_btns: Unknown key code %02X\n", code);
1192 if (entry->code & FE_UNTESTED)