Home
last modified time | relevance | path

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

/linux/include/uapi/linux/
A 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 */
A Dinput-event-codes.h782 #define KEY_MAX 0x2ff macro
783 #define KEY_CNT (KEY_MAX+1)
/linux/scripts/kconfig/lxdialog/
A Ddialog.h78 #define ERRDISPLAYTOOSMALL (KEY_MAX + 1)
238 #define M_EVENT (KEY_MAX+1)
/linux/include/linux/platform_data/
A Dkeypad-omap.h41 #if KEY_MAX & GROUP_MASK
/linux/drivers/input/
A Dinput.c187 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 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()
A 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/drivers/tty/
A Dsysrq.c685 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 Dlinux-event-codes.h782 #define KEY_MAX 0x2ff macro
783 #define KEY_CNT (KEY_MAX+1)
/linux/net/tipc/
A 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)
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 Dpcf8574_keypad.c114 if (lp->btncode[i] <= KEY_MAX) { in pcf8574_kp_probe()
A Dxen-kbdfront.c259 for (i = KEY_OK; i < KEY_MAX; i++) in xenkbd_probe()
A Duinput.c888 retval = uinput_set_bit(arg, keybit, KEY_MAX); in uinput_ioctl_handler()
/linux/drivers/input/keyboard/
A Dgoldfish_events.c151 events_import_bits(edev, input_dev->keybit, EV_KEY, KEY_MAX); in events_probe()
A Dqt1050.c360 if (button.keycode >= KEY_MAX) { in qt1050_parse_fw()
A Dadp5588-keys.c548 if (kpad->keycode[i] <= KEY_MAX) in adp5588_probe()
A Dadp5589-keys.c910 if (kpad->keycode[i] <= KEY_MAX) in adp5589_keypad_add()
/linux/drivers/platform/x86/
A 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/include/linux/
A Dinput.h227 #if KEY_MAX != INPUT_DEVICE_ID_KEY_MAX
A Dhid.h1002 limit = KEY_MAX; in hid_map_usage()
/linux/net/ipv4/
A Dfib_trie.c111 #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 Dhid-debug.c729 static const char *keys[KEY_MAX + 1] = {
A Dhid-core.c2581 for (i = 0; i < BITS_TO_LONGS(KEY_MAX); i++) in hid_check_keys_pressed()
/linux/Documentation/input/
A Dinput-programming.rst222 KEY_MAX). Value is interpreted as a truth value, i.e. any non-zero value means
/linux/drivers/tty/vt/
A Dkeyboard.c1530 if (event_type == EV_KEY && event_code <= KEY_MAX) in kbd_event()

Completed in 87 milliseconds