keycode 1569 drivers/acpi/acpi_video.c int keycode = 0; keycode 1579 drivers/acpi/acpi_video.c keycode = KEY_SWITCHVIDEOMODE; keycode 1586 drivers/acpi/acpi_video.c keycode = KEY_SWITCHVIDEOMODE; keycode 1590 drivers/acpi/acpi_video.c keycode = KEY_SWITCHVIDEOMODE; keycode 1593 drivers/acpi/acpi_video.c keycode = KEY_VIDEO_NEXT; keycode 1596 drivers/acpi/acpi_video.c keycode = KEY_VIDEO_PREV; keycode 1607 drivers/acpi/acpi_video.c keycode = 0; keycode 1609 drivers/acpi/acpi_video.c if (keycode && (report_key_events & REPORT_OUTPUT_KEY_EVENTS)) { keycode 1610 drivers/acpi/acpi_video.c input_report_key(input, keycode, 1); keycode 1612 drivers/acpi/acpi_video.c input_report_key(input, keycode, 0); keycode 1635 drivers/acpi/acpi_video.c int keycode = 0; keycode 1655 drivers/acpi/acpi_video.c keycode = KEY_BRIGHTNESS_CYCLE; keycode 1659 drivers/acpi/acpi_video.c keycode = KEY_BRIGHTNESSUP; keycode 1663 drivers/acpi/acpi_video.c keycode = KEY_BRIGHTNESSDOWN; keycode 1667 drivers/acpi/acpi_video.c keycode = KEY_BRIGHTNESS_ZERO; keycode 1671 drivers/acpi/acpi_video.c keycode = KEY_DISPLAY_OFF; keycode 1681 drivers/acpi/acpi_video.c if (keycode && (report_key_events & REPORT_BRIGHTNESS_KEY_EVENTS)) { keycode 1682 drivers/acpi/acpi_video.c input_report_key(input, keycode, 1); keycode 1684 drivers/acpi/acpi_video.c input_report_key(input, keycode, 0); keycode 426 drivers/acpi/button.c int keycode; keycode 432 drivers/acpi/button.c keycode = test_bit(KEY_SLEEP, input->keybit) ? keycode 434 drivers/acpi/button.c input_report_key(input, keycode, 1); keycode 436 drivers/acpi/button.c input_report_key(input, keycode, 0); keycode 247 drivers/auxdisplay/ht16k33.c const unsigned short *keycodes = keypad->dev->keycode; keycode 260 drivers/hid/hid-appleir.c input_dev->keycode = appleir->keymap; keycode 136 drivers/hid/hid-creative-sb0540.c static int get_key(struct creative_sb0540 *creative_sb0540, u64 keycode) keycode 141 drivers/hid/hid-creative-sb0540.c if (creative_sb0540_codes[i] == keycode) keycode 194 drivers/hid/hid-creative-sb0540.c input_dev->keycode = creative_sb0540->keymap; keycode 68 drivers/hid/hid-input.c unsigned int cur_idx, unsigned int keycode) keycode 73 drivers/hid/hid-input.c return (usage->type == EV_KEY && usage->code == keycode); keycode 140 drivers/hid/hid-input.c ke->keycode = usage->type == EV_KEY ? keycode 163 drivers/hid/hid-input.c usage->code = ke->keycode; keycode 81 drivers/hid/hid-picolcd.h unsigned short keycode[PICOLCD_KEYS]; keycode 141 drivers/hid/hid-picolcd_core.c key_code = data->keycode[raw_data[i]]; keycode 164 drivers/hid/hid-picolcd_core.c key_code = data->keycode[data->pressed_keys[j]]; keycode 429 drivers/hid/hid-picolcd_core.c memcpy(data->keycode, def_keymap, sizeof(def_keymap)); keycode 438 drivers/hid/hid-picolcd_core.c idev->keycode = &data->keycode; keycode 440 drivers/hid/hid-picolcd_core.c idev->keycodesize = sizeof(data->keycode[0]); keycode 444 drivers/hid/hid-picolcd_core.c input_set_capability(idev, EV_KEY, data->keycode[i]); keycode 19 drivers/input/apm-power.c static void system_power_event(unsigned int keycode) keycode 21 drivers/input/apm-power.c switch (keycode) { keycode 818 drivers/input/evdev.c if (put_user(ke.keycode, ip + 1)) keycode 853 drivers/input/evdev.c if (get_user(ke.keycode, ip + 1)) keycode 797 drivers/input/input.c return ((u8 *)dev->keycode)[index]; keycode 800 drivers/input/input.c return ((u16 *)dev->keycode)[index]; keycode 803 drivers/input/input.c return ((u32 *)dev->keycode)[index]; keycode 827 drivers/input/input.c ke->keycode = input_fetch_keycode(dev, index); keycode 857 drivers/input/input.c if (dev->keycodesize < sizeof(ke->keycode) && keycode 858 drivers/input/input.c (ke->keycode >> (dev->keycodesize * 8))) keycode 863 drivers/input/input.c u8 *k = (u8 *)dev->keycode; keycode 865 drivers/input/input.c k[index] = ke->keycode; keycode 869 drivers/input/input.c u16 *k = (u16 *)dev->keycode; keycode 871 drivers/input/input.c k[index] = ke->keycode; keycode 875 drivers/input/input.c u32 *k = (u32 *)dev->keycode; keycode 877 drivers/input/input.c k[index] = ke->keycode; keycode 893 drivers/input/input.c __set_bit(ke->keycode, dev->keybit); keycode 933 drivers/input/input.c if (ke->keycode > KEY_MAX) keycode 22 drivers/input/keyboard/adc-keys.c u32 keycode; keycode 38 drivers/input/keyboard/adc-keys.c int keycode = 0; keycode 49 drivers/input/keyboard/adc-keys.c keycode = st->map[i].keycode; keycode 55 drivers/input/keyboard/adc-keys.c keycode = 0; keycode 57 drivers/input/keyboard/adc-keys.c if (st->last_key && st->last_key != keycode) keycode 60 drivers/input/keyboard/adc-keys.c if (keycode) keycode 61 drivers/input/keyboard/adc-keys.c input_report_key(dev->input, keycode, 1); keycode 64 drivers/input/keyboard/adc-keys.c st->last_key = keycode; keycode 94 drivers/input/keyboard/adc-keys.c &map[i].keycode)) { keycode 172 drivers/input/keyboard/adc-keys.c __set_bit(st->map[i].keycode, input->keybit); keycode 20 drivers/input/keyboard/adp5520-keys.c unsigned short keycode[ADP5520_KEYMAPSIZE]; keycode 30 drivers/input/keyboard/adp5520-keys.c input_report_key(dev->input, dev->keycode[i], value); keycode 114 drivers/input/keyboard/adp5520-keys.c input->keycodesize = sizeof(dev->keycode[0]); keycode 116 drivers/input/keyboard/adp5520-keys.c input->keycode = dev->keycode; keycode 118 drivers/input/keyboard/adp5520-keys.c memcpy(dev->keycode, pdata->keymap, keycode 128 drivers/input/keyboard/adp5520-keys.c __set_bit(dev->keycode[i], input->keybit); keycode 45 drivers/input/keyboard/adp5588-keys.c unsigned short keycode[ADP5588_KEYMAPSIZE]; keycode 286 drivers/input/keyboard/adp5588-keys.c kpad->keycode[key_val - 1], keycode 531 drivers/input/keyboard/adp5588-keys.c input->keycodesize = sizeof(kpad->keycode[0]); keycode 533 drivers/input/keyboard/adp5588-keys.c input->keycode = kpad->keycode; keycode 535 drivers/input/keyboard/adp5588-keys.c memcpy(kpad->keycode, pdata->keymap, keycode 548 drivers/input/keyboard/adp5588-keys.c if (kpad->keycode[i] <= KEY_MAX) keycode 549 drivers/input/keyboard/adp5588-keys.c __set_bit(kpad->keycode[i], input->keybit); keycode 233 drivers/input/keyboard/adp5589-keys.c unsigned short keycode[ADP5589_KEYMAPSIZE]; keycode 612 drivers/input/keyboard/adp5589-keys.c kpad->keycode[key_val - 1], keycode 647 drivers/input/keyboard/adp5589-keys.c if (key == kpad->keycode[i]) keycode 978 drivers/input/keyboard/adp5589-keys.c input->keycodesize = sizeof(kpad->keycode[0]); keycode 980 drivers/input/keyboard/adp5589-keys.c input->keycode = kpad->keycode; keycode 982 drivers/input/keyboard/adp5589-keys.c memcpy(kpad->keycode, pdata->keymap, keycode 995 drivers/input/keyboard/adp5589-keys.c if (kpad->keycode[i] <= KEY_MAX) keycode 996 drivers/input/keyboard/adp5589-keys.c __set_bit(kpad->keycode[i], input->keybit); keycode 208 drivers/input/keyboard/atakbd.c atakbd_dev->keycode = atakbd_keycode; keycode 181 drivers/input/keyboard/atkbd.c unsigned short keycode; keycode 207 drivers/input/keyboard/atkbd.c unsigned short keycode[ATKBD_KEYMAP_SIZE]; keycode 376 drivers/input/keyboard/atkbd.c unsigned short keycode; keycode 455 drivers/input/keyboard/atkbd.c keycode = atkbd->keycode[code]; keycode 458 drivers/input/keyboard/atkbd.c if (keycode != ATKBD_KEY_NULL) keycode 461 drivers/input/keyboard/atkbd.c switch (keycode) { keycode 500 drivers/input/keyboard/atkbd.c } else if (!atkbd->softrepeat && test_bit(keycode, dev->key)) { keycode 509 drivers/input/keyboard/atkbd.c input_event(dev, EV_KEY, keycode, value); keycode 514 drivers/input/keyboard/atkbd.c input_report_key(dev, keycode, 0); keycode 1007 drivers/input/keyboard/atkbd.c memset(atkbd->keycode, 0, sizeof(atkbd->keycode)); keycode 1013 drivers/input/keyboard/atkbd.c atkbd->keycode[i] = atkbd_set2_keycode[scancode]; keycode 1014 drivers/input/keyboard/atkbd.c atkbd->keycode[i | 0x80] = atkbd_set2_keycode[scancode | 0x80]; keycode 1018 drivers/input/keyboard/atkbd.c atkbd->keycode[i | 0x80] = atkbd_scroll_keys[j].keycode; keycode 1021 drivers/input/keyboard/atkbd.c memcpy(atkbd->keycode, atkbd_set3_keycode, sizeof(atkbd->keycode)); keycode 1023 drivers/input/keyboard/atkbd.c memcpy(atkbd->keycode, atkbd_set2_keycode, sizeof(atkbd->keycode)); keycode 1028 drivers/input/keyboard/atkbd.c atkbd->keycode[scancode] = atkbd_scroll_keys[i].keycode; keycode 1037 drivers/input/keyboard/atkbd.c atkbd->keycode[scancode] = KEY_HANGEUL; keycode 1041 drivers/input/keyboard/atkbd.c atkbd->keycode[scancode] = KEY_HANJA; keycode 1111 drivers/input/keyboard/atkbd.c input_dev->keycode = atkbd->keycode; keycode 1116 drivers/input/keyboard/atkbd.c if (atkbd->keycode[i] != KEY_RESERVED && keycode 1117 drivers/input/keyboard/atkbd.c atkbd->keycode[i] != ATKBD_KEY_NULL && keycode 1118 drivers/input/keyboard/atkbd.c atkbd->keycode[i] < ATKBD_SPECIAL) { keycode 1119 drivers/input/keyboard/atkbd.c __set_bit(atkbd->keycode[i], input_dev->keybit); keycode 98 drivers/input/keyboard/bcm-keypad.c unsigned short *keymap = kp->input_dev->keycode; keycode 109 drivers/input/keyboard/bcm-keypad.c unsigned int keycode; keycode 124 drivers/input/keyboard/bcm-keypad.c keycode = bcm_kp_get_keycode(kp, row, col); keycode 125 drivers/input/keyboard/bcm-keypad.c input_report_key(kp->input_dev, keycode, key_press); keycode 428 drivers/input/keyboard/cap11xx.c priv->idev->keycode = priv->keycodes; keycode 35 drivers/input/keyboard/clps711x-keypad.c const unsigned short *keycodes = dev->input->keycode; keycode 177 drivers/input/keyboard/cros_ec_keyb.c const unsigned short *keycodes = idev->keycode; keycode 296 drivers/input/keyboard/cros_ec_keyb.c unsigned short *keymap = ckdev->idev->keycode; keycode 113 drivers/input/keyboard/davinci_keyscan.c int keycode = KEY_UNKNOWN; keycode 132 drivers/input/keyboard/davinci_keyscan.c keycode = keymap[i]; keycode 134 drivers/input/keyboard/davinci_keyscan.c dev_dbg(dev->parent, "key %d %s\n", keycode, keycode 136 drivers/input/keyboard/davinci_keyscan.c input_report_key(davinci_ks->input, keycode, keycode 245 drivers/input/keyboard/davinci_keyscan.c key_dev->keycode = davinci_ks->keymap; keycode 84 drivers/input/keyboard/dlink-dir685-touchkeys.c tk->input->keycode = tk->codes; keycode 85 drivers/input/keyboard/ep93xx_keypad.c int keycode, key1, key2; keycode 89 drivers/input/keyboard/ep93xx_keypad.c keycode = (status & KEY_REG_KEY1_MASK) >> KEY_REG_KEY1_SHIFT; keycode 90 drivers/input/keyboard/ep93xx_keypad.c key1 = keypad->keycodes[keycode]; keycode 92 drivers/input/keyboard/ep93xx_keypad.c keycode = (status & KEY_REG_KEY2_MASK) >> KEY_REG_KEY2_SHIFT; keycode 93 drivers/input/keyboard/ep93xx_keypad.c key2 = keypad->keycodes[keycode]; keycode 817 drivers/input/keyboard/gpio_keys.c input->keycode = ddata->keymap; keycode 344 drivers/input/keyboard/hil_kbd.c input_dev->keycode = hil_kbd_set1; keycode 256 drivers/input/keyboard/hilkbd.c hil_dev.dev->keycode = hphilkeyb_keycode; keycode 108 drivers/input/keyboard/ipaq-micro-keys.c keys->input->keycode = keys->codes; keycode 210 drivers/input/keyboard/jornada680_kbd.c input_dev->keycode = jornadakbd->keymap; keycode 112 drivers/input/keyboard/jornada720_kbd.c input_dev->keycode = jornadakbd->keymap; keycode 265 drivers/input/keyboard/lkkbd.c unsigned short keycode[LK_NUM_KEYCODES]; keycode 355 drivers/input/keyboard/lkkbd.c lk->keycode[0xb1] = KEY_COMPOSE; keycode 365 drivers/input/keyboard/lkkbd.c lk->keycode[0xb1] = KEY_LEFTALT; keycode 419 drivers/input/keyboard/lkkbd.c lk->id[3], lk->keycode[lk->id[3]]); keycode 431 drivers/input/keyboard/lkkbd.c unsigned int keycode; keycode 449 drivers/input/keyboard/lkkbd.c input_report_key(input_dev, lk->keycode[i], 0); keycode 473 drivers/input/keyboard/lkkbd.c keycode = lk->keycode[data]; keycode 474 drivers/input/keyboard/lkkbd.c if (keycode != KEY_RESERVED) { keycode 475 drivers/input/keyboard/lkkbd.c input_report_key(input_dev, keycode, keycode 476 drivers/input/keyboard/lkkbd.c !test_bit(keycode, input_dev->key)); keycode 627 drivers/input/keyboard/lkkbd.c memcpy(lk->keycode, lkkbd_keycode, sizeof(lk->keycode)); keycode 654 drivers/input/keyboard/lkkbd.c input_dev->keycode = lk->keycode; keycode 655 drivers/input/keyboard/lkkbd.c input_dev->keycodesize = sizeof(lk->keycode[0]); keycode 656 drivers/input/keyboard/lkkbd.c input_dev->keycodemax = ARRAY_SIZE(lk->keycode); keycode 659 drivers/input/keyboard/lkkbd.c __set_bit(lk->keycode[i], input_dev->keybit); keycode 269 drivers/input/keyboard/lm8323.c unsigned short keycode = lm->keymap[key]; keycode 276 drivers/input/keyboard/lm8323.c input_report_key(lm->idev, keycode, isdown); keycode 59 drivers/input/keyboard/locomokbd.c unsigned char keycode[LOCOMOKBD_NUMKEYS]; keycode 135 drivers/input/keyboard/locomokbd.c key = locomokbd->keycode[scancode]; keycode 271 drivers/input/keyboard/locomokbd.c input_dev->keycode = locomokbd->keycode; keycode 277 drivers/input/keyboard/locomokbd.c memcpy(locomokbd->keycode, locomokbd_keycode, sizeof(locomokbd->keycode)); keycode 279 drivers/input/keyboard/locomokbd.c set_bit(locomokbd->keycode[i], input_dev->keybit); keycode 75 drivers/input/keyboard/lpc32xx-keys.c unsigned row, changed, scancode, keycode; keycode 87 drivers/input/keyboard/lpc32xx-keys.c keycode = kscandat->keymap[scancode]; keycode 89 drivers/input/keyboard/lpc32xx-keys.c input_report_key(input, keycode, key & (1 << row)); keycode 28 drivers/input/keyboard/maple_keyb.c unsigned short keycode[NR_SCANCODES]; keycode 85 drivers/input/keyboard/maple_keyb.c int code, keycode; keycode 90 drivers/input/keyboard/maple_keyb.c keycode = kbd->keycode[code]; keycode 92 drivers/input/keyboard/maple_keyb.c input_report_key(dev, keycode, (kbd->new[0] >> i) & 1); keycode 99 drivers/input/keyboard/maple_keyb.c keycode = kbd->keycode[code]; keycode 100 drivers/input/keyboard/maple_keyb.c if (keycode) { keycode 102 drivers/input/keyboard/maple_keyb.c input_report_key(dev, keycode, 0); keycode 111 drivers/input/keyboard/maple_keyb.c keycode = kbd->keycode[code]; keycode 112 drivers/input/keyboard/maple_keyb.c if (keycode) { keycode 114 drivers/input/keyboard/maple_keyb.c input_report_key(dev, keycode, 1); keycode 170 drivers/input/keyboard/maple_keyb.c memcpy(kbd->keycode, dc_kbd_keycode, sizeof(kbd->keycode)); keycode 174 drivers/input/keyboard/maple_keyb.c idev->keycode = kbd->keycode; keycode 176 drivers/input/keyboard/maple_keyb.c idev->keycodemax = ARRAY_SIZE(kbd->keycode); keycode 119 drivers/input/keyboard/matrix_keypad.c const unsigned short *keycodes = input_dev->keycode; keycode 207 drivers/input/keyboard/max7359_keypad.c input_dev->keycode = keypad->keycodes; keycode 151 drivers/input/keyboard/mcs_touchkey.c input_dev->keycode = data->keycodes; keycode 278 drivers/input/keyboard/mpr121_touchkey.c input_dev->keycode = mpr121->keycodes; keycode 80 drivers/input/keyboard/mtk-pmic-keys.c unsigned int keycode; keycode 159 drivers/input/keyboard/mtk-pmic-keys.c input_report_key(info->keys->input_dev, info->keycode, pressed); keycode 163 drivers/input/keyboard/mtk-pmic-keys.c pressed ? "pressed" : "released", info->keycode); keycode 191 drivers/input/keyboard/mtk-pmic-keys.c input_set_capability(keys->input_dev, EV_KEY, info->keycode); keycode 286 drivers/input/keyboard/mtk-pmic-keys.c "linux,keycodes", &keys->keys[index].keycode); keycode 44 drivers/input/keyboard/newtonkbd.c unsigned char keycode[128]; keycode 56 drivers/input/keyboard/newtonkbd.c if (nkbd->keycode[data & NKBD_KEY]) { keycode 57 drivers/input/keyboard/newtonkbd.c input_report_key(nkbd->dev, nkbd->keycode[data & NKBD_KEY], data & NKBD_PRESS); keycode 82 drivers/input/keyboard/newtonkbd.c memcpy(nkbd->keycode, nkbd_keycode, sizeof(nkbd->keycode)); keycode 93 drivers/input/keyboard/newtonkbd.c input_dev->keycode = nkbd->keycode; keycode 97 drivers/input/keyboard/newtonkbd.c set_bit(nkbd->keycode[i], input_dev->keybit); keycode 54 drivers/input/keyboard/nspire-keypad.c unsigned short *keymap = input->keycode; keycode 94 drivers/input/keyboard/omap-keypad.c unsigned short *keycodes = omap_kp_data->input->keycode; keycode 80 drivers/input/keyboard/opencores-kbd.c input->keycode = opencores_kbd->keycodes; keycode 254 drivers/input/keyboard/pxa27x_keypad.c unsigned short keycode; keycode 256 drivers/input/keyboard/pxa27x_keypad.c keycode = code & 0xffff; keycode 257 drivers/input/keyboard/pxa27x_keypad.c keypad->keycodes[n] = keycode; keycode 258 drivers/input/keyboard/pxa27x_keypad.c __set_bit(keycode, input_dev->keybit); keycode 260 drivers/input/keyboard/pxa27x_keypad.c keycode = code >> 16; keycode 261 drivers/input/keyboard/pxa27x_keypad.c keypad->keycodes[n + 1] = keycode; keycode 262 drivers/input/keyboard/pxa27x_keypad.c __set_bit(keycode, input_dev->keybit); keycode 345 drivers/input/keyboard/pxa27x_keypad.c unsigned short keycode; keycode 364 drivers/input/keyboard/pxa27x_keypad.c keycode = pdata->direct_key_map[i]; keycode 365 drivers/input/keyboard/pxa27x_keypad.c keypad->keycodes[MAX_MATRIX_KEY_NUM + i] = keycode; keycode 366 drivers/input/keyboard/pxa27x_keypad.c __set_bit(keycode, input_dev->keybit); keycode 371 drivers/input/keyboard/pxa27x_keypad.c keycode = pdata->rotary0_up_key; keycode 372 drivers/input/keyboard/pxa27x_keypad.c keypad->keycodes[MAX_MATRIX_KEY_NUM + 0] = keycode; keycode 373 drivers/input/keyboard/pxa27x_keypad.c __set_bit(keycode, input_dev->keybit); keycode 375 drivers/input/keyboard/pxa27x_keypad.c keycode = pdata->rotary0_down_key; keycode 376 drivers/input/keyboard/pxa27x_keypad.c keypad->keycodes[MAX_MATRIX_KEY_NUM + 1] = keycode; keycode 377 drivers/input/keyboard/pxa27x_keypad.c __set_bit(keycode, input_dev->keybit); keycode 388 drivers/input/keyboard/pxa27x_keypad.c keycode = pdata->rotary1_up_key; keycode 389 drivers/input/keyboard/pxa27x_keypad.c keypad->keycodes[MAX_MATRIX_KEY_NUM + 2] = keycode; keycode 390 drivers/input/keyboard/pxa27x_keypad.c __set_bit(keycode, input_dev->keybit); keycode 392 drivers/input/keyboard/pxa27x_keypad.c keycode = pdata->rotary1_down_key; keycode 393 drivers/input/keyboard/pxa27x_keypad.c keypad->keycodes[MAX_MATRIX_KEY_NUM + 3] = keycode; keycode 394 drivers/input/keyboard/pxa27x_keypad.c __set_bit(keycode, input_dev->keybit); keycode 496 drivers/input/keyboard/pxa27x_keypad.c unsigned char keycode = keypad->keycodes[code]; keycode 500 drivers/input/keyboard/pxa27x_keypad.c input_report_key(dev, keycode, 1); keycode 503 drivers/input/keyboard/pxa27x_keypad.c input_report_key(dev, keycode, 0); keycode 768 drivers/input/keyboard/pxa27x_keypad.c input_dev->keycode = keypad->keycodes; keycode 111 drivers/input/keyboard/qt1050.c u32 keycode; keycode 277 drivers/input/keyboard/qt1050.c input_report_key(input, ts->keys[i].keycode, keycode 317 drivers/input/keyboard/qt1050.c if (button->keycode == KEY_RESERVED) keycode 356 drivers/input/keyboard/qt1050.c &button.keycode)) { keycode 360 drivers/input/keyboard/qt1050.c if (button.keycode >= KEY_MAX) { keycode 362 drivers/input/keyboard/qt1050.c button.keycode); keycode 484 drivers/input/keyboard/qt1050.c input->keycode = ts->keycodes; keycode 490 drivers/input/keyboard/qt1050.c ts->keycodes[i] = ts->keys[i].keycode; keycode 170 drivers/input/keyboard/qt1070.c input->keycode = data->keycodes; keycode 377 drivers/input/keyboard/qt2160.c input->keycode = qt2160->keycodes; keycode 224 drivers/input/keyboard/sh_keysc.c input->keycode = pdata->keycodes; keycode 35 drivers/input/keyboard/snvs_pwrkey.c int keycode; keycode 54 drivers/input/keyboard/snvs_pwrkey.c input_event(input, EV_KEY, pdata->keycode, state); keycode 113 drivers/input/keyboard/snvs_pwrkey.c if (of_property_read_u32(np, "linux,keycode", &pdata->keycode)) { keycode 114 drivers/input/keyboard/snvs_pwrkey.c pdata->keycode = KEY_POWER; keycode 141 drivers/input/keyboard/snvs_pwrkey.c input_set_capability(input, EV_KEY, pdata->keycode); keycode 42 drivers/input/keyboard/st-keyscan.c unsigned short *keycode = keypad->input_dev->keycode; keycode 52 drivers/input/keyboard/st-keyscan.c keycode[bit_nr], state & BIT(bit_nr)); keycode 50 drivers/input/keyboard/stowaway.c unsigned char keycode[128]; keycode 62 drivers/input/keyboard/stowaway.c if (skbd->keycode[data & SKBD_KEY_MASK]) { keycode 63 drivers/input/keyboard/stowaway.c input_report_key(dev, skbd->keycode[data & SKBD_KEY_MASK], keycode 86 drivers/input/keyboard/stowaway.c memcpy(skbd->keycode, skbd_keycode, sizeof(skbd->keycode)); keycode 97 drivers/input/keyboard/stowaway.c input_dev->keycode = skbd->keycode; keycode 79 drivers/input/keyboard/sun4i-lradc-keys.c u32 keycode; keycode 97 drivers/input/keyboard/sun4i-lradc-keys.c u32 i, ints, val, voltage, diff, keycode = 0, closest = 0xffffffff; keycode 119 drivers/input/keyboard/sun4i-lradc-keys.c keycode = lradc->chan0_map[i].keycode; keycode 123 drivers/input/keyboard/sun4i-lradc-keys.c lradc->chan0_keycode = keycode; keycode 212 drivers/input/keyboard/sun4i-lradc-keys.c error = of_property_read_u32(pp, "linux,code", &map->keycode); keycode 266 drivers/input/keyboard/sun4i-lradc-keys.c __set_bit(lradc->chan0_map[i].keycode, lradc->input->keybit); keycode 60 drivers/input/keyboard/sunkbd.c unsigned char keycode[ARRAY_SIZE(sunkbd_keycode)]; keycode 117 drivers/input/keyboard/sunkbd.c if (sunkbd->keycode[data & SUNKBD_KEY]) { keycode 119 drivers/input/keyboard/sunkbd.c sunkbd->keycode[data & SUNKBD_KEY], keycode 268 drivers/input/keyboard/sunkbd.c memcpy(sunkbd->keycode, sunkbd_keycode, sizeof(sunkbd->keycode)); keycode 288 drivers/input/keyboard/sunkbd.c input_dev->keycode = sunkbd->keycode; keycode 292 drivers/input/keyboard/sunkbd.c __set_bit(sunkbd->keycode[i], input_dev->keybit); keycode 422 drivers/input/keyboard/tc3589x-keypad.c keypad->keymap = input->keycode; keycode 162 drivers/input/keyboard/tca8418_keypad.c unsigned short *keymap = input->keycode; keycode 100 drivers/input/keyboard/tegra-kbc.c unsigned short keycode[KBC_MAX_KEY * 2]; keycode 165 drivers/input/keyboard/tegra-kbc.c keycodes[num_down] = kbc->keycode[scancode]; keycode 211 drivers/input/keyboard/tegra-kbc.c keycodes[i] = kbc->keycode[scancodes[i]]; keycode 685 drivers/input/keyboard/tegra-kbc.c kbc->keycode, kbc->idev); keycode 41 drivers/input/keyboard/xtkbd.c unsigned char keycode[256]; keycode 58 drivers/input/keyboard/xtkbd.c if (xtkbd->keycode[data & XTKBD_KEY]) { keycode 59 drivers/input/keyboard/xtkbd.c input_report_key(xtkbd->dev, xtkbd->keycode[data & XTKBD_KEY], !(data & XTKBD_RELEASE)); keycode 84 drivers/input/keyboard/xtkbd.c memcpy(xtkbd->keycode, xtkbd_keycode, sizeof(xtkbd->keycode)); keycode 95 drivers/input/keyboard/xtkbd.c input_dev->keycode = xtkbd->keycode; keycode 100 drivers/input/keyboard/xtkbd.c set_bit(xtkbd->keycode[i], input_dev->keybit); keycode 26 drivers/input/matrix-keymap.c unsigned short *keymap = input_dev->keycode; keycode 175 drivers/input/matrix-keymap.c input_dev->keycode = keymap; keycode 223 drivers/input/misc/ad714x.c input_report_key(sw->input, hw->keycode, 1); keycode 233 drivers/input/misc/ad714x.c input_report_key(sw->input, hw->keycode, 0); keycode 1136 drivers/input/misc/ad714x.c __set_bit(bt_plat[i].keycode, input->keybit); keycode 64 drivers/input/misc/apanel.c static void report_key(struct input_dev *input, unsigned keycode) keycode 66 drivers/input/misc/apanel.c pr_debug(APANEL ": report key %#x\n", keycode); keycode 67 drivers/input/misc/apanel.c input_report_key(input, keycode, 1); keycode 70 drivers/input/misc/apanel.c input_report_key(input, keycode, 0); keycode 208 drivers/input/misc/apanel.c idev->keycode = ap->keymap; keycode 132 drivers/input/misc/ati_remote2.c u16 keycode; keycode 199 drivers/input/misc/ati_remote2.c u16 keycode[ATI_REMOTE2_MODES][ARRAY_SIZE(ati_remote2_key_table)]; keycode 403 drivers/input/misc/ati_remote2.c if (ar2->keycode[mode][index] == BTN_LEFT || keycode 404 drivers/input/misc/ati_remote2.c ar2->keycode[mode][index] == BTN_RIGHT) keycode 419 drivers/input/misc/ati_remote2.c input_event(idev, EV_KEY, ar2->keycode[mode][index], data[1]); keycode 514 drivers/input/misc/ati_remote2.c ke->keycode = ar2->keycode[mode][offset]; keycode 552 drivers/input/misc/ati_remote2.c *old_keycode = ar2->keycode[mode][offset]; keycode 553 drivers/input/misc/ati_remote2.c ar2->keycode[mode][offset] = ke->keycode; keycode 554 drivers/input/misc/ati_remote2.c __set_bit(ke->keycode, idev->keybit); keycode 558 drivers/input/misc/ati_remote2.c if (ar2->keycode[mode][index] == *old_keycode) keycode 587 drivers/input/misc/ati_remote2.c ar2->keycode[mode][index] = ati_remote2_key_table[index].keycode; keycode 588 drivers/input/misc/ati_remote2.c __set_bit(ar2->keycode[mode][index], idev->keybit); keycode 594 drivers/input/misc/ati_remote2.c ar2->keycode[ATI_REMOTE2_AUX1][index] = KEY_PROG1; keycode 595 drivers/input/misc/ati_remote2.c ar2->keycode[ATI_REMOTE2_AUX2][index] = KEY_PROG2; keycode 596 drivers/input/misc/ati_remote2.c ar2->keycode[ATI_REMOTE2_AUX3][index] = KEY_PROG3; keycode 597 drivers/input/misc/ati_remote2.c ar2->keycode[ATI_REMOTE2_AUX4][index] = KEY_PROG4; keycode 598 drivers/input/misc/ati_remote2.c ar2->keycode[ATI_REMOTE2_PC][index] = KEY_PC; keycode 75 drivers/input/misc/atlas_btns.c input_dev->keycode = atlas_keymap; keycode 231 drivers/input/misc/atmel_captouch.c capdev->input->keycode = capdev->keycodes; keycode 321 drivers/input/misc/cm109.c unsigned short keycode; keycode 325 drivers/input/misc/cm109.c keycode = dev->keymap[0xff + BIT(i)]; keycode 326 drivers/input/misc/cm109.c if (keycode == KEY_RESERVED) keycode 329 drivers/input/misc/cm109.c input_report_key(idev, keycode, data & BIT(i)); keycode 332 drivers/input/misc/cm109.c input_report_key(idev, keycode, 0); keycode 792 drivers/input/misc/cm109.c input_dev->keycode = dev->keymap; keycode 89 drivers/input/misc/cobalt_btns.c input->keycode = bdev->keymap; keycode 104 drivers/input/misc/dm355evm_keys.c unsigned int keycode; keycode 153 drivers/input/misc/dm355evm_keys.c keycode = ke ? ke->keycode : KEY_UNKNOWN; keycode 156 drivers/input/misc/dm355evm_keys.c event, keycode); keycode 159 drivers/input/misc/dm355evm_keys.c input_report_key(keys->input, keycode, 1); keycode 161 drivers/input/misc/dm355evm_keys.c input_report_key(keys->input, keycode, 0); keycode 190 drivers/input/misc/ims-pcu.c unsigned short keycode = buttons->keymap[i]; keycode 192 drivers/input/misc/ims-pcu.c if (keycode != KEY_RESERVED) keycode 193 drivers/input/misc/ims-pcu.c input_report_key(input, keycode, data & (1UL << i)); keycode 228 drivers/input/misc/ims-pcu.c input->keycode = buttons->keymap; keycode 510 drivers/input/misc/keyspan_remote.c input_dev->keycode = remote->keymap; keycode 193 drivers/input/misc/mc13783-pwrbutton.c pwr->keycode = priv->keymap; keycode 71 drivers/input/misc/pcf8574_keypad.c unsigned short keycode = key_down ? keycode 74 drivers/input/misc/pcf8574_keypad.c input_report_key(lp->idev, keycode, key_down); keycode 109 drivers/input/misc/pcf8574_keypad.c idev->keycode = lp->btncode; keycode 106 drivers/input/misc/sgi_btns.c input->keycode = bdev->keymap; keycode 1187 drivers/input/misc/wistron_btns.c entry->keycode = KEY_WLAN; keycode 1194 drivers/input/misc/wistron_btns.c entry->keycode = KEY_BLUETOOTH; keycode 95 drivers/input/misc/xen-kbdfront.c if (test_bit(key->keycode, info->ptr->keybit)) { keycode 97 drivers/input/misc/xen-kbdfront.c } else if (test_bit(key->keycode, info->kbd->keybit)) { keycode 99 drivers/input/misc/xen-kbdfront.c if (key->pressed && test_bit(key->keycode, info->kbd->key)) keycode 102 drivers/input/misc/xen-kbdfront.c pr_warn("unhandled keycode 0x%x\n", key->keycode); keycode 109 drivers/input/misc/xen-kbdfront.c input_event(dev, EV_KEY, key->keycode, value); keycode 258 drivers/input/rmi4/rmi_f30.c input->keycode = f30->gpioled_key_map; keycode 28 drivers/input/sparse-keymap.c for (key = dev->keycode; key->type != KE_END; key++) { keycode 45 drivers/input/sparse-keymap.c for (key = dev->keycode; key->type != KE_END; key++) keycode 66 drivers/input/sparse-keymap.c for (key = dev->keycode; key->type != KE_END; key++) keycode 83 drivers/input/sparse-keymap.c unsigned int keycode) keycode 87 drivers/input/sparse-keymap.c for (key = dev->keycode; key->type != KE_END; key++) keycode 88 drivers/input/sparse-keymap.c if (key->type == KE_KEY && keycode == key->keycode) keycode 116 drivers/input/sparse-keymap.c if (dev->keycode) { keycode 119 drivers/input/sparse-keymap.c ke->keycode = key->keycode; keycode 138 drivers/input/sparse-keymap.c if (dev->keycode) { keycode 141 drivers/input/sparse-keymap.c *old_keycode = key->keycode; keycode 142 drivers/input/sparse-keymap.c key->keycode = ke->keycode; keycode 143 drivers/input/sparse-keymap.c set_bit(ke->keycode, dev->keybit); keycode 196 drivers/input/sparse-keymap.c __set_bit(entry->keycode, dev->keybit); keycode 213 drivers/input/sparse-keymap.c dev->keycode = map; keycode 240 drivers/input/sparse-keymap.c input_report_key(dev, ke->keycode, value); keycode 243 drivers/input/sparse-keymap.c input_report_key(dev, ke->keycode, 0); keycode 288 drivers/input/sparse-keymap.c unknown_ke.keycode = KEY_UNKNOWN; keycode 834 drivers/input/touchscreen/hideep.c ts->input_dev->keycode = ts->key_codes; keycode 451 drivers/input/touchscreen/melfas_mip4.c unsigned short keycode = ts->key_code[key - 1]; keycode 455 drivers/input/touchscreen/melfas_mip4.c key, keycode, down); keycode 457 drivers/input/touchscreen/melfas_mip4.c input_event(ts->input, EV_MSC, MSC_SCAN, keycode); keycode 458 drivers/input/touchscreen/melfas_mip4.c input_report_key(ts->input, keycode, down); keycode 1482 drivers/input/touchscreen/melfas_mip4.c input->keycode = ts->key_code; keycode 217 drivers/macintosh/adbhid.c u16 *keycode; keycode 288 drivers/macintosh/adbhid.c int keycode, up_flag, key; keycode 290 drivers/macintosh/adbhid.c keycode = scancode & 0x7f; keycode 294 drivers/macintosh/adbhid.c if (keycode == ADB_KEY_CAPSLOCK && !up_flag) { keycode 312 drivers/macintosh/adbhid.c keycode = ADB_KEY_CAPSLOCK; keycode 328 drivers/macintosh/adbhid.c switch (keycode) { keycode 346 drivers/macintosh/adbhid.c keycode = ADB_KEY_POWER; keycode 358 drivers/macintosh/adbhid.c keycode = ADB_KEY_CMD; keycode 364 drivers/macintosh/adbhid.c keycode = ADB_KEY_CMD; keycode 375 drivers/macintosh/adbhid.c keycode = ADB_KEY_FWDEL; keycode 384 drivers/macintosh/adbhid.c keycode = ADB_KEY_FWDEL; keycode 394 drivers/macintosh/adbhid.c key = adbhid[id]->keycode[keycode]; keycode 399 drivers/macintosh/adbhid.c pr_info("Unhandled ADB key (scancode %#02x) %s.\n", keycode, keycode 792 drivers/macintosh/adbhid.c hid->keycode = kmalloc(sizeof(adb_to_linux_keycodes), GFP_KERNEL); keycode 793 drivers/macintosh/adbhid.c if (!hid->keycode) { keycode 800 drivers/macintosh/adbhid.c memcpy(hid->keycode, adb_to_linux_keycodes, sizeof(adb_to_linux_keycodes)); keycode 820 drivers/macintosh/adbhid.c i = hid->keycode[10]; keycode 821 drivers/macintosh/adbhid.c hid->keycode[10] = hid->keycode[50]; keycode 822 drivers/macintosh/adbhid.c hid->keycode[50] = i; keycode 834 drivers/macintosh/adbhid.c if (hid->keycode[i]) keycode 835 drivers/macintosh/adbhid.c set_bit(hid->keycode[i], input_dev->keybit); keycode 843 drivers/macintosh/adbhid.c input_dev->keycodesize = sizeof(hid->keycode[0]); keycode 892 drivers/macintosh/adbhid.c input_dev->keycode = hid->keycode; keycode 910 drivers/macintosh/adbhid.c kfree(hid->keycode); keycode 920 drivers/macintosh/adbhid.c kfree(adbhid[id]->keycode); keycode 138 drivers/media/firewire/firedtv-rc.c idev->keycode = kmemdup(keytable, sizeof(keytable), GFP_KERNEL); keycode 139 drivers/media/firewire/firedtv-rc.c if (!idev->keycode) { keycode 156 drivers/media/firewire/firedtv-rc.c kfree(idev->keycode); keycode 165 drivers/media/firewire/firedtv-rc.c kfree(fdtv->remote_ctrl_dev->keycode); keycode 172 drivers/media/firewire/firedtv-rc.c u16 *keycode = idev->keycode; keycode 175 drivers/media/firewire/firedtv-rc.c code = keycode[code - 0x0300]; keycode 177 drivers/media/firewire/firedtv-rc.c code = keycode[code - 0x0320]; keycode 79 drivers/media/rc/imon.c u32 keycode; keycode 1216 drivers/media/rc/imon.c u32 keycode; keycode 1221 drivers/media/rc/imon.c keycode = rc_g_keycode_from_table(ictx->rdev, scancode); keycode 1226 drivers/media/rc/imon.c if (keycode == KEY_RESERVED) { keycode 1228 drivers/media/rc/imon.c keycode = rc_g_keycode_from_table(ictx->rdev, release); keycode 1229 drivers/media/rc/imon.c if (keycode != KEY_RESERVED) keycode 1235 drivers/media/rc/imon.c return keycode; keycode 1240 drivers/media/rc/imon.c u32 keycode; keycode 1257 drivers/media/rc/imon.c keycode = rc_g_keycode_from_table(ictx->rdev, scancode); keycode 1262 drivers/media/rc/imon.c return keycode; keycode 1268 drivers/media/rc/imon.c u32 keycode = KEY_RESERVED; keycode 1273 drivers/media/rc/imon.c keycode = key_table[i].keycode; keycode 1278 drivers/media/rc/imon.c return keycode; keycode 2008 drivers/media/rc/imon.c u32 kc = key_table[i].keycode; keycode 267 drivers/media/rc/lirc_dev.c if (scan.flags || scan.keycode || scan.timestamp) { keycode 283 drivers/media/rc/rc-main.c int old_keycode = rc_map->scan[index].keycode; keycode 298 drivers/media/rc/rc-main.c rc_map->scan[index].keycode = new_keycode; keycode 307 drivers/media/rc/rc-main.c if (rc_map->scan[i].keycode == old_keycode) { keycode 374 drivers/media/rc/rc-main.c rc_map->scan[i].keycode = KEY_RESERVED; keycode 421 drivers/media/rc/rc-main.c *old_keycode = ir_update_mapping(rdev, rc_map, index, ke->keycode); keycode 458 drivers/media/rc/rc-main.c from->scan[i].keycode); keycode 538 drivers/media/rc/rc-main.c ke->keycode = entry->keycode; keycode 549 drivers/media/rc/rc-main.c ke->keycode = KEY_RESERVED; keycode 576 drivers/media/rc/rc-main.c unsigned int keycode; keycode 583 drivers/media/rc/rc-main.c keycode = index < rc_map->len ? keycode 584 drivers/media/rc/rc-main.c rc_map->scan[index].keycode : KEY_RESERVED; keycode 588 drivers/media/rc/rc-main.c if (keycode != KEY_RESERVED) keycode 590 drivers/media/rc/rc-main.c dev->device_name, scancode, keycode); keycode 592 drivers/media/rc/rc-main.c return keycode; keycode 712 drivers/media/rc/rc-main.c .keycode = dev->keypressed ? dev->last_keycode : KEY_RESERVED, keycode 746 drivers/media/rc/rc-main.c u32 scancode, u32 keycode, u8 toggle) keycode 755 drivers/media/rc/rc-main.c .keycode = keycode keycode 769 drivers/media/rc/rc-main.c dev->last_keycode = keycode; keycode 771 drivers/media/rc/rc-main.c if (new_event && keycode != KEY_RESERVED) { keycode 776 drivers/media/rc/rc-main.c dev->device_name, keycode, protocol, scancode); keycode 777 drivers/media/rc/rc-main.c input_report_key(dev->input_dev, keycode, 1); keycode 788 drivers/media/rc/rc-main.c if (!new_event && keycode != KEY_RESERVED && keycode 793 drivers/media/rc/rc-main.c input_event(dev->input_dev, EV_KEY, keycode, 2); keycode 816 drivers/media/rc/rc-main.c u32 keycode = rc_g_keycode_from_table(dev, scancode); keycode 819 drivers/media/rc/rc-main.c ir_do_keydown(dev, protocol, scancode, keycode, toggle); keycode 846 drivers/media/rc/rc-main.c u32 keycode = rc_g_keycode_from_table(dev, scancode); keycode 849 drivers/media/rc/rc-main.c ir_do_keydown(dev, protocol, scancode, keycode, toggle); keycode 123 drivers/media/usb/dvb-usb/af9005-remote.c *event = rc_map_af9005_table[i].keycode; keycode 713 drivers/media/usb/dvb-usb/dib0700_core.c u32 keycode; keycode 760 drivers/media/usb/dvb-usb/dib0700_core.c keycode = RC_SCANCODE_NEC32(poll_reply->nec.system << 24 | keycode 767 drivers/media/usb/dvb-usb/dib0700_core.c keycode = RC_SCANCODE_NECX(poll_reply->nec.system << 8 | keycode 774 drivers/media/usb/dvb-usb/dib0700_core.c keycode = RC_SCANCODE_NEC(poll_reply->nec.system, keycode 784 drivers/media/usb/dvb-usb/dib0700_core.c keycode = RC_SCANCODE_RC5(poll_reply->rc5.system, poll_reply->rc5.data); keycode 797 drivers/media/usb/dvb-usb/dib0700_core.c rc_keydown(d->rc_dev, protocol, keycode, toggle); keycode 256 drivers/media/usb/dvb-usb/digitv.c *event = d->props.rc.legacy.rc_map_table[i].keycode; keycode 34 drivers/media/usb/dvb-usb/dvb-usb-remote.c if (keymap[index].keycode == KEY_RESERVED || keycode 35 drivers/media/usb/dvb-usb/dvb-usb-remote.c keymap[index].keycode == KEY_UNKNOWN) { keycode 57 drivers/media/usb/dvb-usb/dvb-usb-remote.c ke->keycode = keymap[index].keycode; keycode 58 drivers/media/usb/dvb-usb/dvb-usb-remote.c if (ke->keycode == KEY_UNKNOWN) keycode 59 drivers/media/usb/dvb-usb/dvb-usb-remote.c ke->keycode = KEY_RESERVED; keycode 87 drivers/media/usb/dvb-usb/dvb-usb-remote.c *old_keycode = keymap[index].keycode; keycode 88 drivers/media/usb/dvb-usb/dvb-usb-remote.c keymap->keycode = ke->keycode; keycode 89 drivers/media/usb/dvb-usb/dvb-usb-remote.c __set_bit(ke->keycode, dev->keybit); keycode 94 drivers/media/usb/dvb-usb/dvb-usb-remote.c if (keymap[index].keycode == *old_keycode) { keycode 214 drivers/media/usb/dvb-usb/dvb-usb-remote.c d->props.rc.legacy.rc_map_table[i].keycode, i); keycode 215 drivers/media/usb/dvb-usb/dvb-usb-remote.c set_bit(d->props.rc.legacy.rc_map_table[i].keycode, input_dev->keybit); keycode 382 drivers/media/usb/dvb-usb/dvb-usb-remote.c *event = keymap[i].keycode; keycode 202 drivers/media/usb/dvb-usb/m920x.c *event = d->props.rc.legacy.rc_map_table[i].keycode; keycode 107 drivers/media/usb/dvb-usb/nova-t-usb2.c *event = rc_map_haupp_table[i].keycode; keycode 36 drivers/media/usb/dvb-usb/opera1.c u32 keycode; keycode 416 drivers/media/usb/dvb-usb/opera1.c *event = rc_map_opera1_table[i].keycode; keycode 418 drivers/media/usb/dvb-usb/opera1.c rc_map_opera1_table[i].keycode; keycode 281 drivers/media/usb/dvb-usb/vp702x.c *event = rc_map_vp702x_table[i].keycode; keycode 1234 drivers/media/usb/ttusb-dec/ttusb_dec.c input_dev->keycode = rc_keys; keycode 1752 drivers/platform/x86/acer-wmi.c switch (key->keycode) { keycode 183 drivers/platform/x86/dell-wmi.c u16 keycode; keycode 339 drivers/platform/x86/dell-wmi.c if ((key->keycode == KEY_BRIGHTNESSUP || keycode 340 drivers/platform/x86/dell-wmi.c key->keycode == KEY_BRIGHTNESSDOWN) && keycode 347 drivers/platform/x86/dell-wmi.c if (key->keycode == KEY_KBDILLUMTOGGLE) keycode 482 drivers/platform/x86/dell-wmi.c u16 keycode = (bios_entry->keycode < keycode 484 drivers/platform/x86/dell-wmi.c bios_to_linux_keycode[bios_entry->keycode] : keycode 492 drivers/platform/x86/dell-wmi.c if (keycode == KEY_RESERVED) { keycode 494 drivers/platform/x86/dell-wmi.c bios_entry->scancode, bios_entry->keycode); keycode 498 drivers/platform/x86/dell-wmi.c if (keycode == KEY_KBDILLUMTOGGLE) keycode 503 drivers/platform/x86/dell-wmi.c keymap[pos].keycode = keycode; keycode 240 drivers/platform/x86/fujitsu-tablet.c idev->keycode = fujitsu.config.keymap; keycode 273 drivers/platform/x86/fujitsu-tablet.c unsigned int keycode; keycode 291 drivers/platform/x86/fujitsu-tablet.c keycode = fujitsu.config.keymap[i]; keycode 297 drivers/platform/x86/fujitsu-tablet.c input_report_key(fujitsu.idev, keycode, pressed); keycode 216 drivers/platform/x86/msi-wmi.c key->code, key->keycode); keycode 480 drivers/platform/x86/sony-laptop.c key_dev->keycode = &sony_laptop_input_keycode_map; keycode 2389 drivers/platform/x86/thinkpad_acpi.c const unsigned int keycode = hotkey_keycode_map[scancode]; keycode 2391 drivers/platform/x86/thinkpad_acpi.c if (keycode != KEY_RESERVED) { keycode 2395 drivers/platform/x86/thinkpad_acpi.c input_report_key(tpacpi_inputdev, keycode, 1); keycode 2399 drivers/platform/x86/thinkpad_acpi.c input_report_key(tpacpi_inputdev, keycode, 0); keycode 3667 drivers/platform/x86/thinkpad_acpi.c tpacpi_inputdev->keycode = hotkey_keycode_map; keycode 3825 drivers/platform/x86/thinkpad_acpi.c int keycode; keycode 3866 drivers/platform/x86/thinkpad_acpi.c keycode = hotkey_keycode_map[scancode - FIRST_ADAPTIVE_KEY + keycode 3868 drivers/platform/x86/thinkpad_acpi.c if (keycode != KEY_RESERVED) { keycode 3871 drivers/platform/x86/thinkpad_acpi.c input_report_key(tpacpi_inputdev, keycode, 1); keycode 3874 drivers/platform/x86/thinkpad_acpi.c input_report_key(tpacpi_inputdev, keycode, 0); keycode 307 drivers/s390/char/keyboard.c kbd_keycode(struct kbd_data *kbd, unsigned int keycode) keycode 315 drivers/s390/char/keyboard.c if (keycode >= 384) keycode 316 drivers/s390/char/keyboard.c keysym = kbd->key_maps[5][keycode - 384]; keycode 317 drivers/s390/char/keyboard.c else if (keycode >= 256) keycode 318 drivers/s390/char/keyboard.c keysym = kbd->key_maps[4][keycode - 256]; keycode 319 drivers/s390/char/keyboard.c else if (keycode >= 128) keycode 320 drivers/s390/char/keyboard.c keysym = kbd->key_maps[1][keycode - 128]; keycode 322 drivers/s390/char/keyboard.c keysym = kbd->key_maps[0][keycode]; keycode 131 drivers/staging/nvec/nvec_kbd.c idev->keycode = keycodes; keycode 2097 drivers/staging/speakup/main.c speakup_key(struct vc_data *vc, int shift_state, int keycode, u_short keysym, keycode 2125 drivers/staging/speakup/main.c if (keycode >= MAX_KEY) keycode 2127 drivers/staging/speakup/main.c key_info = spk_our_keys[keycode]; keycode 2162 drivers/staging/speakup/main.c if (last_keycode == keycode && keycode 2170 drivers/staging/speakup/main.c last_keycode = keycode; keycode 2202 drivers/staging/speakup/main.c ret = (*spk_special_handler) (vc, type, value, keycode); keycode 2221 drivers/staging/speakup/main.c static int keycode; /* to hold the current keycode */ keycode 2243 drivers/staging/speakup/main.c keycode = param->value; keycode 2252 drivers/staging/speakup/main.c if (speakup_key(vc, param->shift, keycode, param->value, up)) keycode 343 drivers/staging/unisys/visorinput/visorinput.c visorinput_dev->keycode = keycode_table; keycode 543 drivers/staging/unisys/visorinput/visorinput.c static void handle_locking_key(struct input_dev *visorinput_dev, int keycode, keycode 548 drivers/staging/unisys/visorinput/visorinput.c switch (keycode) { keycode 563 drivers/staging/unisys/visorinput/visorinput.c input_report_key(visorinput_dev, keycode, 1); keycode 565 drivers/staging/unisys/visorinput/visorinput.c input_report_key(visorinput_dev, keycode, 0); keycode 605 drivers/staging/unisys/visorinput/visorinput.c int scancode, keycode; keycode 618 drivers/staging/unisys/visorinput/visorinput.c keycode = scancode_to_keycode(scancode); keycode 621 drivers/staging/unisys/visorinput/visorinput.c input_report_key(visorinput_dev, keycode, 1); keycode 625 drivers/staging/unisys/visorinput/visorinput.c input_report_key(visorinput_dev, keycode, 0); keycode 629 drivers/staging/unisys/visorinput/visorinput.c input_report_key(visorinput_dev, keycode, 1); keycode 631 drivers/staging/unisys/visorinput/visorinput.c input_report_key(visorinput_dev, keycode, 0); keycode 635 drivers/staging/unisys/visorinput/visorinput.c handle_locking_key(visorinput_dev, keycode, keycode 529 drivers/tty/moxa.c u16 usum, keycode; keycode 531 drivers/tty/moxa.c keycode = (brd->boardType == MOXA_BOARD_CP204J) ? CP204J_KeyCode : keycode 546 drivers/tty/moxa.c keycode = C320_KeyCode; keycode 571 drivers/tty/moxa.c if (readw(baseAddr + key) == keycode) keycode 575 drivers/tty/moxa.c if (readw(baseAddr + key) != keycode) keycode 582 drivers/tty/moxa.c if (readw(baseAddr + key) == keycode) keycode 190 drivers/tty/vt/keyboard.c .keycode = 0, keycode 199 drivers/tty/vt/keyboard.c return d.error ?: d.ke.keycode; keycode 211 drivers/tty/vt/keyboard.c static int setkeycode(unsigned int scancode, unsigned int keycode) keycode 217 drivers/tty/vt/keyboard.c .keycode = keycode, keycode 1271 drivers/tty/vt/keyboard.c static int emulate_raw(struct vc_data *vc, unsigned int keycode, keycode 1276 drivers/tty/vt/keyboard.c switch (keycode) { keycode 1313 drivers/tty/vt/keyboard.c if (keycode > 255) keycode 1316 drivers/tty/vt/keyboard.c code = x86_keycodes[keycode]; keycode 1334 drivers/tty/vt/keyboard.c static int emulate_raw(struct vc_data *vc, unsigned int keycode, unsigned char up_flag) keycode 1336 drivers/tty/vt/keyboard.c if (keycode > 127) keycode 1339 drivers/tty/vt/keyboard.c put_queue(vc, keycode | up_flag); keycode 1353 drivers/tty/vt/keyboard.c static void kbd_keycode(unsigned int keycode, int down, int hw_raw) keycode 1361 drivers/tty/vt/keyboard.c struct keyboard_notifier_param param = { .vc = vc, .value = keycode, .down = down }; keycode 1374 drivers/tty/vt/keyboard.c if (keycode == KEY_STOP) keycode 1382 drivers/tty/vt/keyboard.c if (emulate_raw(vc, keycode, !down << 7)) keycode 1383 drivers/tty/vt/keyboard.c if (keycode < BTN_MISC && printk_ratelimit()) keycode 1385 drivers/tty/vt/keyboard.c keycode); keycode 1388 drivers/tty/vt/keyboard.c if (keycode == KEY_A && sparc_l1_a_state) { keycode 1404 drivers/tty/vt/keyboard.c if (keycode < 128) { keycode 1405 drivers/tty/vt/keyboard.c put_queue(vc, keycode | (!down << 7)); keycode 1408 drivers/tty/vt/keyboard.c put_queue(vc, (keycode >> 7) | 0x80); keycode 1409 drivers/tty/vt/keyboard.c put_queue(vc, keycode | 0x80); keycode 1415 drivers/tty/vt/keyboard.c set_bit(keycode, key_down); keycode 1417 drivers/tty/vt/keyboard.c clear_bit(keycode, key_down); keycode 1444 drivers/tty/vt/keyboard.c if (keycode < NR_KEYS) keycode 1445 drivers/tty/vt/keyboard.c keysym = key_map[keycode]; keycode 1446 drivers/tty/vt/keyboard.c else if (keycode >= KEY_BRL_DOT1 && keycode <= KEY_BRL_DOT8) keycode 1447 drivers/tty/vt/keyboard.c keysym = U(K(KT_BRL, keycode - KEY_BRL_DOT1 + 1)); keycode 1470 drivers/tty/vt/keyboard.c keysym = key_map[keycode]; keycode 1873 drivers/tty/vt/keyboard.c kc = put_user(kc, &user_kbkc->keycode); keycode 1878 drivers/tty/vt/keyboard.c kc = setkeycode(tmp.scancode, tmp.keycode); keycode 153 include/linux/input.h void *keycode; keycode 44 include/linux/input/ad714x.h int keycode; keycode 36 include/linux/input/sparse-keymap.h u16 keycode; /* For KE_KEY */ keycode 93 include/media/rc-map.h u32 keycode; keycode 119 include/uapi/linux/input.h __u32 keycode; keycode 141 include/uapi/linux/kd.h unsigned int scancode, keycode; keycode 159 include/uapi/linux/lirc.h __u32 keycode; keycode 299 include/xen/interface/io/kbdif.h uint32_t keycode; keycode 4334 sound/pci/hda/patch_realtek.c spec->kb_dev->keycode = spec->alc_mute_keycode_map; keycode 105 sound/usb/caiaq/device.h unsigned short keycode[128]; keycode 294 sound/usb/caiaq/input.c unsigned short *keycode = input_dev->keycode; keycode 297 sound/usb/caiaq/input.c if (!keycode) keycode 305 sound/usb/caiaq/input.c input_report_key(input_dev, keycode[i], keycode 612 sound/usb/caiaq/input.c BUILD_BUG_ON(sizeof(cdev->keycode) < sizeof(keycode_rk2)); keycode 613 sound/usb/caiaq/input.c memcpy(cdev->keycode, keycode_rk2, sizeof(keycode_rk2)); keycode 624 sound/usb/caiaq/input.c BUILD_BUG_ON(sizeof(cdev->keycode) < sizeof(keycode_rk3)); keycode 625 sound/usb/caiaq/input.c memcpy(cdev->keycode, keycode_rk3, sizeof(keycode_rk3)); keycode 635 sound/usb/caiaq/input.c BUILD_BUG_ON(sizeof(cdev->keycode) < sizeof(keycode_ak1)); keycode 636 sound/usb/caiaq/input.c memcpy(cdev->keycode, keycode_ak1, sizeof(keycode_ak1)); keycode 651 sound/usb/caiaq/input.c BUILD_BUG_ON(sizeof(cdev->keycode) < sizeof(keycode_kore)); keycode 652 sound/usb/caiaq/input.c memcpy(cdev->keycode, keycode_kore, sizeof(keycode_kore)); keycode 677 sound/usb/caiaq/input.c BUILD_BUG_ON(sizeof(cdev->keycode) < KONTROLX1_INPUTS); keycode 679 sound/usb/caiaq/input.c cdev->keycode[i] = BTN_MISC + i; keycode 718 sound/usb/caiaq/input.c BUILD_BUG_ON(sizeof(cdev->keycode) < KONTROLS4_BUTTONS); keycode 720 sound/usb/caiaq/input.c cdev->keycode[i] = KONTROLS4_BUTTON(i); keycode 767 sound/usb/caiaq/input.c BUILD_BUG_ON(sizeof(cdev->keycode) < sizeof(keycode_maschine)); keycode 768 sound/usb/caiaq/input.c memcpy(cdev->keycode, keycode_maschine, sizeof(keycode_maschine)); keycode 812 sound/usb/caiaq/input.c input->keycode = cdev->keycode; keycode 815 sound/usb/caiaq/input.c __set_bit(cdev->keycode[i], input->keybit); keycode 159 tools/include/uapi/linux/lirc.h __u32 keycode;