/linux/net/rfkill/ |
H A D | input.c | 259 if (test_bit(EV_SW, handle->dev->evbit) && in rfkill_start() 277 .evbit = { BIT_MASK(EV_KEY) }, 282 .evbit = { BIT_MASK(EV_KEY) }, 287 .evbit = { BIT_MASK(EV_KEY) }, 292 .evbit = { BIT_MASK(EV_KEY) }, 297 .evbit = { BIT_MASK(EV_KEY) }, 302 .evbit = { BIT(EV_SW) },
|
/linux/drivers/input/ |
H A D | input.c | 88 if (test_bit(EV_REP, dev->evbit) && in input_start_autorepeat() 136 if (test_bit(EV_REP, dev->evbit) && test_bit(EV_KEY, dev->evbit)) { in input_pass_values() 395 if (is_event_supported(type, dev->evbit, EV_MAX)) { in input_event() 422 if (is_event_supported(type, dev->evbit, EV_MAX)) { in input_inject_event() 466 __set_bit(EV_ABS, dev->evbit); in input_set_abs_params() 498 if (WARN_ON(!(test_bit(EV_ABS, src->evbit) && in input_copy_abs() 702 if (is_event_supported(EV_KEY, dev->evbit, EV_MAX)) { in input_dev_release_keys() 945 } else if (test_bit(EV_KEY, dev->evbit) && in input_set_keycode() 986 if (!bitmap_subset(id->evbit, dev->evbit, EV_MAX) || in input_match_device_id() 1178 input_seq_print_bitmap(seq, "EV", dev->evbit, EV_MAX); in input_devices_seq_show() [all …]
|
H A D | sparse-keymap.c | 195 __set_bit(EV_KEY, dev->evbit); in sparse_keymap_setup() 201 __set_bit(EV_SW, dev->evbit); in sparse_keymap_setup() 207 if (test_bit(EV_KEY, dev->evbit)) { in sparse_keymap_setup() 209 __set_bit(EV_MSC, dev->evbit); in sparse_keymap_setup()
|
H A D | ff-core.c | 99 if (!test_bit(EV_FF, dev->evbit)) in input_ff_upload() 215 if (!test_bit(EV_FF, dev->evbit)) in input_ff_erase() 341 __set_bit(EV_FF, dev->evbit); in input_ff_create() 367 __clear_bit(EV_FF, dev->evbit); in input_ff_destroy()
|
/linux/drivers/leds/trigger/ |
H A D | ledtrig-input-events.c | 113 .evbit = { BIT_MASK(EV_KEY) }, 117 .evbit = { BIT_MASK(EV_REL) }, 121 .evbit = { BIT_MASK(EV_ABS) },
|
/linux/drivers/macintosh/ |
H A D | via-pmu-event.c | 48 set_bit(EV_KEY, pmu_input_dev->evbit); in via_pmu_event_init() 49 set_bit(EV_SW, pmu_input_dev->evbit); in via_pmu_event_init()
|
H A D | mac_hid.c | 51 mac_hid_emumouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in mac_hid_create_emumouse() 148 .evbit = { BIT_MASK(EV_KEY) },
|
/linux/tools/testing/selftests/hid/tests/ |
H A D | test_gamepad.py | 38 key = libevdev.evbit(uhdev.buttons_map[button]) 71 key1 = libevdev.evbit(uhdev.buttons_map[b1]) 73 key2 = libevdev.evbit(uhdev.buttons_map[b2]) 197 libevdev.evbit("EV_ABS", expected_evdev), evdev_value
|
/linux/drivers/hid/ |
H A D | hid-samsung.c | 154 set_bit(EV_REP, hi->input->evbit); in samsung_kbd_input_mapping() 244 usage->hid & HID_USAGE, hi->input->evbit[0], hi->input->absbit[0], usage->hid & HID_USAGE_PAGE); in samsung_gamepad_input_mapping() 332 usage->hid, usage->hid & HID_USAGE, hi->input->evbit[0], hi->input->absbit[0], in samsung_actionmouse_input_mapping() 361 set_bit(EV_REP, hi->input->evbit); in samsung_universal_kbd_input_mapping()
|
H A D | hid-udraw-ps3.c | 311 input_dev->evbit[0] = BIT(EV_ABS) | BIT(EV_KEY); in udraw_setup_touch() 338 input_dev->evbit[0] = BIT(EV_ABS) | BIT(EV_KEY); in udraw_setup_pen() 366 input_dev->evbit[0] = BIT(EV_ABS); in udraw_setup_accel() 389 input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_ABS); in udraw_setup_joypad()
|
H A D | hid-magicmouse.c | 530 __set_bit(EV_KEY, input->evbit); in magicmouse_setup_input() 539 __set_bit(EV_REL, input->evbit); in magicmouse_setup_input() 566 __clear_bit(EV_MSC, input->evbit); in magicmouse_setup_input() 596 __set_bit(EV_ABS, input->evbit); in magicmouse_setup_input() 664 __set_bit(EV_MSC, input->evbit); in magicmouse_setup_input() 672 __clear_bit(EV_REP, input->evbit); in magicmouse_setup_input()
|
/linux/drivers/input/joystick/ |
H A D | sensehat-joystick.c | 89 __set_bit(EV_KEY, sensehat_joystick->keys_dev->evbit); in sensehat_joystick_probe() 90 __set_bit(EV_REP, sensehat_joystick->keys_dev->evbit); in sensehat_joystick_probe()
|
H A D | maplecontrol.c | 128 idev->evbit[0] |= BIT_MASK(EV_KEY); in probe_maple_controller() 131 idev->evbit[0] |= BIT_MASK(EV_ABS); in probe_maple_controller()
|
/linux/sound/usb/caiaq/ |
H A D | input.c | 609 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init() 621 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init() 633 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init() 643 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init() 669 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init() 717 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init() 759 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init()
|
/linux/drivers/input/mouse/ |
H A D | hgpk.c | 549 memset(input->evbit, 0, sizeof(input->evbit)); in hgpk_setup_input_device() 554 __set_bit(EV_KEY, input->evbit); in hgpk_setup_input_device() 560 __set_bit(EV_REL, input->evbit); in hgpk_setup_input_device() 569 __set_bit(EV_ABS, input->evbit); in hgpk_setup_input_device() 587 __set_bit(EV_ABS, input->evbit); in hgpk_setup_input_device()
|
H A D | vsxxxaa.c | 475 __set_bit(EV_KEY, input_dev->evbit); /* We have buttons */ in vsxxxaa_connect() 476 __set_bit(EV_REL, input_dev->evbit); in vsxxxaa_connect() 477 __set_bit(EV_ABS, input_dev->evbit); in vsxxxaa_connect()
|
/linux/drivers/input/touchscreen/ |
H A D | 88pm860x-ts.c | 270 __set_bit(EV_ABS, touch->idev->evbit); in pm860x_touch_probe() 274 __set_bit(EV_SYN, touch->idev->evbit); in pm860x_touch_probe() 275 __set_bit(EV_KEY, touch->idev->evbit); in pm860x_touch_probe()
|
H A D | max11801_ts.c | 191 __set_bit(EV_ABS, input_dev->evbit); in max11801_ts_probe() 192 __set_bit(EV_KEY, input_dev->evbit); in max11801_ts_probe()
|
H A D | egalax_ts.c | 193 __set_bit(EV_ABS, input_dev->evbit); in egalax_ts_probe() 194 __set_bit(EV_KEY, input_dev->evbit); in egalax_ts_probe()
|
/linux/drivers/input/keyboard/ |
H A D | adc-keys.c | 159 __set_bit(EV_KEY, input->evbit); in adc_keys_probe() 164 __set_bit(EV_REP, input->evbit); in adc_keys_probe()
|
H A D | lkkbd.c | 640 __set_bit(EV_KEY, input_dev->evbit); in lkkbd_connect() 641 __set_bit(EV_LED, input_dev->evbit); in lkkbd_connect() 642 __set_bit(EV_SND, input_dev->evbit); in lkkbd_connect() 643 __set_bit(EV_REP, input_dev->evbit); in lkkbd_connect()
|
H A D | adp5520-keys.c | 122 __set_bit(EV_KEY, input->evbit); in adp5520_keys_probe() 125 __set_bit(EV_REP, input->evbit); in adp5520_keys_probe()
|
H A D | hil_kbd.c | 332 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP); in hil_dev_keyboard_setup() 366 input_dev->evbit[0] = BIT_MASK(EV_REL); in hil_dev_pointer_setup() 378 input_dev->evbit[0] = BIT_MASK(EV_ABS); in hil_dev_pointer_setup() 407 input_dev->evbit[0] |= BIT_MASK(EV_KEY); in hil_dev_pointer_setup()
|
/linux/drivers/input/joystick/iforce/ |
H A D | iforce-main.c | 177 if (test_bit(EV_FF, dev->evbit)) { in iforce_open() 190 if (test_bit(EV_FF, dev->evbit)) { in iforce_close() 333 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS) | in iforce_init_device()
|
/linux/drivers/input/tests/ |
H A D | input_test.c | 126 __set_bit(EV_KEY, id.evbit); in input_test_match_device_id() 129 __set_bit(EV_ABS, id.evbit); in input_test_match_device_id()
|