Home
last modified time | relevance | path

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

/freebsd/sys/sys/
H A Dkbio.h55 #define LED_MASK (LED_CAP | LED_NUM | LED_SCR) macro
/freebsd/sys/dev/vt/
H A Dvt_core.c420 vw->vw_kbdstate &= ~LED_MASK; in vt_save_kbd_leds()
421 vw->vw_kbdstate |= leds & LED_MASK; in vt_save_kbd_leds()
431 leds = vw->vw_kbdstate & LED_MASK; in vt_update_kbd_leds()
2691 *(int *)data = vw->vw_kbdstate & LED_MASK; in vtterm_ioctl()
2699 if (leds & ~LED_MASK) in vtterm_ioctl()
2702 vw->vw_kbdstate &= ~LED_MASK; in vtterm_ioctl()
/freebsd/sys/dev/atkbdc/
H A Datkbd.c1012 ledmap[i & LED_MASK]); in atkbd_ioctl()
/freebsd/sys/dev/syscons/
H A Dsyscons.c1475 if (*(int *)data & ~LED_MASK) /* FIXME: LOCK_MASK? */ in sctty_ioctl()
1477 scp->status &= ~LED_MASK; in sctty_ioctl()
1486 *(int *)data = scp->status & LED_MASK; in sctty_ioctl()