Home
last modified time | relevance | path

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

12

/linux-5.19.10/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);
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);
58 int con_clear_unimap(struct vc_data *vc);
[all …]
Dconsole.h20 struct vc_data;
47 void (*con_init)(struct vc_data *vc, int init);
48 void (*con_deinit)(struct vc_data *vc);
49 void (*con_clear)(struct vc_data *vc, int sy, int sx, int height,
51 void (*con_putc)(struct vc_data *vc, int c, int ypos, int xpos);
52 void (*con_putcs)(struct vc_data *vc, const unsigned short *s,
54 void (*con_cursor)(struct vc_data *vc, int mode);
55 bool (*con_scroll)(struct vc_data *vc, unsigned int top,
58 int (*con_switch)(struct vc_data *vc);
59 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.h18 struct vc_data;
20 extern u16 inverse_translate(const struct vc_data *conp, int glyph,
22 extern unsigned short *set_translate(int m, struct vc_data *vc);
23 extern int conv_uni_to_pc(struct vc_data *conp, long ucs);
Dconsole_struct.h94 struct vc_data { struct
159 struct vc_data **vc_display_fg; /* [!] Ptr to var holding fg console for this display */ argument
167 struct vc_data *d; argument
195 bool con_is_visible(const struct vc_data *vc);
/linux-5.19.10/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 …]
Dvgacon.c69 static void vgacon_init(struct vc_data *c, int init);
70 static void vgacon_deinit(struct vc_data *c);
71 static void vgacon_cursor(struct vc_data *c, int mode);
72 static int vgacon_switch(struct vc_data *c);
73 static int vgacon_blank(struct vc_data *c, int blank, int mode_switch);
74 static void vgacon_scrolldelta(struct vc_data *c, int lines);
75 static int vgacon_set_origin(struct vc_data *c);
76 static void vgacon_save_screen(struct vc_data *c);
77 static void vgacon_invert_region(struct vc_data *c, u16 * p, int count);
140 static inline void vga_set_mem_top(struct vc_data *c) in vga_set_mem_top()
[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()
172 static int sticon_set_font(struct vc_data *vc, struct console_font *op) in sticon_set_font()
264 static int sticon_font_default(struct vc_data *vc, struct console_font *op, char *name) in sticon_font_default()
269 static int sticon_font_set(struct vc_data *vc, struct console_font *font, in sticon_font_set()
275 static void sticon_init(struct vc_data *c, int init) in sticon_init()
293 static void sticon_deinit(struct vc_data *c) in sticon_deinit()
302 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 …]
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, unsigned flags) in newport_font_set()
[all …]
/linux-5.19.10/drivers/accessibility/speakup/
Dmain.c257 static unsigned char get_attributes(struct vc_data *vc, u16 *pos) in get_attributes()
263 static void speakup_date(struct vc_data *vc) in speakup_date()
289 static void speakup_shut_up(struct vc_data *vc) in speakup_shut_up()
300 static void speech_kill(struct vc_data *vc) in speech_kill()
318 static void speakup_off(struct vc_data *vc) in speakup_off()
330 static void speakup_parked(struct vc_data *vc) in speakup_parked()
341 static void speakup_cut(struct vc_data *vc) in speakup_cut()
376 static void speakup_paste(struct vc_data *vc) in speakup_paste()
387 static void say_attributes(struct vc_data *vc) in say_attributes()
412 static void announce_edge(struct vc_data *vc, enum edge msg_id) in announce_edge()
[all …]
/linux-5.19.10/drivers/usb/misc/sisusbvga/
Dsisusb_con.c99 sisusbcon_set_start_address(struct sisusb_usb_data *sisusb, struct vc_data *c) in sisusbcon_set_start_address()
180 sisusb_is_inactive(struct vc_data *c, struct sisusb_usb_data *sisusb) in sisusb_is_inactive()
199 sisusbcon_init(struct vc_data *c, int init) in sisusbcon_init()
265 sisusbcon_deinit(struct vc_data *c) in sisusbcon_deinit()
305 sisusbcon_build_attr(struct vc_data *c, u8 color, enum vc_intensity intensity, in sisusbcon_build_attr()
332 sisusbcon_invert_region(struct vc_data *vc, u16 *p, int count) in sisusbcon_invert_region()
350 const struct vc_data *c, unsigned int x, unsigned int y) in sisusb_vaddr()
356 const struct vc_data *c, unsigned int x, unsigned int y) in sisusb_haddr()
368 sisusbcon_putc(struct vc_data *c, int ch, int y, int x) in sisusbcon_putc()
390 sisusbcon_putcs(struct vc_data *c, const unsigned short *s, in sisusbcon_putcs()
[all …]
/linux-5.19.10/drivers/tty/vt/
Dvt.c144 static void vc_init(struct vc_data *vc, unsigned int rows,
146 static void gotoxy(struct vc_data *vc, int new_x, int new_y);
147 static void save_cur(struct vc_data *vc);
148 static void reset_terminal(struct vc_data *vc, int do_clear);
151 static void set_cursor(struct vc_data *vc);
152 static void hide_cursor(struct vc_data *vc);
156 static void set_palette(struct vc_data *vc);
207 static struct vc_data *master_display_fg;
261 static void notify_write(struct vc_data *vc, unsigned int unicode) in notify_write()
267 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.c199 static void set_inverse_transl(struct vc_data *conp, struct uni_pagedir *p, int i) in set_inverse_transl()
223 static void set_inverse_trans_unicode(struct vc_data *conp, in set_inverse_trans_unicode()
258 unsigned short *set_translate(int m, struct vc_data *vc) in set_translate()
271 u16 inverse_translate(const struct vc_data *conp, int glyph, int use_unicode) in inverse_translate()
420 void con_free_unimap(struct vc_data *vc) in con_free_unimap()
434 static int con_unify_unimap(struct vc_data *conp, struct uni_pagedir *p) in con_unify_unimap()
504 static int con_do_clear_unimap(struct vc_data *vc) in con_do_clear_unimap()
527 int con_clear_unimap(struct vc_data *vc) in con_clear_unimap()
536 int con_set_unimap(struct vc_data *vc, ushort ct, struct unipair __user *list) in con_set_unimap()
659 int con_set_default_unimap(struct vc_data *vc) in con_set_default_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 */
90 bool vc_is_sel(struct vc_data *vc) in vc_is_sel()
188 static int vc_selection_store_chars(struct vc_data *vc, bool unicode) in vc_selection_store_chars()
229 static int vc_do_selection(struct vc_data *vc, unsigned short mode, int ps, in vc_do_selection()
316 static int vc_selection(struct vc_data *vc, struct tiocl_selection *v, in vc_selection()
376 struct vc_data *vc = tty->driver_data; in paste_selection()
/linux-5.19.10/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()
/linux-5.19.10/drivers/accessibility/braille/
Dbraille_console.c110 static void vc_follow_cursor(struct vc_data *vc) in vc_follow_cursor()
119 static void vc_maybe_cursor_moved(struct vc_data *vc) in vc_maybe_cursor_moved()
126 static void vc_refresh(struct vc_data *vc) in vc_refresh()
147 struct vc_data *vc = param->vc; in keyboard_notifier_call()
268 struct vc_data *vc = param->vc; in vt_notifier_call()

12