Home
last modified time | relevance | path

Searched refs:KEY_CNT (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/drivers/input/
Djoydev.c822 DECLARE_BITMAP(jd_scratch, KEY_CNT); in joydev_dev_is_absolute_mouse()
825 BUILD_BUG_ON(ABS_CNT > KEY_CNT || EV_CNT > KEY_CNT); in joydev_dev_is_absolute_mouse()
880 bitmap_zero(jd_scratch, KEY_CNT); in joydev_dev_is_absolute_mouse()
885 if (!bitmap_equal(dev->keybit, jd_scratch, KEY_CNT)) in joydev_dev_is_absolute_mouse()
Devdev.c61 [EV_KEY] = KEY_CNT, in evdev_get_mask_cnt()
Dinput.c740 for_each_set_bit(code, dev->key, KEY_CNT) { in input_dev_release_keys()
/linux-6.6.21/include/linux/
Dinput.h146 unsigned long keybit[BITS_TO_LONGS(KEY_CNT)];
180 unsigned long key[BITS_TO_LONGS(KEY_CNT)];
/linux-6.6.21/drivers/tty/
Dsysrq.c641 static const unsigned char sysrq_xlate[KEY_CNT] =
653 unsigned long key_down[BITS_TO_LONGS(KEY_CNT)];
665 unsigned long reset_keybit[BITS_TO_LONGS(KEY_CNT)];
/linux-6.6.21/drivers/input/mouse/
Dlifebook.c324 bitmap_zero(dev1->keybit, KEY_CNT); in lifebook_init()
Dsynaptics.c1264 bitmap_zero(dev->keybit, KEY_CNT); in set_input_params()
Dpsmouse-base.c965 bitmap_zero(input_dev->keybit, KEY_CNT); in psmouse_apply_defaults()
/linux-6.6.21/include/uapi/linux/
Dinput-event-codes.h809 #define KEY_CNT (KEY_MAX+1) macro
/linux-6.6.21/drivers/virtio/
Dvirtio_input.c286 vi->idev->keybit, KEY_CNT); in virtinput_probe()
/linux-6.6.21/include/dt-bindings/input/
Dlinux-event-codes.h809 #define KEY_CNT (KEY_MAX+1) macro
/linux-6.6.21/drivers/tty/vt/
Dkeyboard.c141 static DECLARE_BITMAP(key_down, KEY_CNT); /* keyboard key bitmap */
399 for_each_set_bit(k, key_down, min(NR_KEYS, KEY_CNT)) { in do_compute_shiftstate()
/linux-6.6.21/drivers/input/keyboard/
Dgpio_keys.c109 return (type == EV_KEY) ? KEY_CNT : SW_CNT; in get_n_events_by_type()
/linux-6.6.21/drivers/hid/
Dhid-apple.c90 DECLARE_BITMAP(pressed_numlock, KEY_CNT);
Dhid-input.c2117 for (i = 0; i < BITS_TO_LONGS(KEY_CNT); i++) in hidinput_has_been_populated()