Home
last modified time | relevance | path

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

1234567891011

/linux/net/rfkill/
H A 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/drivers/input/
H A Dinput.c88 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 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()
H A Dff-core.c99 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 Dledtrig-input-events.c113 .evbit = { BIT_MASK(EV_KEY) },
117 .evbit = { BIT_MASK(EV_REL) },
121 .evbit = { BIT_MASK(EV_ABS) },
/linux/drivers/macintosh/
H A 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()
H A Dmac_hid.c51 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 Dtest_gamepad.py38 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 Dhid-samsung.c154 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 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()
H A Dhid-magicmouse.c530 __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 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()
H A 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/sound/usb/caiaq/
H A 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/drivers/input/mouse/
H A 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()
H A 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/drivers/input/touchscreen/
H A 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()
H A 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()
H A 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/drivers/input/keyboard/
H A Dadc-keys.c159 __set_bit(EV_KEY, input->evbit); in adc_keys_probe()
164 __set_bit(EV_REP, input->evbit); in adc_keys_probe()
H A 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()
H A Dadp5520-keys.c122 __set_bit(EV_KEY, input->evbit); in adp5520_keys_probe()
125 __set_bit(EV_REP, input->evbit); in adp5520_keys_probe()
H A 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/drivers/input/joystick/iforce/
H A 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/drivers/input/tests/
H A 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()

1234567891011