Home
last modified time | relevance | path

Searched refs:LED_CAPSL (Results 1 – 19 of 19) sorted by relevance

/openbmc/linux/drivers/staging/nvec/
H A Dnvec_kbd.c97 if (code != LED_CAPSL) in nvec_kbd_event()
131 idev->ledbit[0] = BIT_MASK(LED_CAPSL); in nvec_kbd_probe()
/openbmc/linux/drivers/input/keyboard/
H A Dsunkbd.c146 (!!test_bit(LED_CAPSL, dev->led) << 3) | in sunkbd_event()
209 (!!test_bit(LED_CAPSL, sunkbd->dev->led) << 3) | in sunkbd_set_leds_beeps()
306 input_dev->ledbit[0] = BIT_MASK(LED_CAPSL) | BIT_MASK(LED_COMPOSE) | in sunkbd_connect()
H A Dlkkbd.c491 CHECK_LED(lk, leds_on, leds_off, LED_CAPSL, LK_LED_SHIFTLOCK); in lkkbd_toggle_leds()
644 __set_bit(LED_CAPSL, input_dev->ledbit); in lkkbd_connect()
H A Dhilkbd.c252 hil_dev.dev->ledbit[0] = BIT_MASK(LED_NUML) | BIT_MASK(LED_CAPSL) | in hil_keyb_init()
H A Dhil_kbd.c333 input_dev->ledbit[0] = BIT_MASK(LED_NUML) | BIT_MASK(LED_CAPSL) | in hil_dev_keyboard_setup()
H A Datkbd.c614 | (test_bit(LED_CAPSL, dev->led) ? 4 : 0); in atkbd_set_leds()
1215 BIT_MASK(LED_CAPSL) | BIT_MASK(LED_SCROLLL); in atkbd_set_device_attrs()
H A Dapplespi.c954 applespi_set_capsl_led(applespi, !!test_bit(LED_CAPSL, dev->led)); in applespi_event()
1720 applespi->keyboard_input_dev->ledbit[0] = BIT_MASK(LED_CAPSL); in applespi_probe()
/openbmc/linux/drivers/hid/usbhid/
H A Dusbkbd.c164 (!!test_bit(LED_SCROLLL, dev->led) << 2) | (!!test_bit(LED_CAPSL, dev->led) << 1) | in usb_kbd_event()
323 input_dev->ledbit[0] = BIT_MASK(LED_NUML) | BIT_MASK(LED_CAPSL) | in usb_kbd_probe()
/openbmc/linux/drivers/input/
H A Dinput-leds.c26 [LED_CAPSL] = { "capslock", VT_TRIGGER("kbd-capslock") },
/openbmc/qemu/hw/input/
H A Dvirtio-input-hid.c221 } else if (event->code == LED_CAPSL) { in virtio_input_hid_handle_status()
298 (1 << LED_NUML) | (1 << LED_CAPSL) | (1 << LED_SCROLLL),
/openbmc/linux/drivers/macintosh/
H A Dadbhid.c693 (test_bit(LED_CAPSL, dev->led) ? 2 : 0); in adbhid_kbd_event()
837 BIT_MASK(LED_CAPSL) | BIT_MASK(LED_NUML); in adbhid_input_register()
/openbmc/u-boot/include/dt-bindings/input/
H A Dlinux-event-codes.h773 #define LED_CAPSL 0x01 macro
/openbmc/qemu/include/standard-headers/linux/
H A Dinput-event-codes.h945 #define LED_CAPSL 0x01 macro
/openbmc/linux/include/dt-bindings/input/
H A Dlinux-event-codes.h946 #define LED_CAPSL 0x01 macro
/openbmc/linux/include/uapi/linux/
H A Dinput-event-codes.h946 #define LED_CAPSL 0x01 macro
/openbmc/linux/net/bluetooth/hidp/
H A Dcore.c163 (!!test_bit(LED_CAPSL, dev->led) << 1) | in hidp_input_event()
683 set_bit(LED_CAPSL, input->ledbit); in hidp_setup_input()
/openbmc/linux/drivers/hid/
H A Dhid-debug.c1040 [LED_NUML] = "NumLock", [LED_CAPSL] = "CapsLock",
H A Dhid-input.c929 case 0x02: map_led (LED_CAPSL); break; /* "Caps Lock" */ in hidinput_configure_usage()
/openbmc/linux/drivers/tty/vt/
H A Dkeyboard.c1120 input_inject_event(handle, EV_LED, LED_CAPSL, !!(leds & BIT(2))); in kbd_update_leds_helper()