| /linux/include/linux/ |
| H A D | vt_kern.h | 28 int __vc_resize(struct vc_data *vc, unsigned int cols, unsigned int lines, 30 struct vc_data *vc_deallocate(unsigned int console); 31 void reset_palette(struct vc_data *vc); 35 int con_font_op(struct vc_data *vc, struct console_font_op *op); 38 void scrollback(struct vc_data *vc); 39 void scrollfront(struct vc_data *vc, int lines); 40 void clear_buffer_attributes(struct vc_data *vc); 41 void update_region(struct vc_data *vc, unsigned long start, int count); 42 void redraw_screen(struct vc_data *vc, int is_switch); 46 static inline int vc_resize(struct vc_data *vc, unsigned int cols, in vc_resize() [all …]
|
| H A D | selection.h | 15 struct vc_data; 26 bool vc_is_sel(const struct vc_data *vc); 35 unsigned short *screen_pos(const struct vc_data *vc, int w_offset, bool viewed); 36 u16 screen_glyph(const struct vc_data *vc, int offset); 37 u32 screen_glyph_unicode(const struct vc_data *vc, int offset); 38 void complement_pos(struct vc_data *vc, int offset); 39 void invert_screen(struct vc_data *vc, int offset, int count, bool viewed); 41 void getconsxy(const struct vc_data *vc, unsigned char xy[static 2]); 42 void putconsxy(struct vc_data *vc, unsigned char xy[static const 2]); 44 u16 vcs_scr_readw(const struct vc_data *vc, const u16 *org); [all …]
|
| H A D | console_struct.h | 120 struct vc_data { struct 185 struct vc_data **vc_display_fg; /* [!] Ptr to var holding fg console for this display */ argument 197 struct vc_data *d; argument 225 bool con_is_visible(const struct vc_data *vc);
|
| H A D | keyboard.h | 12 struct vc_data *vc; /* VC on which the keyboard press was done */
|
| /linux/drivers/video/console/ |
| H A D | dummycon.c | 53 static void dummycon_putc(struct vc_data *vc, u16 c, unsigned int y, in dummycon_putc() 62 static void dummycon_putcs(struct vc_data *vc, const u16 *s, unsigned int count, in dummycon_putcs() 82 static bool dummycon_blank(struct vc_data *vc, enum vesa_blank_mode blank, in dummycon_blank() 89 static bool dummycon_switch(struct vc_data *vc) in dummycon_switch() 98 static void dummycon_putc(struct vc_data *vc, u16 c, unsigned int y, in dummycon_putc() 100 static void dummycon_putcs(struct vc_data *vc, const u16 *s, unsigned int count, in dummycon_putcs() 102 static bool dummycon_blank(struct vc_data *vc, enum vesa_blank_mode blank, in dummycon_blank() 107 static bool dummycon_switch(struct vc_data *vc) in dummycon_switch() 118 static void dummycon_init(struct vc_data *vc, bool init) in dummycon_init() 128 static void dummycon_deinit(struct vc_data *vc) { } in dummycon_deinit() [all …]
|
| H A D | sticon.c | 74 static void sticon_putcs(struct vc_data *conp, const u16 *s, unsigned int count, in sticon_putcs() 89 static void sticon_cursor(struct vc_data *conp, bool enable) in sticon_cursor() 116 static bool sticon_scroll(struct vc_data *conp, unsigned int t, in sticon_scroll() 156 static int sticon_set_font(struct vc_data *vc, const struct console_font *op, in sticon_set_font() 249 static int sticon_font_default(struct vc_data *vc, struct console_font *op, in sticon_font_default() 257 static int sticon_font_set(struct vc_data *vc, const struct console_font *font, in sticon_font_set() 263 static void sticon_init(struct vc_data *c, bool init) in sticon_init() 281 static void sticon_deinit(struct vc_data *c) in sticon_deinit() 290 static void sticon_clear(struct vc_data *conp, unsigned int sy, unsigned int sx, in sticon_clear() 297 static bool sticon_switch(struct vc_data *conp) in sticon_switch() [all …]
|
| H A D | vgacon.c | 68 static bool vgacon_set_origin(struct vc_data *c); 134 static inline void vga_set_mem_top(struct vc_data *c) in vga_set_mem_top() 139 static void vgacon_scrolldelta(struct vc_data *c, int lines) in vgacon_scrolldelta() 178 static void vgacon_restore_screen(struct vc_data *c) in vgacon_restore_screen() 370 static void vgacon_init(struct vc_data *c, bool init) in vgacon_init() 412 static void vgacon_deinit(struct vc_data *c) in vgacon_deinit() 426 static u8 vgacon_build_attr(struct vc_data *c, u8 color, in vgacon_build_attr() 460 static void vgacon_invert_region(struct vc_data *c, u16 * p, int count) in vgacon_invert_region() 506 static void vgacon_cursor(struct vc_data *c, bool enable) in vgacon_cursor() 556 static void vgacon_doresize(struct vc_data *c, in vgacon_doresize() [all …]
|
| /linux/drivers/accessibility/speakup/ |
| H A D | main.c | 258 static unsigned char get_attributes(struct vc_data *vc, u16 *pos) in get_attributes() 264 static void speakup_date(struct vc_data *vc) in speakup_date() 290 static void speakup_shut_up(struct vc_data *vc) in speakup_shut_up() 301 static void speech_kill(struct vc_data *vc) in speech_kill() 319 static void speakup_off(struct vc_data *vc) in speakup_off() 331 static void speakup_parked(struct vc_data *vc) in speakup_parked() 342 static void speakup_cut(struct vc_data *vc) in speakup_cut() 377 static void speakup_paste(struct vc_data *vc) in speakup_paste() 388 static void say_attributes(struct vc_data *vc) in say_attributes() 413 static void announce_edge(struct vc_data *vc, enum edge msg_id) in announce_edge() [all …]
|
| H A D | selection.c | 17 struct vc_data *spk_sel_cons;
|
| H A D | spk_types.h | 55 typedef int (*special_func)(struct vc_data *vc, u_char type, u_char ch,
|
| H A D | keyhelp.c | 132 int spk_handle_help(struct vc_data *vc, u_char type, u_char ch, u_short key) in spk_handle_help()
|
| H A D | kobjects.c | 336 struct vc_data *vc = vc_cons[fg_console].d; in silent_store()
|
| /linux/drivers/tty/vt/ |
| H A D | keyboard.c | 79 typedef void (k_handler_fn)(struct vc_data *vc, unsigned char value, 91 typedef void (fn_handler_fn)(struct vc_data *vc); 326 static void put_queue(struct vc_data *vc, int ch) in put_queue() 332 static void puts_queue(struct vc_data *vc, const char *cp) in puts_queue() 338 static void applkey(struct vc_data *vc, int key, char mode) in applkey() 353 static void to_utf8(struct vc_data *vc, uint c) in to_utf8() 380 static void put_queue_utf8(struct vc_data *vc, u32 value) in put_queue_utf8() 447 static unsigned int handle_diacr(struct vc_data *vc, unsigned int ch) in handle_diacr() 474 static void fn_enter(struct vc_data *vc) in fn_enter() 486 static void fn_caps_toggle(struct vc_data *vc) in fn_caps_toggle() [all …]
|
| H A D | vt_ioctl.c | 46 const struct vc_data *vc = vc_cons[i].d; in vt_in_use() 86 static void complete_change_console(struct vc_data *vc); 252 static int vt_kdsetmode(struct vc_data *vc, unsigned long mode) in vt_kdsetmode() 286 struct vc_data *vc = tty->driver_data; in vt_k_ioctl() 490 bool perm, struct vc_data *vc) in do_unimap_ioctl() 510 static int vt_io_ioctl(struct vc_data *vc, unsigned int cmd, void __user *up, in vt_io_ioctl() 555 static int vt_reldisp(struct vc_data *vc, unsigned int swtch) in vt_reldisp() 594 struct vc_data *nvc; in vt_setactivate() 630 struct vc_data *vc = NULL; in vt_disallocate() 648 struct vc_data *vc[MAX_NR_CONSOLES]; in vt_disallocate_all() [all …]
|
| H A D | consolemap.c | 226 static void set_inverse_transl(struct vc_data *conp, struct uni_pagedict *dict, in set_inverse_transl() 287 unsigned short *set_translate(enum translation_map m, struct vc_data *vc) in set_translate() 300 u16 inverse_translate(const struct vc_data *conp, u16 glyph, bool use_unicode) in inverse_translate() 450 void con_free_unimap(struct vc_data *vc) in con_free_unimap() 464 static int con_unify_unimap(struct vc_data *conp, struct uni_pagedict *dict1) in con_unify_unimap() 538 static int con_allocate_new(struct vc_data *vc) in con_allocate_new() 556 static int con_do_clear_unimap(struct vc_data *vc) in con_do_clear_unimap() 569 int con_clear_unimap(struct vc_data *vc) in con_clear_unimap() 575 static struct uni_pagedict *con_unshare_unimap(struct vc_data *vc, in con_unshare_unimap() 632 int con_set_unimap(struct vc_data *vc, ushort ct, struct unipair __user *list) in con_set_unimap() [all …]
|
| H A D | selection.c | 41 struct vc_data *cons; /* must not be deallocated */ 93 bool vc_is_sel(const struct vc_data *vc) in vc_is_sel() 210 static int vc_selection_store_chars(struct vc_data *vc, bool unicode) in vc_selection_store_chars() 251 static int vc_do_selection(struct vc_data *vc, unsigned short mode, int ps, in vc_do_selection() 338 static int vc_selection(struct vc_data *vc, struct tiocl_selection *v, in vc_selection() 393 struct vc_data *vc = tty->driver_data; in paste_selection()
|
| /linux/drivers/video/fbdev/core/ |
| H A D | fbcon.c | 185 static void fbcon_clear_margins(struct vc_data *vc, int bottom_only); 186 static void fbcon_set_palette(struct vc_data *vc, const unsigned char *table); 193 static void fbcon_redraw_move(struct vc_data *vc, struct fbcon_display *p, 237 struct vc_data *vc; in fbcon_rotate_all() 307 static inline bool fbcon_is_active(struct vc_data *vc, struct fb_info *info) in fbcon_is_active() 315 static int get_color(struct vc_data *vc, struct fb_info *info, in get_color() 382 static int get_fg_color(struct vc_data *vc, struct fb_info *info, u16 c) in get_fg_color() 387 static int get_bg_color(struct vc_data *vc, struct fb_info *info, u16 c) in get_bg_color() 396 struct vc_data *vc = NULL; in fb_flashcursor() 448 void fbcon_fill_cursor_mask(struct fbcon_par *par, struct vc_data *vc, unsigned char *mask) in fbcon_fill_cursor_mask() [all …]
|
| H A D | bitblit.c | 25 static void update_attr(u8 *dst, const u8 *src, int attribute, struct vc_data *vc) in update_attr() 45 static void bit_bmove(struct vc_data *vc, struct fb_info *info, int sy, in bit_bmove() 60 static void bit_clear(struct vc_data *vc, struct fb_info *info, int sy, in bit_clear() 75 static inline void bit_putcs_aligned(struct vc_data *vc, struct fb_info *info, in bit_putcs_aligned() 110 static inline void bit_putcs_unaligned(struct vc_data *vc, in bit_putcs_unaligned() 149 static void bit_putcs(struct vc_data *vc, struct fb_info *info, in bit_putcs() 228 static void bit_clear_margins(struct vc_data *vc, struct fb_info *info, in bit_clear_margins() 259 static void bit_cursor(struct vc_data *vc, struct fb_info *info, bool enable, in bit_cursor()
|
| /linux/drivers/accessibility/braille/ |
| H A D | braille_console.c | 109 static void vc_follow_cursor(struct vc_data *vc) in vc_follow_cursor() 118 static void vc_maybe_cursor_moved(struct vc_data *vc) in vc_maybe_cursor_moved() 125 static void vc_refresh(struct vc_data *vc) in vc_refresh() 146 struct vc_data *vc = param->vc; in keyboard_notifier_call() 267 struct vc_data *vc = param->vc; in vt_notifier_call()
|