Lines Matching refs:code
83 /* Key code is followed by brightness level */
90 /* Radio devices state change, key code is followed by other values */
95 /* Key code is followed by: next, active and attached devices */
98 /* Key code is followed by keyboard illumination level */
160 * "button with a picture of a battery" which has event code 0xe045.
161 * Later Mario Limonciello from Dell told us that event code 0xe045 is
389 static int dell_wmi_process_key(struct wmi_device *wdev, int type, int code, u16 *buffer, int remaining)
397 (type << 16) | code);
399 pr_info("Unknown key with type 0x%04x and code 0x%04x pressed\n",
400 type, code);
404 pr_debug("Key with type 0x%04x and code 0x%04x pressed\n", type, code);
412 if (type == 0x0000 && code == 0xe025 && !wmi_requires_smbios_request)
418 } else if (type == 0x0011 && code == 0xe070 && remaining > 0) {
423 } else if (type == 0x0012 && code == 0x000d && remaining > 0) {
526 if (keymap[i].code == scancode)
593 keymap[pos].code = bios_entry->scancode;
648 keymap[pos].code |= (0x0010 << 16);
664 have_scancode(entry->code | (0x0010 << 16),
670 keymap[pos].code |= (0x0010 << 16);
677 keymap[pos].code |= (0x0011 << 16);
684 keymap[pos].code |= (0x0012 << 16);