Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/tty/vt/
Dvt_ioctl.c61 if (i == fg_console) in vt_busy()
223 if (n == fg_console + 1) { in vt_waitactive()
271 if (vc->vc_num != fg_console) in vt_kdsetmode()
502 if (!perm && fg_console != vc->vc_num) in do_unimap_ioctl()
811 if (put_user(fg_console + 1, &vtstat->v_active)) in vt_ioctl()
1052 if (!perm && fg_console != vc->vc_num) in compat_unimap_ioctl()
1132 int old = fg_console; in complete_change_console()
1134 last_console = fg_console; in complete_change_console()
1141 old_vc_mode = vc_cons[fg_console].d->vc_mode; in complete_change_console()
1207 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()
1878 return vc_cons[fg_console].d->vc_report_mouse; in mouse_reporting()
2983 if (want_console != fg_console && in console_callback()
2985 hide_cursor(vc_cons[fg_console].d); in console_callback()
2998 struct vc_data *vc = vc_cons[fg_console].d; in console_callback()
3008 notify_update(vc_cons[fg_console].d); in console_callback()
3015 struct vc_data *vc = vc_cons[fg_console].d; in set_console()
[all …]
Dselection.c234 bool unicode = vt_do_kdgkbmode(fg_console) == K_UNICODE; in vc_do_selection()
360 ret = vc_selection(vc_cons[fg_console].d, v, tty); in set_selection_kernel()
Dkeyboard.c559 int i, cur = fg_console; in fn_dec_console()
576 int i, cur = fg_console; in fn_inc_console()
640 struct work_struct *SAK_work = &vc_cons[fg_console].SAK_work; in fn_SAK()
1166 struct kbd_struct *kb = kbd_table + fg_console; in getleds()
1390 struct vc_data *vc = vc_cons[fg_console].d; in kbd_rawcode()
1399 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.c380 ch = conv_uni_to_pc(vc_cons[fg_console].d, p[i]); in con_get_trans_old()
/linux-6.1.9/drivers/accessibility/braille/
Dbraille_console.c235 on_off = vt_get_leds(fg_console, VC_CAPSLOCK); in keyboard_notifier_call()
238 on_off = vt_get_leds(fg_console, VC_NUMLOCK); in keyboard_notifier_call()
241 on_off = vt_get_leds(fg_console, VC_SCROLLOCK); in keyboard_notifier_call()
279 if (vc->vc_num != fg_console) in vt_notifier_call()
/linux-6.1.9/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.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()
2112 (vt_get_leds(fg_console, VC_NUMLOCK))) { in speakup_key()
2353 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-6.1.9/drivers/video/fbdev/core/
Dfbcon.c781 ops->currcon = fg_console; in con2fb_init_display()
797 struct vc_data *fg_vc = vc_cons[fg_console].d; in con2fb_init_display()
799 fbcon_info_from_console(fg_console); in con2fb_init_display()
806 update_screen(vc_cons[fg_console].d); in con2fb_init_display()
859 show_logo = (fg_console == 0 && !user && in set_con2fb_map()
923 struct fbcon_display *p = &fb_display[fg_console]; in fbcon_startup()
924 struct vc_data *vc = vc_cons[fg_console].d; in fbcon_startup()
1024 t = &fb_display[fg_console]; in fbcon_init()
1027 struct vc_data *fvc = vc_cons[fg_console].d; in fbcon_init()
1135 ops->p = &fb_display[fg_console]; in fbcon_init()
[all …]
/linux-6.1.9/include/linux/
Dvt_kern.h22 extern int fg_console, last_console, want_console;
/linux-6.1.9/drivers/tty/
Dsysrq.c120 struct work_struct *SAK_work = &vc_cons[fg_console].SAK_work; in sysrq_handle_SAK()
137 vt_reset_unicode(fg_console); in sysrq_handle_unraw()
Dtty_io.c1922 *index = fg_console; in tty_lookup_driver()
/linux-6.1.9/drivers/tty/serial/
Dkgdboc.c374 con_debug_enter(vc_cons[fg_console].d); in kgdboc_pre_exp_handler()