Lines Matching defs:leds
516 /* Flash the leds; no real purpose, just shows we're alive. */
754 * If the LEDs have already been set after attach, other than
914 ukbd_set_leds(void *v, int leds)
919 DPRINTF(("%s: sc=%p leds=%d, sc_leds=%d\n", __func__,
920 sc, leds, sc->sc_leds));
927 if (sc->sc_leds == leds)
930 sc->sc_leds = leds;
938 int leds = sc->sc_leds;
942 if ((leds & WSKBD_LED_COMPOSE) && sc->sc_compose.size == 1)
944 if ((leds & WSKBD_LED_SCROLL) && sc->sc_scroloc.size == 1)
946 if ((leds & WSKBD_LED_NUM) && sc->sc_numloc.size == 1)
948 if ((leds & WSKBD_LED_CAPS) && sc->sc_capsloc.size == 1)