Home
last modified time | relevance | path

Searched refs:fg_console (Results 1 – 17 of 17) sorted by relevance

/Linux-v4.19/drivers/tty/vt/
Dvt_ioctl.c46 #define VT_BUSY(i) (VT_IS_IN_USE(i) || i == fg_console || vc_cons[i].d == sel_cons)
203 if (n == fg_console + 1) { in vt_waitactive()
244 return con_font_op(vc_cons[fg_console].d, op); in do_fontx_ioctl()
252 i = con_font_op(vc_cons[fg_console].d, op); in do_fontx_ioctl()
278 if (!perm && fg_console != vc->vc_num) in do_unimap_ioctl()
483 if (console != fg_console) in vt_ioctl()
645 if (put_user(fg_console + 1, &vtstat->v_active)) in vt_ioctl()
902 ret = con_font_op(vc_cons[fg_console].d, &op); in vt_ioctl()
913 ret = con_font_op(vc_cons[fg_console].d, &op); in vt_ioctl()
947 ret = con_font_op(vc_cons[fg_console].d, &op); in vt_ioctl()
[all …]
Dselection.c168 struct vc_data *vc = vc_cons[fg_console].d; in set_selection()
201 if (sel_cons != vc_cons[fg_console].d) { in set_selection()
203 sel_cons = vc_cons[fg_console].d; in set_selection()
205 mode = vt_do_kdgkbmode(fg_console); in set_selection()
Dvt.c199 int fg_console; variable
285 return vc->vc_num == fg_console; in con_is_fg()
970 struct vc_data *old_vc = vc_cons[fg_console].d; in redraw_screen()
976 fg_console = vc->vc_num; in redraw_screen()
1811 return vc_cons[fg_console].d->vc_report_mouse; in mouse_reporting()
2789 if (want_console != fg_console && in console_callback()
2791 hide_cursor(vc_cons[fg_console].d); in console_callback()
2804 struct vc_data *vc = vc_cons[fg_console].d; in console_callback()
2814 notify_update(vc_cons[fg_console].d); in console_callback()
2821 struct vc_data *vc = vc_cons[fg_console].d; in set_console()
[all …]
Dkeyboard.c527 int i, cur = fg_console; in fn_dec_console()
544 int i, cur = fg_console; in fn_inc_console()
608 struct work_struct *SAK_work = &vc_cons[fg_console].SAK_work; in fn_SAK()
1127 struct kbd_struct *kb = kbd_table + fg_console; in getleds()
1339 struct vc_data *vc = vc_cons[fg_console].d; in kbd_rawcode()
1348 struct vc_data *vc = vc_cons[fg_console].d; in kbd_keycode()
Dvc_screen.c101 currcons = fg_console; in vcs_notifier()
174 currcons = fg_console; in vcs_vc()
Dconsolemap.c350 ch = conv_uni_to_pc(vc_cons[fg_console].d, p[i]); in con_get_trans_old()
/Linux-v4.19/drivers/accessibility/braille/
Dbraille_console.c247 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-v4.19/drivers/staging/speakup/
Dselection.c58 struct vc_data *vc = vc_cons[fg_console].d; in speakup_set_selection()
70 if (spk_sel_cons != vc_cons[fg_console].d) { in speakup_set_selection()
72 spk_sel_cons = vc_cons[fg_console].d; in speakup_set_selection()
Dmain.c1399 if ((vc->vc_num != fg_console) || !synth || spk_shut_up) in read_all_doc()
1687 if (cursor_con != fg_console) { in cursor_done()
1739 if (vc->vc_num == fg_console && spk_keydown) { in speakup_bs()
1752 if ((vc->vc_num != fg_console) || spk_shut_up || !synth) in speakup_con_write()
1809 on_off = vt_get_leds(fg_console, VC_CAPSLOCK); in do_handle_spec()
1813 on_off = vt_get_leds(fg_console, VC_NUMLOCK); in do_handle_spec()
1817 on_off = vt_get_leds(fg_console, VC_SCROLLOCK); in do_handle_spec()
2111 (vt_get_leds(fg_console, VC_NUMLOCK))) { in speakup_key()
2350 struct vc_data *vc = vc_cons[fg_console].d; in speakup_init()
Dkobjects.c332 struct vc_data *vc = vc_cons[fg_console].d; in silent_store()
/Linux-v4.19/drivers/video/console/
Dsticon.c244 if (conp->vc_num != fg_console || !softback_lines) in sticon_screen_pos()
265 if (conp->vc_num == fg_console) in sticon_getxy()
268 } else if (conp->vc_num == fg_console && softback_lines) { in sticon_getxy()
Dvgacon.c248 c->vc_num != fg_console) in vgacon_scrollback_update()
/Linux-v4.19/drivers/video/fbdev/core/
Dfbcon.c796 ops->currcon = fg_console; in con2fb_init_display()
812 struct vc_data *fg_vc = vc_cons[fg_console].d; in con2fb_init_display()
814 registered_fb[con2fb_map[fg_console]]; in con2fb_init_display()
821 update_screen(vc_cons[fg_console].d); in con2fb_init_display()
875 int show_logo = (fg_console == 0 && !user && in set_con2fb_map()
940 struct display *p = &fb_display[fg_console]; in fbcon_startup()
941 struct vc_data *vc = vc_cons[fg_console].d; in fbcon_startup()
1075 t = &fb_display[fg_console]; in fbcon_init()
1078 struct vc_data *fvc = vc_cons[fg_console].d; in fbcon_init()
1192 ops->p = &fb_display[fg_console]; in fbcon_init()
[all …]
/Linux-v4.19/drivers/tty/serial/
Dkgdboc.c286 con_debug_enter(vc_cons[fg_console].d); in kgdboc_pre_exp_handler()
/Linux-v4.19/include/linux/
Dvt_kern.h33 extern int fg_console, last_console, want_console;
/Linux-v4.19/drivers/tty/
Dsysrq.c106 struct work_struct *SAK_work = &vc_cons[fg_console].SAK_work; in sysrq_handle_SAK()
122 vt_reset_unicode(fg_console); in sysrq_handle_unraw()
Dtty_io.c1829 *index = fg_console; in tty_lookup_driver()