Home
last modified time | relevance | path

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

12345678910>>...12

/Linux-v5.15/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-v5.15/drivers/input/
Dinput.c74 if (test_bit(EV_REP, dev->evbit) && in input_start_autorepeat()
154 if (test_bit(EV_REP, dev->evbit) && test_bit(EV_KEY, dev->evbit)) { in input_pass_values()
443 if (is_event_supported(type, dev->evbit, EV_MAX)) { in input_event()
470 if (is_event_supported(type, dev->evbit, EV_MAX)) { in input_inject_event()
524 __set_bit(EV_ABS, dev->evbit); in input_set_abs_params()
712 if (is_event_supported(EV_KEY, dev->evbit, EV_MAX)) { in input_dev_release_keys()
957 } else if (test_bit(EV_KEY, dev->evbit) && in input_set_keycode()
994 if (!bitmap_subset(id->evbit, dev->evbit, EV_MAX) || in input_match_device_id()
1188 input_seq_print_bitmap(seq, "EV", dev->evbit, EV_MAX); in input_devices_seq_show()
1189 if (test_bit(EV_KEY, dev->evbit)) 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.c776 .evbit = { BIT_MASK(EV_KEY) },
783 .evbit = { BIT_MASK(EV_KEY) },
848 if (bitmap_equal(jd_scratch, dev->evbit, EV_CNT)) in joydev_dev_is_absolute_mouse()
853 if (bitmap_equal(jd_scratch, dev->evbit, EV_CNT)) in joydev_dev_is_absolute_mouse()
858 if (bitmap_equal(jd_scratch, dev->evbit, EV_CNT)) in joydev_dev_is_absolute_mouse()
1022 .evbit = { BIT_MASK(EV_ABS) },
1028 .evbit = { BIT_MASK(EV_ABS) },
1034 .evbit = { BIT_MASK(EV_ABS) },
1040 .evbit = { BIT_MASK(EV_ABS) },
1046 .evbit = { BIT_MASK(EV_KEY) },
[all …]
Dff-core.c100 if (!test_bit(EV_FF, dev->evbit)) in input_ff_upload()
216 if (!test_bit(EV_FF, dev->evbit)) in input_ff_erase()
343 __set_bit(EV_FF, dev->evbit); in input_ff_create()
369 __clear_bit(EV_FF, dev->evbit); in input_ff_destroy()
/Linux-v5.15/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-v5.15/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.c519 __set_bit(EV_KEY, input->evbit); in magicmouse_setup_input()
528 __set_bit(EV_REL, input->evbit); in magicmouse_setup_input()
543 __clear_bit(EV_MSC, input->evbit); in magicmouse_setup_input()
573 __set_bit(EV_ABS, input->evbit); in magicmouse_setup_input()
641 __set_bit(EV_MSC, input->evbit); in magicmouse_setup_input()
649 __clear_bit(EV_REP, input->evbit); in magicmouse_setup_input()
/Linux-v5.15/drivers/input/keyboard/
Dpxa930_rotary.c137 __set_bit(EV_KEY, input_dev->evbit); in pxa930_rotary_probe()
140 __set_bit(EV_REL, input_dev->evbit); in pxa930_rotary_probe()
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.c643 __set_bit(EV_KEY, input_dev->evbit); in lkkbd_connect()
644 __set_bit(EV_LED, input_dev->evbit); in lkkbd_connect()
645 __set_bit(EV_SND, input_dev->evbit); in lkkbd_connect()
646 __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-v5.15/drivers/input/touchscreen/
Dmax11801_ts.c192 __set_bit(EV_ABS, input_dev->evbit); in max11801_ts_probe()
193 __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.c202 __set_bit(EV_ABS, input_dev->evbit); in egalax_ts_probe()
203 __set_bit(EV_KEY, input_dev->evbit); in egalax_ts_probe()
/Linux-v5.15/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.c478 __set_bit(EV_KEY, input_dev->evbit); /* We have buttons */ in vsxxxaa_connect()
479 __set_bit(EV_REL, input_dev->evbit); in vsxxxaa_connect()
480 __set_bit(EV_ABS, input_dev->evbit); in vsxxxaa_connect()
/Linux-v5.15/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-v5.15/drivers/input/joystick/
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-v5.15/drivers/input/joystick/iforce/
Diforce-main.c176 if (test_bit(EV_FF, dev->evbit)) { in iforce_open()
189 if (test_bit(EV_FF, dev->evbit)) { in iforce_close()
332 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS) | in iforce_init_device()
/Linux-v5.15/drivers/input/misc/
Datmel_captouch.c204 __set_bit(EV_KEY, capdev->input->evbit); in atmel_captouch_probe()
213 __set_bit(EV_REP, capdev->input->evbit); in atmel_captouch_probe()
/Linux-v5.15/drivers/accessibility/speakup/
Dfakekey.c36 __set_bit(EV_KEY, virt_keyboard->evbit); in speakup_add_virtual_keyboard()
/Linux-v5.15/arch/x86/platform/olpc/
Dolpc-xo1-sci.c446 set_bit(EV_KEY, power_button_idev->evbit); in setup_power_button()
476 set_bit(EV_SW, ebook_switch_idev->evbit); in setup_ebook_switch()
506 set_bit(EV_SW, lid_switch_idev->evbit); in setup_lid_switch()

12345678910>>...12