Searched refs:fg_console (Results 1 – 17 of 17) sorted by relevance
/linux-4.4.14/drivers/tty/vt/ |
D | vt_ioctl.c | 43 #define VT_BUSY(i) (VT_IS_IN_USE(i) || i == fg_console || vc_cons[i].d == sel_cons) 200 if (n == fg_console + 1) { in vt_waitactive() 241 return con_font_op(vc_cons[fg_console].d, op); in do_fontx_ioctl() 249 i = con_font_op(vc_cons[fg_console].d, op); in do_fontx_ioctl() 279 if (!perm && fg_console != vc->vc_num) in do_unimap_ioctl() 484 if (console != fg_console) in vt_ioctl() 646 if (put_user(fg_console + 1, &vtstat->v_active)) in vt_ioctl() 915 ret = con_font_op(vc_cons[fg_console].d, &op); in vt_ioctl() 926 ret = con_font_op(vc_cons[fg_console].d, &op); in vt_ioctl() 960 ret = con_font_op(vc_cons[fg_console].d, &op); in vt_ioctl() [all …]
|
D | selection.c | 161 struct vc_data *vc = vc_cons[fg_console].d; in set_selection() 206 if (sel_cons != vc_cons[fg_console].d) { in set_selection() 208 sel_cons = vc_cons[fg_console].d; in set_selection() 210 mode = vt_do_kdgkbmode(fg_console); in set_selection()
|
D | vt.c | 196 int fg_console; variable 280 #define IS_FG(vc) ((vc)->vc_num == fg_console) 673 struct vc_data *old_vc = vc_cons[fg_console].d; in redraw_screen() 679 fg_console = vc->vc_num; in redraw_screen() 1469 return vc_cons[fg_console].d->vc_report_mouse; in mouse_reporting() 2445 if (want_console != fg_console && in console_callback() 2447 hide_cursor(vc_cons[fg_console].d); in console_callback() 2460 struct vc_data *vc = vc_cons[fg_console].d; in console_callback() 2470 notify_update(vc_cons[fg_console].d); in console_callback() 2477 struct vc_data *vc = vc_cons[fg_console].d; in set_console() [all …]
|
D | keyboard.c | 537 int i, cur = fg_console; in fn_dec_console() 554 int i, cur = fg_console; in fn_inc_console() 618 struct work_struct *SAK_work = &vc_cons[fg_console].SAK_work; in fn_SAK() 1107 struct kbd_struct *kb = kbd_table + fg_console; in getleds() 1320 struct vc_data *vc = vc_cons[fg_console].d; in kbd_rawcode() 1329 struct vc_data *vc = vc_cons[fg_console].d; in kbd_keycode()
|
D | vc_screen.c | 74 currcons = fg_console; in vcs_notifier() 147 currcons = fg_console; in vcs_vc()
|
D | consolemap.c | 340 ch = conv_uni_to_pc(vc_cons[fg_console].d, p[i]); in con_get_trans_old()
|
/linux-4.4.14/drivers/accessibility/braille/ |
D | braille_console.c | 247 on_off = vt_get_leds(fg_console, VC_CAPSLOCK); in keyboard_notifier_call() 250 on_off = vt_get_leds(fg_console, VC_NUMLOCK); in keyboard_notifier_call() 253 on_off = vt_get_leds(fg_console, VC_SCROLLOCK); in keyboard_notifier_call() 288 if (vc->vc_num != fg_console) in vt_notifier_call()
|
/linux-4.4.14/drivers/staging/speakup/ |
D | selection.c | 57 struct vc_data *vc = vc_cons[fg_console].d; in speakup_set_selection() 74 if (spk_sel_cons != vc_cons[fg_console].d) { in speakup_set_selection() 76 spk_sel_cons = vc_cons[fg_console].d; in speakup_set_selection()
|
D | main.c | 1372 if ((vc->vc_num != fg_console) || synth == NULL || spk_shut_up) in read_all_doc() 1656 if (cursor_con != fg_console) { in cursor_done() 1705 if (vc->vc_num == fg_console && spk_keydown) { in speakup_bs() 1718 if ((vc->vc_num != fg_console) || spk_shut_up || synth == NULL) in speakup_con_write() 1771 on_off = vt_get_leds(fg_console, VC_CAPSLOCK); in do_handle_spec() 1775 on_off = vt_get_leds(fg_console, VC_NUMLOCK); in do_handle_spec() 1779 on_off = vt_get_leds(fg_console, VC_SCROLLOCK); in do_handle_spec() 2064 && (vt_get_leds(fg_console, VC_NUMLOCK))) { in speakup_key() 2298 struct vc_data *vc = vc_cons[fg_console].d; in speakup_init()
|
D | kobjects.c | 331 struct vc_data *vc = vc_cons[fg_console].d; in silent_store()
|
/linux-4.4.14/drivers/video/console/ |
D | sticon.c | 269 if (conp->vc_num != fg_console || !softback_lines) in sticon_screen_pos() 290 if (conp->vc_num == fg_console) in sticon_getxy() 293 } else if (conp->vc_num == fg_console && softback_lines) { in sticon_getxy()
|
D | fbcon.c | 779 ops->currcon = fg_console; in con2fb_init_display() 795 struct vc_data *fg_vc = vc_cons[fg_console].d; in con2fb_init_display() 797 registered_fb[con2fb_map[fg_console]]; in con2fb_init_display() 804 update_screen(vc_cons[fg_console].d); in con2fb_init_display() 856 int show_logo = (fg_console == 0 && !user && in set_con2fb_map() 921 struct display *p = &fb_display[fg_console]; in fbcon_startup() 922 struct vc_data *vc = vc_cons[fg_console].d; in fbcon_startup() 1049 t = &fb_display[fg_console]; in fbcon_init() 1052 struct vc_data *fvc = vc_cons[fg_console].d; in fbcon_init() 1160 ops->p = &fb_display[fg_console]; in fbcon_init() [all …]
|
D | vgacon.c | 217 if (!vgacon_scrollback_size || c->vc_num != fg_console) in vgacon_scrollback_update()
|
/linux-4.4.14/drivers/tty/serial/ |
D | kgdboc.c | 288 con_debug_enter(vc_cons[fg_console].d); in kgdboc_pre_exp_handler()
|
/linux-4.4.14/include/linux/ |
D | vt_kern.h | 32 extern int fg_console, last_console, want_console;
|
/linux-4.4.14/drivers/tty/ |
D | sysrq.c | 103 struct work_struct *SAK_work = &vc_cons[fg_console].SAK_work; in sysrq_handle_SAK() 119 vt_reset_unicode(fg_console); in sysrq_handle_unraw()
|
D | tty_io.c | 1983 *index = fg_console; in tty_lookup_driver()
|