Searched refs:LED_MASK (Results 1 – 4 of 4) sorted by relevance
55 #define LED_MASK (LED_CAP | LED_NUM | LED_SCR) macro
420 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()
1012 ledmap[i & LED_MASK]); in atkbd_ioctl()
1475 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()