Home
last modified time | relevance | path

Searched refs:vc_data (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.6.21/include/linux/
Dvt_kern.h28 int vc_resize(struct vc_data *vc, unsigned int cols, unsigned int lines);
29 struct vc_data *vc_deallocate(unsigned int console);
30 void reset_palette(struct vc_data *vc);
34 int con_font_op(struct vc_data *vc, struct console_font_op *op);
37 void scrollback(struct vc_data *vc);
38 void scrollfront(struct vc_data *vc, int lines);
39 void clear_buffer_attributes(struct vc_data *vc);
40 void update_region(struct vc_data *vc, unsigned long start, int count);
41 void redraw_screen(struct vc_data *vc, int is_switch);
57 int con_clear_unimap(struct vc_data *vc);
[all …]
Dconsole.h22 struct vc_data;
49 void (*con_init)(struct vc_data *vc, int init);
50 void (*con_deinit)(struct vc_data *vc);
51 void (*con_clear)(struct vc_data *vc, int sy, int sx, int height,
53 void (*con_putc)(struct vc_data *vc, int c, int ypos, int xpos);
54 void (*con_putcs)(struct vc_data *vc, const unsigned short *s,
56 void (*con_cursor)(struct vc_data *vc, int mode);
57 bool (*con_scroll)(struct vc_data *vc, unsigned int top,
60 int (*con_switch)(struct vc_data *vc);
61 int (*con_blank)(struct vc_data *vc, int blank, int mode_switch);
[all …]
Dselection.h15 struct vc_data;
27 bool vc_is_sel(struct vc_data *vc);
36 extern unsigned short *screen_pos(const struct vc_data *vc, int w_offset,
38 extern u16 screen_glyph(const struct vc_data *vc, int offset);
39 extern u32 screen_glyph_unicode(const struct vc_data *vc, int offset);
40 extern void complement_pos(struct vc_data *vc, int offset);
41 extern void invert_screen(struct vc_data *vc, int offset, int count, bool viewed);
43 extern void getconsxy(const struct vc_data *vc, unsigned char xy[static 2]);
44 extern void putconsxy(struct vc_data *vc, unsigned char xy[static const 2]);
46 extern u16 vcs_scr_readw(const struct vc_data *vc, const u16 *org);
[all …]
Dconsolemap.h22 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);
32 static inline u16 inverse_translate(const struct vc_data *conp, u16 glyph, in inverse_translate()
39 struct vc_data *vc) in set_translate()
44 static inline int conv_uni_to_pc(struct vc_data *conp, long ucs) in conv_uni_to_pc()
Dconsole_struct.h93 struct vc_data { struct
158 struct vc_data **vc_display_fg; /* [!] Ptr to var holding fg console for this display */ argument
166 struct vc_data *d; argument
194 bool con_is_visible(const struct vc_data *vc);
/linux-6.6.21/drivers/video/console/
Ddummycon.c52 static void dummycon_putc(struct vc_data *vc, int c, int ypos, int xpos) in dummycon_putc()
60 static void dummycon_putcs(struct vc_data *vc, const unsigned short *s, in dummycon_putcs()
80 static int dummycon_blank(struct vc_data *vc, int blank, int mode_switch) in dummycon_blank()
86 static void dummycon_putc(struct vc_data *vc, int c, int ypos, int xpos) { } in dummycon_putc()
87 static void dummycon_putcs(struct vc_data *vc, const unsigned short *s, in dummycon_putcs()
89 static int dummycon_blank(struct vc_data *vc, int blank, int mode_switch) in dummycon_blank()
100 static void dummycon_init(struct vc_data *vc, int init) in dummycon_init()
110 static void dummycon_deinit(struct vc_data *vc) { } in dummycon_deinit()
111 static void dummycon_clear(struct vc_data *vc, int sy, int sx, int height, in dummycon_clear()
113 static void dummycon_cursor(struct vc_data *vc, int mode) { } in dummycon_cursor()
[all …]
Dsticon.c74 static void sticon_putc(struct vc_data *conp, int c, int ypos, int xpos) in sticon_putc()
85 static void sticon_putcs(struct vc_data *conp, const unsigned short *s, in sticon_putcs()
100 static void sticon_cursor(struct vc_data *conp, int mode) in sticon_cursor()
130 static bool sticon_scroll(struct vc_data *conp, unsigned int t, in sticon_scroll()
170 static int sticon_set_font(struct vc_data *vc, struct console_font *op, in sticon_set_font()
263 static int sticon_font_default(struct vc_data *vc, struct console_font *op, char *name) in sticon_font_default()
270 static int sticon_font_set(struct vc_data *vc, struct console_font *font, in sticon_font_set()
276 static void sticon_init(struct vc_data *c, int init) in sticon_init()
294 static void sticon_deinit(struct vc_data *c) in sticon_deinit()
303 static void sticon_clear(struct vc_data *conp, int sy, int sx, int height, in sticon_clear()
[all …]
Dmdacon.c76 static struct vc_data *mda_display_fg = NULL;
355 static void mdacon_init(struct vc_data *c, int 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_putc(struct vc_data *c, int ch, int y, int x) in mdacon_putc()
435 static void mdacon_putcs(struct vc_data *c, const unsigned short *s, in mdacon_putcs()
445 static void mdacon_clear(struct vc_data *c, int y, int x, in mdacon_clear()
462 static int mdacon_switch(struct vc_data *c) in mdacon_switch()
467 static int mdacon_blank(struct vc_data *c, int blank, int mode_switch) in mdacon_blank()
[all …]
Dvgacon.c68 static int vgacon_set_origin(struct vc_data *c);
132 static inline void vga_set_mem_top(struct vc_data *c) in vga_set_mem_top()
137 static void vgacon_scrolldelta(struct vc_data *c, int lines) in vgacon_scrolldelta()
144 static void vgacon_restore_screen(struct vc_data *c) in vgacon_restore_screen()
335 static void vgacon_init(struct vc_data *c, int init) in vgacon_init()
377 static void vgacon_deinit(struct vc_data *c) in vgacon_deinit()
391 static u8 vgacon_build_attr(struct vc_data *c, u8 color, in vgacon_build_attr()
425 static void vgacon_invert_region(struct vc_data *c, u16 * p, int count) in vgacon_invert_region()
471 static void vgacon_cursor(struct vc_data *c, int mode) in vgacon_cursor()
527 static void vgacon_doresize(struct vc_data *c, in vgacon_doresize()
[all …]
Dnewport_con.c327 static void newport_init(struct vc_data *vc, int init) in newport_init()
341 static void newport_deinit(struct vc_data *c) in newport_deinit()
349 static void newport_clear(struct vc_data *vc, int sy, int sx, int height, in newport_clear()
370 static void newport_putc(struct vc_data *vc, int charattr, int ypos, in newport_putc()
399 static void newport_putcs(struct vc_data *vc, const unsigned short *s, in newport_putcs()
440 static void newport_cursor(struct vc_data *vc, int mode) in newport_cursor()
465 static int newport_switch(struct vc_data *vc) in newport_switch()
482 static int newport_blank(struct vc_data *c, int blank, int mode_switch) in newport_blank()
567 static int newport_font_default(struct vc_data *vc, struct console_font *op, char *name) in newport_font_default()
572 static int newport_font_set(struct vc_data *vc, struct console_font *font, in newport_font_set()
[all …]
/linux-6.6.21/drivers/accessibility/speakup/
Dmain.c258 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 …]
/linux-6.6.21/drivers/tty/vt/
Dvt.c143 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 save_cur(struct vc_data *vc);
146 static void reset_terminal(struct vc_data *vc, int do_clear);
149 static void set_cursor(struct vc_data *vc);
150 static void hide_cursor(struct vc_data *vc);
154 static void set_palette(struct vc_data *vc);
209 static struct vc_data *master_display_fg;
264 static void notify_write(struct vc_data *vc, unsigned int unicode) in notify_write()
270 static void notify_update(struct vc_data *vc) in notify_update()
[all …]
Dkeyboard.c79 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()
438 static unsigned int handle_diacr(struct vc_data *vc, unsigned int ch) in handle_diacr()
471 static void fn_enter(struct vc_data *vc) in fn_enter()
489 static void fn_caps_toggle(struct vc_data *vc) in fn_caps_toggle()
497 static void fn_caps_on(struct vc_data *vc) in fn_caps_on()
[all …]
Dvt_ioctl.c46 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()
632 struct vc_data *vc = NULL; in vt_disallocate()
651 struct vc_data *vc[MAX_NR_CONSOLES]; in vt_disallocate_all()
[all …]
Dconsolemap.c226 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()
453 void con_free_unimap(struct vc_data *vc) in con_free_unimap()
467 static int con_unify_unimap(struct vc_data *conp, struct uni_pagedict *dict1) in con_unify_unimap()
541 static int con_allocate_new(struct vc_data *vc) in con_allocate_new()
559 static int con_do_clear_unimap(struct vc_data *vc) in con_do_clear_unimap()
572 int con_clear_unimap(struct vc_data *vc) in con_clear_unimap()
581 static struct uni_pagedict *con_unshare_unimap(struct vc_data *vc, in con_unshare_unimap()
638 int con_set_unimap(struct vc_data *vc, ushort ct, struct unipair __user *list) in con_set_unimap()
[all …]
Dvc_screen.c88 struct vc_data *vc = param->vc; in vcs_notifier()
183 static struct vc_data *vcs_vc(struct inode *inode, bool *viewed) in vcs_vc()
209 static int vcs_size(const struct vc_data *vc, bool attr, bool unicode) in vcs_size()
231 struct vc_data *vc; in vcs_lseek()
248 static int vcs_read_buf_uni(struct vc_data *vc, char *con_buf, in vcs_read_buf_uni()
276 static void vcs_read_buf_noattr(const struct vc_data *vc, char *con_buf, in vcs_read_buf_noattr()
296 static unsigned int vcs_read_buf(const struct vc_data *vc, char *con_buf, in vcs_read_buf()
368 struct vc_data *vc; in vcs_read()
478 static u16 *vcs_write_buf_noattr(struct vc_data *vc, const char *con_buf, in vcs_write_buf_noattr()
518 static u16 *vcs_write_buf(struct vc_data *vc, const char *con_buf, in vcs_write_buf()
[all …]
Dselection.c41 struct vc_data *cons; /* must not be deallocated */
91 bool vc_is_sel(struct vc_data *vc) in vc_is_sel()
189 static int vc_selection_store_chars(struct vc_data *vc, bool unicode) in vc_selection_store_chars()
230 static int vc_do_selection(struct vc_data *vc, unsigned short mode, int ps, in vc_do_selection()
317 static int vc_selection(struct vc_data *vc, struct tiocl_selection *v, in vc_selection()
377 struct vc_data *vc = tty->driver_data; in paste_selection()
/linux-6.6.21/drivers/video/fbdev/core/
Dfbcon.h55 void (*bmove)(struct vc_data *vc, struct fb_info *info, int sy,
57 void (*clear)(struct vc_data *vc, struct fb_info *info, int sy,
59 void (*putcs)(struct vc_data *vc, struct fb_info *info,
62 void (*clear_margins)(struct vc_data *vc, struct fb_info *info,
64 void (*cursor)(struct vc_data *vc, struct fb_info *info, int mode,
67 int (*rotate_font)(struct fb_info *info, struct vc_data *vc);
119 static inline int attr_col_ec(int shift, struct vc_data *vc, in attr_col_ec()
223 extern void fbcon_set_tileops(struct vc_data *vc, struct fb_info *info);
Dtileblit.c19 static void tile_bmove(struct vc_data *vc, struct fb_info *info, int sy, in tile_bmove()
34 static void tile_clear(struct vc_data *vc, struct fb_info *info, int sy, in tile_clear()
54 static void tile_putcs(struct vc_data *vc, struct fb_info *info, in tile_putcs()
76 static void tile_clear_margins(struct vc_data *vc, struct fb_info *info, in tile_clear_margins()
82 static void tile_cursor(struct vc_data *vc, struct fb_info *info, int mode, in tile_cursor()
131 void fbcon_set_tileops(struct vc_data *vc, struct fb_info *info) in fbcon_set_tileops()
Dfbcon.c176 static void fbcon_clear_margins(struct vc_data *vc, int bottom_only);
177 static void fbcon_set_palette(struct vc_data *vc, const unsigned char *table);
184 static void fbcon_redraw_move(struct vc_data *vc, struct fbcon_display *p,
228 struct vc_data *vc; in fbcon_rotate_all()
273 static inline int fbcon_is_inactive(struct vc_data *vc, struct fb_info *info) in fbcon_is_inactive()
281 static int get_color(struct vc_data *vc, struct fb_info *info, in get_color()
352 struct vc_data *vc = NULL; in fb_flashcursor()
545 static void fbcon_prepare_logo(struct vc_data *vc, struct fb_info *info, in fbcon_prepare_logo()
551 static void fbcon_prepare_logo(struct vc_data *vc, struct fb_info *info, in fbcon_prepare_logo()
642 static void set_blitting_type(struct vc_data *vc, struct fb_info *info) in set_blitting_type()
[all …]
Dbitblit.c26 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()
77 static inline void bit_putcs_aligned(struct vc_data *vc, struct fb_info *info, in bit_putcs_aligned()
108 static inline void bit_putcs_unaligned(struct vc_data *vc, in bit_putcs_unaligned()
143 static void bit_putcs(struct vc_data *vc, struct fb_info *info, in bit_putcs()
205 static void bit_clear_margins(struct vc_data *vc, struct fb_info *info, in bit_clear_margins()
236 static void bit_cursor(struct vc_data *vc, struct fb_info *info, int mode, in bit_cursor()
Dfbcon_ud.c26 struct vc_data *vc) in ud_update_attr()
48 static void ud_bmove(struct vc_data *vc, struct fb_info *info, int sy, in ud_bmove()
66 static void ud_clear(struct vc_data *vc, struct fb_info *info, int sy, in ud_clear()
85 static inline void ud_putcs_aligned(struct vc_data *vc, struct fb_info *info, in ud_putcs_aligned()
116 static inline void ud_putcs_unaligned(struct vc_data *vc, in ud_putcs_unaligned()
151 static void ud_putcs(struct vc_data *vc, struct fb_info *info, in ud_putcs()
222 static void ud_clear_margins(struct vc_data *vc, struct fb_info *info, in ud_clear_margins()
251 static void ud_cursor(struct vc_data *vc, struct fb_info *info, int mode, in ud_cursor()
Dfbcon_cw.c26 struct vc_data *vc) in cw_update_attr()
48 static void cw_bmove(struct vc_data *vc, struct fb_info *info, int sy, in cw_bmove()
65 static void cw_clear(struct vc_data *vc, struct fb_info *info, int sy, in cw_clear()
83 static inline void cw_putcs_aligned(struct vc_data *vc, struct fb_info *info, in cw_putcs_aligned()
114 static void cw_putcs(struct vc_data *vc, struct fb_info *info, in cw_putcs()
174 static void cw_clear_margins(struct vc_data *vc, struct fb_info *info, in cw_clear_margins()
204 static void cw_cursor(struct vc_data *vc, struct fb_info *info, int mode, in cw_cursor()
Dfbcon_ccw.c26 struct vc_data *vc) in ccw_update_attr()
63 static void ccw_bmove(struct vc_data *vc, struct fb_info *info, int sy, in ccw_bmove()
80 static void ccw_clear(struct vc_data *vc, struct fb_info *info, int sy, in ccw_clear()
98 static inline void ccw_putcs_aligned(struct vc_data *vc, struct fb_info *info, in ccw_putcs_aligned()
129 static void ccw_putcs(struct vc_data *vc, struct fb_info *info, in ccw_putcs()
191 static void ccw_clear_margins(struct vc_data *vc, struct fb_info *info, in ccw_clear_margins()
221 static void ccw_cursor(struct vc_data *vc, struct fb_info *info, int mode, in ccw_cursor()
/linux-6.6.21/drivers/accessibility/braille/
Dbraille_console.c109 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()

12