/linux/drivers/input/keyboard/ |
H A D | opencores-kbd.c | 22 unsigned short keycodes[128]; member 73 input->keycode = opencores_kbd->keycodes; in opencores_kbd_probe() 74 input->keycodesize = sizeof(opencores_kbd->keycodes[0]); in opencores_kbd_probe() 75 input->keycodemax = ARRAY_SIZE(opencores_kbd->keycodes); in opencores_kbd_probe() 79 for (i = 0; i < ARRAY_SIZE(opencores_kbd->keycodes); i++) { in opencores_kbd_probe() 84 opencores_kbd->keycodes[i] = i; in opencores_kbd_probe() 85 __set_bit(opencores_kbd->keycodes[i], input->keybit); in opencores_kbd_probe()
|
H A D | cypress-sf.c | 26 u32 *keycodes; member 55 touchkey->keycodes[key], new_state); in cypress_sf_irq_handler() 103 touchkey->keycodes = devm_kcalloc(&client->dev, in cypress_sf_probe() 105 sizeof(*touchkey->keycodes), in cypress_sf_probe() 107 if (!touchkey->keycodes) in cypress_sf_probe() 111 touchkey->keycodes, in cypress_sf_probe() 120 touchkey->keycodes[0] = KEY_BACK; in cypress_sf_probe() 121 touchkey->keycodes[1] = KEY_MENU; in cypress_sf_probe() 149 EV_KEY, touchkey->keycodes[key]); in cypress_sf_probe()
|
H A D | pxa27x_keypad.c | 105 unsigned short keycodes[MAX_KEYPAD_KEYS]; member 141 keypad->keycodes, input_dev); in pxa27x_keypad_matrix_key_parse_dt() 201 keypad->keycodes[MAX_MATRIX_KEY_NUM + i] = code; in pxa27x_keypad_direct_key_parse_dt() 257 keypad->keycodes[n] = keycode; in pxa27x_keypad_rotary_parse_dt() 261 keypad->keycodes[n + 1] = keycode; in pxa27x_keypad_rotary_parse_dt() 324 input_dev->keycodemax = ARRAY_SIZE(keypad->keycodes); in pxa27x_keypad_build_keycode_from_dt() 352 keypad->keycodes, input_dev); in pxa27x_keypad_build_keycode() 360 input_dev->keycodemax = ARRAY_SIZE(keypad->keycodes); in pxa27x_keypad_build_keycode() 365 keypad->keycodes[MAX_MATRIX_KEY_NUM + i] = keycode; in pxa27x_keypad_build_keycode() 372 keypad->keycodes[MAX_MATRIX_KEY_NUM + 0] = keycode; in pxa27x_keypad_build_keycode() [all …]
|
H A D | tm2-touchkey.c | 52 u32 keycodes[4]; member 163 touchkey->keycodes[i], 0); in tm2_touchkey_irq_handler() 166 touchkey->keycodes[index], 1); in tm2_touchkey_irq_handler() 220 "linux,keycodes", touchkey->keycodes, 0, in tm2_touchkey_probe() 221 ARRAY_SIZE(touchkey->keycodes)); in tm2_touchkey_probe() 224 touchkey->keycodes[0] = KEY_PHONE; in tm2_touchkey_probe() 225 touchkey->keycodes[1] = KEY_BACK; in tm2_touchkey_probe() 253 touchkey->input_dev->keycode = touchkey->keycodes; in tm2_touchkey_probe() 255 touchkey->input_dev->keycodesize = sizeof(touchkey->keycodes[0]); in tm2_touchkey_probe() 260 touchkey->keycodes[i]); in tm2_touchkey_probe()
|
H A D | max7359_keypad.c | 58 unsigned short keycodes[MAX7359_MAX_KEY_NUM]; member 102 input_report_key(input_dev, keypad->keycodes[code], !release); in max7359_interrupt() 204 input_dev->keycodesize = sizeof(keypad->keycodes[0]); in max7359_probe() 205 input_dev->keycodemax = ARRAY_SIZE(keypad->keycodes); in max7359_probe() 206 input_dev->keycode = keypad->keycodes; in max7359_probe() 214 keypad->keycodes, in max7359_probe()
|
H A D | qt1070.c | 52 unsigned short keycodes[ARRAY_SIZE(qt1070_key2code)]; member 120 input_report_key(input, data->keycodes[i], keyval); in qt1070_interrupt() 169 input->keycode = data->keycodes; in qt1070_probe() 170 input->keycodesize = sizeof(data->keycodes[0]); in qt1070_probe() 176 data->keycodes[i] = qt1070_key2code[i]; in qt1070_probe()
|
H A D | mpr121_touchkey.c | 65 u32 keycodes[MPR121_MAX_KEY_COUNT]; member 115 key_val = mpr121->keycodes[key_num]; in mpr_touchkey_report() 228 mpr121->keycodes, in mpr_touchkey_probe() 244 input_dev->keycode = mpr121->keycodes; in mpr_touchkey_probe() 245 input_dev->keycodesize = sizeof(mpr121->keycodes[0]); in mpr_touchkey_probe() 249 input_set_capability(input_dev, EV_KEY, mpr121->keycodes[i]); in mpr_touchkey_probe()
|
H A D | cap11xx.c | 99 u32 keycodes[]; member 330 priv->keycodes[i] = KEY_A + i; in cap11xx_init_keys() 333 priv->keycodes, priv->model->num_channels); in cap11xx_init_keys() 362 input_report_key(priv->idev, priv->keycodes[i], in cap11xx_thread_func() 502 struct_size(priv, keycodes, cap->num_channels), in cap11xx_i2c_probe() 561 __set_bit(priv->keycodes[i], priv->idev->keybit); in cap11xx_i2c_probe() 565 priv->idev->keycode = priv->keycodes; in cap11xx_i2c_probe() 566 priv->idev->keycodesize = sizeof(priv->keycodes[0]); in cap11xx_i2c_probe()
|
H A D | qt2160.c | 57 unsigned short keycodes[ARRAY_SIZE(qt2160_key2code)]; member 186 input_report_key(input, qt2160->keycodes[i], keyval); in qt2160_get_key_matrix() 339 input->keycode = qt2160->keycodes; in qt2160_probe() 340 input->keycodesize = sizeof(qt2160->keycodes[0]); in qt2160_probe() 346 qt2160->keycodes[i] = qt2160_key2code[i]; in qt2160_probe()
|
H A D | sh_keysc.c | 138 k = pdata->keycodes[i]; in sh_keysc_isr() 224 input->keycode = pdata->keycodes; in sh_keysc_probe() 225 input->keycodesize = sizeof(pdata->keycodes[0]); in sh_keysc_probe() 226 input->keycodemax = ARRAY_SIZE(pdata->keycodes); in sh_keysc_probe() 236 __set_bit(pdata->keycodes[i], input->keybit); in sh_keysc_probe()
|
H A D | tegra-kbc.c | 132 unsigned short keycodes[], in tegra_kbc_report_pressed_keys() argument 139 input_report_key(input, keycodes[i], 1); in tegra_kbc_report_pressed_keys() 146 unsigned short keycodes[KBC_MAX_KPENT]; in tegra_kbc_report_keys() local 165 keycodes[num_down] = kbc->keycode[scancode]; in tegra_kbc_report_keys() 167 if ((keycodes[num_down] == KEY_FN) && kbc->use_fn_map) in tegra_kbc_report_keys() 211 keycodes[i] = kbc->keycode[scancodes[i]]; in tegra_kbc_report_keys() 221 keycodes, num_down); in tegra_kbc_report_keys() 222 tegra_kbc_report_pressed_keys(kbc->idev, scancodes, keycodes, num_down); in tegra_kbc_report_keys() 225 memcpy(kbc->current_keys, keycodes, sizeof(kbc->current_keys)); in tegra_kbc_report_keys()
|
H A D | clps711x-keypad.c | 36 const unsigned short *keycodes = input->keycode; in clps711x_keypad_poll() local 71 if (keycodes[code]) in clps711x_keypad_poll() 73 keycodes[code], state); in clps711x_keypad_poll()
|
H A D | ep93xx_keypad.c | 69 unsigned short keycodes[EP93XX_MATRIX_SIZE]; member 89 key1 = keypad->keycodes[keycode]; in ep93xx_keypad_irq_handler() 92 key2 = keypad->keycodes[keycode]; in ep93xx_keypad_irq_handler() 242 keypad->keycodes, input_dev); in ep93xx_keypad_probe()
|
H A D | lm8333.c | 36 unsigned short keycodes[LM8333_NUM_ROWS << LM8333_ROW_SHIFT]; member 96 input_report_key(input, lm8333->keycodes[code], pressed); in lm8333_key_handler() 163 lm8333->keycodes, input); in lm8333_probe()
|
H A D | qt1050.c | 119 unsigned short keycodes[QT1050_MAX_KEYS]; member 484 input->keycode = ts->keycodes; in qt1050_probe() 485 input->keycodesize = sizeof(ts->keycodes[0]); in qt1050_probe() 490 ts->keycodes[i] = ts->keys[i].keycode; in qt1050_probe() 491 __set_bit(ts->keycodes[i], input->keybit); in qt1050_probe()
|
H A D | imx_keypad.c | 67 unsigned short keycodes[MAX_MATRIX_KEY_NUM]; member 171 input_report_key(input_dev, keypad->keycodes[code], in imx_keypad_fire_events() 174 keypad->keycodes[code], in imx_keypad_fire_events() 467 keypad->keycodes, input_dev); in imx_keypad_probe() 477 if (keypad->keycodes[i] != KEY_RESERVED) { in imx_keypad_probe()
|
/linux/drivers/input/misc/ |
H A D | ibm-panel.c | 21 u32 keycodes[PANEL_KEYCODES_COUNT]; member 68 input_report_key(panel->input, panel->keycodes[button], in ibm_panel_process_command() 140 panel->keycodes, in ibm_panel_probe() 147 panel->keycodes[0] = BTN_NORTH; in ibm_panel_probe() 148 panel->keycodes[1] = BTN_SOUTH; in ibm_panel_probe() 149 panel->keycodes[2] = BTN_SELECT; in ibm_panel_probe() 153 input_set_capability(panel->input, EV_KEY, panel->keycodes[i]); in ibm_panel_probe()
|
H A D | atmel_captouch.c | 72 u32 keycodes[MAX_NUM_OF_BUTTONS]; member 151 capdev->keycodes[i], in atmel_captouch_isr() 219 capdev->keycodes, in atmel_captouch_probe() 228 __set_bit(capdev->keycodes[i], capdev->input->keybit); in atmel_captouch_probe() 230 capdev->input->keycode = capdev->keycodes; in atmel_captouch_probe() 231 capdev->input->keycodesize = sizeof(capdev->keycodes[0]); in atmel_captouch_probe()
|
/linux/drivers/input/touchscreen/ |
H A D | imagis.c | 61 u32 keycodes[5]; member 157 input_report_key(ts->input_dev, ts->keycodes[i], in imagis_interrupt() 248 ts->keycodes, 0, ARRAY_SIZE(ts->keycodes)); in imagis_init_input_dev() 250 ts->keycodes[0] = KEY_APPSELECT; in imagis_init_input_dev() 251 ts->keycodes[1] = KEY_BACK; in imagis_init_input_dev() 256 input_dev->keycodesize = sizeof(ts->keycodes[0]); in imagis_init_input_dev() 257 input_dev->keycode = ts->keycodes; in imagis_init_input_dev() 261 input_set_capability(input_dev, EV_KEY, ts->keycodes[i]); in imagis_init_input_dev()
|
H A D | msg2638.c | 78 u32 keycodes[MAX_BUTTONS]; member 102 input_report_key(msg2638->input_dev, msg2638->keycodes[i], in msg2138_report_keys() 325 input_dev->keycode = msg2638->keycodes; in msg2638_init_input_dev() 327 input_dev->keycodesize = sizeof(msg2638->keycodes[0]); in msg2638_init_input_dev() 330 EV_KEY, msg2638->keycodes[i]); in msg2638_init_input_dev() 409 } else if (msg2638->num_keycodes > ARRAY_SIZE(msg2638->keycodes)) { in msg2638_ts_probe() 411 msg2638->num_keycodes, ARRAY_SIZE(msg2638->keycodes)); in msg2638_ts_probe() 412 msg2638->num_keycodes = ARRAY_SIZE(msg2638->keycodes); in msg2638_ts_probe() 417 msg2638->keycodes, in msg2638_ts_probe()
|
H A D | zinitix.c | 161 u32 keycodes[MAX_SUPPORTED_BUTTON_NUM]; member 440 bt541->keycodes[i], icon_events & BIT(i)); in zinitix_report_keys() 577 input_dev->keycode = bt541->keycodes; in zinitix_init_input_dev() 579 input_dev->keycodesize = sizeof(bt541->keycodes[0]); in zinitix_init_input_dev() 581 input_set_capability(input_dev, EV_KEY, bt541->keycodes[i]); in zinitix_init_input_dev() 655 } else if (bt541->num_keycodes > ARRAY_SIZE(bt541->keycodes)) { in zinitix_ts_probe() 663 bt541->keycodes, in zinitix_ts_probe()
|
H A D | mms114.c | 73 u32 keycodes[MMS114_MAX_TOUCHKEYS]; member 212 input_report_key(input_dev, data->keycodes[keycode_id], touch->pressed); in mms114_process_touchkey() 528 data->keycodes, in mms114_probe() 537 input_dev->keycode = data->keycodes; in mms114_probe() 539 input_dev->keycodesize = sizeof(data->keycodes[0]); in mms114_probe() 542 EV_KEY, data->keycodes[i]); in mms114_probe()
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx7d-remarkable2.dts | 272 linux,keycodes = <KEY_HOMEPAGE>; 277 linux,keycodes = <KEY_MENU>; 282 linux,keycodes = <KEY_BACK>; 287 linux,keycodes = <KEY_SEARCH>; 292 linux,keycodes = <KEY_VOLUMEDOWN>; 297 linux,keycodes = <KEY_VOLUMEUP>; 302 linux,keycodes = <KEY_CAMERA>; 307 linux,keycodes = <KEY_POWER>;
|
/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | hideep.txt | 17 - linux,keycodes : Specifies an array of numeric keycode values to 39 linux,keycodes = <KEY_HOME>, <KEY_MENU>, <KEY_BACK>;
|
/linux/Documentation/admin-guide/media/ |
H A D | remote-controller.rst | 69 Xorg recognizes several IR keycodes that have its numerical value lower 71 and should now accept all keycodes. Yet, you may want to just reassign 72 the keycodes to something that your favorite media application likes.
|