Lines Matching refs:sc_state
186 int sc_state; /* shift/lock key state */
1166 * FIXME: set the initial value for lock keys in "sc_state"
1204 ukbd_ioctl(kbd, KDSETLED, (caddr_t)&sc->sc_state);
1705 &sc->sc_state, &sc->sc_accents);
1763 sc->sc_state &= ~LOCK_MASK;
1764 sc->sc_state |= KBD_LED_VAL(kbd);
1791 /* NOTE: lock key state in "sc_state" won't be changed */
1811 *(int *)arg = sc->sc_state & LOCK_MASK;
1824 sc->sc_state &= ~LOCK_MASK;
1825 sc->sc_state |= *(int *)arg;
1921 sc->sc_state &= LOCK_MASK; /* preserve locking key state */