Home
last modified time | relevance | path

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

12

/linux-6.12.1/include/linux/
Dvt_kern.h28 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 …]
Dselection.h15 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 …]
Dconsole.h25 struct vc_data;
91 void (*con_init)(struct vc_data *vc, bool init);
92 void (*con_deinit)(struct vc_data *vc);
93 void (*con_clear)(struct vc_data *vc, unsigned int y,
95 void (*con_putc)(struct vc_data *vc, u16 ca, unsigned int y,
97 void (*con_putcs)(struct vc_data *vc, const u16 *s,
100 void (*con_cursor)(struct vc_data *vc, bool enable);
101 bool (*con_scroll)(struct vc_data *vc, unsigned int top,
104 bool (*con_switch)(struct vc_data *vc);
105 bool (*con_blank)(struct vc_data *vc, enum vesa_blank_mode blank,
[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
157 struct vc_data **vc_display_fg; /* [!] Ptr to var holding fg console for this display */ argument
165 struct vc_data *d; argument
193 bool con_is_visible(const struct vc_data *vc);
/linux-6.12.1/drivers/video/console/
Ddummycon.c53 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 void dummycon_putc(struct vc_data *vc, u16 c, unsigned int y, in dummycon_putc()
91 static void dummycon_putcs(struct vc_data *vc, const u16 *s, unsigned int count, in dummycon_putcs()
93 static bool dummycon_blank(struct vc_data *vc, enum vesa_blank_mode blank, in dummycon_blank()
105 static void dummycon_init(struct vc_data *vc, bool init) in dummycon_init()
115 static void dummycon_deinit(struct vc_data *vc) { } in dummycon_deinit()
116 static void dummycon_clear(struct vc_data *vc, unsigned int sy, unsigned int sx, in dummycon_clear()
118 static void dummycon_cursor(struct vc_data *vc, bool enable) { } in dummycon_cursor()
[all …]
Dsticon.c74 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 …]
Dmdacon.c76 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 …]
Dvgacon.c68 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 …]
Dnewport_con.c327 static void newport_init(struct vc_data *vc, bool 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, unsigned int sy, unsigned int sx, in newport_clear()
370 static void newport_putc(struct vc_data *vc, u16 charattr, unsigned int ypos, in newport_putc()
399 static void newport_putcs(struct vc_data *vc, const u16 *s, in newport_putcs()
441 static void newport_cursor(struct vc_data *vc, bool enable) in newport_cursor()
462 static bool newport_switch(struct vc_data *vc) in newport_switch()
479 static bool newport_blank(struct vc_data *c, enum vesa_blank_mode blank, in newport_blank()
567 static int newport_font_default(struct vc_data *vc, struct console_font *op, in newport_font_default()
573 static int newport_font_set(struct vc_data *vc, const struct console_font *font, in newport_font_set()
[all …]
/linux-6.12.1/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.12.1/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 */
93 bool vc_is_sel(const struct vc_data *vc) in vc_is_sel()
198 static int vc_selection_store_chars(struct vc_data *vc, bool unicode) in vc_selection_store_chars()
239 static int vc_do_selection(struct vc_data *vc, unsigned short mode, int ps, in vc_do_selection()
326 static int vc_selection(struct vc_data *vc, struct tiocl_selection *v, in vc_selection()
386 struct vc_data *vc = tty->driver_data; in paste_selection()
/linux-6.12.1/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,
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, bool enable, in tile_cursor()
131 void fbcon_set_tileops(struct vc_data *vc, struct fb_info *info) in fbcon_set_tileops()
Dfbcon.c178 static void fbcon_clear_margins(struct vc_data *vc, int bottom_only);
179 static void fbcon_set_palette(struct vc_data *vc, const unsigned char *table);
186 static void fbcon_redraw_move(struct vc_data *vc, struct fbcon_display *p,
230 struct vc_data *vc; in fbcon_rotate_all()
287 static inline int fbcon_is_inactive(struct vc_data *vc, struct fb_info *info) in fbcon_is_inactive()
295 static int get_color(struct vc_data *vc, struct fb_info *info, in get_color()
366 struct vc_data *vc = NULL; in fb_flashcursor()
564 static void fbcon_prepare_logo(struct vc_data *vc, struct fb_info *info, in fbcon_prepare_logo()
570 static void fbcon_prepare_logo(struct vc_data *vc, struct fb_info *info, in fbcon_prepare_logo()
660 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, bool enable, 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, bool enable, in ud_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, bool enable, in ccw_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, bool enable, in cw_cursor()
/linux-6.12.1/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