Home
last modified time | relevance | path

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

/Linux-v5.4/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.c182 struct vc_data *vc = vc_cons[fg_console].d; in set_selection_kernel()
213 if (sel_cons != vc_cons[fg_console].d) { in set_selection_kernel()
215 sel_cons = vc_cons[fg_console].d; in set_selection_kernel()
217 mode = vt_do_kdgkbmode(fg_console); in set_selection_kernel()
Dvt.c199 int fg_console; variable
285 return vc->vc_num == fg_console; in con_is_fg()
973 struct vc_data *old_vc = vc_cons[fg_console].d; in redraw_screen()
979 fg_console = vc->vc_num; in redraw_screen()
1818 return vc_cons[fg_console].d->vc_report_mouse; in mouse_reporting()
2821 if (want_console != fg_console && in console_callback()
2823 hide_cursor(vc_cons[fg_console].d); in console_callback()
2836 struct vc_data *vc = vc_cons[fg_console].d; in console_callback()
2846 notify_update(vc_cons[fg_console].d); in console_callback()
2853 struct vc_data *vc = vc_cons[fg_console].d; in set_console()
[all …]
Dkeyboard.c528 int i, cur = fg_console; in fn_dec_console()
545 int i, cur = fg_console; in fn_inc_console()
609 struct work_struct *SAK_work = &vc_cons[fg_console].SAK_work; in fn_SAK()
1128 struct kbd_struct *kb = kbd_table + fg_console; in getleds()
1340 struct vc_data *vc = vc_cons[fg_console].d; in kbd_rawcode()
1349 struct vc_data *vc = vc_cons[fg_console].d; in kbd_keycode()
Dvc_screen.c110 currcons = fg_console; in vcs_notifier()
192 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-v5.4/drivers/accessibility/braille/
Dbraille_console.c234 on_off = vt_get_leds(fg_console, VC_CAPSLOCK); in keyboard_notifier_call()
237 on_off = vt_get_leds(fg_console, VC_NUMLOCK); in keyboard_notifier_call()
240 on_off = vt_get_leds(fg_console, VC_SCROLLOCK); in keyboard_notifier_call()
275 if (vc->vc_num != fg_console) in vt_notifier_call()
/Linux-v5.4/drivers/staging/speakup/
Dselection.c48 if (spk_sel_cons != vc_cons[fg_console].d) { in __speakup_set_selection()
49 spk_sel_cons = vc_cons[fg_console].d; in __speakup_set_selection()
Dmain.c1402 if ((vc->vc_num != fg_console) || !synth || spk_shut_up) in read_all_doc()
1690 if (cursor_con != fg_console) { in cursor_done()
1742 if (vc->vc_num == fg_console && spk_keydown) { in speakup_bs()
1755 if ((vc->vc_num != fg_console) || spk_shut_up || !synth) in speakup_con_write()
1812 on_off = vt_get_leds(fg_console, VC_CAPSLOCK); in do_handle_spec()
1816 on_off = vt_get_leds(fg_console, VC_NUMLOCK); in do_handle_spec()
1820 on_off = vt_get_leds(fg_console, VC_SCROLLOCK); in do_handle_spec()
2115 (vt_get_leds(fg_console, VC_NUMLOCK))) { in speakup_key()
2355 struct vc_data *vc = vc_cons[fg_console].d; in speakup_init()
Dkobjects.c336 struct vc_data *vc = vc_cons[fg_console].d; in silent_store()
/Linux-v5.4/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-v5.4/drivers/video/fbdev/core/
Dfbcon.c824 ops->currcon = fg_console; in con2fb_init_display()
840 struct vc_data *fg_vc = vc_cons[fg_console].d; in con2fb_init_display()
842 registered_fb[con2fb_map[fg_console]]; in con2fb_init_display()
849 update_screen(vc_cons[fg_console].d); in con2fb_init_display()
903 int show_logo = (fg_console == 0 && !user && in set_con2fb_map()
968 struct fbcon_display *p = &fb_display[fg_console]; in fbcon_startup()
969 struct vc_data *vc = vc_cons[fg_console].d; in fbcon_startup()
1109 t = &fb_display[fg_console]; in fbcon_init()
1112 struct vc_data *fvc = vc_cons[fg_console].d; in fbcon_init()
1225 ops->p = &fb_display[fg_console]; in fbcon_init()
[all …]
/Linux-v5.4/include/linux/
Dvt_kern.h33 extern int fg_console, last_console, want_console;
/Linux-v5.4/drivers/tty/serial/
Dkgdboc.c275 con_debug_enter(vc_cons[fg_console].d); in kgdboc_pre_exp_handler()
/Linux-v5.4/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.c1847 *index = fg_console; in tty_lookup_driver()