Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/tty/vt/
Dvt_ioctl.c61 if (i == fg_console) in vt_busy()
223 if (n == fg_console + 1) { in vt_waitactive()
270 if (vc->vc_num != fg_console) in vt_kdsetmode()
564 if (!perm && fg_console != vc->vc_num) in do_unimap_ioctl()
872 if (put_user(fg_console + 1, &vtstat->v_active)) in vt_ioctl()
1159 if (!perm && fg_console != vc->vc_num) in compat_unimap_ioctl()
1242 int old = fg_console; in complete_change_console()
1244 last_console = fg_console; in complete_change_console()
1251 old_vc_mode = vc_cons[fg_console].d->vc_mode; in complete_change_console()
1317 if (!new_vc || new_vc->vc_num == fg_console || vt_dont_switch) in change_console()
[all …]
Dvt.c192 int fg_console; variable
278 return vc->vc_num == fg_console; in con_is_fg()
997 struct vc_data *old_vc = vc_cons[fg_console].d; in redraw_screen()
1003 fg_console = vc->vc_num; in redraw_screen()
1861 return vc_cons[fg_console].d->vc_report_mouse; in mouse_reporting()
2943 if (want_console != fg_console && in console_callback()
2945 hide_cursor(vc_cons[fg_console].d); in console_callback()
2958 struct vc_data *vc = vc_cons[fg_console].d; in console_callback()
2968 notify_update(vc_cons[fg_console].d); in console_callback()
2975 struct vc_data *vc = vc_cons[fg_console].d; in set_console()
[all …]
Dselection.c233 bool unicode = vt_do_kdgkbmode(fg_console) == K_UNICODE; in vc_do_selection()
359 ret = vc_selection(vc_cons[fg_console].d, v, tty); in set_selection_kernel()
Dkeyboard.c533 int i, cur = fg_console; in fn_dec_console()
550 int i, cur = fg_console; in fn_inc_console()
614 struct work_struct *SAK_work = &vc_cons[fg_console].SAK_work; in fn_SAK()
1140 struct kbd_struct *kb = kbd_table + fg_console; in getleds()
1352 struct vc_data *vc = vc_cons[fg_console].d; in kbd_rawcode()
1361 struct vc_data *vc = vc_cons[fg_console].d; in kbd_keycode()
Dvc_screen.c106 currcons = fg_console; in vcs_notifier()
190 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.10/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.10/drivers/accessibility/speakup/
Dselection.c41 if (spk_sel_cons != vc_cons[fg_console].d) { in __speakup_set_selection()
42 spk_sel_cons = vc_cons[fg_console].d; in __speakup_set_selection()
Dmain.c1401 if ((vc->vc_num != fg_console) || !synth || spk_shut_up) in read_all_doc()
1689 if (cursor_con != fg_console) { in cursor_done()
1741 if (vc->vc_num == fg_console && spk_keydown) { in speakup_bs()
1754 if ((vc->vc_num != fg_console) || spk_shut_up || !synth) in speakup_con_write()
1811 on_off = vt_get_leds(fg_console, VC_CAPSLOCK); in do_handle_spec()
1815 on_off = vt_get_leds(fg_console, VC_NUMLOCK); in do_handle_spec()
1819 on_off = vt_get_leds(fg_console, VC_SCROLLOCK); in do_handle_spec()
2114 (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.10/drivers/video/fbdev/core/
Dfbcon.c803 ops->currcon = fg_console; in con2fb_init_display()
819 struct vc_data *fg_vc = vc_cons[fg_console].d; in con2fb_init_display()
821 registered_fb[con2fb_map[fg_console]]; in con2fb_init_display()
828 update_screen(vc_cons[fg_console].d); in con2fb_init_display()
881 int show_logo = (fg_console == 0 && !user && in set_con2fb_map()
946 struct fbcon_display *p = &fb_display[fg_console]; in fbcon_startup()
947 struct vc_data *vc = vc_cons[fg_console].d; in fbcon_startup()
1062 t = &fb_display[fg_console]; in fbcon_init()
1065 struct vc_data *fvc = vc_cons[fg_console].d; in fbcon_init()
1175 ops->p = &fb_display[fg_console]; in fbcon_init()
[all …]
/Linux-v5.10/include/linux/
Dvt_kern.h34 extern int fg_console, last_console, want_console;
/Linux-v5.10/drivers/tty/
Dsysrq.c120 struct work_struct *SAK_work = &vc_cons[fg_console].SAK_work; in sysrq_handle_SAK()
136 vt_reset_unicode(fg_console); in sysrq_handle_unraw()
Dtty_io.c1849 *index = fg_console; in tty_lookup_driver()
/Linux-v5.10/drivers/tty/serial/
Dkgdboc.c374 con_debug_enter(vc_cons[fg_console].d); in kgdboc_pre_exp_handler()