Home
last modified time | relevance | path

Searched refs:vc_num (Results 1 – 13 of 13) sorted by relevance

/drivers/staging/speakup/
Dspk_types.h82 #define spk_shut_up (speakup_console[vc->vc_num]->shut_up)
83 #define spk_killed (speakup_console[vc->vc_num]->shut_up & 0x40)
84 #define spk_x (speakup_console[vc->vc_num]->reading_x)
85 #define spk_cx (speakup_console[vc->vc_num]->cursor_x)
86 #define spk_y (speakup_console[vc->vc_num]->reading_y)
87 #define spk_cy (speakup_console[vc->vc_num]->cursor_y)
88 #define spk_pos (speakup_console[vc->vc_num]->reading_pos)
89 #define spk_cp (speakup_console[vc->vc_num]->cursor_pos)
90 #define goto_pos (speakup_console[vc->vc_num]->go_pos)
91 #define goto_x (speakup_console[vc->vc_num]->go_x)
[all …]
Dmain.c1010 vc->vc_num + 1); in say_position()
1287 int vc_num; in speakup_allocate() local
1289 vc_num = vc->vc_num; in speakup_allocate()
1290 if (speakup_console[vc_num] == NULL) { in speakup_allocate()
1291 speakup_console[vc_num] = kzalloc(sizeof(*speakup_console[0]), in speakup_allocate()
1293 if (speakup_console[vc_num] == NULL) in speakup_allocate()
1304 int vc_num; in speakup_deallocate() local
1306 vc_num = vc->vc_num; in speakup_deallocate()
1307 kfree(speakup_console[vc_num]); in speakup_deallocate()
1308 speakup_console[vc_num] = NULL; in speakup_deallocate()
[all …]
/drivers/usb/misc/sisusbvga/
Dsisusb_con.c217 if (!(sisusb = sisusb_get_sisusb(c->vc_num))) in sisusbcon_init()
235 sisusb->havethisconsole[c->vc_num] = 1; in sisusbcon_init()
280 if (!(sisusb = sisusb_get_sisusb(c->vc_num))) in sisusbcon_deinit()
286 mysisusbs[c->vc_num] = NULL; in sisusbcon_deinit()
288 sisusb->havethisconsole[c->vc_num] = 0; in sisusbcon_deinit()
293 if (sisusb->havethisconsole[c->vc_num]) in sisusbcon_deinit()
372 if (!(sisusb = sisusb_get_sisusb_lock_and_check(c->vc_num))) in sisusbcon_putc()
398 if (!(sisusb = sisusb_get_sisusb_lock_and_check(c->vc_num))) in sisusbcon_putcs()
436 if (!(sisusb = sisusb_get_sisusb_lock_and_check(c->vc_num))) in sisusbcon_clear()
489 if (!(sisusb = sisusb_get_sisusb_lock_and_check(c->vc_num))) in sisusbcon_bmove()
[all …]
/drivers/video/console/
Dfbcon.c248 p = &fb_display[vc->vc_num]; in fbcon_rotate_all()
388 registered_fb[con2fb_map[vc->vc_num]] != info || in fb_flashcursor()
685 ops->p = &fb_display[vc->vc_num]; in set_blitting_type()
711 ops->p = &fb_display[vc->vc_num]; in set_blitting_type()
1053 struct fb_info *info = registered_fb[con2fb_map[vc->vc_num]]; in fbcon_init()
1057 struct display *t, *p = &fb_display[vc->vc_num]; in fbcon_init()
1074 con2fb_acquire_newinfo(vc, info, vc->vc_num, -1); in fbcon_init()
1201 struct display *p = &fb_display[vc->vc_num]; in fbcon_deinit()
1207 idx = con2fb_map[vc->vc_num]; in fbcon_deinit()
1268 struct fb_info *info = registered_fb[con2fb_map[vc->vc_num]]; in fbcon_clear()
[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()
Dnewport_con.c369 p = &font_data[vc->vc_num][(charattr & 0xff) << 4]; in newport_putc()
420 p = &font_data[vc->vc_num][(scr_readw(s++) & 0xff) << 4]; in newport_putcs()
562 return newport_set_def_font(vc->vc_num, op); in newport_font_default()
567 return newport_set_font(vc->vc_num, font); in newport_font_set()
Dvgacon.c215 if (!vgacon_scrollback_size || c->vc_num != fg_console) in vgacon_scrollback_update()
/drivers/tty/vt/
Dvt_ioctl.c257 if (!perm && fg_console != vc->vc_num) in do_unimap_ioctl()
282 console = vc->vc_num; in vt_ioctl()
1015 vt_reset_unicode(vc->vc_num); in reset_vc()
1152 if (!perm && fg_console != vc->vc_num) in compat_unimap_ioctl()
1169 console = vc->vc_num; in vt_compat_ioctl()
1319 vt_event_post(VT_EVENT_SWITCH, old, vc->vc_num); in complete_change_console()
1330 if (!new_vc || new_vc->vc_num == fg_console || vt_dont_switch) in change_console()
1358 vc->vt_newvt = new_vc->vc_num; in change_console()
Dvt.c274 #define IS_FG(vc) ((vc)->vc_num == fg_console)
689 fg_console = vc->vc_num; in redraw_screen()
753 vc->vc_num = num; in visual_init()
962 vt_event_post(VT_EVENT_RESIZE, vc->vc_num, vc->vc_num); in vc_do_resize()
1030 #define set_kbd(vc, x) vt_set_kbd_mode_bit((vc)->vc_num, (x))
1031 #define clr_kbd(vc, x) vt_clr_kbd_mode_bit((vc)->vc_num, (x))
1032 #define is_kbd(vc, x) vt_get_kbd_mode_bit((vc)->vc_num, (x))
1654 vt_reset_keyboard(vc->vc_num); in reset_terminal()
1972 vt_set_led_state(vc->vc_num, in do_con_trol()
2138 currcons = vc->vc_num; in do_con_write()
[all …]
Dconsolemap.c248 inv_translate[vc->vc_num] = m; in set_translate()
273 m = inv_translate[conp->vc_num]; in inverse_translate()
Dvc_screen.c77 if (currcons != vc->vc_num) in vcs_notifier()
Dkeyboard.c1253 kbd = kbd_table + vc->vc_num; in kbd_rawcode()
1276 kbd = kbd_table + vc->vc_num; in kbd_keycode()
/drivers/accessibility/braille/
Dbraille_console.c288 if (vc->vc_num != fg_console) in vt_notifier_call()
335 if (vc->vc_num != lastVC) { in vt_notifier_call()
336 lastVC = vc->vc_num; in vt_notifier_call()