keymap 275 arch/arm/mach-davinci/board-dm365-evm.c .keymap = dm365evm_keymap, keymap 163 arch/arm/mach-imx/mach-mx27_3ds.c .keymap = mx27_3ds_keymap, keymap 255 arch/arm/mach-imx/mach-mx31_3ds.c .keymap = mx31_3ds_keymap, keymap 219 arch/arm/mach-mmp/aspenite.c .keymap = aspenite_matrix_key_map, keymap 62 arch/arm/mach-mmp/teton_bga.c .keymap = teton_bga_matrix_key_map, keymap 336 arch/arm/mach-omap1/board-ams-delta.c .keymap = ams_delta_keymap, keymap 237 arch/arm/mach-omap1/board-fsample.c .keymap = fsample_keymap, keymap 250 arch/arm/mach-omap1/board-h2.c .keymap = h2_keymap, keymap 288 arch/arm/mach-omap1/board-h3.c .keymap = h3_keymap, keymap 218 arch/arm/mach-omap1/board-htcherald.c .keymap = htc_herald_keymap, keymap 128 arch/arm/mach-omap1/board-innovator.c .keymap = innovator_keymap, keymap 65 arch/arm/mach-omap1/board-nokia770.c .keymap = nokia770_keymap, keymap 342 arch/arm/mach-omap1/board-osk.c .keymap = osk_keymap, keymap 75 arch/arm/mach-omap1/board-palmte.c .keymap = palmte_keymap, keymap 137 arch/arm/mach-omap1/board-palmtt.c .keymap = palmtt_keymap, keymap 72 arch/arm/mach-omap1/board-palmz71.c .keymap = palmz71_keymap, keymap 195 arch/arm/mach-omap1/board-perseus2.c .keymap = p2_keymap, keymap 205 arch/arm/mach-omap1/board-sx1.c .keymap = sx1_keymap, keymap 381 arch/arm/mach-pxa/corgi.c .keymap = corgikbd_keymap, keymap 836 arch/arm/mach-pxa/em-x270.c .keymap = em_x270_module_matrix_keys, keymap 890 arch/arm/mach-pxa/em-x270.c .keymap = em_x270_exeda_matrix_keys, keymap 430 arch/arm/mach-pxa/ezx.c .keymap = a780_key_map, keymap 465 arch/arm/mach-pxa/ezx.c .keymap = e680_key_map, keymap 527 arch/arm/mach-pxa/ezx.c .keymap = a1200_key_map, keymap 579 arch/arm/mach-pxa/ezx.c .keymap = e6_key_map, keymap 631 arch/arm/mach-pxa/ezx.c .keymap = a910_key_map, keymap 683 arch/arm/mach-pxa/ezx.c .keymap = e2_key_map, keymap 249 arch/arm/mach-pxa/littleton.c .keymap = littleton_matrix_key_map, keymap 481 arch/arm/mach-pxa/mainstone.c .keymap = mainstone_matrix_keys, keymap 231 arch/arm/mach-pxa/mioa701.c .keymap = mioa701_matrix_keys, keymap 190 arch/arm/mach-pxa/palmld.c .keymap = palmld_matrix_keys, keymap 124 arch/arm/mach-pxa/palmt5.c .keymap = palmt5_matrix_keys, keymap 279 arch/arm/mach-pxa/palmtc.c .keymap = palmtc_matrix_keys, keymap 286 arch/arm/mach-pxa/palmtreo.c .keymap = treo680_matrix_keys, keymap 291 arch/arm/mach-pxa/palmtreo.c .keymap = centro_matrix_keys, keymap 191 arch/arm/mach-pxa/palmtx.c .keymap = palmtx_matrix_keys, keymap 157 arch/arm/mach-pxa/palmz72.c .keymap = palmz72_matrix_keys, keymap 368 arch/arm/mach-pxa/spitz.c .keymap = spitz_keymap, keymap 149 arch/arm/mach-pxa/tavorevb.c .keymap = tavorevb_matrix_key_map, keymap 463 arch/arm/mach-pxa/tosa.c .keymap = tosakbd_keymap, keymap 421 arch/arm/mach-pxa/z2.c .keymap = z2_matrix_keys, keymap 339 arch/arm/mach-pxa/zylonite.c .keymap = zylonite_matrix_key_map, keymap 201 arch/arm/mach-s3c64xx/mach-crag6410.c .keymap = crag6410_keymap, keymap 249 arch/arm/mach-s3c64xx/mach-smdk6410.c .keymap = smdk6410_keymap, keymap 110 drivers/hid/hid-appleir.c unsigned short keymap[ARRAY_SIZE(appleir_key_table)]; keymap 212 drivers/hid/hid-appleir.c appleir->current_key = appleir->keymap[index]; keymap 260 drivers/hid/hid-appleir.c input_dev->keycode = appleir->keymap; keymap 262 drivers/hid/hid-appleir.c input_dev->keycodemax = ARRAY_SIZE(appleir->keymap); keymap 266 drivers/hid/hid-appleir.c memcpy(appleir->keymap, appleir_key_table, sizeof(appleir->keymap)); keymap 268 drivers/hid/hid-appleir.c set_bit(appleir->keymap[i], input_dev->keybit); keymap 120 drivers/hid/hid-creative-sb0540.c unsigned short keymap[ARRAY_SIZE(creative_sb0540_key_table)]; keymap 142 drivers/hid/hid-creative-sb0540.c return creative_sb0540->keymap[i]; keymap 194 drivers/hid/hid-creative-sb0540.c input_dev->keycode = creative_sb0540->keymap; keymap 196 drivers/hid/hid-creative-sb0540.c input_dev->keycodemax = ARRAY_SIZE(creative_sb0540->keymap); keymap 200 drivers/hid/hid-creative-sb0540.c memcpy(creative_sb0540->keymap, creative_sb0540_key_table, keymap 201 drivers/hid/hid-creative-sb0540.c sizeof(creative_sb0540->keymap)); keymap 203 drivers/hid/hid-creative-sb0540.c set_bit(creative_sb0540->keymap[i], input_dev->keybit); keymap 51 drivers/input/joydev.c __u16 keymap[KEY_MAX - BTN_MISC + 1]; keymap 126 drivers/input/joydev.c event.number = joydev->keymap[code - BTN_MISC]; keymap 500 drivers/input/joydev.c joydev->keymap[keypam[i] - BTN_MISC] = i; keymap 944 drivers/input/joydev.c joydev->keymap[i] = joydev->nkey; keymap 951 drivers/input/joydev.c joydev->keymap[i] = joydev->nkey; keymap 118 drivers/input/keyboard/adp5520-keys.c memcpy(dev->keycode, pdata->keymap, keymap 453 drivers/input/keyboard/adp5588-keys.c if (!pdata->rows || !pdata->cols || !pdata->keymap) { keymap 535 drivers/input/keyboard/adp5588-keys.c memcpy(kpad->keycode, pdata->keymap, keymap 902 drivers/input/keyboard/adp5589-keys.c !pdata->keymap) { keymap 982 drivers/input/keyboard/adp5589-keys.c memcpy(kpad->keycode, pdata->keymap, keymap 98 drivers/input/keyboard/bcm-keypad.c unsigned short *keymap = kp->input_dev->keycode; keymap 100 drivers/input/keyboard/bcm-keypad.c return keymap[MATRIX_SCAN_CODE(row, col, row_shift)]; keymap 296 drivers/input/keyboard/cros_ec_keyb.c unsigned short *keymap = ckdev->idev->keycode; keymap 299 drivers/input/keyboard/cros_ec_keyb.c BUG_ON(ckdev->idev->keycodesize != sizeof(*keymap)); keymap 303 drivers/input/keyboard/cros_ec_keyb.c code = keymap[MATRIX_SCAN_CODE(row, col, row_shift)]; keymap 59 drivers/input/keyboard/davinci_keyscan.c unsigned short keymap[]; keymap 109 drivers/input/keyboard/davinci_keyscan.c unsigned short *keymap = davinci_ks->keymap; keymap 132 drivers/input/keyboard/davinci_keyscan.c keycode = keymap[i]; keymap 169 drivers/input/keyboard/davinci_keyscan.c if (!pdata->keymap) { keymap 181 drivers/input/keyboard/davinci_keyscan.c memcpy(davinci_ks->keymap, pdata->keymap, keymap 236 drivers/input/keyboard/davinci_keyscan.c __set_bit(davinci_ks->pdata->keymap[i], key_dev->keybit); keymap 245 drivers/input/keyboard/davinci_keyscan.c key_dev->keycode = davinci_ks->keymap; keymap 246 drivers/input/keyboard/davinci_keyscan.c key_dev->keycodesize = sizeof(davinci_ks->keymap[0]); keymap 57 drivers/input/keyboard/gpio_keys.c unsigned short *keymap; keymap 612 drivers/input/keyboard/gpio_keys.c bdata->code = &ddata->keymap[idx]; keymap 787 drivers/input/keyboard/gpio_keys.c ddata->keymap = devm_kcalloc(dev, keymap 788 drivers/input/keyboard/gpio_keys.c pdata->nbuttons, sizeof(ddata->keymap[0]), keymap 790 drivers/input/keyboard/gpio_keys.c if (!ddata->keymap) keymap 817 drivers/input/keyboard/gpio_keys.c input->keycode = ddata->keymap; keymap 818 drivers/input/keyboard/gpio_keys.c input->keycodesize = sizeof(ddata->keymap[0]); keymap 68 drivers/input/keyboard/jornada680_kbd.c unsigned short keymap[ARRAY_SIZE(jornada_scancodes)]; keymap 77 drivers/input/keyboard/jornada680_kbd.c unsigned short *keymap = jornadakbd->keymap; keymap 96 drivers/input/keyboard/jornada680_kbd.c keymap[scancode], keymap 199 drivers/input/keyboard/jornada680_kbd.c memcpy(jornadakbd->keymap, jornada_scancodes, keymap 200 drivers/input/keyboard/jornada680_kbd.c sizeof(jornadakbd->keymap)); keymap 210 drivers/input/keyboard/jornada680_kbd.c input_dev->keycode = jornadakbd->keymap; keymap 217 drivers/input/keyboard/jornada680_kbd.c if (jornadakbd->keymap[i]) keymap 218 drivers/input/keyboard/jornada680_kbd.c __set_bit(jornadakbd->keymap[i], input_dev->keybit); keymap 48 drivers/input/keyboard/jornada720_kbd.c unsigned short keymap[ARRAY_SIZE(jornada_std_keymap)]; keymap 76 drivers/input/keyboard/jornada720_kbd.c input_report_key(input, jornadakbd->keymap[scan_code], keymap 105 drivers/input/keyboard/jornada720_kbd.c memcpy(jornadakbd->keymap, jornada_std_keymap, keymap 112 drivers/input/keyboard/jornada720_kbd.c input_dev->keycode = jornadakbd->keymap; keymap 118 drivers/input/keyboard/jornada720_kbd.c for (i = 0; i < ARRAY_SIZE(jornadakbd->keymap); i++) keymap 119 drivers/input/keyboard/jornada720_kbd.c __set_bit(jornadakbd->keymap[i], input_dev->keybit); keymap 142 drivers/input/keyboard/lm8323.c unsigned short keymap[LM8323_KEYMAP_SIZE]; keymap 269 drivers/input/keyboard/lm8323.c unsigned short keycode = lm->keymap[key]; keymap 712 drivers/input/keyboard/lm8323.c __set_bit(pdata->keymap[i], idev->keybit); keymap 713 drivers/input/keyboard/lm8323.c lm->keymap[i] = pdata->keymap[i]; keymap 66 drivers/input/keyboard/lpc32xx-keys.c unsigned short *keymap; /* Pointer to key map for the scan matrix */ keymap 87 drivers/input/keyboard/lpc32xx-keys.c keycode = kscandat->keymap[scancode]; keymap 189 drivers/input/keyboard/lpc32xx-keys.c keymap_size = sizeof(kscandat->keymap[0]) * keymap 191 drivers/input/keyboard/lpc32xx-keys.c kscandat->keymap = devm_kzalloc(&pdev->dev, keymap_size, GFP_KERNEL); keymap 192 drivers/input/keyboard/lpc32xx-keys.c if (!kscandat->keymap) keymap 216 drivers/input/keyboard/lpc32xx-keys.c kscandat->keymap, kscandat->input); keymap 156 drivers/input/keyboard/mcs_touchkey.c unsigned int val = MCS_KEY_VAL(pdata->keymap[i]); keymap 157 drivers/input/keyboard/mcs_touchkey.c unsigned int code = MCS_KEY_CODE(pdata->keymap[i]); keymap 67 drivers/input/keyboard/nomadik-ske-keypad.c unsigned short keymap[SKE_KPD_NUM_ROWS * SKE_KPD_NUM_COLS]; keymap 159 drivers/input/keyboard/nomadik-ske-keypad.c input_report_key(input, keypad->keymap[code], key_pressed); keymap 293 drivers/input/keyboard/nomadik-ske-keypad.c keypad->keymap, input); keymap 38 drivers/input/keyboard/nspire-keypad.c struct matrix_keymap_data *keymap; keymap 54 drivers/input/keyboard/nspire-keypad.c unsigned short *keymap = input->keycode; keymap 84 drivers/input/keyboard/nspire-keypad.c input_report_key(input, keymap[code], keymap 46 drivers/input/keyboard/omap-keypad.c unsigned short keymap[]; keymap 248 drivers/input/keyboard/omap-keypad.c omap_kp->keymap, input_dev); keymap 82 drivers/input/keyboard/omap4-keypad.c unsigned short *keymap; keymap 144 drivers/input/keyboard/omap4-keypad.c keypad_data->keymap[code], keymap 329 drivers/input/keyboard/omap4-keypad.c keypad_data->keymap = kcalloc(max_keys, keymap 330 drivers/input/keyboard/omap4-keypad.c sizeof(keypad_data->keymap[0]), keymap 332 drivers/input/keyboard/omap4-keypad.c if (!keypad_data->keymap) { keymap 340 drivers/input/keyboard/omap4-keypad.c keypad_data->keymap, input_dev); keymap 370 drivers/input/keyboard/omap4-keypad.c kfree(keypad_data->keymap); keymap 400 drivers/input/keyboard/omap4-keypad.c kfree(keypad_data->keymap); keymap 247 drivers/input/keyboard/samsung-keypad.c uint32_t *keymap, num_rows = 0, num_cols = 0; keymap 280 drivers/input/keyboard/samsung-keypad.c keymap = devm_kcalloc(dev, key_count, sizeof(uint32_t), GFP_KERNEL); keymap 281 drivers/input/keyboard/samsung-keypad.c if (!keymap) { keymap 285 drivers/input/keyboard/samsung-keypad.c keymap_data->keymap = keymap; keymap 292 drivers/input/keyboard/samsung-keypad.c *keymap++ = KEY(row, col, key_code); keymap 436 drivers/input/keyboard/samsung-keypad.c devm_kfree(&pdev->dev, (void *)pdata->keymap_data->keymap); keymap 186 drivers/input/keyboard/spear-keyboard.c const struct matrix_keymap_data *keymap = pdata ? pdata->keymap : NULL; keymap 240 drivers/input/keyboard/spear-keyboard.c error = matrix_keypad_build_keymap(keymap, NULL, NUM_ROWS, NUM_COLS, keymap 137 drivers/input/keyboard/stmpe-keypad.c unsigned short keymap[STMPE_KEYPAD_KEYMAP_MAX_SIZE]; keymap 187 drivers/input/keyboard/stmpe-keypad.c input_report_key(input, keypad->keymap[code], !up); keymap 322 drivers/input/keyboard/stmpe-keypad.c if (keypad->keymap[code] != KEY_RESERVED) { keymap 370 drivers/input/keyboard/stmpe-keypad.c keypad->keymap, input); keymap 110 drivers/input/keyboard/tc3589x-keypad.c unsigned short *keymap; keymap 212 drivers/input/keyboard/tc3589x-keypad.c input_report_key(keypad->input, keypad->keymap[code], !up); keymap 422 drivers/input/keyboard/tc3589x-keypad.c keypad->keymap = input->keycode; keymap 162 drivers/input/keyboard/tca8418_keypad.c unsigned short *keymap = input->keycode; keymap 189 drivers/input/keyboard/tca8418_keypad.c input_report_key(input, keymap[code], state); keymap 48 drivers/input/keyboard/twl4030_keypad.c unsigned short keymap[TWL4030_KEYMAP_SIZE]; keymap 233 drivers/input/keyboard/twl4030_keypad.c input_report_key(input, kp->keymap[code], keymap 387 drivers/input/keyboard/twl4030_keypad.c kp->keymap, input); keymap 26 drivers/input/matrix-keymap.c unsigned short *keymap = input_dev->keycode; keymap 38 drivers/input/matrix-keymap.c keymap[MATRIX_SCAN_CODE(row, col, row_shift)] = code; keymap 153 drivers/input/matrix-keymap.c unsigned short *keymap, keymap 164 drivers/input/matrix-keymap.c if (!keymap) { keymap 165 drivers/input/matrix-keymap.c keymap = devm_kcalloc(input_dev->dev.parent, keymap 166 drivers/input/matrix-keymap.c max_keys, sizeof(*keymap), keymap 168 drivers/input/matrix-keymap.c if (!keymap) { keymap 175 drivers/input/matrix-keymap.c input_dev->keycode = keymap; keymap 176 drivers/input/matrix-keymap.c input_dev->keycodesize = sizeof(*keymap); keymap 183 drivers/input/matrix-keymap.c unsigned int key = keymap_data->keymap[i]; keymap 56 drivers/input/misc/apanel.c unsigned short keymap[MAX_PANEL_KEYS]; keymap 103 drivers/input/misc/apanel.c report_key(idev, ap->keymap[i]); keymap 150 drivers/input/misc/apanel.c .keymap = { keymap 208 drivers/input/misc/apanel.c idev->keycode = ap->keymap; keymap 209 drivers/input/misc/apanel.c idev->keycodesize = sizeof(ap->keymap[0]); keymap 213 drivers/input/misc/apanel.c if (ap->keymap[i]) keymap 214 drivers/input/misc/apanel.c set_bit(ap->keymap[i], idev->keybit); keymap 123 drivers/input/misc/cm109.c unsigned short keymap[KEYMAP_SIZE]; keymap 288 drivers/input/misc/cm109.c static unsigned short (*keymap)(int) = keymap_kip1000; keymap 325 drivers/input/misc/cm109.c keycode = dev->keymap[0xff + BIT(i)]; keymap 396 drivers/input/misc/cm109.c report_key(dev, dev->keymap[dev->irq_data->byte[HID_IR1]]); keymap 792 drivers/input/misc/cm109.c input_dev->keycode = dev->keymap; keymap 794 drivers/input/misc/cm109.c input_dev->keycodemax = ARRAY_SIZE(dev->keymap); keymap 801 drivers/input/misc/cm109.c unsigned short k = keymap(i); keymap 802 drivers/input/misc/cm109.c dev->keymap[i] = k; keymap 896 drivers/input/misc/cm109.c keymap = keymap_kip1000; keymap 900 drivers/input/misc/cm109.c keymap = keymap_gtalk; keymap 904 drivers/input/misc/cm109.c keymap = keymap_usbph01; keymap 908 drivers/input/misc/cm109.c keymap = keymap_atcom; keymap 30 drivers/input/misc/cobalt_btns.c unsigned short keymap[ARRAY_SIZE(cobalt_map)]; keymap 44 drivers/input/misc/cobalt_btns.c for (i = 0; i < ARRAY_SIZE(bdev->keymap); i++) { keymap 48 drivers/input/misc/cobalt_btns.c input_report_key(input, bdev->keymap[i], 1); keymap 54 drivers/input/misc/cobalt_btns.c input_report_key(input, bdev->keymap[i], 0); keymap 77 drivers/input/misc/cobalt_btns.c memcpy(bdev->keymap, cobalt_map, sizeof(bdev->keymap)); keymap 89 drivers/input/misc/cobalt_btns.c input->keycode = bdev->keymap; keymap 90 drivers/input/misc/cobalt_btns.c input->keycodemax = ARRAY_SIZE(bdev->keymap); keymap 96 drivers/input/misc/cobalt_btns.c __set_bit(bdev->keymap[i], input->keybit); keymap 28 drivers/input/misc/ims-pcu.c unsigned short keymap[IMS_PCU_KEYMAP_LEN]; keymap 163 drivers/input/misc/ims-pcu.c const unsigned short *keymap; keymap 170 drivers/input/misc/ims-pcu.c .keymap = ims_pcu_keymap_##_n, \ keymap 190 drivers/input/misc/ims-pcu.c unsigned short keycode = buttons->keymap[i]; keymap 200 drivers/input/misc/ims-pcu.c const unsigned short *keymap, keymap 221 drivers/input/misc/ims-pcu.c memcpy(buttons->keymap, keymap, sizeof(*keymap) * keymap_len); keymap 228 drivers/input/misc/ims-pcu.c input->keycode = buttons->keymap; keymap 229 drivers/input/misc/ims-pcu.c input->keycodemax = ARRAY_SIZE(buttons->keymap); keymap 230 drivers/input/misc/ims-pcu.c input->keycodesize = sizeof(buttons->keymap[0]); keymap 234 drivers/input/misc/ims-pcu.c __set_bit(buttons->keymap[i], input->keybit); keymap 1884 drivers/input/misc/ims-pcu.c !ims_pcu_device_info[pcu->device_id].keymap) { keymap 1908 drivers/input/misc/ims-pcu.c error = ims_pcu_setup_buttons(pcu, info->keymap, info->keymap_len); keymap 105 drivers/input/misc/keyspan_remote.c unsigned short keymap[ARRAY_SIZE(keyspan_key_table)]; keymap 172 drivers/input/misc/keyspan_remote.c input_report_key(input, remote->keymap[button], press); keymap 504 drivers/input/misc/keyspan_remote.c memcpy(remote->keymap, keyspan_key_table, sizeof(remote->keymap)); keymap 510 drivers/input/misc/keyspan_remote.c input_dev->keycode = remote->keymap; keymap 512 drivers/input/misc/keyspan_remote.c input_dev->keycodemax = ARRAY_SIZE(remote->keymap); keymap 39 drivers/input/misc/mc13783-pwrbutton.c unsigned short keymap[3]; keymap 68 drivers/input/misc/mc13783-pwrbutton.c input_report_key(priv->pwr, priv->keymap[0], val); keymap 75 drivers/input/misc/mc13783-pwrbutton.c input_report_key(priv->pwr, priv->keymap[1], val); keymap 82 drivers/input/misc/mc13783-pwrbutton.c input_report_key(priv->pwr, priv->keymap[2], val); keymap 129 drivers/input/misc/mc13783-pwrbutton.c priv->keymap[0] = pdata->b1on_key; keymap 148 drivers/input/misc/mc13783-pwrbutton.c priv->keymap[1] = pdata->b2on_key; keymap 167 drivers/input/misc/mc13783-pwrbutton.c priv->keymap[2] = pdata->b3on_key; keymap 193 drivers/input/misc/mc13783-pwrbutton.c pwr->keycode = priv->keymap; keymap 194 drivers/input/misc/mc13783-pwrbutton.c pwr->keycodemax = ARRAY_SIZE(priv->keymap); keymap 195 drivers/input/misc/mc13783-pwrbutton.c pwr->keycodesize = sizeof(priv->keymap[0]); keymap 49 drivers/input/misc/sgi_btns.c unsigned short keymap[ARRAY_SIZE(sgi_map)]; keymap 62 drivers/input/misc/sgi_btns.c for (i = 0; i < ARRAY_SIZE(bdev->keymap); i++) { keymap 66 drivers/input/misc/sgi_btns.c input_report_key(input, bdev->keymap[i], 1); keymap 72 drivers/input/misc/sgi_btns.c input_report_key(input, bdev->keymap[i], 0); keymap 94 drivers/input/misc/sgi_btns.c memcpy(bdev->keymap, sgi_map, sizeof(bdev->keymap)); keymap 106 drivers/input/misc/sgi_btns.c input->keycode = bdev->keymap; keymap 107 drivers/input/misc/sgi_btns.c input->keycodemax = ARRAY_SIZE(bdev->keymap); keymap 113 drivers/input/misc/sgi_btns.c __set_bit(bdev->keymap[i], input->keybit); keymap 43 drivers/input/misc/wistron_btns.c module_param_named(keymap, keymap_name, charp, 0); keymap 44 drivers/input/misc/wistron_btns.c MODULE_PARM_DESC(keymap, "Keymap name, if it can't be autodetected [generic, 1557/MS2141]"); keymap 223 drivers/input/misc/wistron_btns.c static struct key_entry *keymap; /* = NULL; Current key map */ keymap 232 drivers/input/misc/wistron_btns.c keymap = dmi->driver_data; keymap 233 drivers/input/misc/wistron_btns.c for (key = keymap; key->type != KE_END; key++) { keymap 990 drivers/input/misc/wistron_btns.c for (key = keymap; key->type != KE_END; key++) keymap 993 drivers/input/misc/wistron_btns.c new_keymap = kmemdup(keymap, length * sizeof(struct key_entry), keymap 998 drivers/input/misc/wistron_btns.c keymap = new_keymap; keymap 1008 drivers/input/misc/wistron_btns.c keymap = keymap_wistron_ms2141; keymap 1010 drivers/input/misc/wistron_btns.c keymap = keymap_aopen_1557; keymap 1012 drivers/input/misc/wistron_btns.c keymap = keymap_prestigio; keymap 1014 drivers/input/misc/wistron_btns.c keymap = keymap_wistron_generic; keymap 1020 drivers/input/misc/wistron_btns.c if (keymap == NULL) { keymap 1025 drivers/input/misc/wistron_btns.c keymap = keymap_empty; keymap 1228 drivers/input/misc/wistron_btns.c error = sparse_keymap_setup(input_dev, keymap, wistron_setup_keymap); keymap 1378 drivers/input/misc/wistron_btns.c kfree(keymap); keymap 1388 drivers/input/misc/wistron_btns.c kfree(keymap); keymap 167 drivers/input/sparse-keymap.c const struct key_entry *keymap, keymap 176 drivers/input/sparse-keymap.c for (e = keymap; e->type != KE_END; e++) keymap 179 drivers/input/sparse-keymap.c map = devm_kmemdup(&dev->dev, keymap, map_size * sizeof(*map), keymap 2988 drivers/input/touchscreen/atmel_mxt_ts.c u32 *keymap; keymap 3001 drivers/input/touchscreen/atmel_mxt_ts.c keymap = devm_kmalloc_array(dev, n_keys, sizeof(*keymap), keymap 3003 drivers/input/touchscreen/atmel_mxt_ts.c if (!keymap) keymap 3007 drivers/input/touchscreen/atmel_mxt_ts.c keymap, n_keys); keymap 3014 drivers/input/touchscreen/atmel_mxt_ts.c data->t19_keymap = keymap; keymap 14 drivers/media/usb/dvb-usb/dvb-usb-remote.c struct rc_map_table *keymap, keymap 28 drivers/media/usb/dvb-usb/dvb-usb-remote.c if (keymap[index].scancode == scancode) keymap 34 drivers/media/usb/dvb-usb/dvb-usb-remote.c if (keymap[index].keycode == KEY_RESERVED || keymap 35 drivers/media/usb/dvb-usb/dvb-usb-remote.c keymap[index].keycode == KEY_UNKNOWN) { keymap 49 drivers/media/usb/dvb-usb/dvb-usb-remote.c struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; keymap 53 drivers/media/usb/dvb-usb/dvb-usb-remote.c index = legacy_dvb_usb_get_keymap_index(ke, keymap, keymap_size); keymap 57 drivers/media/usb/dvb-usb/dvb-usb-remote.c ke->keycode = keymap[index].keycode; keymap 60 drivers/media/usb/dvb-usb/dvb-usb-remote.c ke->len = sizeof(keymap[index].scancode); keymap 61 drivers/media/usb/dvb-usb/dvb-usb-remote.c memcpy(&ke->scancode, &keymap[index].scancode, ke->len); keymap 72 drivers/media/usb/dvb-usb/dvb-usb-remote.c struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; keymap 76 drivers/media/usb/dvb-usb/dvb-usb-remote.c index = legacy_dvb_usb_get_keymap_index(ke, keymap, keymap_size); keymap 87 drivers/media/usb/dvb-usb/dvb-usb-remote.c *old_keycode = keymap[index].keycode; keymap 88 drivers/media/usb/dvb-usb/dvb-usb-remote.c keymap->keycode = ke->keycode; keymap 94 drivers/media/usb/dvb-usb/dvb-usb-remote.c if (keymap[index].keycode == *old_keycode) { keymap 366 drivers/media/usb/dvb-usb/dvb-usb-remote.c struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; keymap 380 drivers/media/usb/dvb-usb/dvb-usb-remote.c if (rc5_custom(&keymap[i]) == keybuf[1] && keymap 381 drivers/media/usb/dvb-usb/dvb-usb-remote.c rc5_data(&keymap[i]) == keybuf[3]) { keymap 382 drivers/media/usb/dvb-usb/dvb-usb-remote.c *event = keymap[i].keycode; keymap 164 drivers/net/wireless/ath/ath.h DECLARE_BITMAP(keymap, ATH_KEYMAX); keymap 1231 drivers/net/wireless/ath/ath5k/base.c if (test_bit(keyix, common->keymap)) keymap 159 drivers/net/wireless/ath/ath9k/common.c if (test_bit(keyix, common->keymap)) keymap 391 drivers/net/wireless/ath/key.c if (test_bit(i, common->keymap) || keymap 392 drivers/net/wireless/ath/key.c test_bit(i + 64, common->keymap)) keymap 395 drivers/net/wireless/ath/key.c (test_bit(i + 32, common->keymap) || keymap 396 drivers/net/wireless/ath/key.c test_bit(i + 64 + 32, common->keymap))) keymap 416 drivers/net/wireless/ath/key.c if (!test_bit(i, common->keymap) && keymap 417 drivers/net/wireless/ath/key.c (test_bit(i + 32, common->keymap) || keymap 418 drivers/net/wireless/ath/key.c test_bit(i + 64, common->keymap) || keymap 419 drivers/net/wireless/ath/key.c test_bit(i + 64 + 32, common->keymap))) keymap 421 drivers/net/wireless/ath/key.c if (!test_bit(i + 32, common->keymap) && keymap 422 drivers/net/wireless/ath/key.c (test_bit(i, common->keymap) || keymap 423 drivers/net/wireless/ath/key.c test_bit(i + 64, common->keymap) || keymap 424 drivers/net/wireless/ath/key.c test_bit(i + 64 + 32, common->keymap))) keymap 426 drivers/net/wireless/ath/key.c if (!test_bit(i + 64, common->keymap) && keymap 427 drivers/net/wireless/ath/key.c (test_bit(i , common->keymap) || keymap 428 drivers/net/wireless/ath/key.c test_bit(i + 32, common->keymap) || keymap 429 drivers/net/wireless/ath/key.c test_bit(i + 64 + 32, common->keymap))) keymap 431 drivers/net/wireless/ath/key.c if (!test_bit(i + 64 + 32, common->keymap) && keymap 432 drivers/net/wireless/ath/key.c (test_bit(i, common->keymap) || keymap 433 drivers/net/wireless/ath/key.c test_bit(i + 32, common->keymap) || keymap 434 drivers/net/wireless/ath/key.c test_bit(i + 64, common->keymap))) keymap 439 drivers/net/wireless/ath/key.c if (!test_bit(i, common->keymap) && keymap 440 drivers/net/wireless/ath/key.c test_bit(i + 64, common->keymap)) keymap 442 drivers/net/wireless/ath/key.c if (test_bit(i, common->keymap) && keymap 443 drivers/net/wireless/ath/key.c !test_bit(i + 64, common->keymap)) keymap 462 drivers/net/wireless/ath/key.c if (!test_bit(i, common->keymap)) keymap 561 drivers/net/wireless/ath/key.c set_bit(idx, common->keymap); keymap 566 drivers/net/wireless/ath/key.c set_bit(idx + 64, common->keymap); keymap 570 drivers/net/wireless/ath/key.c set_bit(idx + 32, common->keymap); keymap 571 drivers/net/wireless/ath/key.c set_bit(idx + 64 + 32, common->keymap); keymap 590 drivers/net/wireless/ath/key.c clear_bit(key->hw_key_idx, common->keymap); keymap 595 drivers/net/wireless/ath/key.c clear_bit(key->hw_key_idx + 64, common->keymap); keymap 602 drivers/net/wireless/ath/key.c clear_bit(key->hw_key_idx + 32, common->keymap); keymap 603 drivers/net/wireless/ath/key.c clear_bit(key->hw_key_idx + 64 + 32, common->keymap); keymap 246 drivers/platform/x86/asus-laptop.c struct key_entry *keymap; keymap 511 drivers/platform/x86/asus-nb-wmi.c .keymap = asus_nb_wmi_keymap, keymap 233 drivers/platform/x86/asus-wmi.c err = sparse_keymap_setup(asus->inputdev, asus->driver->keymap, NULL); keymap 60 drivers/platform/x86/asus-wmi.h const struct key_entry *keymap; keymap 188 drivers/platform/x86/dell-wmi.c struct dell_bios_keymap_entry keymap[]; keymap 195 drivers/platform/x86/dell-wmi.c struct key_entry *keymap; keymap 430 drivers/platform/x86/dell-wmi.c static bool have_scancode(u32 scancode, const struct key_entry *keymap, int len) keymap 435 drivers/platform/x86/dell-wmi.c if (keymap[i].code == scancode) keymap 446 drivers/platform/x86/dell-wmi.c struct key_entry *keymap; keymap 448 drivers/platform/x86/dell-wmi.c if (results->err || results->keymap) keymap 471 drivers/platform/x86/dell-wmi.c keymap = kcalloc(hotkey_num, sizeof(struct key_entry), GFP_KERNEL); keymap 472 drivers/platform/x86/dell-wmi.c if (!keymap) { keymap 479 drivers/platform/x86/dell-wmi.c &table->keymap[i]; keymap 499 drivers/platform/x86/dell-wmi.c keymap[pos].type = KE_IGNORE; keymap 501 drivers/platform/x86/dell-wmi.c keymap[pos].type = KE_KEY; keymap 502 drivers/platform/x86/dell-wmi.c keymap[pos].code = bios_entry->scancode; keymap 503 drivers/platform/x86/dell-wmi.c keymap[pos].keycode = keycode; keymap 508 drivers/platform/x86/dell-wmi.c results->keymap = keymap; keymap 516 drivers/platform/x86/dell-wmi.c struct key_entry *keymap; keymap 541 drivers/platform/x86/dell-wmi.c keymap = kcalloc(dmi_results.keymap_size + keymap 547 drivers/platform/x86/dell-wmi.c if (!keymap) { keymap 548 drivers/platform/x86/dell-wmi.c kfree(dmi_results.keymap); keymap 555 drivers/platform/x86/dell-wmi.c keymap[pos] = dmi_results.keymap[i]; keymap 556 drivers/platform/x86/dell-wmi.c keymap[pos].code |= (0x0010 << 16); keymap 560 drivers/platform/x86/dell-wmi.c kfree(dmi_results.keymap); keymap 573 drivers/platform/x86/dell-wmi.c keymap, dmi_results.keymap_size) keymap 577 drivers/platform/x86/dell-wmi.c keymap[pos] = *entry; keymap 578 drivers/platform/x86/dell-wmi.c keymap[pos].code |= (0x0010 << 16); keymap 584 drivers/platform/x86/dell-wmi.c keymap[pos] = dell_wmi_keymap_type_0011[i]; keymap 585 drivers/platform/x86/dell-wmi.c keymap[pos].code |= (0x0011 << 16); keymap 594 drivers/platform/x86/dell-wmi.c keymap[pos] = dell_wmi_keymap_type_0000[i]; keymap 598 drivers/platform/x86/dell-wmi.c keymap[pos].type = KE_END; keymap 600 drivers/platform/x86/dell-wmi.c err = sparse_keymap_setup(priv->input_dev, keymap, NULL); keymap 605 drivers/platform/x86/dell-wmi.c kfree(keymap); keymap 225 drivers/platform/x86/eeepc-wmi.c .keymap = eeepc_wmi_keymap, keymap 477 drivers/platform/x86/fujitsu-laptop.c static const struct key_entry *keymap = keymap_default; keymap 482 drivers/platform/x86/fujitsu-laptop.c keymap = id->driver_data; keymap 534 drivers/platform/x86/fujitsu-laptop.c ret = sparse_keymap_setup(priv->input, keymap, NULL); keymap 39 drivers/platform/x86/fujitsu-tablet.c unsigned short keymap[KEYMAP_LEN]; keymap 240 drivers/platform/x86/fujitsu-tablet.c idev->keycode = fujitsu.config.keymap; keymap 241 drivers/platform/x86/fujitsu-tablet.c idev->keycodesize = sizeof(fujitsu.config.keymap[0]); keymap 242 drivers/platform/x86/fujitsu-tablet.c idev->keycodemax = ARRAY_SIZE(fujitsu.config.keymap); keymap 246 drivers/platform/x86/fujitsu-tablet.c for (i = 0; i < ARRAY_SIZE(fujitsu.config.keymap); i++) keymap 247 drivers/platform/x86/fujitsu-tablet.c if (fujitsu.config.keymap[i]) keymap 248 drivers/platform/x86/fujitsu-tablet.c input_set_capability(idev, EV_KEY, fujitsu.config.keymap[i]); keymap 291 drivers/platform/x86/fujitsu-tablet.c keycode = fujitsu.config.keymap[i]; keymap 309 drivers/platform/x86/fujitsu-tablet.c memcpy(fujitsu.config.keymap, dmi->driver_data, keymap 310 drivers/platform/x86/fujitsu-tablet.c sizeof(fujitsu.config.keymap)); keymap 2772 drivers/platform/x86/toshiba_acpi.c const struct key_entry *keymap = toshiba_acpi_keymap; keymap 2803 drivers/platform/x86/toshiba_acpi.c keymap = toshiba_acpi_keymap; keymap 2806 drivers/platform/x86/toshiba_acpi.c keymap = toshiba_acpi_alt_keymap; keymap 2810 drivers/platform/x86/toshiba_acpi.c error = sparse_keymap_setup(dev->hotkey_dev, keymap, NULL); keymap 156 drivers/s390/char/keyboard.c unsigned short *keymap, keysym; keymap 161 drivers/s390/char/keyboard.c keymap = kbd->key_maps[i]; keymap 162 drivers/s390/char/keyboard.c if (!keymap) keymap 166 drivers/s390/char/keyboard.c keysym = keymap[j]; keymap 183 drivers/s390/char/keyboard.c unsigned short *keymap, keysym; keymap 188 drivers/s390/char/keyboard.c keymap = kbd->key_maps[i]; keymap 189 drivers/s390/char/keyboard.c if (!keymap) keymap 192 drivers/s390/char/keyboard.c keysym = keymap[j]; keymap 870 drivers/staging/speakup/kobjects.c __ATTR_RW(keymap); keymap 150 include/linux/input/adp5589.h const unsigned short *keymap; /* Pointer to keymap */ keymap 32 include/linux/input/matrix_keypad.h const uint32_t *keymap; keymap 85 include/linux/input/matrix_keypad.h unsigned short *keymap, keymap 49 include/linux/input/sparse-keymap.h const struct key_entry *keymap, keymap 171 include/linux/mfd/adp5520.h const unsigned short *keymap; /* Pointer to keymap */ keymap 45 include/linux/netfilter/nf_conntrack_pptp.h struct nf_ct_gre_keymap *keymap[IP_CT_DIR_MAX]; keymap 144 include/linux/platform_data/adp5588.h const unsigned short *keymap; /* Pointer to keymap */ keymap 158 include/linux/platform_data/keyboard-spear.h const struct matrix_keymap_data *keymap; keymap 20 include/linux/platform_data/keyscan-davinci.h unsigned short *keymap; keymap 27 include/linux/platform_data/lm8323.h const unsigned short *keymap; keymap 24 include/linux/platform_data/mcs.h const u32 *keymap; keymap 110 net/netfilter/nf_conntrack_proto_gre.c kmp = &ct_pptp_info->keymap[dir]; keymap 149 net/netfilter/nf_conntrack_proto_gre.c if (ct_pptp_info->keymap[dir]) { keymap 151 net/netfilter/nf_conntrack_proto_gre.c ct_pptp_info->keymap[dir]); keymap 152 net/netfilter/nf_conntrack_proto_gre.c list_del_rcu(&ct_pptp_info->keymap[dir]->list); keymap 153 net/netfilter/nf_conntrack_proto_gre.c kfree_rcu(ct_pptp_info->keymap[dir], rcu); keymap 154 net/netfilter/nf_conntrack_proto_gre.c ct_pptp_info->keymap[dir] = NULL; keymap 392 sound/pci/hda/hda_jack.c int type, const struct hda_jack_keymap *keymap) keymap 408 sound/pci/hda/hda_jack.c if (keymap) { keymap 409 sound/pci/hda/hda_jack.c for (map = keymap; map->type; map++) keymap 423 sound/pci/hda/hda_jack.c if (keymap) { keymap 424 sound/pci/hda/hda_jack.c for (map = keymap; map->type; map++) keymap 91 sound/pci/hda/hda_jack.h int type, const struct hda_jack_keymap *keymap);