Home
last modified time | relevance | path

Searched refs:ledstate (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/drivers/input/
Dkeybdev.c157 static unsigned int ledstate = 0xff; variable
163 ledstate = led; in keybdev_ledfunc()
208 if (ledstate != 0xff) { in keybdev_connect()
209 input_event(dev, EV_LED, LED_SCROLLL, !!(ledstate & 0x01)); in keybdev_connect()
210 input_event(dev, EV_LED, LED_NUML, !!(ledstate & 0x02)); in keybdev_connect()
211 input_event(dev, EV_LED, LED_CAPSL, !!(ledstate & 0x04)); in keybdev_connect()
/linux-2.4.37.9/drivers/char/
Dkeyboard.c837 static unsigned char ledstate = 0xff; /* undefined */ variable
841 return ledstate; in getledstate()
918 if (leds != ledstate) { in kbd_bh()
919 ledstate = leds; in kbd_bh()
936 if (ledstate != 0xff && kbd_ledfunc != NULL) kbd_ledfunc(ledstate); in kbd_refresh_leds()
/linux-2.4.37.9/drivers/sbus/char/
Dsunserial.c110 static void nop_setledstate (struct kbd_struct *kbd, unsigned int ledstate) in nop_setledstate() argument
181 void setledstate (struct kbd_struct *kbd, unsigned int ledstate) in setledstate() argument
183 kbd_ops.setledstate(kbd, ledstate); in setledstate()
Dsunkbd.c1095 static unsigned char ledstate = 0xff; /* undefined */ variable
1099 return ledstate; in sun_getledstate()
1183 ledstate = leds; in sun_kbd_bh()