/drivers/input/keyboard/ |
D | opencores-kbd.c | 23 unsigned short keycodes[128]; member 85 input->keycode = opencores_kbd->keycodes; in opencores_kbd_probe() 86 input->keycodesize = sizeof(opencores_kbd->keycodes[0]); in opencores_kbd_probe() 87 input->keycodemax = ARRAY_SIZE(opencores_kbd->keycodes); in opencores_kbd_probe() 91 for (i = 0; i < ARRAY_SIZE(opencores_kbd->keycodes); i++) { in opencores_kbd_probe() 96 opencores_kbd->keycodes[i] = i; in opencores_kbd_probe() 97 __set_bit(opencores_kbd->keycodes[i], input->keybit); in opencores_kbd_probe()
|
D | pxa27x_keypad.c | 108 unsigned short keycodes[MAX_KEYPAD_KEYS]; member 144 keypad->keycodes, input_dev); in pxa27x_keypad_matrix_key_parse_dt() 204 keypad->keycodes[MAX_MATRIX_KEY_NUM + i] = code; in pxa27x_keypad_direct_key_parse_dt() 260 keypad->keycodes[n] = keycode; in pxa27x_keypad_rotary_parse_dt() 264 keypad->keycodes[n + 1] = keycode; in pxa27x_keypad_rotary_parse_dt() 327 input_dev->keycodemax = ARRAY_SIZE(keypad->keycodes); in pxa27x_keypad_build_keycode_from_dt() 355 keypad->keycodes, input_dev); in pxa27x_keypad_build_keycode() 363 input_dev->keycodemax = ARRAY_SIZE(keypad->keycodes); in pxa27x_keypad_build_keycode() 368 keypad->keycodes[MAX_MATRIX_KEY_NUM + i] = keycode; in pxa27x_keypad_build_keycode() 375 keypad->keycodes[MAX_MATRIX_KEY_NUM + 0] = keycode; in pxa27x_keypad_build_keycode() [all …]
|
D | max7359_keypad.c | 61 unsigned short keycodes[MAX7359_MAX_KEY_NUM]; member 105 input_report_key(input_dev, keypad->keycodes[code], !release); in max7359_interrupt() 208 input_dev->keycodesize = sizeof(keypad->keycodes[0]); in max7359_probe() 209 input_dev->keycodemax = ARRAY_SIZE(keypad->keycodes); in max7359_probe() 210 input_dev->keycode = keypad->keycodes; in max7359_probe() 218 keypad->keycodes, in max7359_probe()
|
D | mcs_touchkey.c | 55 unsigned short keycodes[]; member 84 data->key_code = data->keycodes[key_val]; in mcs_touchkey_interrupt() 117 sizeof(data->keycodes[0]) * (pdata->key_maxval + 1), in mcs_touchkey_probe() 156 input_dev->keycode = data->keycodes; in mcs_touchkey_probe() 157 input_dev->keycodesize = sizeof(data->keycodes[0]); in mcs_touchkey_probe() 164 data->keycodes[val] = code; in mcs_touchkey_probe()
|
D | cap11xx.c | 92 u32 keycodes[]; member 199 input_report_key(priv->idev, priv->keycodes[i], in cap11xx_thread_func() 361 cap->num_channels * sizeof(priv->keycodes[0]), in cap11xx_i2c_probe() 414 priv->keycodes[i] = KEY_A + i; in cap11xx_i2c_probe() 417 priv->keycodes, cap->num_channels); in cap11xx_i2c_probe() 442 __set_bit(priv->keycodes[i], priv->idev->keybit); in cap11xx_i2c_probe() 446 priv->idev->keycode = priv->keycodes; in cap11xx_i2c_probe() 447 priv->idev->keycodesize = sizeof(priv->keycodes[0]); in cap11xx_i2c_probe()
|
D | qt1070.c | 65 unsigned short keycodes[ARRAY_SIZE(qt1070_key2code)]; member 133 input_report_key(input, data->keycodes[i], keyval); in qt1070_interrupt() 183 input->keycode = data->keycodes; in qt1070_probe() 184 input->keycodesize = sizeof(data->keycodes[0]); in qt1070_probe() 190 data->keycodes[i] = qt1070_key2code[i]; in qt1070_probe()
|
D | mpr121_touchkey.c | 65 u16 keycodes[MPR121_MAX_KEY_COUNT]; member 115 key_val = mpr121->keycodes[key_num]; in mpr_touchkey_interrupt() 241 input_dev->keycode = mpr121->keycodes; in mpr_touchkey_probe() 242 input_dev->keycodesize = sizeof(mpr121->keycodes[0]); in mpr_touchkey_probe() 247 mpr121->keycodes[i] = pdata->keymap[i]; in mpr_touchkey_probe()
|
D | tegra-kbc.c | 145 unsigned short keycodes[], in tegra_kbc_report_pressed_keys() argument 152 input_report_key(input, keycodes[i], 1); in tegra_kbc_report_pressed_keys() 159 unsigned short keycodes[KBC_MAX_KPENT]; in tegra_kbc_report_keys() local 178 keycodes[num_down] = kbc->keycode[scancode]; in tegra_kbc_report_keys() 180 if ((keycodes[num_down] == KEY_FN) && kbc->use_fn_map) in tegra_kbc_report_keys() 224 keycodes[i] = kbc->keycode[scancodes[i]]; in tegra_kbc_report_keys() 234 keycodes, num_down); in tegra_kbc_report_keys() 235 tegra_kbc_report_pressed_keys(kbc->idev, scancodes, keycodes, num_down); in tegra_kbc_report_keys() 238 memcpy(kbc->current_keys, keycodes, sizeof(kbc->current_keys)); in tegra_kbc_report_keys()
|
D | sh_keysc.c | 141 k = pdata->keycodes[i]; in sh_keysc_isr() 229 input->keycode = pdata->keycodes; in sh_keysc_probe() 230 input->keycodesize = sizeof(pdata->keycodes[0]); in sh_keysc_probe() 231 input->keycodemax = ARRAY_SIZE(pdata->keycodes); in sh_keysc_probe() 241 __set_bit(pdata->keycodes[i], input->keybit); in sh_keysc_probe()
|
D | clps711x-keypad.c | 39 const unsigned short *keycodes = dev->input->keycode; in clps711x_keypad_poll() local 74 if (keycodes[code]) in clps711x_keypad_poll() 76 keycodes[code], state); in clps711x_keypad_poll()
|
D | qt2160.c | 73 unsigned short keycodes[ARRAY_SIZE(qt2160_key2code)]; member 210 input_report_key(input, qt2160->keycodes[i], keyval); in qt2160_get_key_matrix() 414 input->keycode = qt2160->keycodes; in qt2160_probe() 415 input->keycodesize = sizeof(qt2160->keycodes[0]); in qt2160_probe() 421 qt2160->keycodes[i] = qt2160_key2code[i]; in qt2160_probe()
|
D | lm8333.c | 39 unsigned short keycodes[LM8333_NUM_ROWS << LM8333_ROW_SHIFT]; member 99 input_report_key(input, lm8333->keycodes[code], pressed); in lm8333_key_handler() 167 lm8333->keycodes, input); in lm8333_probe()
|
D | ep93xx_keypad.c | 74 unsigned short keycodes[EP93XX_MATRIX_SIZE]; member 94 key1 = keypad->keycodes[keycode]; in ep93xx_keypad_irq_handler() 97 key2 = keypad->keycodes[keycode]; in ep93xx_keypad_irq_handler() 309 keypad->keycodes, input_dev); in ep93xx_keypad_probe()
|
D | imx_keypad.c | 70 unsigned short keycodes[MAX_MATRIX_KEY_NUM]; member 174 input_report_key(input_dev, keypad->keycodes[code], in imx_keypad_fire_events() 177 keypad->keycodes[code], in imx_keypad_fire_events() 483 keypad->keycodes, input_dev); in imx_keypad_probe() 493 if (keypad->keycodes[i] != KEY_RESERVED) { in imx_keypad_probe()
|
D | spear-keyboard.c | 63 unsigned short keycodes[NUM_ROWS * NUM_COLS]; member 88 key = kbd->keycodes[val]; in spear_kbd_interrupt() 243 kbd->keycodes, input_dev); in spear_kbd_probe()
|
D | samsung-keypad.c | 80 unsigned short keycodes[]; member 139 keypad->keycodes[val], pressed); in samsung_keypad_report() 354 keymap_size = (pdata->rows << row_shift) * sizeof(keypad->keycodes[0]); in samsung_keypad_probe() 405 keypad->keycodes, input_dev); in samsung_keypad_probe()
|
D | cros_ec_keyb.c | 134 const unsigned short *keycodes = idev->keycode; in cros_ec_keyb_process() local 143 input_report_key(idev, keycodes[pos], in cros_ec_keyb_process()
|
D | omap-keypad.c | 107 unsigned short *keycodes = omap_kp_data->input->keycode; in omap_kp_tasklet() local 131 key = keycodes[MATRIX_SCAN_CODE(row, col, row_shift)]; in omap_kp_tasklet()
|
D | pmic8xxx-keypad.c | 107 unsigned short keycodes[PM8XXX_MATRIX_MAX_SIZE]; member 250 kp->keycodes[code], in __pmic8xxx_kp_scan_matrix() 579 kp->keycodes, kp->input); in pmic8xxx_kp_probe()
|
D | matrix_keypad.c | 121 const unsigned short *keycodes = input_dev->keycode; in matrix_keypad_scan() local 157 keycodes[code], in matrix_keypad_scan()
|
D | Kconfig | 108 PS/2 keyboard, and your keyboard uses keycodes that are specific to
|
/drivers/staging/nvec/ |
D | nvec_kbd.c | 32 static unsigned char keycodes[ARRAY_SIZE(code_tab_102us) variable 124 keycodes[j++] = code_tab_102us[i]; in nvec_kbd_probe() 127 keycodes[j++] = extcode_tab_us102[i]; in nvec_kbd_probe() 135 idev->keycode = keycodes; in nvec_kbd_probe() 137 idev->keycodemax = ARRAY_SIZE(keycodes); in nvec_kbd_probe() 139 for (i = 0; i < ARRAY_SIZE(keycodes); ++i) in nvec_kbd_probe() 140 set_bit(keycodes[i], idev->keybit); in nvec_kbd_probe()
|
/drivers/input/misc/ |
D | atmel_captouch.c | 80 u32 keycodes[MAX_NUM_OF_BUTTONS]; member 159 capdev->keycodes[i], in atmel_captouch_isr() 229 capdev->keycodes, in atmel_captouch_probe() 238 __set_bit(capdev->keycodes[i], capdev->input->keybit); in atmel_captouch_probe() 240 capdev->input->keycode = capdev->keycodes; in atmel_captouch_probe() 241 capdev->input->keycodesize = sizeof(capdev->keycodes[0]); in atmel_captouch_probe()
|
D | keychord.c | 38 kc->count * sizeof(kc->keycodes[0]))) 78 if (!test_bit(keychord->keycodes[i], kdev->keystate)) in check_keychord() 338 key_bytes = keychord->count * sizeof(keychord->keycodes[0]); in keychord_write() 355 key = keychord->keycodes[i]; in keychord_write()
|