tag | line | file | source code |
kbd | 79 | drivers/char/keyboard.c | static struct kbd_struct * kbd = kbd_table; |
kbd | 163 | drivers/char/keyboard.c | kbd = kbd_table + fg_console; |
kbd | 164 | drivers/char/keyboard.c | if (vc_kbd_flag(kbd,VC_RAW)) { |
kbd | 261 | drivers/char/keyboard.c | if (vc_kbd_flag(kbd, VC_MEDIUMRAW)) { |
kbd | 272 | drivers/char/keyboard.c | (vc_kbd_flag(kbd,VC_REPEAT) && tty && |
kbd | 330 | drivers/char/keyboard.c | if (vc_kbd_flag(kbd,VC_CRLF)) |
kbd | 338 | drivers/char/keyboard.c | chg_vc_kbd_flag(kbd,VC_CAPSLOCK); |
kbd | 345 | drivers/char/keyboard.c | set_vc_kbd_flag(kbd,VC_CAPSLOCK); |
kbd | 370 | drivers/char/keyboard.c | if (vc_kbd_flag(kbd, VC_SCROLLOCK)) |
kbd | 376 | drivers/char/keyboard.c | chg_vc_kbd_flag(kbd,VC_SCROLLOCK); |
kbd | 384 | drivers/char/keyboard.c | chg_vc_kbd_flag(kbd,VC_PAUSE); |
kbd | 388 | drivers/char/keyboard.c | if (vc_kbd_flag(kbd,VC_APPLIC)) { |
kbd | 393 | drivers/char/keyboard.c | chg_vc_kbd_flag(kbd,VC_NUMLOCK); |
kbd | 451 | drivers/char/keyboard.c | if (vc_kbd_flag(kbd,VC_CAPSLOCK)) |
kbd | 542 | drivers/char/keyboard.c | if (vc_kbd_flag(kbd,VC_APPLIC) && !k_down[KG_SHIFT]) { |
kbd | 547 | drivers/char/keyboard.c | if (!vc_kbd_flag(kbd,VC_NUMLOCK)) |
kbd | 581 | drivers/char/keyboard.c | applkey('G', vc_kbd_flag(kbd, VC_APPLIC)); |
kbd | 586 | drivers/char/keyboard.c | if (value == KVAL(K_PENTER) && vc_kbd_flag(kbd, VC_CRLF)) |
kbd | 596 | drivers/char/keyboard.c | applkey(cur_chars[value], vc_kbd_flag(kbd,VC_CKMODE)); |
kbd | 609 | drivers/char/keyboard.c | clr_vc_kbd_flag(kbd, VC_CAPSLOCK); |
kbd | 635 | drivers/char/keyboard.c | if (vc_kbd_flag(kbd, VC_META)) { |
kbd | 658 | drivers/char/keyboard.c | chg_vc_kbd_flag(kbd, VC_SHIFTLOCK); |
kbd | 659 | drivers/char/keyboard.c | do_shift(KG_SHIFT, !vc_kbd_flag(kbd, VC_SHIFTLOCK)); |
kbd | 662 | drivers/char/keyboard.c | chg_vc_kbd_flag(kbd, VC_CTRLLOCK); |
kbd | 663 | drivers/char/keyboard.c | do_shift(KG_CTRL, !vc_kbd_flag(kbd, VC_CTRLLOCK)); |
kbd | 666 | drivers/char/keyboard.c | chg_vc_kbd_flag(kbd, VC_ALTLOCK); |
kbd | 667 | drivers/char/keyboard.c | do_shift(KG_ALT, !vc_kbd_flag(kbd, VC_ALTLOCK)); |
kbd | 670 | drivers/char/keyboard.c | chg_vc_kbd_flag(kbd, VC_ALTGRLOCK); |
kbd | 671 | drivers/char/keyboard.c | do_shift(KG_ALTGR, !vc_kbd_flag(kbd, VC_ALTGRLOCK)); |
kbd | 771 | drivers/char/keyboard.c | struct kbd_struct * kbd; |
kbd | 773 | drivers/char/keyboard.c | kbd = kbd_table + 0; |
kbd | 774 | drivers/char/keyboard.c | for (i = 0 ; i < NR_CONSOLES ; i++,kbd++) { |
kbd | 775 | drivers/char/keyboard.c | kbd->flags = KBD_DEFFLAGS; |
kbd | 776 | drivers/char/keyboard.c | kbd->default_flags = KBD_DEFFLAGS; |
kbd | 110 | drivers/char/vt.c | struct kbd_struct * kbd; |
kbd | 117 | drivers/char/vt.c | kbd = kbd_table + console; |
kbd | 210 | drivers/char/vt.c | set_vc_kbd_flag(kbd, VC_RAW); |
kbd | 211 | drivers/char/vt.c | clr_vc_kbd_flag(kbd, VC_MEDIUMRAW); |
kbd | 213 | drivers/char/vt.c | clr_vc_kbd_flag(kbd, VC_RAW); |
kbd | 214 | drivers/char/vt.c | clr_vc_kbd_flag(kbd, VC_MEDIUMRAW); |
kbd | 216 | drivers/char/vt.c | clr_vc_kbd_flag(kbd, VC_RAW); |
kbd | 217 | drivers/char/vt.c | set_vc_kbd_flag(kbd, VC_MEDIUMRAW); |
kbd | 226 | drivers/char/vt.c | ucval = vc_kbd_flag(kbd, VC_RAW); |
kbd | 227 | drivers/char/vt.c | if (vc_kbd_flag(kbd, VC_MEDIUMRAW)) |
kbd | 333 | drivers/char/vt.c | if (vc_kbd_flag(kbd, VC_SCROLLOCK)) |
kbd | 335 | drivers/char/vt.c | if (vc_kbd_flag(kbd, VC_NUMLOCK)) |
kbd | 337 | drivers/char/vt.c | if (vc_kbd_flag(kbd, VC_CAPSLOCK)) |
kbd | 346 | drivers/char/vt.c | set_vc_kbd_flag(kbd, VC_SCROLLOCK); |
kbd | 348 | drivers/char/vt.c | clr_vc_kbd_flag(kbd, VC_SCROLLOCK); |
kbd | 350 | drivers/char/vt.c | set_vc_kbd_flag(kbd, VC_NUMLOCK); |
kbd | 352 | drivers/char/vt.c | clr_vc_kbd_flag(kbd, VC_NUMLOCK); |
kbd | 354 | drivers/char/vt.c | set_vc_kbd_flag(kbd, VC_CAPSLOCK); |
kbd | 356 | drivers/char/vt.c | clr_vc_kbd_flag(kbd, VC_CAPSLOCK); |
kbd | 75 | include/linux/keyboard.h | extern inline int vc_kbd_flag(struct kbd_struct * kbd, int flag) |
kbd | 77 | include/linux/keyboard.h | return ((kbd->flags >> flag) & 1); |
kbd | 80 | include/linux/keyboard.h | extern inline void set_vc_kbd_flag(struct kbd_struct * kbd, int flag) |
kbd | 82 | include/linux/keyboard.h | kbd->flags |= 1 << flag; |
kbd | 85 | include/linux/keyboard.h | extern inline void clr_vc_kbd_flag(struct kbd_struct * kbd, int flag) |
kbd | 87 | include/linux/keyboard.h | kbd->flags &= ~(1 << flag); |
kbd | 90 | include/linux/keyboard.h | extern inline void chg_vc_kbd_flag(struct kbd_struct * kbd, int flag) |
kbd | 92 | include/linux/keyboard.h | kbd->flags ^= 1 << flag; |