Home
last modified time | relevance | path

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

/linux-6.1.9/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.c736 for_each_set_bit(code, dev->key, KEY_CNT) { in input_dev_release_keys()
/linux-6.1.9/include/linux/
Dinput.h146 unsigned long keybit[BITS_TO_LONGS(KEY_CNT)];
180 unsigned long key[BITS_TO_LONGS(KEY_CNT)];
/linux-6.1.9/drivers/tty/
Dsysrq.c642 static const unsigned char sysrq_xlate[KEY_CNT] =
654 unsigned long key_down[BITS_TO_LONGS(KEY_CNT)];
666 unsigned long reset_keybit[BITS_TO_LONGS(KEY_CNT)];
/linux-6.1.9/drivers/input/mouse/
Dlifebook.c324 bitmap_zero(dev1->keybit, KEY_CNT); in lifebook_init()
Dsynaptics.c1263 bitmap_zero(dev->keybit, KEY_CNT); in set_input_params()
Dpsmouse-base.c966 bitmap_zero(input_dev->keybit, KEY_CNT); in psmouse_apply_defaults()
/linux-6.1.9/drivers/virtio/
Dvirtio_input.c286 vi->idev->keybit, KEY_CNT); in virtinput_probe()
/linux-6.1.9/include/uapi/linux/
Dinput-event-codes.h806 #define KEY_CNT (KEY_MAX+1) macro
/linux-6.1.9/include/dt-bindings/input/
Dlinux-event-codes.h806 #define KEY_CNT (KEY_MAX+1) macro
/linux-6.1.9/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.1.9/drivers/input/keyboard/
Dgpio_keys.c109 return (type == EV_KEY) ? KEY_CNT : SW_CNT; in get_n_events_by_type()
/linux-6.1.9/drivers/hid/
Dhid-apple.c83 DECLARE_BITMAP(pressed_numlock, KEY_CNT);
Dhid-input.c2032 for (i = 0; i < BITS_TO_LONGS(KEY_CNT); i++) in hidinput_has_been_populated()