Searched refs:sc_leds (Results 1 - 16 of 16) sorted by relevance

/netbsd-current/sys/arch/next68k/dev/
H A Dnextkbdvar.h40 int sc_leds; member in struct:nextkbd_softc
H A Dnextkbd.c204 sc->sc_leds &= ~ NEXT_WSKBD_LEDS;
205 sc->sc_leds |= (leds & NEXT_WSKBD_LEDS);
207 if (sc->sc_leds & WSKBD_LED_CAPS) {
242 *(int *)data = sc->sc_leds & NEXT_WSKBD_LEDS;
/netbsd-current/sys/arch/evbarm/mpcsa/
H A Dmpcsa_leds.c90 led_state_t sc_leds[MPCSA_LEDS_NPINS]; member in struct:mpcsa_leds_softc
256 switch (sc->sc_leds[n].l_mode) {
261 if (sc->sc_leds[n].l_comm_cnt > 0) {
262 if (sc->sc_leds[n].l_comm_cnt < INFINITE_BLINK)
263 sc->sc_leds[n].l_comm_cnt--;
265 sc->sc_leds[n].l_comm_cnt ^= 1;
267 if ((sc->sc_leds[n].l_conn_cnt > 0) ^ (sc->sc_leds[n].l_comm_cnt & 1))
274 if (--sc->sc_leds[n].l_blink_cnt <= 0) {
276 sc->sc_leds[
[all...]
/netbsd-current/sys/arch/mac68k/dev/
H A Dakbdvar.h47 u_int8_t sc_leds; /* current LED state */ member in struct:akbd_softc
H A Dakbd.c150 sc->sc_leds = (u_int8_t)0x00; /* initially off */
384 if ((leds & 0x07) == (ksc->sc_leds & 0x07))
406 ksc->sc_leds = ~((u_int8_t)buffer[2]) & 0x07;
/netbsd-current/sys/arch/macppc/dev/
H A Dakbdvar.h51 u_int8_t sc_leds; /* current LED state */ member in struct:akbd_softc
H A Dakbd.c143 sc->sc_leds = (u_int8_t)0x00; /* initially off */
362 if ((leds & 0x07) == (ksc->sc_leds & 0x07))
383 ksc->sc_leds = ~((u_int8_t)buffer[2]) & 0x07;
/netbsd-current/sys/dev/i2c/
H A Dpcagpio.c81 struct pcagpio_led sc_leds[16]; member in struct:pcagpio_softc
223 led_detach(sc->sc_leds[i].led);
314 l = &sc->sc_leds[sc->sc_nleds];
H A Dpcf8574.c83 struct pcf8574_led sc_leds[PCF8574_NPINS]; member in struct:pcf8574_softc
261 led_detach(sc->sc_leds[i].led);
298 l = &sc->sc_leds[sc->sc_nleds];
/netbsd-current/sys/arch/ews4800mips/sbd/
H A Dkbms_sbdio.c67 int sc_leds; member in struct:kbms_softc
389 sc->sc_leds = leds;
409 *(int *)data = sc->sc_leds;
/netbsd-current/sys/dev/bluetooth/
H A Dbtkbd.c134 int sc_leds; member in struct:btkbd_softc
356 if (sc->sc_leds == leds)
359 sc->sc_leds = leds;
396 *(int *)data = sc->sc_leds;
/netbsd-current/sys/dev/adb/
H A Dadb_kbd.c83 int sc_leds; member in struct:adbkbd_softc
207 sc->sc_leds = 0; /* initially off */
630 if ((leds & 0x07) == (sc->sc_leds & 0x07))
649 sc->sc_leds = leds & 7;
694 *(int *)data = sc->sc_leds;
/netbsd-current/sys/arch/luna68k/dev/
H A Dlunaws.c124 int sc_leds; member in struct:ws_softc
613 sc->sc_leds = leds;
654 *(int *)data = sc->sc_leds;
/netbsd-current/sys/dev/usb/
H A Dukbd.c277 int sc_leds; member in struct:ukbd_softc
920 DPRINTF(("%s: sc=%p leds=%d, sc_leds=%d\n", __func__,
921 sc, leds, sc->sc_leds));
928 if (sc->sc_leds == leds)
931 sc->sc_leds = leds;
939 int leds = sc->sc_leds;
984 *(int *)data = sc->sc_leds;
/netbsd-current/sys/dev/ic/
H A Dbwivar.h585 struct bwi_led sc_leds[BWI_LED_MAX]; member in struct:bwi_softc
H A Dbwi.c6565 struct bwi_led *led = &sc->sc_leds[i];
6630 struct bwi_led *led = &sc->sc_leds[i];

Completed in 194 milliseconds