Home
last modified time | relevance | path

Searched refs:keymap (Results 1 – 184 of 184) sorted by relevance

/linux-4.4.14/drivers/net/wireless/ath/
Dkey.c391 if (test_bit(i, common->keymap) || in ath_reserve_key_cache_slot_tkip()
392 test_bit(i + 64, common->keymap)) in ath_reserve_key_cache_slot_tkip()
395 (test_bit(i + 32, common->keymap) || in ath_reserve_key_cache_slot_tkip()
396 test_bit(i + 64 + 32, common->keymap))) in ath_reserve_key_cache_slot_tkip()
416 if (!test_bit(i, common->keymap) && in ath_reserve_key_cache_slot()
417 (test_bit(i + 32, common->keymap) || in ath_reserve_key_cache_slot()
418 test_bit(i + 64, common->keymap) || in ath_reserve_key_cache_slot()
419 test_bit(i + 64 + 32, common->keymap))) in ath_reserve_key_cache_slot()
421 if (!test_bit(i + 32, common->keymap) && in ath_reserve_key_cache_slot()
422 (test_bit(i, common->keymap) || in ath_reserve_key_cache_slot()
[all …]
Dath.h166 DECLARE_BITMAP(keymap, ATH_KEYMAX);
/linux-4.4.14/drivers/platform/x86/
Ddell-wmi.c115 struct dell_bios_keymap_entry keymap[]; member
302 struct key_entry *keymap; in dell_wmi_prepare_new_keymap() local
305 keymap = kcalloc(hotkey_num + 1, sizeof(struct key_entry), GFP_KERNEL); in dell_wmi_prepare_new_keymap()
306 if (!keymap) in dell_wmi_prepare_new_keymap()
311 &dell_bios_hotkey_table->keymap[i]; in dell_wmi_prepare_new_keymap()
317 keymap[i].type = KE_IGNORE; in dell_wmi_prepare_new_keymap()
319 keymap[i].type = KE_KEY; in dell_wmi_prepare_new_keymap()
320 keymap[i].code = bios_entry->scancode; in dell_wmi_prepare_new_keymap()
321 keymap[i].keycode = keycode; in dell_wmi_prepare_new_keymap()
324 keymap[hotkey_num].type = KE_END; in dell_wmi_prepare_new_keymap()
[all …]
Dfujitsu-tablet.c51 unsigned short keymap[KEYMAP_LEN]; member
252 idev->keycode = fujitsu.config.keymap; in input_fujitsu_setup()
253 idev->keycodesize = sizeof(fujitsu.config.keymap[0]); in input_fujitsu_setup()
254 idev->keycodemax = ARRAY_SIZE(fujitsu.config.keymap); in input_fujitsu_setup()
258 for (i = 0; i < ARRAY_SIZE(fujitsu.config.keymap); i++) in input_fujitsu_setup()
259 if (fujitsu.config.keymap[i]) in input_fujitsu_setup()
260 input_set_capability(idev, EV_KEY, fujitsu.config.keymap[i]); in input_fujitsu_setup()
303 keycode = fujitsu.config.keymap[i]; in fujitsu_interrupt()
321 memcpy(fujitsu.config.keymap, dmi->driver_data, in fujitsu_dmi_common()
322 sizeof(fujitsu.config.keymap)); in fujitsu_dmi_common()
Dasus-wmi.h65 const struct key_entry *keymap; member
Deeepc-wmi.c258 .keymap = eeepc_wmi_keymap,
Dasus-nb-wmi.c384 .keymap = asus_nb_wmi_keymap,
Dtoshiba_acpi.c2382 const struct key_entry *keymap = toshiba_acpi_keymap; in toshiba_acpi_setup_keyboard() local
2408 keymap = toshiba_acpi_keymap; in toshiba_acpi_setup_keyboard()
2411 keymap = toshiba_acpi_alt_keymap; in toshiba_acpi_setup_keyboard()
2415 error = sparse_keymap_setup(dev->hotkey_dev, keymap, NULL); in toshiba_acpi_setup_keyboard()
Dasus-laptop.c261 struct key_entry *keymap; member
Dasus-wmi.c263 err = sparse_keymap_setup(asus->inputdev, asus->driver->keymap, NULL); in asus_wmi_input_init()
DKconfig714 WARNING: This driver is incomplete as it lacks a proper keymap and the
/linux-4.4.14/drivers/input/
Dmatrix-keymap.c34 unsigned short *keymap = input_dev->keycode; in matrix_keypad_map_key() local
46 keymap[MATRIX_SCAN_CODE(row, col, row_shift)] = code; in matrix_keypad_map_key()
158 unsigned short *keymap, in matrix_keypad_build_keymap() argument
169 if (!keymap) { in matrix_keypad_build_keymap()
170 keymap = devm_kzalloc(input_dev->dev.parent, in matrix_keypad_build_keymap()
171 max_keys * sizeof(*keymap), in matrix_keypad_build_keymap()
173 if (!keymap) { in matrix_keypad_build_keymap()
180 input_dev->keycode = keymap; in matrix_keypad_build_keymap()
181 input_dev->keycodesize = sizeof(*keymap); in matrix_keypad_build_keymap()
188 unsigned int key = keymap_data->keymap[i]; in matrix_keypad_build_keymap()
DMakefile12 obj-$(CONFIG_INPUT_SPARSEKMAP) += sparse-keymap.o
13 obj-$(CONFIG_INPUT_MATRIXKMAP) += matrix-keymap.o
DKconfig68 tristate "Sparse keymap support library"
71 device that uses sparse keymap. This option is only
78 module will be called sparse-keymap.
81 tristate "Matrix keymap support library"
84 device that uses matrix keymap. This option is only
91 module will be called matrix-keymap.
Dsparse-keymap.c171 const struct key_entry *keymap, in sparse_keymap_setup() argument
180 for (e = keymap; e->type != KE_END; e++) in sparse_keymap_setup()
187 memcpy(map, keymap, map_size * sizeof(struct key_entry)); in sparse_keymap_setup()
Djoydev.c56 __u16 keymap[KEY_MAX - BTN_MISC + 1]; member
131 event.number = joydev->keymap[code - BTN_MISC]; in joydev_event()
492 joydev->keymap[keypam[i] - BTN_MISC] = i; in joydev_handle_JSIOCSBTNMAP()
860 joydev->keymap[i] = joydev->nkey; in joydev_connect()
867 joydev->keymap[i] = joydev->nkey; in joydev_connect()
/linux-4.4.14/drivers/media/usb/dvb-usb/
Ddvb-usb-remote.c13 struct rc_map_table *keymap, in legacy_dvb_usb_get_keymap_index() argument
27 if (keymap[index].scancode == scancode) in legacy_dvb_usb_get_keymap_index()
33 if (keymap[index].keycode == KEY_RESERVED || in legacy_dvb_usb_get_keymap_index()
34 keymap[index].keycode == KEY_UNKNOWN) { in legacy_dvb_usb_get_keymap_index()
48 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in legacy_dvb_usb_getkeycode() local
52 index = legacy_dvb_usb_get_keymap_index(ke, keymap, keymap_size); in legacy_dvb_usb_getkeycode()
56 ke->keycode = keymap[index].keycode; in legacy_dvb_usb_getkeycode()
59 ke->len = sizeof(keymap[index].scancode); in legacy_dvb_usb_getkeycode()
60 memcpy(&ke->scancode, &keymap[index].scancode, ke->len); in legacy_dvb_usb_getkeycode()
71 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in legacy_dvb_usb_setkeycode() local
[all …]
Dcxusb.c434 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in cxusb_rc_query() local
444 if (rc5_custom(&keymap[i]) == ircode[2] && in cxusb_rc_query()
445 rc5_data(&keymap[i]) == ircode[3]) { in cxusb_rc_query()
446 *event = keymap[i].keycode; in cxusb_rc_query()
459 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in cxusb_bluebird2_rc_query() local
472 if (rc5_custom(&keymap[i]) == ircode[1] && in cxusb_bluebird2_rc_query()
473 rc5_data(&keymap[i]) == ircode[2]) { in cxusb_bluebird2_rc_query()
474 *event = keymap[i].keycode; in cxusb_bluebird2_rc_query()
487 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in cxusb_d680_dmb_rc_query() local
498 if (rc5_custom(&keymap[i]) == ircode[0] && in cxusb_d680_dmb_rc_query()
[all …]
/linux-4.4.14/drivers/input/misc/
Dsgi_btns.c62 unsigned short keymap[ARRAY_SIZE(sgi_map)]; member
75 for (i = 0; i < ARRAY_SIZE(bdev->keymap); i++) { in handle_buttons()
79 input_report_key(input, bdev->keymap[i], 1); in handle_buttons()
85 input_report_key(input, bdev->keymap[i], 0); in handle_buttons()
107 memcpy(bdev->keymap, sgi_map, sizeof(bdev->keymap)); in sgi_buttons_probe()
119 input->keycode = bdev->keymap; in sgi_buttons_probe()
120 input->keycodemax = ARRAY_SIZE(bdev->keymap); in sgi_buttons_probe()
126 __set_bit(bdev->keymap[i], input->keybit); in sgi_buttons_probe()
Dcobalt_btns.c43 unsigned short keymap[ARRAY_SIZE(cobalt_map)]; member
57 for (i = 0; i < ARRAY_SIZE(bdev->keymap); i++) { in handle_buttons()
61 input_report_key(input, bdev->keymap[i], 1); in handle_buttons()
67 input_report_key(input, bdev->keymap[i], 0); in handle_buttons()
90 memcpy(bdev->keymap, cobalt_map, sizeof(bdev->keymap)); in cobalt_buttons_probe()
102 input->keycode = bdev->keymap; in cobalt_buttons_probe()
103 input->keycodemax = ARRAY_SIZE(bdev->keymap); in cobalt_buttons_probe()
109 __set_bit(bdev->keymap[i], input->keybit); in cobalt_buttons_probe()
Dmc13783-pwrbutton.c39 unsigned short keymap[3]; member
68 input_report_key(priv->pwr, priv->keymap[0], val); in button_irq()
75 input_report_key(priv->pwr, priv->keymap[1], val); in button_irq()
82 input_report_key(priv->pwr, priv->keymap[2], val); in button_irq()
129 priv->keymap[0] = pdata->b1on_key; in mc13783_pwrbutton_probe()
148 priv->keymap[1] = pdata->b2on_key; in mc13783_pwrbutton_probe()
167 priv->keymap[2] = pdata->b3on_key; in mc13783_pwrbutton_probe()
193 pwr->keycode = priv->keymap; in mc13783_pwrbutton_probe()
194 pwr->keycodemax = ARRAY_SIZE(priv->keymap); in mc13783_pwrbutton_probe()
195 pwr->keycodesize = sizeof(priv->keymap[0]); in mc13783_pwrbutton_probe()
Dapanel.c61 unsigned short keymap[MAX_PANEL_KEYS]; member
110 report_key(idev, ap->keymap[i]); in apanel_poll()
169 .keymap = {
227 idev->keycode = ap->keymap; in apanel_probe()
228 idev->keycodesize = sizeof(ap->keymap[0]); in apanel_probe()
232 if (ap->keymap[i]) in apanel_probe()
233 set_bit(ap->keymap[i], idev->keybit); in apanel_probe()
Dwistron_btns.c55 module_param_named(keymap, keymap_name, charp, 0);
56 MODULE_PARM_DESC(keymap, "Keymap name, if it can't be autodetected [generic, 1557/MS2141]");
235 static struct key_entry *keymap; /* = NULL; Current key map */ variable
244 keymap = dmi->driver_data; in dmi_matched()
245 for (key = keymap; key->type != KE_END; key++) { in dmi_matched()
1002 for (key = keymap; key->type != KE_END; key++) in copy_keymap()
1005 new_keymap = kmemdup(keymap, length * sizeof(struct key_entry), in copy_keymap()
1010 keymap = new_keymap; in copy_keymap()
1020 keymap = keymap_wistron_ms2141; in select_keymap()
1022 keymap = keymap_aopen_1557; in select_keymap()
[all …]
Dcm109.c126 unsigned short keymap[KEYMAP_SIZE]; member
291 static unsigned short (*keymap)(int) = keymap_kip1000; variable
362 report_key(dev, dev->keymap[0xff + code]); in cm109_urb_irq_callback()
375 report_key(dev, dev->keymap[dev->irq_data->byte[HID_IR1]]); in cm109_urb_irq_callback()
766 input_dev->keycode = dev->keymap; in cm109_usb_probe()
768 input_dev->keycodemax = ARRAY_SIZE(dev->keymap); in cm109_usb_probe()
775 unsigned short k = keymap(i); in cm109_usb_probe()
776 dev->keymap[i] = k; in cm109_usb_probe()
870 keymap = keymap_kip1000; in cm109_select_keymap()
874 keymap = keymap_gtalk; in cm109_select_keymap()
[all …]
Dkeyspan_remote.c113 unsigned short keymap[ARRAY_SIZE(keyspan_key_table)]; member
180 input_report_key(input, remote->keymap[button], press); in keyspan_report_button()
509 memcpy(remote->keymap, keyspan_key_table, sizeof(remote->keymap)); in keyspan_probe()
515 input_dev->keycode = remote->keymap; in keyspan_probe()
517 input_dev->keycodemax = ARRAY_SIZE(remote->keymap); in keyspan_probe()
Dims-pcu.c31 unsigned short keymap[IMS_PCU_KEYMAP_LEN]; member
168 const unsigned short *keymap; member
175 .keymap = ims_pcu_keymap_##_n, \
195 unsigned short keycode = buttons->keymap[i]; in ims_pcu_buttons_report()
205 const unsigned short *keymap, in ims_pcu_setup_buttons() argument
226 memcpy(buttons->keymap, keymap, sizeof(*keymap) * keymap_len); in ims_pcu_setup_buttons()
233 input->keycode = buttons->keymap; in ims_pcu_setup_buttons()
234 input->keycodemax = ARRAY_SIZE(buttons->keymap); in ims_pcu_setup_buttons()
235 input->keycodesize = sizeof(buttons->keymap[0]); in ims_pcu_setup_buttons()
239 __set_bit(buttons->keymap[i], input->keybit); in ims_pcu_setup_buttons()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/input/
Dstmpe-keypad.txt5 - linux,keymap : See ./matrix-keymap.txt
11 - keypad,num-rows : See ./matrix-keymap.txt
12 - keypad,num-columns : See ./matrix-keymap.txt
23 linux,keymap = <0x205006b
Dqcom,pm8xxx-keypad.txt25 - linux,keymap:
28 Definition: the linux keymap. More information can be found in
29 input/matrix-keymap.txt.
45 Definition: number of rows in the keymap. More information can be found
46 in input/matrix-keymap.txt.
51 Definition: number of columns in the keymap. More information can be
52 found in input/matrix-keymap.txt.
79 linux,keymap = <
Dnvidia,tegra20-kbc.txt14 - linux,keymap: The keymap for keys as described in the binding document
15 devicetree/bindings/input/matrix-keymap.txt.
26 - linux,fn-keymap: a second keymap, same specification as the
48 linux,keymap = <0x00000074
Dlpc32xx-key.txt3 This binding is based on the matrix-keymap binding with the following
13 - linux,keymap: the key-code to be reported when the key is pressed
15 Documentation/devicetree/bindings/input/matrix-keymap.txt
30 linux,keymap = <0x00000002>;
Dst-keyscan.txt4 matrix-keymap.
19 - linux,keymap: The keymap for keys as described in the binding document
20 devicetree/bindings/input/matrix-keymap.txt.
44 linux,keymap = < MATRIX_KEY(0x00, 0x00, KEY_F13)
Dclps711x-keypad.txt7 - linux,keymap: The definition can be found at
8 bindings/input/matrix-keymap.txt.
21 linux,keymap = <
Dti,nspire-keypad.txt18 - linux,keymap: The keymap to use
19 (see Documentation/devicetree/bindings/input/matrix-keymap.txt)
37 linux,keymap = <
Dmatrix-keymap.txt6 - linux,keymap: an array of packed 1-cell entries containing the equivalent
20 for said properties are "linux,fn-keymap" or with another descriptive
24 linux,keymap = < 0x00030012
Dbrcm,bcm-keypad.txt9 This binding is based on the matrix-keymap binding with the following
61 - linux,keymap: The keymap for keys as described in the binding document
62 devicetree/bindings/input/matrix-keymap.txt.
77 linux,keymap = <MATRIX_KEY(0x00, 0x02, KEY_F) /* key_forward */
Dtca8418_keypad.txt1 This binding is based on the matrix-keymap binding with the following
10 - linux,keymap: Keys definitions, see keypad-matrix.
Dimx-keypad.txt26 - linux,keymap: The definition can be found at
27 bindings/input/matrix-keymap.txt.
37 linux,keymap = <0x00000067 /* KEY_UP */
Dgpio-matrix-keypad.txt17 - linux,keymap: The definition can be found at
18 bindings/input/matrix-keymap.txt
41 linux,keymap = <0x0000008B
Dcros-ec-keyb.txt8 This binding is based on matrix-keymap.txt and extends/modifies it as follows:
33 linux,keymap = <
Dspear-keyboard.txt16 linux,keymap = < 0x00030012
Dpxa27x-keypad.txt13 Please refer to matrix-keymap.txt
41 linux,keymap = <0x0000000e /* KEY_BACKSPACE */
Domap-keypad.txt9 This binding is based on the matrix-keymap binding with the following
Dtwl4030-keypad.txt9 This binding is based on the matrix-keymap binding with the following
Datmel,maxtouch.txt14 - linux,gpio-keymap: When enabled, the SPT_GPIOPWN_T19 object sends messages
/linux-4.4.14/drivers/input/keyboard/
Djornada680_kbd.c71 unsigned short keymap[ARRAY_SIZE(jornada_scancodes)]; member
80 unsigned short *keymap = jornadakbd->keymap; in jornada_parse_kbd() local
99 keymap[scancode], in jornada_parse_kbd()
204 memcpy(jornadakbd->keymap, jornada_scancodes, in jornada680kbd_probe()
205 sizeof(jornadakbd->keymap)); in jornada680kbd_probe()
215 input_dev->keycode = jornadakbd->keymap; in jornada680kbd_probe()
222 if (jornadakbd->keymap[i]) in jornada680kbd_probe()
223 __set_bit(jornadakbd->keymap[i], input_dev->keybit); in jornada680kbd_probe()
Ddavinci_keyscan.c76 unsigned short keymap[]; member
126 unsigned short *keymap = davinci_ks->keymap; in davinci_ks_interrupt() local
149 keycode = keymap[i]; in davinci_ks_interrupt()
186 if (!pdata->keymap) { in davinci_ks_probe()
198 memcpy(davinci_ks->keymap, pdata->keymap, in davinci_ks_probe()
254 __set_bit(davinci_ks->pdata->keymap[i], key_dev->keybit); in davinci_ks_probe()
263 key_dev->keycode = davinci_ks->keymap; in davinci_ks_probe()
264 key_dev->keycodesize = sizeof(davinci_ks->keymap[0]); in davinci_ks_probe()
Djornada720_kbd.c54 unsigned short keymap[ARRAY_SIZE(jornada_std_keymap)]; member
84 input_report_key(input, jornadakbd->keymap[scan_code], in jornada720_kbd_interrupt()
111 memcpy(jornadakbd->keymap, jornada_std_keymap, in jornada720_kbd_probe()
118 input_dev->keycode = jornadakbd->keymap; in jornada720_kbd_probe()
124 for (i = 0; i < ARRAY_SIZE(jornadakbd->keymap); i++) in jornada720_kbd_probe()
125 __set_bit(jornadakbd->keymap[i], input_dev->keybit); in jornada720_kbd_probe()
Domap4-keypad.c85 unsigned short *keymap; member
151 keypad_data->keymap[code], in omap4_keypad_irq_thread_fn()
340 keypad_data->keymap = kzalloc(max_keys * sizeof(keypad_data->keymap[0]), in omap4_keypad_probe()
342 if (!keypad_data->keymap) { in omap4_keypad_probe()
350 keypad_data->keymap, input_dev); in omap4_keypad_probe()
381 kfree(keypad_data->keymap); in omap4_keypad_probe()
413 kfree(keypad_data->keymap); in omap4_keypad_remove()
Dlpc32xx-keys.c76 unsigned short *keymap; /* Pointer to key map for the scan matrix */ member
97 keycode = kscandat->keymap[scancode]; in lpc32xx_mod_states()
201 keymap_size = sizeof(kscandat->keymap[0]) * in lpc32xx_kscan_probe()
203 kscandat->keymap = devm_kzalloc(&pdev->dev, keymap_size, GFP_KERNEL); in lpc32xx_kscan_probe()
204 if (!kscandat->keymap) in lpc32xx_kscan_probe()
228 kscandat->keymap, kscandat->input); in lpc32xx_kscan_probe()
Dsamsung-keypad.c251 uint32_t *keymap, num_rows = 0, num_cols = 0; in samsung_keypad_parse_dt() local
284 keymap = devm_kzalloc(dev, sizeof(uint32_t) * key_count, GFP_KERNEL); in samsung_keypad_parse_dt()
285 if (!keymap) { in samsung_keypad_parse_dt()
289 keymap_data->keymap = keymap; in samsung_keypad_parse_dt()
296 *keymap++ = KEY(row, col, key_code); in samsung_keypad_parse_dt()
440 devm_kfree(&pdev->dev, (void *)pdata->keymap_data->keymap); in samsung_keypad_probe()
Dstmpe-keypad.c129 unsigned short keymap[STMPE_KEYPAD_KEYMAP_MAX_SIZE]; member
179 input_report_key(input, keypad->keymap[code], !up); in stmpe_keypad_irq()
314 if (keypad->keymap[code] != KEY_RESERVED) { in stmpe_keypad_fill_used_pins()
362 keypad->keymap, input); in stmpe_keypad_probe()
Dw90p910_keypad.c54 unsigned short keymap[W90P910_NUM_ROWS * W90P910_NUM_COLS]; member
64 unsigned int key = keypad->keymap[code]; in w90p910_keypad_scan_matrix()
195 keypad->keymap, input_dev); in w90p910_keypad_probe()
Dnspire-keypad.c41 struct matrix_keymap_data *keymap; member
57 unsigned short *keymap = input->keycode; in nspire_keypad_irq() local
87 input_report_key(input, keymap[code], in nspire_keypad_irq()
Dmpr121_touchkey.c202 if (!pdata->keymap || !pdata->keymap_size) { in mpr_touchkey_probe()
240 input_set_capability(input_dev, EV_KEY, pdata->keymap[i]); in mpr_touchkey_probe()
241 mpr121->keycodes[i] = pdata->keymap[i]; in mpr_touchkey_probe()
Dspear-keyboard.c186 const struct matrix_keymap_data *keymap = pdata ? pdata->keymap : NULL; in spear_kbd_probe() local
242 error = matrix_keypad_build_keymap(keymap, NULL, NUM_ROWS, NUM_COLS, in spear_kbd_probe()
Dcros_ec_keyb.c220 unsigned short *keymap = ckdev->idev->keycode; in cros_ec_keyb_compute_valid_keys() local
223 BUG_ON(ckdev->idev->keycodesize != sizeof(*keymap)); in cros_ec_keyb_compute_valid_keys()
227 code = keymap[MATRIX_SCAN_CODE(row, col, row_shift)]; in cros_ec_keyb_compute_valid_keys()
Dtwl4030_keypad.c61 unsigned short keymap[TWL4030_KEYMAP_SIZE]; member
245 input_report_key(input, kp->keymap[code], in twl4030_kp_scan()
396 kp->keymap, input); in twl4030_kp_probe()
Dnomadik-ske-keypad.c68 unsigned short keymap[SKE_KPD_NUM_ROWS * SKE_KPD_NUM_COLS]; member
160 input_report_key(input, keypad->keymap[code], key_pressed); in ske_keypad_report()
296 keypad->keymap, input); in ske_keypad_probe()
Dtc3589x-keypad.c111 unsigned short *keymap; member
213 input_report_key(keypad->input, keypad->keymap[code], !up); in tc3589x_keypad_irq()
423 keypad->keymap = input->keycode; in tc3589x_keypad_probe()
Dlm8323.c154 unsigned short keymap[LM8323_KEYMAP_SIZE]; member
281 unsigned short keycode = lm->keymap[key]; in process_keys()
724 __set_bit(pdata->keymap[i], idev->keybit); in lm8323_probe()
725 lm->keymap[i] = pdata->keymap[i]; in lm8323_probe()
Dmcs_touchkey.c161 unsigned int val = MCS_KEY_VAL(pdata->keymap[i]); in mcs_touchkey_probe()
162 unsigned int code = MCS_KEY_CODE(pdata->keymap[i]); in mcs_touchkey_probe()
Domap-keypad.c59 unsigned short keymap[]; member
317 omap_kp->keymap, input_dev); in omap_kp_probe()
Dbf54x-keys.c186 if (!pdata->rows || !pdata->cols || !pdata->keymap) { in bfin_kpad_probe()
282 bfin_keycodecpy(bf54x_kpad->keycode, pdata->keymap, pdata->keymapsize); in bfin_kpad_probe()
Dtca8418_keypad.c163 unsigned short *keymap = input->keycode; in tca8418_read_keypad() local
183 input_report_key(input, keymap[code], state); in tca8418_read_keypad()
Dbcm-keypad.c98 unsigned short *keymap = kp->input_dev->keycode; in bcm_kp_get_keycode() local
100 return keymap[MATRIX_SCAN_CODE(row, col, row_shift)]; in bcm_kp_get_keycode()
Dadp5520-keys.c121 memcpy(dev->keycode, pdata->keymap, in adp5520_keys_probe()
Dadp5588-keys.c453 if (!pdata->rows || !pdata->cols || !pdata->keymap) { in adp5588_probe()
535 memcpy(kpad->keycode, pdata->keymap, in adp5588_probe()
Dadp5589-keys.c899 !pdata->keymap) { in adp5589_probe()
979 memcpy(kpad->keycode, pdata->keymap, in adp5589_probe()
/linux-4.4.14/drivers/hid/
Dhid-appleir.c118 unsigned short keymap[ARRAY_SIZE(appleir_key_table)]; member
220 appleir->current_key = appleir->keymap[index]; in appleir_raw_event()
268 input_dev->keycode = appleir->keymap; in appleir_input_configured()
270 input_dev->keycodemax = ARRAY_SIZE(appleir->keymap); in appleir_input_configured()
274 memcpy(appleir->keymap, appleir_key_table, sizeof(appleir->keymap)); in appleir_input_configured()
276 set_bit(appleir->keymap[i], input_dev->keybit); in appleir_input_configured()
/linux-4.4.14/Documentation/devicetree/bindings/mfd/
Dtc3589x.txt52 bindings/input/matrix-keymap.txt
54 bindings/input/matrix-keymap.txt
55 - linux,keymap: the definition can be found in
56 bindings/input/matrix-keymap.txt
88 linux,keymap = <0x0301006b
/linux-4.4.14/include/linux/input/
Dmatrix_keypad.h31 const uint32_t *keymap; member
81 unsigned short *keymap,
Dsparse-keymap.h52 const struct key_entry *keymap,
Dadp5589.h151 const unsigned short *keymap; /* Pointer to keymap */ member
/linux-4.4.14/drivers/s390/char/
Dkeyboard.c129 unsigned short *keymap, keysym; in kbd_ascebc() local
134 keymap = kbd->key_maps[i]; in kbd_ascebc()
135 if (!keymap) in kbd_ascebc()
139 keysym = keymap[j]; in kbd_ascebc()
156 unsigned short *keymap, keysym;
161 keymap = kbd->key_maps[i];
162 if (!keymap)
165 keysym = keymap[j];
Ddefkeymap.map1 # Default keymap for 3270 (ebcdic codepage 037).
/linux-4.4.14/net/netfilter/
Dnf_conntrack_proto_gre.c123 kmp = &ct_pptp_info->keymap[dir]; in nf_ct_gre_keymap_add()
168 if (ct_pptp_info->keymap[dir]) { in nf_ct_gre_keymap_destroy()
170 ct_pptp_info->keymap[dir]); in nf_ct_gre_keymap_destroy()
171 list_del(&ct_pptp_info->keymap[dir]->list); in nf_ct_gre_keymap_destroy()
172 kfree(ct_pptp_info->keymap[dir]); in nf_ct_gre_keymap_destroy()
173 ct_pptp_info->keymap[dir] = NULL; in nf_ct_gre_keymap_destroy()
/linux-4.4.14/include/linux/i2c/
Dmpr121_touchkey.h14 const unsigned short *keymap; member
Dlm8323.h39 const unsigned short *keymap; member
Dmcs.h29 const u32 *keymap; member
Dadp5588.h145 const unsigned short *keymap; /* Pointer to keymap */ member
/linux-4.4.14/include/linux/platform_data/
Dkeyscan-davinci.h33 unsigned short *keymap; member
Dkeyboard-spear.h158 const struct matrix_keymap_data *keymap; member
/linux-4.4.14/arch/blackfin/mach-bf548/include/mach/
Dbf54x_keys.h13 const unsigned int *keymap; member
/linux-4.4.14/arch/arm/mach-pxa/
Dezx.c433 .keymap = a780_key_map,
468 .keymap = e680_key_map,
530 .keymap = a1200_key_map,
582 .keymap = e6_key_map,
634 .keymap = a910_key_map,
686 .keymap = e2_key_map,
Dpalmt5.c128 .keymap = palmt5_matrix_keys,
Dpalmtreo.c290 .keymap = treo680_matrix_keys,
295 .keymap = centro_matrix_keys,
Dpalmz72.c160 .keymap = palmz72_matrix_keys,
Dpalmld.c194 .keymap = palmld_matrix_keys,
Dpalmtx.c196 .keymap = palmtx_matrix_keys,
Dlittleton.c253 .keymap = littleton_matrix_key_map,
Dzylonite.c316 .keymap = zylonite_matrix_key_map,
Dpalmtc.c271 .keymap = palmtc_matrix_keys,
Dtavorevb.c152 .keymap = tavorevb_matrix_key_map,
Dem-x270.c851 .keymap = em_x270_module_matrix_keys,
905 .keymap = em_x270_exeda_matrix_keys,
Dz2.c416 .keymap = z2_matrix_keys,
Dmainstone.c485 .keymap = mainstone_matrix_keys,
Dcorgi.c383 .keymap = corgikbd_keymap,
Dmioa701.c245 .keymap = mioa701_matrix_keys,
Dspitz.c371 .keymap = spitz_keymap,
Dtosa.c456 .keymap = tosakbd_keymap,
/linux-4.4.14/arch/arm/mach-mmp/
Dteton_bga.c65 .keymap = teton_bga_matrix_key_map,
Daspenite.c223 .keymap = aspenite_matrix_key_map,
/linux-4.4.14/drivers/media/rc/keymaps/
DKconfig2 tristate "Compile Remote Controller keymap modules"
/linux-4.4.14/arch/arm/boot/dts/
Dqcom-msm8660-surf.dts42 linux,keymap = <
Dnspire-tp.dts16 linux,keymap = <
Dnspire-clp.dts16 linux,keymap = <
Dimx53-tx53-x03x.dts309 /* sample keymap */
311 linux,keymap = <
Dstih41x-b2000.dtsi77 linux,keymap = < MATRIX_KEY(0x00, 0x00, KEY_F13)
Dnspire-cx.dts47 linux,keymap = <
Domap3-cm-t3x30.dtsi98 linux,keymap = <
Dimx53-voipac-bsb.dts145 linux,keymap = <
Domap3-evm-common.dtsi127 linux,keymap = <
Dste-href-stuib.dtsi58 linux,keymap = <0x205006b
Dspear300-evb.dts154 linux,keymap = < 0x00000001
Dste-href-tvk1281618.dtsi70 linux,keymap = <0x0301006b
Dste-nomadik-nhk15.dts117 linux,keymap = <0x00020072 // Vol down
Dphy3250.dts184 linux,keymap = <0x00000002>;
Dimx27-pdk.dts86 linux,keymap = <
Dcros-ec-keyboard.dtsi20 linux,keymap = <
Dimx27-eukrea-mbimxsd27-baseboard.dts119 linux,keymap = <
Dimx6qdl-tx6.dtsi609 /* sample keymap */
611 linux,keymap = <
Dimx28-tx28.dts190 /* sample keymap */
191 linux,keymap = <
Dimx25-pdk.dts272 linux,keymap = <
Dqcom-msm8960-cdp.dts344 linux,keymap = <
Domap3-ldp.dts269 linux,keymap = <MATRIX_KEY(0, 0, KEY_1)
Dspear1310-evb.dts252 linux,keymap = < 0x00000001
Domap3-devkit8000-common.dtsi175 linux,keymap = <MATRIX_KEY(0, 0, KEY_1)
Dspear1340-evb.dts339 linux,keymap = < 0x00000001
Dimx6sl-evk.dts534 linux,keymap = <
Dimx51-babbage.dts363 linux,keymap = <
Dexynos5250-spring.dts346 linux,gpio-keymap = <KEY_RESERVED
Domap4-sdp.dts514 linux,keymap = <0x00000012 /* KEY_E */
Dtegra20-whistler.dts512 linux,keymap = <MATRIX_KEY(0x00, 0x00, KEY_POWER)
Dam437x-sk-evm.dts82 linux,keymap = <
Domap3-pandora-common.dtsi380 linux,keymap = <
Dam335x-evm.dts68 linux,keymap = <0x0000008b /* MENU */
Dam43x-epos-evm.dts85 linux,keymap = <0x00000201 /* P1 */
Dtegra20-harmony.dts444 linux,keymap = <MATRIX_KEY(0x00, 0x02, KEY_W)
Dexynos5420-peach-pit.dts656 linux,gpio-keymap = <KEY_RESERVED
Dexynos5800-peach-pi.dts618 linux,gpio-keymap = <KEY_RESERVED
Dtegra20-seaboard.dts546 linux,keymap = <MATRIX_KEY(0x00, 0x02, KEY_W)
Dam437x-gp-evm.dts73 linux,keymap = <0x00000201 /* P1 */
Domap3-n900.dts423 linux,keymap = < MATRIX_KEY(0x00, 0x00, KEY_Q)
Dtegra124-venice2.dts624 linux,gpio-keymap = <0 0 0 BTN_LEFT>;
/linux-4.4.14/arch/m68k/hp300/
Dhp300map.map1 # HP300 kernel keymap. This uses 7 modifier combinations.
10 # In fact AltGr is used very little, and one more keymap can
/linux-4.4.14/arch/arm/mach-omap1/
Dboard-palmte.c77 .keymap = palmte_keymap,
Dboard-palmtt.c140 .keymap = palmtt_keymap,
Dboard-palmz71.c75 .keymap = palmz71_keymap,
Dboard-nokia770.c68 .keymap = nokia770_keymap,
Dboard-perseus2.c199 .keymap = p2_keymap,
Dboard-fsample.c241 .keymap = fsample_keymap,
Dboard-innovator.c131 .keymap = innovator_keymap,
Dboard-h2.c254 .keymap = h2_keymap,
Dboard-sx1.c208 .keymap = sx1_keymap,
Dboard-h3.c291 .keymap = h3_keymap,
Dboard-osk.c342 .keymap = osk_keymap,
Dboard-htcherald.c233 .keymap = htc_herald_keymap,
Dboard-ams-delta.c335 .keymap = ams_delta_keymap,
/linux-4.4.14/Documentation/DocBook/
D.device-drivers.xml.cmd2 …de/linux/input/matrix_keypad.h include/linux/input/sparse-keymap.h drivers/input/sparse-keymap.c i…
Ddevice-drivers.xml.db1034 API-struct-matrix-keymap-data
1038 API-sparse-keymap-entry-from-scancode
1039 API-sparse-keymap-entry-from-keycode
1040 API-sparse-keymap-setup
1041 API-sparse-keymap-free
1042 API-sparse-keymap-report-entry
1043 API-sparse-keymap-report-event
/linux-4.4.14/include/linux/mfd/
Dadp5520.h172 const unsigned short *keymap; /* Pointer to keymap */ member
/linux-4.4.14/include/linux/netfilter/
Dnf_conntrack_pptp.h39 struct nf_ct_gre_keymap *keymap[IP_CT_DIR_MAX]; member
/linux-4.4.14/arch/arm/mach-omap2/
Dboard-ldp.c78 .keymap = board_keymap,
Dboard-rx51-peripherals.c440 .keymap = board_keymap,
/linux-4.4.14/drivers/tty/vt/
Ddefkeymap.map1 # Default kernel keymap. This uses 7 modifier combinations.
10 # In fact AltGr is used very little, and one more keymap can
/linux-4.4.14/drivers/input/touchscreen/
Datmel_mxt_ts.c2421 u32 *keymap; in mxt_parse_dt() local
2434 keymap = devm_kzalloc(&client->dev, in mxt_parse_dt()
2435 pdata->t19_num_keys * sizeof(keymap[0]), in mxt_parse_dt()
2437 if (!keymap) in mxt_parse_dt()
2441 keymap, pdata->t19_num_keys); in mxt_parse_dt()
2446 pdata->t19_keymap = keymap; in mxt_parse_dt()
/linux-4.4.14/arch/arm/mach-w90x900/
Ddev.c391 .keymap = nuc900_keymap,
/linux-4.4.14/arch/mips/jz4740/
Dboard-qi_lb60.c227 .keymap = qi_lb60_keymap,
/linux-4.4.14/arch/arm/mach-imx/
Dmach-mx27_3ds.c195 .keymap = mx27_3ds_keymap,
Dmach-mx31_3ds.c377 .keymap = mx31_3ds_keymap,
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dcommon.c159 if (test_bit(keyix, common->keymap)) in ath9k_cmn_rx_skb_postprocess()
/linux-4.4.14/arch/arm/mach-s3c64xx/
Dmach-smdk6410.c255 .keymap = smdk6410_keymap,
Dmach-crag6410.c204 .keymap = crag6410_keymap,
/linux-4.4.14/arch/powerpc/boot/dts/
Dac14xx.dts371 linux,keymap = <0x0000006e /* FN LEFT */
/linux-4.4.14/arch/arm/mach-davinci/
Dboard-dm365-evm.c225 .keymap = dm365evm_keymap,
/linux-4.4.14/arch/blackfin/mach-bf548/boards/
Dcm_bf548.c95 .keymap = bf548_keymap,
Dezkit.c134 .keymap = bf548_keymap,
/linux-4.4.14/arch/blackfin/mach-bf527/boards/
Dezkit.c938 .keymap = adp5520_keymap,
/linux-4.4.14/arch/blackfin/mach-bf537/boards/
Dstamp.c1873 .keymap = adp5588_keymap,
1972 .keymap = adp5520_keymap,
/linux-4.4.14/drivers/input/serio/
DKconfig231 provided keymap helper utility.
/linux-4.4.14/drivers/staging/speakup/
Dspkguide.txt373 /speakup/keymap
932 right? The new keymap lines would look like this:
941 You are now ready to load your keymap with your swapped key assignments.
942 Assuming that you saved your new keymap as the file newmap.map, you
943 would load your keymap into the sys system like this:
946 >/speakup/keymap
959 you reboot, or until you load another keymap.
Dkobjects.c854 __ATTR_RW(keymap);
/linux-4.4.14/drivers/net/wireless/ath/ath5k/
Dbase.c1232 if (test_bit(keyix, common->keymap)) in ath5k_rx_decrypted()
/linux-4.4.14/Documentation/laptops/
Dthinkpad-acpi.txt370 The version will have its LSB incremented if the keymap changes in a