Home
last modified time | relevance | path

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

/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
193 EXPORT_SYMBOL(fg_console);
281 return vc->vc_num == fg_console; in con_is_fg()
945 struct vc_data *old_vc = vc_cons[fg_console].d; in redraw_screen()
951 fg_console = vc->vc_num; in redraw_screen()
1832 return vc_cons[fg_console].d->vc_report_mouse; in mouse_reporting()
2936 if (want_console != fg_console && in console_callback()
2938 hide_cursor(vc_cons[fg_console].d); in console_callback()
2951 struct vc_data *vc = vc_cons[fg_console].d; in console_callback()
2961 notify_update(vc_cons[fg_console].d); in console_callback()
[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()
/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()
278 if (vc->vc_num != fg_console) in vt_notifier_call()
/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.c1409 if ((vc->vc_num != fg_console) || !synth || spk_shut_up) in read_all_doc()
1697 if (cursor_con != fg_console) { in cursor_done()
1753 if (vc->vc_num == fg_console && spk_keydown) { in speakup_bs()
1766 if ((vc->vc_num != fg_console) || spk_shut_up || !synth) in speakup_con_write()
1823 on_off = vt_get_leds(fg_console, VC_CAPSLOCK); in do_handle_spec()
1827 on_off = vt_get_leds(fg_console, VC_NUMLOCK); in do_handle_spec()
1831 on_off = vt_get_leds(fg_console, VC_SCROLLOCK); in do_handle_spec()
2126 (vt_get_leds(fg_console, VC_NUMLOCK))) { in speakup_key()
2367 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()
/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()
861 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()
1022 t = &fb_display[fg_console]; in fbcon_init()
1025 struct vc_data *fvc = vc_cons[fg_console].d; in fbcon_init()
1133 ops->p = &fb_display[fg_console]; in fbcon_init()
[all …]
/drivers/tty/
Dsysrq.c121 struct work_struct *SAK_work = &vc_cons[fg_console].SAK_work; in sysrq_handle_SAK()
138 vt_reset_unicode(fg_console); in sysrq_handle_unraw()
Dtty_io.c1923 *index = fg_console; in tty_lookup_driver()
/drivers/tty/serial/
Dkgdboc.c414 con_debug_enter(vc_cons[fg_console].d); in kgdboc_pre_exp_handler()