Home
last modified time | relevance | path

Searched refs:EV_LED (Results 1 – 22 of 22) sorted by relevance

/Linux-v6.6/drivers/staging/nvec/
Dnvec_kbd.c94 if (type != EV_LED) in nvec_kbd_event()
130 idev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP) | BIT_MASK(EV_LED); in nvec_kbd_probe()
/Linux-v6.6/drivers/input/
Dinput-leds.c63 input_inject_event(led->handle, EV_LED, led->code, !!brightness); in input_leds_brightness_set()
191 .evbit = { BIT_MASK(EV_LED) },
Devdev.c66 [EV_LED] = LED_CNT, in evdev_get_mask_cnt()
792 case EV_LED: bits = dev->ledbit; len = LED_MAX; break; in handle_eviocgbit()
1159 return evdev_handle_get_val(client, dev, EV_LED, dev->led, in evdev_do_ioctl()
Dinput.c59 [EV_LED] = LED_MAX,
312 case EV_LED: in input_get_disposition()
1226 if (test_bit(EV_LED, dev->evbit)) in input_devices_seq_show()
1708 if (test_bit(EV_LED, dev->evbit)) in input_dev_uevent()
2135 case EV_LED: in input_set_capability()
/Linux-v6.6/drivers/input/keyboard/
Dsunkbd.c142 case EV_LED: in sunkbd_event()
304 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_LED) | in sunkbd_connect()
Dlkkbd.c532 case EV_LED: in lkkbd_event()
641 __set_bit(EV_LED, input_dev->evbit); in lkkbd_connect()
Dgoldfish_events.c155 events_import_bits(edev, input_dev->ledbit, EV_LED, LED_MAX); in events_probe()
Datkbd.c697 case EV_LED: in atkbd_event()
1170 input_dev->evbit[0] |= BIT_MASK(EV_LED); in atkbd_set_device_attrs()
Dapplespi.c953 case EV_LED: in applespi_event()
1719 BIT_MASK(EV_KEY) | BIT_MASK(EV_LED) | BIT_MASK(EV_REP); in applespi_probe()
/Linux-v6.6/drivers/hid/usbhid/
Dusbkbd.c159 if (type != EV_LED) in usb_kbd_event()
321 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_LED) | in usb_kbd_probe()
/Linux-v6.6/drivers/tty/vt/
Dkeyboard.c1092 if (test_bit(EV_LED, handle->dev->evbit)) in kbd_update_leds_helper()
1117 if (test_bit(EV_LED, handle->dev->evbit)) { in kbd_update_leds_helper()
1118 input_inject_event(handle, EV_LED, LED_SCROLLL, !!(leds & BIT(0))); in kbd_update_leds_helper()
1119 input_inject_event(handle, EV_LED, LED_NUML, !!(leds & BIT(1))); in kbd_update_leds_helper()
1120 input_inject_event(handle, EV_LED, LED_CAPSL, !!(leds & BIT(2))); in kbd_update_leds_helper()
/Linux-v6.6/drivers/hid/
Dhid-debug.c753 [EV_MSC] = "Misc", [EV_LED] = "LED",
1059 [EV_MSC] = misc, [EV_LED] = leds,
Dhid-input.c99 #define map_led(c) hid_map_usage(hidinput, usage, &bit, &max, EV_LED, (c))
1781 if (field->usage[j].type == EV_LED) in hidinput_get_led_field()
1802 if (field->usage[j].type == EV_LED && in hidinput_count_leds()
1869 if (type != EV_LED) in hidinput_input_event()
Dhid-logitech-hidpp.c2954 __clear_bit(EV_LED, input_dev->evbit); in wtp_populate_input()
/Linux-v6.6/drivers/macintosh/
Dadbhid.c690 case EV_LED: in adbhid_kbd_event()
834 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_LED) | in adbhid_input_register()
/Linux-v6.6/Documentation/input/
Devent-codes.rst62 * EV_LED:
296 EV_LED section in Event codes
299 EV_LED events are used for input and output to set and query the state of
Dinput-programming.rst327 - EV_LED - used for the keyboard LEDs.
/Linux-v6.6/include/dt-bindings/input/
Dlinux-event-codes.h44 #define EV_LED 0x11 macro
/Linux-v6.6/drivers/virtio/
Dvirtio_input.c297 virtinput_cfg_bits(vi, VIRTIO_INPUT_CFG_EV_BITS, EV_LED, in virtinput_probe()
/Linux-v6.6/include/uapi/linux/
Dinput-event-codes.h44 #define EV_LED 0x11 macro
/Linux-v6.6/net/bluetooth/hidp/
Dcore.c157 if (type != EV_LED) in hidp_input_event()
679 set_bit(EV_LED, input->evbit); in hidp_setup_input()
/Linux-v6.6/include/linux/
Dhid.h1059 case EV_LED: in hid_map_usage()