| /kernel/linux/linux-6.6/drivers/input/keyboard/ |
| D | cypress-sf.c | 26 u32 *keycodes; member 55 touchkey->keycodes[key], new_state); in cypress_sf_irq_handler() 96 "linux,keycodes", in cypress_sf_probe() 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() 110 error = device_property_read_u32_array(&client->dev, "linux,keycodes", in cypress_sf_probe() 111 touchkey->keycodes, in cypress_sf_probe() 116 "Failed to read keycodes: %d, using defaults\n", in cypress_sf_probe() 119 /* Default keycodes */ in cypress_sf_probe() [all …]
|
| 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()
|
| 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() 223 /* default 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() [all …]
|
| 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() 321 * The keycodes may not only includes matrix key but also the direct in pxa27x_keypad_build_keycode_from_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() 357 * The keycodes may not only include matrix keys but also the direct in pxa27x_keypad_build_keycode() 360 input_dev->keycodemax = ARRAY_SIZE(keypad->keycodes); in pxa27x_keypad_build_keycode() [all …]
|
| D | mpr121_touchkey.c | 65 u32 keycodes[MPR121_MAX_KEY_COUNT]; member 151 key_val = mpr121->keycodes[key_num]; in mpr_touchkey_report() 260 mpr121->keycount = device_property_count_u32(dev, "linux,keycodes"); in mpr_touchkey_probe() 266 error = device_property_read_u32_array(dev, "linux,keycodes", in mpr_touchkey_probe() 267 mpr121->keycodes, in mpr_touchkey_probe() 283 input_dev->keycode = mpr121->keycodes; in mpr_touchkey_probe() 284 input_dev->keycodesize = sizeof(mpr121->keycodes[0]); in mpr_touchkey_probe() 288 input_set_capability(input_dev, EV_KEY, mpr121->keycodes[i]); in mpr_touchkey_probe()
|
| D | mcs_touchkey.c | 51 unsigned short keycodes[]; member 80 data->key_code = data->keycodes[key_val]; in mcs_touchkey_interrupt() 120 struct_size(data, keycodes, pdata->key_maxval + 1), in mcs_touchkey_probe() 159 input_dev->keycode = data->keycodes; in mcs_touchkey_probe() 160 input_dev->keycodesize = sizeof(data->keycodes[0]); in mcs_touchkey_probe() 167 data->keycodes[val] = code; in mcs_touchkey_probe()
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/touchscreen/ |
| D | cypress,tt21000.yaml | 40 linux,keycodes: 52 linux,keycodes: 57 - linux,keycodes 94 linux,keycodes = <KEY_HOMEPAGE>; 99 linux,keycodes = <KEY_MENU>; 104 linux,keycodes = <KEY_BACK>;
|
| /kernel/linux/linux-5.10/drivers/input/keyboard/ |
| D | opencores-kbd.c | 22 unsigned short keycodes[128]; member 80 input->keycode = opencores_kbd->keycodes; in opencores_kbd_probe() 81 input->keycodesize = sizeof(opencores_kbd->keycodes[0]); in opencores_kbd_probe() 82 input->keycodemax = ARRAY_SIZE(opencores_kbd->keycodes); in opencores_kbd_probe() 86 for (i = 0; i < ARRAY_SIZE(opencores_kbd->keycodes); i++) { in opencores_kbd_probe() 91 opencores_kbd->keycodes[i] = i; in opencores_kbd_probe() 92 __set_bit(opencores_kbd->keycodes[i], input->keybit); in opencores_kbd_probe()
|
| D | tm2-touchkey.c | 53 u32 keycodes[4]; member 162 touchkey->keycodes[i], 0); in tm2_touchkey_irq_handler() 165 touchkey->keycodes[index], 1); in tm2_touchkey_irq_handler() 219 "linux,keycodes", touchkey->keycodes, 0, in tm2_touchkey_probe() 220 ARRAY_SIZE(touchkey->keycodes)); in tm2_touchkey_probe() 222 /* default keycodes */ in tm2_touchkey_probe() 223 touchkey->keycodes[0] = KEY_PHONE; in tm2_touchkey_probe() 224 touchkey->keycodes[1] = KEY_BACK; in tm2_touchkey_probe() 254 touchkey->keycodes[i]); in tm2_touchkey_probe()
|
| 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() 321 * The keycodes may not only includes matrix key but also the direct in pxa27x_keypad_build_keycode_from_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() 357 * The keycodes may not only include matrix keys but also the direct in pxa27x_keypad_build_keycode() 360 input_dev->keycodemax = ARRAY_SIZE(keypad->keycodes); in pxa27x_keypad_build_keycode() [all …]
|
| D | mpr121_touchkey.c | 65 u32 keycodes[MPR121_MAX_KEY_COUNT]; member 151 key_val = mpr121->keycodes[key_num]; in mpr_touchkey_report() 261 mpr121->keycount = device_property_count_u32(dev, "linux,keycodes"); in mpr_touchkey_probe() 267 error = device_property_read_u32_array(dev, "linux,keycodes", in mpr_touchkey_probe() 268 mpr121->keycodes, in mpr_touchkey_probe() 284 input_dev->keycode = mpr121->keycodes; in mpr_touchkey_probe() 285 input_dev->keycodesize = sizeof(mpr121->keycodes[0]); in mpr_touchkey_probe() 289 input_set_capability(input_dev, EV_KEY, mpr121->keycodes[i]); in mpr_touchkey_probe()
|
| /kernel/linux/linux-6.6/drivers/input/misc/ |
| 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() 142 "linux,keycodes", in ibm_panel_probe() 143 panel->keycodes, in ibm_panel_probe() 150 panel->keycodes[0] = BTN_NORTH; in ibm_panel_probe() 151 panel->keycodes[1] = BTN_SOUTH; in ibm_panel_probe() 152 panel->keycodes[2] = BTN_SELECT; in ibm_panel_probe() 156 input_set_capability(panel->input, EV_KEY, panel->keycodes[i]); in ibm_panel_probe()
|
| D | atmel_captouch.c | 64 * @keycodes: map of button# to KeyCode 72 u32 keycodes[MAX_NUM_OF_BUTTONS]; member 151 capdev->keycodes[i], in atmel_captouch_isr() 218 err = of_property_read_u32_array(node, "linux,keycodes", in atmel_captouch_probe() 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()
|
| /kernel/linux/linux-6.6/drivers/input/touchscreen/ |
| 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() 402 "linux,keycodes"); in msg2638_ts_probe() 406 dev_err(dev, "Unable to parse linux,keycodes property: %d\n", in msg2638_ts_probe() 409 } else if (msg2638->num_keycodes > ARRAY_SIZE(msg2638->keycodes)) { in msg2638_ts_probe() 410 dev_warn(dev, "Found %d linux,keycodes but max is %zd, ignoring the rest\n", in msg2638_ts_probe() 411 msg2638->num_keycodes, ARRAY_SIZE(msg2638->keycodes)); in msg2638_ts_probe() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/nvec/ |
| D | nvec_kbd.c | 28 static unsigned char keycodes[ARRAY_SIZE(code_tab_102us) variable 120 keycodes[j++] = code_tab_102us[i]; in nvec_kbd_probe() 123 keycodes[j++] = extcode_tab_us102[i]; in nvec_kbd_probe() 133 idev->keycode = keycodes; in nvec_kbd_probe() 135 idev->keycodemax = ARRAY_SIZE(keycodes); in nvec_kbd_probe() 137 for (i = 0; i < ARRAY_SIZE(keycodes); ++i) in nvec_kbd_probe() 138 set_bit(keycodes[i], idev->keybit); in nvec_kbd_probe()
|
| /kernel/linux/linux-6.6/drivers/staging/nvec/ |
| D | nvec_kbd.c | 28 static unsigned char keycodes[ARRAY_SIZE(code_tab_102us) variable 120 keycodes[j++] = code_tab_102us[i]; in nvec_kbd_probe() 123 keycodes[j++] = extcode_tab_us102[i]; in nvec_kbd_probe() 133 idev->keycode = keycodes; in nvec_kbd_probe() 135 idev->keycodemax = ARRAY_SIZE(keycodes); in nvec_kbd_probe() 137 for (i = 0; i < ARRAY_SIZE(keycodes); ++i) in nvec_kbd_probe() 138 set_bit(keycodes[i], idev->keybit); in nvec_kbd_probe()
|
| /kernel/linux/linux-5.10/drivers/input/misc/ |
| D | atmel_captouch.c | 64 * @keycodes: map of button# to KeyCode 72 u32 keycodes[MAX_NUM_OF_BUTTONS]; member 151 capdev->keycodes[i], in atmel_captouch_isr() 219 err = of_property_read_u32_array(node, "linux,keycodes", in atmel_captouch_probe() 220 capdev->keycodes, in atmel_captouch_probe() 229 __set_bit(capdev->keycodes[i], capdev->input->keybit); in atmel_captouch_probe() 231 capdev->input->keycode = capdev->keycodes; in atmel_captouch_probe() 232 capdev->input->keycodesize = sizeof(capdev->keycodes[0]); in atmel_captouch_probe()
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/ |
| D | fsl,mpr121-touchkey.yaml | 36 linux,keycodes: 48 - linux,keycodes 67 linux,keycodes = <KEY_0>, <KEY_1>, <KEY_2>, <KEY_3>, 86 linux,keycodes = <KEY_0>, <KEY_1>, <KEY_2>, <KEY_3>,
|
| D | mediatek,pmic-keys.yaml | 58 linux,keycodes: 64 - linux,keycodes 107 linux,keycodes = <KEY_POWER>; 112 linux,keycodes = <KEY_VOLUMEDOWN>;
|
| D | fsl,scu-key.yaml | 24 linux,keycodes: 29 - linux,keycodes 39 linux,keycodes = <KEY_POWER>;
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/ |
| D | fsl,mpr121-touchkey.yaml | 37 linux,keycodes: 49 - linux,keycodes 68 linux,keycodes = <KEY_0>, <KEY_1>, <KEY_2>, <KEY_3>, 87 linux,keycodes = <KEY_0>, <KEY_1>, <KEY_2>, <KEY_3>,
|
| D | cypress,tm2-touchkey.txt | 16 - linux,keycodes: array of keycodes (max 4), default KEY_PHONE and KEY_BACK 31 linux,keycodes = <KEY_PHONE KEY_BACK>;
|
| D | mtk-pmic-keys.txt | 13 - linux,keycodes: See Documentation/devicetree/bindings/input/input.yaml 34 linux,keycodes = <116>; 39 linux,keycodes = <114>;
|
| /kernel/linux/linux-5.10/drivers/media/rc/keymaps/ |
| D | rc-hauppauge.c | 27 * Keycodes start with address = 0x1e 93 * Keycodes start with address = 0x1f 140 * Keycodes for DSR-0112 remote bundled with Haupauge MiniStick 141 * Keycodes start with address = 0x1d 181 * Keycodes for PT# R-005 remote bundled with Haupauge HVR-930C 182 * Keycodes start with address = 0x1c 232 * Keycodes for the old Black Remote Controller 234 * Keycodes start with address = 0x00
|
| /kernel/linux/linux-6.6/drivers/media/rc/keymaps/ |
| D | rc-hauppauge.c | 27 * Keycodes start with address = 0x1e 93 * Keycodes start with address = 0x1f 140 * Keycodes for DSR-0112 remote bundled with Haupauge MiniStick 141 * Keycodes start with address = 0x1d 181 * Keycodes for PT# R-005 remote bundled with Haupauge HVR-930C 182 * Keycodes start with address = 0x1c 232 * Keycodes for the old Black Remote Controller 234 * Keycodes start with address = 0x00
|