| /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 | consolemap.h | 22 struct vc_data; 25 u16 inverse_translate(const struct vc_data *conp, u16 glyph, bool use_unicode); 26 unsigned short *set_translate(enum translation_map m, struct vc_data *vc); 27 int conv_uni_to_pc(struct vc_data *conp, long ucs); 36 static inline u16 inverse_translate(const struct vc_data *conp, u16 glyph, in inverse_translate() 43 struct vc_data *vc) in set_translate() 48 static inline int conv_uni_to_pc(struct vc_data *conp, long ucs) in conv_uni_to_pc()
|
| H A D | console_struct.h | 93 struct vc_data { struct 158 struct vc_data **vc_display_fg; /* [!] Ptr to var holding fg console for this display */ argument 170 struct vc_data *d; argument 198 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 | mdacon.c | 76 static struct vc_data *mda_display_fg = NULL; 355 static void mdacon_init(struct vc_data *c, bool init) in mdacon_init() 372 static void mdacon_deinit(struct vc_data *c) in mdacon_deinit() 397 static u8 mdacon_build_attr(struct vc_data *c, u8 color, in mdacon_build_attr() 417 static void mdacon_invert_region(struct vc_data *c, u16 *p, int count) in mdacon_invert_region() 430 static void mdacon_putcs(struct vc_data *c, const u16 *s, unsigned int count, in mdacon_putcs() 440 static void mdacon_clear(struct vc_data *c, unsigned int y, unsigned int x, in mdacon_clear() 449 static bool mdacon_switch(struct vc_data *c) in mdacon_switch() 454 static bool mdacon_blank(struct vc_data *c, enum vesa_blank_mode blank, in mdacon_blank() 474 static void mdacon_cursor(struct vc_data *c, bool enable) in mdacon_cursor() [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 | vt.c | 143 static void vc_init(struct vc_data *vc, int do_clear); 144 static void gotoxy(struct vc_data *vc, int new_x, int new_y); 145 static void restore_cur(struct vc_data *vc); 146 static void save_cur(struct vc_data *vc); 147 static void reset_terminal(struct vc_data *vc, int do_clear); 150 static void set_cursor(struct vc_data *vc); 151 static void hide_cursor(struct vc_data *vc); 155 static void set_palette(struct vc_data *vc); 203 static struct vc_data *master_display_fg; 258 static void notify_write(struct vc_data *vc, unsigned int unicode) in notify_write() [all …]
|
| 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); 325 static void put_queue(struct vc_data *vc, int ch) in put_queue() 331 static void puts_queue(struct vc_data *vc, const char *cp) in puts_queue() 337 static void applkey(struct vc_data *vc, int key, char mode) in applkey() 352 static void to_utf8(struct vc_data *vc, uint c) in to_utf8() 379 static void put_queue_utf8(struct vc_data *vc, u32 value) in put_queue_utf8() 446 static unsigned int handle_diacr(struct vc_data *vc, unsigned int ch) in handle_diacr() 473 static void fn_enter(struct vc_data *vc) in fn_enter() 485 static void fn_caps_toggle(struct vc_data *vc) in fn_caps_toggle() [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 | vc_screen.c | 89 struct vc_data *vc = param->vc; in vcs_notifier() 184 static struct vc_data *vcs_vc(struct inode *inode, bool *viewed) in vcs_vc() 210 static int vcs_size(const struct vc_data *vc, bool attr, bool unicode) in vcs_size() 232 struct vc_data *vc; in vcs_lseek() 247 static int vcs_read_buf_uni(struct vc_data *vc, char *con_buf, in vcs_read_buf_uni() 275 static void vcs_read_buf_noattr(const struct vc_data *vc, char *con_buf, in vcs_read_buf_noattr() 295 static unsigned int vcs_read_buf(const struct vc_data *vc, char *con_buf, in vcs_read_buf() 367 struct vc_data *vc; in vcs_read() 473 static u16 *vcs_write_buf_noattr(struct vc_data *vc, const char *con_buf, in vcs_write_buf_noattr() 513 static u16 *vcs_write_buf(struct vc_data *vc, const char *con_buf, in vcs_write_buf() [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 | 186 static void fbcon_clear_margins(struct vc_data *vc, int bottom_only); 187 static void fbcon_set_palette(struct vc_data *vc, const unsigned char *table); 194 static void fbcon_redraw_move(struct vc_data *vc, struct fbcon_display *p, 238 struct vc_data *vc; in fbcon_rotate_all() 308 static inline bool fbcon_is_active(struct vc_data *vc, struct fb_info *info) in fbcon_is_active() 316 static int get_color(struct vc_data *vc, struct fb_info *info, in get_color() 383 static int get_fg_color(struct vc_data *vc, struct fb_info *info, u16 c) in get_fg_color() 388 static int get_bg_color(struct vc_data *vc, struct fb_info *info, u16 c) in get_bg_color() 397 struct vc_data *vc = NULL; in fb_flashcursor() 596 static void fbcon_prepare_logo(struct vc_data *vc, struct fb_info *info, in fbcon_prepare_logo() [all …]
|
| H A D | bitblit.c | 26 struct vc_data *vc) in update_attr() 46 static void bit_bmove(struct vc_data *vc, struct fb_info *info, int sy, in bit_bmove() 61 static void bit_clear(struct vc_data *vc, struct fb_info *info, int sy, in bit_clear() 76 static inline void bit_putcs_aligned(struct vc_data *vc, struct fb_info *info, in bit_putcs_aligned() 111 static inline void bit_putcs_unaligned(struct vc_data *vc, in bit_putcs_unaligned() 150 static void bit_putcs(struct vc_data *vc, struct fb_info *info, in bit_putcs() 229 static void bit_clear_margins(struct vc_data *vc, struct fb_info *info, in bit_clear_margins() 260 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()
|