Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/input/keyboard/
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()
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()
Dhilkbd.c252 hil_dev.dev->ledbit[0] = BIT_MASK(LED_NUML) | BIT_MASK(LED_CAPSL) | in hil_keyb_init()
Dhil_kbd.c333 input_dev->ledbit[0] = BIT_MASK(LED_NUML) | BIT_MASK(LED_CAPSL) | in hil_dev_keyboard_setup()
Datkbd.c595 | (test_bit(LED_CAPSL, dev->led) ? 4 : 0); in atkbd_set_leds()
1153 BIT_MASK(LED_CAPSL) | BIT_MASK(LED_SCROLLL); in atkbd_set_device_attrs()
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()
/linux-6.1.9/drivers/staging/nvec/
Dnvec_kbd.c97 if (code != LED_CAPSL) in nvec_kbd_event()
131 idev->ledbit[0] = BIT_MASK(LED_CAPSL); in nvec_kbd_probe()
/linux-6.1.9/drivers/hid/usbhid/
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()
/linux-6.1.9/drivers/input/
Dinput-leds.c26 [LED_CAPSL] = { "capslock", VT_TRIGGER("kbd-capslock") },
/linux-6.1.9/drivers/macintosh/
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()
/linux-6.1.9/include/uapi/linux/
Dinput-event-codes.h942 #define LED_CAPSL 0x01 macro
/linux-6.1.9/include/dt-bindings/input/
Dlinux-event-codes.h942 #define LED_CAPSL 0x01 macro
/linux-6.1.9/net/bluetooth/hidp/
Dcore.c163 (!!test_bit(LED_CAPSL, dev->led) << 1) | in hidp_input_event()
683 set_bit(LED_CAPSL, input->ledbit); in hidp_setup_input()
/linux-6.1.9/drivers/hid/
Dhid-debug.c1036 [LED_NUML] = "NumLock", [LED_CAPSL] = "CapsLock",
Dhid-input.c877 case 0x02: map_led (LED_CAPSL); break; /* "Caps Lock" */ in hidinput_configure_usage()
/linux-6.1.9/drivers/tty/vt/
Dkeyboard.c1120 input_inject_event(handle, EV_LED, LED_CAPSL, !!(leds & BIT(2))); in kbd_update_leds_helper()