tag | line | file | source code |
kbd | 114 | include/linux/keyboard.h | extern inline int vc_kbd_flag(struct kbd_struct * kbd, int flag) |
kbd | 116 | include/linux/keyboard.h | return ((kbd->flags >> flag) & 1); |
kbd | 119 | include/linux/keyboard.h | extern inline void set_vc_kbd_flag(struct kbd_struct * kbd, int flag) |
kbd | 121 | include/linux/keyboard.h | kbd->flags |= 1 << flag; |
kbd | 124 | include/linux/keyboard.h | extern inline void clr_vc_kbd_flag(struct kbd_struct * kbd, int flag) |
kbd | 126 | include/linux/keyboard.h | kbd->flags &= ~(1 << flag); |
kbd | 129 | include/linux/keyboard.h | extern inline void chg_vc_kbd_flag(struct kbd_struct * kbd, int flag) |
kbd | 131 | include/linux/keyboard.h | kbd->flags ^= 1 << flag; |
kbd | 58 | kernel/chr_drv/keyboard.c | static struct kbd_struct * kbd = kbd_table; |
kbd | 108 | kernel/chr_drv/keyboard.c | kbd = kbd_table + fg_console; |
kbd | 109 | kernel/chr_drv/keyboard.c | if (vc_kbd_flag(kbd,VC_RAW)) { |
kbd | 136 | kernel/chr_drv/keyboard.c | (vc_kbd_flag(kbd,VC_REPEAT) && tty && |
kbd | 241 | kernel/chr_drv/keyboard.c | chg_vc_kbd_flag(kbd,VC_CAPSLOCK); |
kbd | 278 | kernel/chr_drv/keyboard.c | if (vc_kbd_flag(kbd, VC_SCROLLOCK)) |
kbd | 285 | kernel/chr_drv/keyboard.c | chg_vc_kbd_flag(kbd,VC_SCROLLOCK); |
kbd | 294 | kernel/chr_drv/keyboard.c | chg_vc_kbd_flag(kbd,VC_PAUSE); |
kbd | 295 | kernel/chr_drv/keyboard.c | else if (vc_kbd_flag(kbd,VC_APPLIC)) |
kbd | 298 | kernel/chr_drv/keyboard.c | chg_vc_kbd_flag(kbd,VC_NUMLOCK); |
kbd | 1086 | kernel/chr_drv/keyboard.c | vc_kbd_flag(kbd,VC_CAPSLOCK)) /* ctrl or caps */ |
kbd | 1093 | kernel/chr_drv/keyboard.c | if (vc_kbd_flag(kbd,VC_META)) { |
kbd | 1137 | kernel/chr_drv/keyboard.c | if (ch==diacr_table[i] && ((1<<i)&kbd->kbd_flags)) { |
kbd | 1232 | kernel/chr_drv/keyboard.c | if (vc_kbd_flag(kbd,VC_APPLIC) && |
kbd | 1239 | kernel/chr_drv/keyboard.c | if (vc_kbd_flag(kbd,VC_NUMLOCK)) { |
kbd | 1254 | kernel/chr_drv/keyboard.c | vc_kbd_flag(kbd,VC_CKMODE) : |
kbd | 1255 | kernel/chr_drv/keyboard.c | vc_kbd_flag(kbd,VC_APPLIC)) |
kbd | 1283 | kernel/chr_drv/keyboard.c | else if (vc_kbd_flag(kbd,VC_APPLIC)) |
kbd | 1295 | kernel/chr_drv/keyboard.c | else if (vc_kbd_flag(kbd,VC_APPLIC)) |
kbd | 1303 | kernel/chr_drv/keyboard.c | if (kbd_dead(KGD_E0) && vc_kbd_flag(kbd,VC_APPLIC)) |
kbd | 1307 | kernel/chr_drv/keyboard.c | if (vc_kbd_flag(kbd,VC_CRLF)) |
kbd | 1314 | kernel/chr_drv/keyboard.c | if (vc_kbd_flag(kbd,VC_APPLIC)) |
kbd | 1322 | kernel/chr_drv/keyboard.c | if (vc_kbd_flag(kbd,VC_APPLIC)) |
kbd | 1494 | kernel/chr_drv/keyboard.c | struct kbd_struct * kbd; |
kbd | 1496 | kernel/chr_drv/keyboard.c | kbd = kbd_table + 0; |
kbd | 1497 | kernel/chr_drv/keyboard.c | for (i = 0 ; i < NR_CONSOLES ; i++,kbd++) { |
kbd | 1498 | kernel/chr_drv/keyboard.c | kbd->flags = KBD_DEFFLAGS; |
kbd | 1499 | kernel/chr_drv/keyboard.c | kbd->default_flags = KBD_DEFFLAGS; |
kbd | 1500 | kernel/chr_drv/keyboard.c | kbd->kbd_flags = KBDFLAGS; |
kbd | 109 | kernel/chr_drv/vt.c | struct kbd_struct * kbd; |
kbd | 116 | kernel/chr_drv/vt.c | kbd = kbd_table + console; |
kbd | 209 | kernel/chr_drv/vt.c | set_vc_kbd_flag(kbd, VC_RAW); |
kbd | 211 | kernel/chr_drv/vt.c | clr_vc_kbd_flag(kbd, VC_RAW); |
kbd | 221 | kernel/chr_drv/vt.c | ucval = vc_kbd_flag(kbd, VC_RAW); |
kbd | 231 | kernel/chr_drv/vt.c | if (vc_kbd_flag(kbd, VC_SCROLLOCK)) |
kbd | 233 | kernel/chr_drv/vt.c | if (vc_kbd_flag(kbd, VC_NUMLOCK)) |
kbd | 235 | kernel/chr_drv/vt.c | if (vc_kbd_flag(kbd, VC_CAPSLOCK)) |
kbd | 244 | kernel/chr_drv/vt.c | set_vc_kbd_flag(kbd, VC_SCROLLOCK); |
kbd | 246 | kernel/chr_drv/vt.c | clr_vc_kbd_flag(kbd, VC_SCROLLOCK); |
kbd | 248 | kernel/chr_drv/vt.c | set_vc_kbd_flag(kbd, VC_NUMLOCK); |
kbd | 250 | kernel/chr_drv/vt.c | clr_vc_kbd_flag(kbd, VC_NUMLOCK); |
kbd | 252 | kernel/chr_drv/vt.c | set_vc_kbd_flag(kbd, VC_CAPSLOCK); |
kbd | 254 | kernel/chr_drv/vt.c | clr_vc_kbd_flag(kbd, VC_CAPSLOCK); |