Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/accessibility/speakup/
Dspk_types.h87 #define spk_shut_up (speakup_console[vc->vc_num]->shut_up)
88 #define spk_killed (speakup_console[vc->vc_num]->shut_up & 0x40)
89 #define spk_x (speakup_console[vc->vc_num]->reading_x)
90 #define spk_cx (speakup_console[vc->vc_num]->cursor_x)
91 #define spk_y (speakup_console[vc->vc_num]->reading_y)
92 #define spk_cy (speakup_console[vc->vc_num]->cursor_y)
93 #define spk_pos (speakup_console[vc->vc_num]->reading_pos)
94 #define spk_cp (speakup_console[vc->vc_num]->cursor_pos)
95 #define goto_pos (speakup_console[vc->vc_num]->go_pos)
96 #define goto_x (speakup_console[vc->vc_num]->go_x)
[all …]
Dmain.c1041 vc->vc_num + 1); in say_position()
1342 int vc_num; in speakup_allocate() local
1344 vc_num = vc->vc_num; in speakup_allocate()
1345 if (!speakup_console[vc_num]) { in speakup_allocate()
1346 speakup_console[vc_num] = kzalloc(sizeof(*speakup_console[0]), in speakup_allocate()
1348 if (!speakup_console[vc_num]) in speakup_allocate()
1360 int vc_num; in speakup_deallocate() local
1362 vc_num = vc->vc_num; in speakup_deallocate()
1363 kfree(speakup_console[vc_num]); in speakup_deallocate()
1364 speakup_console[vc_num] = NULL; in speakup_deallocate()
[all …]
/linux-5.19.10/drivers/video/console/
Dsticon.c82 sti_putc(sticon_sti, c, ypos, xpos, font_data[conp->vc_num]); in sticon_putc()
96 font_data[conp->vc_num]); in sticon_putcs()
112 font_data[conp->vc_num]); in sticon_cursor()
123 conp->state.y, conp->state.x, font_data[conp->vc_num]); in sticon_cursor()
143 font_data[conp->vc_num]); in sticon_scroll()
145 conp->vc_video_erase_char, font_data[conp->vc_num]); in sticon_scroll()
150 font_data[conp->vc_num]); in sticon_scroll()
152 conp->vc_video_erase_char, font_data[conp->vc_num]); in sticon_scroll()
176 int unit = vc->vc_num; in sticon_set_font()
245 vc->vc_video_erase_char, font_data[vc->vc_num]); in sticon_set_font()
[all …]
Dnewport_con.c375 p = &font_data[vc->vc_num][(charattr & 0xff) << 4]; in newport_putc()
426 p = &font_data[vc->vc_num][(scr_readw(s++) & 0xff) << 4]; in newport_putcs()
569 return newport_set_def_font(vc->vc_num, op); in newport_font_default()
574 return newport_set_font(vc->vc_num, font); in newport_font_set()
/linux-5.19.10/drivers/usb/misc/sisusbvga/
Dsisusb_con.c210 sisusb = sisusb_get_sisusb(c->vc_num); in sisusbcon_init()
229 sisusb->havethisconsole[c->vc_num] = 1; in sisusbcon_init()
274 sisusb = sisusb_get_sisusb(c->vc_num); in sisusbcon_deinit()
281 mysisusbs[c->vc_num] = NULL; in sisusbcon_deinit()
283 sisusb->havethisconsole[c->vc_num] = 0; in sisusbcon_deinit()
288 if (sisusb->havethisconsole[c->vc_num]) in sisusbcon_deinit()
372 sisusb = sisusb_get_sisusb_lock_and_check(c->vc_num); in sisusbcon_putc()
395 sisusb = sisusb_get_sisusb_lock_and_check(c->vc_num); in sisusbcon_putcs()
430 sisusb = sisusb_get_sisusb_lock_and_check(c->vc_num); in sisusbcon_clear()
484 sisusb = sisusb_get_sisusb_lock_and_check(c->vc_num); in sisusbcon_switch()
[all …]
/linux-5.19.10/drivers/tty/vt/
Dvt_ioctl.c271 if (vc->vc_num != fg_console) in vt_kdsetmode()
288 unsigned int console = vc->vc_num; in vt_k_ioctl()
502 if (!perm && fg_console != vc->vc_num) in do_unimap_ioctl()
630 static int vt_disallocate(unsigned int vc_num) in vt_disallocate() argument
636 if (vt_busy(vc_num)) in vt_disallocate()
638 else if (vc_num) in vt_disallocate()
639 vc = vc_deallocate(vc_num); in vt_disallocate()
642 if (vc && vc_num >= MIN_NR_CONSOLES) in vt_disallocate()
966 vt_reset_unicode(vc->vc_num); in reset_vc()
1052 if (!perm && fg_console != vc->vc_num) in compat_unimap_ioctl()
[all …]
Dvt.c278 return vc->vc_num == fg_console; in con_is_fg()
1003 fg_console = vc->vc_num; in redraw_screen()
1064 vc->vc_num = num; in visual_init()
1343 vt_event_post(VT_EVENT_RESIZE, vc->vc_num, vc->vc_num); in vc_do_resize()
1416 #define set_kbd(vc, x) vt_set_kbd_mode_bit((vc)->vc_num, (x))
1417 #define clr_kbd(vc, x) vt_clr_kbd_mode_bit((vc)->vc_num, (x))
1418 #define is_kbd(vc, x) vt_get_kbd_mode_bit((vc)->vc_num, (x))
2108 vt_reset_keyboard(vc->vc_num); in reset_terminal()
2484 vt_set_led_state(vc->vc_num, in do_con_trol()
2916 currcons = vc->vc_num; in do_con_write()
[all …]
Dconsolemap.c260 inv_translate[vc->vc_num] = m; in set_translate()
287 m = inv_translate[conp->vc_num]; in inverse_translate()
Dvc_screen.c109 if (currcons != vc->vc_num) in vcs_notifier()
Dkeyboard.c1392 kbd = &kbd_table[vc->vc_num]; in kbd_rawcode()
1415 kbd = &kbd_table[vc->vc_num]; in kbd_keycode()
/linux-5.19.10/drivers/video/fbdev/core/
Dfbcon.c241 p = &fb_display[vc->vc_num]; in fbcon_rotate_all()
371 fbcon_info_from_console(vc->vc_num) != info || in fb_flashcursor()
646 ops->p = &fb_display[vc->vc_num]; in set_blitting_type()
672 ops->p = &fb_display[vc->vc_num]; in set_blitting_type()
997 struct fbcon_display *t, *p = &fb_display[vc->vc_num]; in fbcon_init()
1004 if (con2fb_map[vc->vc_num] == -1) in fbcon_init()
1005 con2fb_map[vc->vc_num] = info_idx; in fbcon_init()
1007 info = fbcon_info_from_console(vc->vc_num); in fbcon_init()
1020 con2fb_acquire_newinfo(vc, info, vc->vc_num); in fbcon_init()
1171 struct fbcon_display *p = &fb_display[vc->vc_num]; in fbcon_deinit()
[all …]
/linux-5.19.10/drivers/accessibility/braille/
Dbraille_console.c279 if (vc->vc_num != fg_console) in vt_notifier_call()
326 if (vc->vc_num != lastVC) { in vt_notifier_call()
327 lastVC = vc->vc_num; in vt_notifier_call()
/linux-5.19.10/Documentation/translations/zh_CN/admin-guide/
Dbug-hunting.rst142 293 if (VT_BUSY(vc_num))
144 295 else if (vc_num)
145 296 vc = vc_deallocate(vc_num);
/linux-5.19.10/Documentation/translations/zh_TW/admin-guide/
Dbug-hunting.rst145 293 if (VT_BUSY(vc_num))
147 295 else if (vc_num)
148 296 vc = vc_deallocate(vc_num);
/linux-5.19.10/include/linux/
Dconsole_struct.h99 unsigned short vc_num; /* Console number */ member
/linux-5.19.10/Documentation/admin-guide/
Dbug-hunting.rst146 293 if (VT_BUSY(vc_num))
148 295 else if (vc_num)
149 296 vc = vc_deallocate(vc_num);
/linux-5.19.10/drivers/staging/media/imx/
Dimx-media-csi.c98 int vc_num; member
610 ipu_smfc_map_channel(priv->smfc, priv->csi_id, priv->vc_num); in csi_idmac_start()