/linux/include/uapi/linux/ |
A D | joystick.h | 66 #define JSIOCSBTNMAP _IOW('j', 0x33, __u16[KEY_MAX - BTN_MISC + 1]) /* set button mapping */ 67 #define JSIOCGBTNMAP _IOR('j', 0x34, __u16[KEY_MAX - BTN_MISC + 1]) /* get button mapping */
|
A D | input-event-codes.h | 782 #define KEY_MAX 0x2ff macro 783 #define KEY_CNT (KEY_MAX+1)
|
/linux/scripts/kconfig/lxdialog/ |
A D | dialog.h | 78 #define ERRDISPLAYTOOSMALL (KEY_MAX + 1) 238 #define M_EVENT (KEY_MAX+1)
|
/linux/include/linux/platform_data/ |
A D | keypad-omap.h | 41 #if KEY_MAX & GROUP_MASK
|
/linux/drivers/input/ |
A D | input.c | 187 is_event_supported(dev->repeat_key, dev->keybit, KEY_MAX)) { in input_repeat_key() 285 if (is_event_supported(code, dev->keybit, KEY_MAX)) { in input_get_disposition() 886 if (*old_keycode <= KEY_MAX) { in input_default_setkeycode() 937 if (ke->keycode > KEY_MAX) in input_set_keycode() 953 if (old_keycode > KEY_MAX) { in input_set_keycode() 958 !is_event_supported(old_keycode, dev->keybit, KEY_MAX) && in input_set_keycode() 995 !bitmap_subset(id->keybit, dev->keybit, KEY_MAX) || in input_match_device_id() 1190 input_seq_print_bitmap(seq, "KEY", dev->keybit, KEY_MAX); in input_devices_seq_show() 1374 'k', id->keybit, KEY_MIN_INTERESTING, KEY_MAX); in input_print_modalias() 1672 INPUT_ADD_HOTPLUG_BM_VAR("KEY=", dev->keybit, KEY_MAX); in input_dev_uevent()
|
A D | joydev.c | 50 __u16 keymap[KEY_MAX - BTN_MISC + 1]; 51 __u16 keypam[KEY_MAX - BTN_MISC + 1]; 493 if (keypam[i] > KEY_MAX || keypam[i] < BTN_MISC) { in joydev_handle_JSIOCSBTNMAP() 954 for (i = BTN_JOYSTICK - BTN_MISC; i < KEY_MAX - BTN_MISC + 1; i++) in joydev_connect()
|
A D | evdev.c | 788 case EV_KEY: bits = dev->keybit; len = KEY_MAX; break; in handle_eviocgbit() 1156 KEY_MAX, size, p, compat_mode); in evdev_do_ioctl()
|
/linux/drivers/tty/ |
A D | sysrq.c | 685 if (key == KEY_RESERVED || key > KEY_MAX) in sysrq_parse_reset_sequence() 773 if (key == KEY_RESERVED || key > KEY_MAX || in sysrq_of_get_keyreset_config() 1057 if (val > KEY_MAX) in sysrq_reset_seq_param_set()
|
/linux/include/dt-bindings/input/ |
A D | linux-event-codes.h | 782 #define KEY_MAX 0x2ff macro 783 #define KEY_CNT (KEY_MAX+1)
|
/linux/net/tipc/ |
A D | crypto.c | 63 KEY_MAX = KEY_3, enumerator 206 struct tipc_aead __rcu *aead[KEY_MAX + 1]; 313 #define key_next(cur) ((cur) % KEY_MAX + 1) 1240 for (k = KEY_MIN; k <= KEY_MAX; k++) in tipc_crypto_key_flush() 1289 x = (key.passive - key.pending + new_pending) % KEY_MAX; in tipc_crypto_key_try_align() 1290 new_passive = (x <= 0) ? x + KEY_MAX : x; in tipc_crypto_key_try_align() 1541 for (k = KEY_MIN; k <= KEY_MAX; k++) in tipc_crypto_stop() 2085 for (k = KEY_MIN; k <= KEY_MAX; k++) { in tipc_crypto_key_dump()
|
/linux/drivers/input/misc/ |
A D | pcf8574_keypad.c | 114 if (lp->btncode[i] <= KEY_MAX) { in pcf8574_kp_probe()
|
A D | xen-kbdfront.c | 259 for (i = KEY_OK; i < KEY_MAX; i++) in xenkbd_probe()
|
A D | uinput.c | 888 retval = uinput_set_bit(arg, keybit, KEY_MAX); in uinput_ioctl_handler()
|
/linux/drivers/input/keyboard/ |
A D | goldfish_events.c | 151 events_import_bits(edev, input_dev->keybit, EV_KEY, KEY_MAX); in events_probe()
|
A D | qt1050.c | 360 if (button.keycode >= KEY_MAX) { in qt1050_parse_fw()
|
A D | adp5588-keys.c | 548 if (kpad->keycode[i] <= KEY_MAX) in adp5588_probe()
|
A D | adp5589-keys.c | 910 if (kpad->keycode[i] <= KEY_MAX) in adp5589_keypad_add()
|
/linux/drivers/platform/x86/ |
A D | classmate-laptop.c | 1028 KEY_MAX 1034 int code = KEY_MAX; in cmpc_keys_handler() 1048 for (i = 0; cmpc_keys_codes[i] != KEY_MAX; i++) in cmpc_keys_idev_init()
|
/linux/include/linux/ |
A D | input.h | 227 #if KEY_MAX != INPUT_DEVICE_ID_KEY_MAX
|
A D | hid.h | 1002 limit = KEY_MAX; in hid_map_usage()
|
/linux/net/ipv4/ |
A D | fib_trie.c | 111 #define KEY_MAX ((t_key)~0) macro 839 used -= KEY_MAX; in should_collapse() 2889 iter->key = KEY_MAX; in fib_route_seq_start()
|
/linux/drivers/hid/ |
A D | hid-debug.c | 729 static const char *keys[KEY_MAX + 1] = {
|
A D | hid-core.c | 2581 for (i = 0; i < BITS_TO_LONGS(KEY_MAX); i++) in hid_check_keys_pressed()
|
/linux/Documentation/input/ |
A D | input-programming.rst | 222 KEY_MAX). Value is interpreted as a truth value, i.e. any non-zero value means
|
/linux/drivers/tty/vt/ |
A D | keyboard.c | 1530 if (event_type == EV_KEY && event_code <= KEY_MAX) in kbd_event()
|