Home
last modified time | relevance | path

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

/drivers/tty/vt/
Dvt_ioctl.c42 #define VT_BUSY(i) (VT_IS_IN_USE(i) || i == fg_console || vc_cons[i].d == sel_cons)
180 if (n == fg_console + 1) in vt_waitactive()
219 return con_font_op(vc_cons[fg_console].d, op); in do_fontx_ioctl()
227 i = con_font_op(vc_cons[fg_console].d, op); in do_fontx_ioctl()
257 if (!perm && fg_console != vc->vc_num) in do_unimap_ioctl()
420 if (console != fg_console) in vt_ioctl()
582 if (put_user(fg_console + 1, &vtstat->v_active)) in vt_ioctl()
865 ret = con_font_op(vc_cons[fg_console].d, &op); in vt_ioctl()
876 ret = con_font_op(vc_cons[fg_console].d, &op); in vt_ioctl()
910 ret = con_font_op(vc_cons[fg_console].d, &op); in vt_ioctl()
[all …]
Dselection.c160 struct vc_data *vc = vc_cons[fg_console].d; in set_selection()
205 if (sel_cons != vc_cons[fg_console].d) { in set_selection()
207 sel_cons = vc_cons[fg_console].d; in set_selection()
209 mode = vt_do_kdgkbmode(fg_console); in set_selection()
Dvt.c190 int fg_console; variable
274 #define IS_FG(vc) ((vc)->vc_num == fg_console)
683 struct vc_data *old_vc = vc_cons[fg_console].d; in redraw_screen()
689 fg_console = vc->vc_num; in redraw_screen()
1416 return vc_cons[fg_console].d->vc_report_mouse; in mouse_reporting()
2378 if (want_console != fg_console && in console_callback()
2380 hide_cursor(vc_cons[fg_console].d); in console_callback()
2393 struct vc_data *vc = vc_cons[fg_console].d; in console_callback()
2403 notify_update(vc_cons[fg_console].d); in console_callback()
2410 struct vc_data *vc = vc_cons[fg_console].d; in set_console()
[all …]
Dkeyboard.c554 int i, cur = fg_console; in fn_dec_console()
571 int i, cur = fg_console; in fn_inc_console()
639 struct work_struct *SAK_work = &vc_cons[fg_console].SAK_work; in fn_SAK()
1012 struct kbd_struct *kbd = kbd_table + fg_console; in getleds()
1251 struct vc_data *vc = vc_cons[fg_console].d; in kbd_rawcode()
1260 struct vc_data *vc = vc_cons[fg_console].d; in kbd_keycode()
Dvc_screen.c74 currcons = fg_console; in vcs_notifier()
147 currcons = fg_console; in vcs_vc()
Dconsolemap.c335 ch = conv_uni_to_pc(vc_cons[fg_console].d, p[i]); in con_get_trans_old()
/drivers/staging/speakup/
Dselection.c52 struct vc_data *vc = vc_cons[fg_console].d; in speakup_set_selection()
68 if (spk_sel_cons != vc_cons[fg_console].d) { in speakup_set_selection()
70 spk_sel_cons = vc_cons[fg_console].d; in speakup_set_selection()
Dmain.c1342 if ((vc->vc_num != fg_console) || synth == NULL || spk_shut_up) in read_all_doc()
1623 if (cursor_con != fg_console) { in cursor_done()
1671 if (vc->vc_num == fg_console && spk_keydown) { in speakup_bs()
1683 if ((vc->vc_num != fg_console) || spk_shut_up || synth == NULL) in speakup_con_write()
1734 on_off = vt_get_leds(fg_console, VC_CAPSLOCK); in do_handle_spec()
1738 on_off = vt_get_leds(fg_console, VC_NUMLOCK); in do_handle_spec()
1742 on_off = vt_get_leds(fg_console, VC_SCROLLOCK); in do_handle_spec()
2023 && (vt_get_leds(fg_console, VC_NUMLOCK))) { in speakup_key()
2253 struct vc_data *vc = vc_cons[fg_console].d; in speakup_init()
Dkobjects.c328 struct vc_data *vc = vc_cons[fg_console].d; in silent_store()
/drivers/accessibility/braille/
Dbraille_console.c247 on_off = vt_get_leds(fg_console, VC_CAPSLOCK); in keyboard_notifier_call()
250 on_off = vt_get_leds(fg_console, VC_NUMLOCK); in keyboard_notifier_call()
253 on_off = vt_get_leds(fg_console, VC_SCROLLOCK); in keyboard_notifier_call()
288 if (vc->vc_num != fg_console) in vt_notifier_call()
/drivers/video/console/
Dfbcon.c809 ops->currcon = fg_console; in con2fb_init_display()
825 struct vc_data *fg_vc = vc_cons[fg_console].d; in con2fb_init_display()
827 registered_fb[con2fb_map[fg_console]]; in con2fb_init_display()
834 update_screen(vc_cons[fg_console].d); in con2fb_init_display()
886 int show_logo = (fg_console == 0 && !user && in set_con2fb_map()
951 struct display *p = &fb_display[fg_console]; in fbcon_startup()
952 struct vc_data *vc = vc_cons[fg_console].d; in fbcon_startup()
1078 t = &fb_display[fg_console]; in fbcon_init()
1081 struct vc_data *fvc = vc_cons[fg_console].d; in fbcon_init()
1188 ops->p = &fb_display[fg_console]; in fbcon_init()
[all …]
Dsticon.c269 if (conp->vc_num != fg_console || !softback_lines) in sticon_screen_pos()
290 if (conp->vc_num == fg_console) in sticon_getxy()
293 } else if (conp->vc_num == fg_console && softback_lines) { in sticon_getxy()
Dvgacon.c215 if (!vgacon_scrollback_size || c->vc_num != fg_console) in vgacon_scrollback_update()
/drivers/tty/
Dsysrq.c97 struct work_struct *SAK_work = &vc_cons[fg_console].SAK_work; in sysrq_handle_SAK()
113 vt_reset_unicode(fg_console); in sysrq_handle_unraw()
Dtty_io.c1855 *index = fg_console; in tty_lookup_driver()
/drivers/tty/serial/
Dkgdboc.c278 con_debug_enter(vc_cons[fg_console].d); in kgdboc_pre_exp_handler()