Home
last modified time | relevance | path

Searched refs:KEY_MAX (Results 1 – 24 of 24) sorted by relevance

/linux-6.1.9/include/uapi/linux/
Djoystick.h66 #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 */
Dinput-event-codes.h805 #define KEY_MAX 0x2ff macro
806 #define KEY_CNT (KEY_MAX+1)
/linux-6.1.9/scripts/kconfig/lxdialog/
Ddialog.h78 #define ERRDISPLAYTOOSMALL (KEY_MAX + 1)
238 #define M_EVENT (KEY_MAX+1)
/linux-6.1.9/include/linux/platform_data/
Dkeypad-omap.h41 #if KEY_MAX & GROUP_MASK
/linux-6.1.9/drivers/input/
Dinput.c52 [EV_KEY] = KEY_MAX,
265 if (is_event_supported(code, dev->keybit, KEY_MAX)) { in input_get_disposition()
907 if (*old_keycode <= KEY_MAX) { in input_default_setkeycode()
958 if (ke->keycode > KEY_MAX) in input_set_keycode()
974 if (old_keycode > KEY_MAX) { in input_set_keycode()
979 !is_event_supported(old_keycode, dev->keybit, KEY_MAX) && in input_set_keycode()
1020 !bitmap_subset(id->keybit, dev->keybit, KEY_MAX) || in input_match_device_id()
1215 input_seq_print_bitmap(seq, "KEY", dev->keybit, KEY_MAX); in input_devices_seq_show()
1399 'k', id->keybit, KEY_MIN_INTERESTING, KEY_MAX); in input_print_modalias()
1697 INPUT_ADD_HOTPLUG_BM_VAR("KEY=", dev->keybit, KEY_MAX); in input_dev_uevent()
[all …]
Djoydev.c50 __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()
Devdev.c788 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-6.1.9/drivers/tty/
Dsysrq.c688 if (key == KEY_RESERVED || key > KEY_MAX) in sysrq_parse_reset_sequence()
776 if (key == KEY_RESERVED || key > KEY_MAX || in sysrq_of_get_keyreset_config()
1060 if (val > KEY_MAX) in sysrq_reset_seq_param_set()
/linux-6.1.9/include/dt-bindings/input/
Dlinux-event-codes.h805 #define KEY_MAX 0x2ff macro
806 #define KEY_CNT (KEY_MAX+1)
/linux-6.1.9/net/tipc/
Dcrypto.c63 KEY_MAX = KEY_3, enumerator
206 struct tipc_aead __rcu *aead[KEY_MAX + 1];
313 #define key_next(cur) ((cur) % KEY_MAX + 1)
1229 for (k = KEY_MIN; k <= KEY_MAX; k++) in tipc_crypto_key_flush()
1278 x = (key.passive - key.pending + new_pending) % KEY_MAX; in tipc_crypto_key_try_align()
1279 new_passive = (x <= 0) ? x + KEY_MAX : x; in tipc_crypto_key_try_align()
1530 for (k = KEY_MIN; k <= KEY_MAX; k++) in tipc_crypto_stop()
2077 for (k = KEY_MIN; k <= KEY_MAX; k++) { in tipc_crypto_key_dump()
/linux-6.1.9/drivers/input/misc/
Dpcf8574_keypad.c114 if (lp->btncode[i] <= KEY_MAX) { in pcf8574_kp_probe()
Dxen-kbdfront.c259 for (i = KEY_OK; i < KEY_MAX; i++) in xenkbd_probe()
Duinput.c888 retval = uinput_set_bit(arg, keybit, KEY_MAX); in uinput_ioctl_handler()
/linux-6.1.9/drivers/input/keyboard/
Dgoldfish_events.c151 events_import_bits(edev, input_dev->keybit, EV_KEY, KEY_MAX); in events_probe()
Dqt1050.c360 if (button.keycode >= KEY_MAX) { in qt1050_parse_fw()
Dadp5589-keys.c910 if (kpad->keycode[i] <= KEY_MAX) in adp5589_keypad_add()
/linux-6.1.9/drivers/platform/x86/
Dclassmate-laptop.c1028 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-6.1.9/include/linux/
Dinput.h227 #if KEY_MAX != INPUT_DEVICE_ID_KEY_MAX
Dhid.h1036 limit = KEY_MAX; in hid_map_usage()
/linux-6.1.9/net/ipv4/
Dfib_trie.c112 #define KEY_MAX ((t_key)~0) macro
840 used -= KEY_MAX; in should_collapse()
2905 iter->key = KEY_MAX; in fib_route_seq_start()
/linux-6.1.9/drivers/hid/
Dhid-debug.c764 static const char *keys[KEY_MAX + 1] = {
Dhid-core.c2899 for (i = 0; i < BITS_TO_LONGS(KEY_MAX); i++) in hid_check_keys_pressed()
/linux-6.1.9/Documentation/input/
Dinput-programming.rst222 KEY_MAX). Value is interpreted as a truth value, i.e. any non-zero value means
/linux-6.1.9/drivers/tty/vt/
Dkeyboard.c1542 if (event_type == EV_KEY && event_code <= KEY_MAX) in kbd_event()