Home
last modified time | relevance | path

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

/openbmc/linux/drivers/tty/vt/
H A 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()
1225 vc = vc_cons[fg_console].d; in change_console()
[all …]
H A Dvt.c192 int fg_console; variable
193 EXPORT_SYMBOL(fg_console);
281 return vc->vc_num == fg_console; in con_is_fg()
951 fg_console = vc->vc_num; in redraw_screen()
3209 return fg_console; in tioclinux()
3447 fg_console = 0; in con_init()
3482 currcons = fg_console = 0; in con_init()
3984 saved_fg_console = fg_console; in con_debug_enter()
4047 vc = vc_cons[fg_console].d; in con_debug_leave()
4374 fg_console + 1); in do_unblank_screen()
[all …]
H A 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()
H A 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()
H A Dvc_screen.c106 currcons = fg_console; in vcs_notifier()
190 currcons = fg_console; in vcs_vc()
H A Dconsolemap.c380 ch = conv_uni_to_pc(vc_cons[fg_console].d, p[i]); in con_get_trans_old()
/openbmc/linux/drivers/accessibility/braille/
H A 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()
/openbmc/linux/drivers/accessibility/speakup/
H A 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()
H A 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()
H A Dkobjects.c336 struct vc_data *vc = vc_cons[fg_console].d; in silent_store()
/openbmc/linux/drivers/video/fbdev/core/
H A Dfbcon.c781 ops->currcon = fg_console; in con2fb_init_display()
806 update_screen(vc_cons[fg_console].d); in con2fb_init_display()
1024 t = &fb_display[fg_console]; in fbcon_init()
1135 ops->p = &fb_display[fg_console]; in fbcon_init()
2178 logo_shown = fg_console; in fbcon_switch()
3094 vc = vc_cons[fg_console].d; in fbcon_get_requirement()
3183 idx = con2fb_map[fg_console]; in store_rotate()
3205 idx = con2fb_map[fg_console]; in store_rotate_all()
3225 idx = con2fb_map[fg_console]; in show_rotate()
3245 idx = con2fb_map[fg_console]; in show_cursor_blink()
[all …]
/openbmc/linux/include/linux/
H A Dvt_kern.h22 extern int fg_console, last_console, want_console;
/openbmc/linux/drivers/tty/
H A Dsysrq.c119 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()
H A Dtty_io.c1923 *index = fg_console; in tty_lookup_driver()
/openbmc/linux/drivers/tty/serial/
H A Dkgdboc.c414 con_debug_enter(vc_cons[fg_console].d); in kgdboc_pre_exp_handler()