/openbmc/qemu/ui/ |
H A D | spice-input.c | 32 int ledstate; member 85 return kbd->ledstate; in kbd_get_leds() 88 static void kbd_leds(void *opaque, int ledstate) in kbd_leds() argument 92 kbd->ledstate = 0; in kbd_leds() 93 if (ledstate & QEMU_SCROLL_LOCK_LED) { in kbd_leds() 94 kbd->ledstate |= SPICE_KEYBOARD_MODIFIER_FLAGS_SCROLL_LOCK; in kbd_leds() 96 if (ledstate & QEMU_NUM_LOCK_LED) { in kbd_leds() 97 kbd->ledstate |= SPICE_KEYBOARD_MODIFIER_FLAGS_NUM_LOCK; in kbd_leds() 99 if (ledstate & QEMU_CAPS_LOCK_LED) { in kbd_leds() 100 kbd->ledstate |= SPICE_KEYBOARD_MODIFIER_FLAGS_CAPS_LOCK; in kbd_leds() [all …]
|
H A D | input-legacy.c | 283 void kbd_put_ledstate(int ledstate) in kbd_put_ledstate() argument 288 cursor->put_led(cursor->opaque, ledstate); in kbd_put_ledstate()
|
H A D | dbus-console.c | 378 dbus_kbd_qemu_leds_updated(void *data, int ledstate) in dbus_kbd_qemu_leds_updated() argument 382 qemu_dbus_display1_keyboard_set_modifiers(ddc->iface_kbd, ledstate); in dbus_kbd_qemu_leds_updated()
|
H A D | vnc.c | 1843 vnc_write_u8(vs, vs->vd->ledstate); in vnc_led_state_change() 1848 static void kbd_leds(void *opaque, int ledstate) in kbd_leds() argument 1853 trace_vnc_key_guest_leds((ledstate & QEMU_CAPS_LOCK_LED), in kbd_leds() 1854 (ledstate & QEMU_NUM_LOCK_LED), in kbd_leds() 1855 (ledstate & QEMU_SCROLL_LOCK_LED)); in kbd_leds() 1857 if (ledstate == vd->ledstate) { in kbd_leds() 1861 vd->ledstate = ledstate; in kbd_leds() 4185 vd->ledstate = 0; in vnc_display_open()
|
H A D | vnc.h | 158 int ledstate; member
|
/openbmc/linux/include/linux/ |
H A D | keyboard.h | 15 int ledstate; /* Current led state */ member
|
/openbmc/qemu/hw/input/ |
H A D | hid.c | 464 int ledstate = 0; in hid_keyboard_write() local 472 ledstate |= QEMU_SCROLL_LOCK_LED; in hid_keyboard_write() 475 ledstate |= QEMU_NUM_LOCK_LED; in hid_keyboard_write() 478 ledstate |= QEMU_CAPS_LOCK_LED; in hid_keyboard_write() 480 kbd_put_ledstate(ledstate); in hid_keyboard_write()
|
H A D | ps2.c | 578 static void ps2_set_ledstate(PS2KbdState *s, int ledstate) in ps2_set_ledstate() argument 580 trace_ps2_set_ledstate(s, ledstate); in ps2_set_ledstate() 581 s->ledstate = ledstate; in ps2_set_ledstate() 582 kbd_put_ledstate(ledstate); in ps2_set_ledstate() 1110 return s->ledstate != 0; /* 0 is default state */ in ps2_keyboard_ledstate_needed() 1117 kbd_put_ledstate(s->ledstate); in ps2_kbd_ledstate_post_load() 1128 VMSTATE_INT32(ledstate, PS2KbdState),
|
H A D | trace-events | 35 ps2_set_ledstate(void *s, int ledstate) "%p ledstate %d"
|
H A D | virtio-input-hid.c | 227 vhid->ledstate |= ledbit; in virtio_input_hid_handle_status() 229 vhid->ledstate &= ~ledbit; in virtio_input_hid_handle_status() 231 kbd_put_ledstate(vhid->ledstate); in virtio_input_hid_handle_status()
|
/openbmc/linux/drivers/tty/vt/ |
H A D | keyboard.c | 1035 if (ledstate != -1U) in kbd_led_trigger_activate() 1037 ledstate & trigger->mask ? in kbd_led_trigger_activate() 1147 return ledstate & 0xff; in getledstate() 1266 ledstate = ~leds; in kbd_bh() 1270 if (leds != ledstate) { in kbd_bh() 1271 kbd_propagate_led_state(ledstate, leds); in kbd_bh() 1272 ledstate = leds; in kbd_bh() 1472 param.ledstate = kbd->ledflagstate; in kbd_keycode() 1526 param.ledstate = kbd->ledflagstate; in kbd_keycode() 1621 if (ledstate != -1U) in kbd_start() [all …]
|
/openbmc/qemu/docs/interop/ |
H A D | index.rst | 30 vnc-ledstate-pseudo-encoding
|
/openbmc/qemu/include/hw/input/ |
H A D | ps2.h | 73 int ledstate; member
|
/openbmc/qemu/include/hw/virtio/ |
H A D | virtio-input.h | 91 int ledstate; member
|
/openbmc/linux/Documentation/input/ |
H A D | notifier.rst | 12 - 'ledstate' is the current LED state;
|
/openbmc/linux/drivers/isdn/hardware/mISDN/ |
H A D | hfc_multi_8xx.h | 108 hc->ledstate = 0xAFFEAFFE; in setup_embedded()
|
H A D | hfcmulti.c | 1623 if (leds != (int)hc->ledstate) { in hfcmulti_leds() 1625 hc->ledstate = leds; in hfcmulti_leds() 1676 if (leds != (int)hc->ledstate) { in hfcmulti_leds() 1678 hc->ledstate = leds; in hfcmulti_leds() 1685 if (leds != (int)hc->ledstate) { in hfcmulti_leds() 1688 hc->ledstate = leds; in hfcmulti_leds() 1731 if (leds != (int)hc->ledstate) { in hfcmulti_leds() 1736 hc->ledstate = leds; in hfcmulti_leds() 1774 if (leddw != hc->ledstate) { in hfcmulti_leds() 1782 hc->ledstate = leddw; in hfcmulti_leds() [all …]
|
H A D | hfc_multi.h | 209 u_long ledstate; /* save last state of leds */ member
|
/openbmc/linux/drivers/net/wireless/marvell/libertas/ |
H A D | types.h | 230 uint8_t ledstate; member
|
/openbmc/qemu/include/ui/ |
H A D | console.h | 66 typedef void QEMUPutLEDEvent(void *opaque, int ledstate); 84 void kbd_put_ledstate(int ledstate);
|
/openbmc/intel-ipmi-oem/src/ |
H A D | oemcommands.cpp | 1538 uint8_t ledstate = 0; in ipmiOEMGetLEDStatus() local 1551 ledstate |= state << it->first; in ipmiOEMGetLEDStatus() 1553 return ipmi::responseSuccess(ledstate); in ipmiOEMGetLEDStatus()
|