Home
last modified time | relevance | path

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

12345678910>>...12

/linux-6.6.21/net/rfkill/
Dinput.c259 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-6.6.21/drivers/input/
Dinput.c88 if (test_bit(EV_REP, dev->evbit) && in input_start_autorepeat()
170 if (test_bit(EV_REP, dev->evbit) && test_bit(EV_KEY, dev->evbit)) { in input_pass_values()
432 if (is_event_supported(type, dev->evbit, EV_MAX)) { in input_event()
459 if (is_event_supported(type, dev->evbit, EV_MAX)) { in input_inject_event()
503 __set_bit(EV_ABS, dev->evbit); in input_set_abs_params()
535 if (WARN_ON(!(test_bit(EV_ABS, src->evbit) && in input_copy_abs()
739 if (is_event_supported(EV_KEY, dev->evbit, EV_MAX)) { in input_dev_release_keys()
982 } else if (test_bit(EV_KEY, dev->evbit) && in input_set_keycode()
1023 if (!bitmap_subset(id->evbit, dev->evbit, EV_MAX) || in input_match_device_id()
1217 input_seq_print_bitmap(seq, "EV", dev->evbit, EV_MAX); in input_devices_seq_show()
[all …]
Dsparse-keymap.c195 __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()
Djoydev.c782 .evbit = { BIT_MASK(EV_KEY) },
789 .evbit = { BIT_MASK(EV_KEY) },
858 if (bitmap_equal(jd_scratch, dev->evbit, EV_CNT)) in joydev_dev_is_absolute_mouse()
863 if (bitmap_equal(jd_scratch, dev->evbit, EV_CNT)) in joydev_dev_is_absolute_mouse()
868 if (bitmap_equal(jd_scratch, dev->evbit, EV_CNT)) in joydev_dev_is_absolute_mouse()
1032 .evbit = { BIT_MASK(EV_ABS) },
1038 .evbit = { BIT_MASK(EV_ABS) },
1044 .evbit = { BIT_MASK(EV_ABS) },
1050 .evbit = { BIT_MASK(EV_ABS) },
1056 .evbit = { BIT_MASK(EV_KEY) },
[all …]
Dff-core.c97 if (!test_bit(EV_FF, dev->evbit)) in input_ff_upload()
213 if (!test_bit(EV_FF, dev->evbit)) in input_ff_erase()
340 __set_bit(EV_FF, dev->evbit); in input_ff_create()
366 __clear_bit(EV_FF, dev->evbit); in input_ff_destroy()
/linux-6.6.21/drivers/macintosh/
Dvia-pmu-event.c48 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()
Dmac_hid.c50 mac_hid_emumouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in mac_hid_create_emumouse()
147 .evbit = { BIT_MASK(EV_KEY) },
/linux-6.6.21/tools/testing/selftests/hid/tests/
Dtest_gamepad.py37 key = libevdev.evbit(uhdev.buttons_map[button])
70 key1 = libevdev.evbit(uhdev.buttons_map[b1])
72 key2 = libevdev.evbit(uhdev.buttons_map[b2])
196 libevdev.evbit("EV_ABS", expected_evdev), evdev_value
/linux-6.6.21/drivers/input/joystick/
Dsensehat-joystick.c89 __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()
Dmaplecontrol.c128 idev->evbit[0] |= BIT_MASK(EV_KEY); in probe_maple_controller()
131 idev->evbit[0] |= BIT_MASK(EV_ABS); in probe_maple_controller()
/linux-6.6.21/drivers/hid/
Dhid-udraw-ps3.c311 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()
Dhid-magicmouse.c527 __set_bit(EV_KEY, input->evbit); in magicmouse_setup_input()
536 __set_bit(EV_REL, input->evbit); in magicmouse_setup_input()
563 __clear_bit(EV_MSC, input->evbit); in magicmouse_setup_input()
593 __set_bit(EV_ABS, input->evbit); in magicmouse_setup_input()
661 __set_bit(EV_MSC, input->evbit); in magicmouse_setup_input()
669 __clear_bit(EV_REP, input->evbit); in magicmouse_setup_input()
/linux-6.6.21/drivers/input/keyboard/
Dadc-keys.c162 __set_bit(EV_KEY, input->evbit); in adc_keys_probe()
167 __set_bit(EV_REP, input->evbit); in adc_keys_probe()
Dadp5520-keys.c122 __set_bit(EV_KEY, input->evbit); in adp5520_keys_probe()
125 __set_bit(EV_REP, input->evbit); in adp5520_keys_probe()
Dlkkbd.c640 __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()
Dhil_kbd.c332 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-6.6.21/drivers/input/touchscreen/
Dmax11801_ts.c191 __set_bit(EV_ABS, input_dev->evbit); in max11801_ts_probe()
192 __set_bit(EV_KEY, input_dev->evbit); in max11801_ts_probe()
D88pm860x-ts.c270 __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()
Degalax_ts.c193 __set_bit(EV_ABS, input_dev->evbit); in egalax_ts_probe()
194 __set_bit(EV_KEY, input_dev->evbit); in egalax_ts_probe()
/linux-6.6.21/drivers/input/mouse/
Dhgpk.c549 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()
Dvsxxxaa.c475 __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-6.6.21/sound/usb/caiaq/
Dinput.c609 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-6.6.21/drivers/input/tests/
Dinput_test.c126 __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()
/linux-6.6.21/drivers/input/joystick/iforce/
Diforce-main.c177 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-6.6.21/drivers/input/misc/
Datmel_captouch.c203 __set_bit(EV_KEY, capdev->input->evbit); in atmel_captouch_probe()
212 __set_bit(EV_REP, capdev->input->evbit); in atmel_captouch_probe()

12345678910>>...12