/Linux-v5.10/include/linux/ |
D | vt_kern.h | 40 int vc_resize(struct vc_data *vc, unsigned int cols, unsigned int lines); 41 struct vc_data *vc_deallocate(unsigned int console); 42 void reset_palette(struct vc_data *vc); 47 int con_font_op(struct vc_data *vc, struct console_font_op *op); 50 void scrollback(struct vc_data *vc); 51 void scrollfront(struct vc_data *vc, int lines); 52 void clear_buffer_attributes(struct vc_data *vc); 53 void update_region(struct vc_data *vc, unsigned long start, int count); 54 void redraw_screen(struct vc_data *vc, int is_switch); 70 int con_clear_unimap(struct vc_data *vc); [all …]
|
D | console.h | 20 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 …]
|
D | selection.h | 15 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 …]
|
D | consolemap.h | 18 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);
|
D | console_struct.h | 94 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-v5.10/drivers/video/console/ |
D | dummycon.c | 52 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 …]
|
D | sticon.c | 73 static void sticon_putc(struct vc_data *conp, int c, int ypos, int xpos) in sticon_putc() 84 static void sticon_putcs(struct vc_data *conp, const unsigned short *s, in sticon_putcs() 99 static void sticon_cursor(struct vc_data *conp, int mode) in sticon_cursor() 129 static bool sticon_scroll(struct vc_data *conp, unsigned int t, in sticon_scroll() 171 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() 268 static int sticon_font_set(struct vc_data *vc, struct console_font *font, in sticon_font_set() 274 static void sticon_init(struct vc_data *c, int init) in sticon_init() 292 static void sticon_deinit(struct vc_data *c) in sticon_deinit() 301 static void sticon_clear(struct vc_data *conp, int sy, int sx, int height, in sticon_clear() [all …]
|
D | vgacon.c | 69 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); 163 static inline void vga_set_mem_top(struct vc_data *c) in vga_set_mem_top() [all …]
|
D | mdacon.c | 76 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 …]
|
D | newport_con.c | 327 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-v5.10/drivers/accessibility/speakup/ |
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() 415 static void announce_edge(struct vc_data *vc, int msg_id) in announce_edge() [all …]
|
/Linux-v5.10/drivers/usb/misc/sisusbvga/ |
D | sisusb_con.c | 99 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-v5.10/drivers/tty/vt/ |
D | vt.c | 144 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 …]
|
D | keyboard.c | 81 typedef void (k_handler_fn)(struct vc_data *vc, unsigned char value, 93 typedef void (fn_handler_fn)(struct vc_data *vc); 311 static void put_queue(struct vc_data *vc, int ch) in put_queue() 317 static void puts_queue(struct vc_data *vc, char *cp) in puts_queue() 326 static void applkey(struct vc_data *vc, int key, char mode) in applkey() 341 static void to_utf8(struct vc_data *vc, uint c) in to_utf8() 412 static unsigned int handle_diacr(struct vc_data *vc, unsigned int ch) in handle_diacr() 445 static void fn_enter(struct vc_data *vc) in fn_enter() 463 static void fn_caps_toggle(struct vc_data *vc) in fn_caps_toggle() 471 static void fn_caps_on(struct vc_data *vc) in fn_caps_on() [all …]
|
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); 250 static int vt_kdsetmode(struct vc_data *vc, unsigned long mode) in vt_kdsetmode() 287 struct vc_data *vc = tty->driver_data; in vt_k_ioctl() 487 static inline int do_fontx_ioctl(struct vc_data *vc, int cmd, in do_fontx_ioctl() 526 static int vt_io_fontreset(struct vc_data *vc, struct console_font_op *op) in vt_io_fontreset() 552 bool perm, struct vc_data *vc) in do_unimap_ioctl() 572 static int vt_io_ioctl(struct vc_data *vc, unsigned int cmd, void __user *up, in vt_io_ioctl() 653 static int vt_reldisp(struct vc_data *vc, unsigned int swtch) in vt_reldisp() 692 struct vc_data *nvc; in vt_setactivate() [all …]
|
D | consolemap.c | 199 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 …]
|
D | vc_screen.c | 88 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 …]
|
D | selection.c | 41 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-v5.10/drivers/video/fbdev/core/ |
D | fbcon.h | 55 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() 212 extern void fbcon_set_tileops(struct vc_data *vc, struct fb_info *info);
|
D | fbcon.c | 175 static void fbcon_init(struct vc_data *vc, int init); 176 static void fbcon_deinit(struct vc_data *vc); 177 static void fbcon_clear(struct vc_data *vc, int sy, int sx, int height, 179 static void fbcon_putc(struct vc_data *vc, int c, int ypos, int xpos); 180 static void fbcon_putcs(struct vc_data *vc, const unsigned short *s, 182 static void fbcon_clear_margins(struct vc_data *vc, int bottom_only); 183 static void fbcon_cursor(struct vc_data *vc, int mode); 184 static void fbcon_bmove(struct vc_data *vc, int sy, int sx, int dy, int dx, 186 static int fbcon_switch(struct vc_data *vc); 187 static int fbcon_blank(struct vc_data *vc, int blank, int mode_switch); [all …]
|
D | tileblit.c | 20 static void tile_bmove(struct vc_data *vc, struct fb_info *info, int sy, in tile_bmove() 35 static void tile_clear(struct vc_data *vc, struct fb_info *info, int sy, in tile_clear() 55 static void tile_putcs(struct vc_data *vc, struct fb_info *info, in tile_putcs() 77 static void tile_clear_margins(struct vc_data *vc, struct fb_info *info, in tile_clear_margins() 83 static void tile_cursor(struct vc_data *vc, struct fb_info *info, int mode, in tile_cursor() 132 void fbcon_set_tileops(struct vc_data *vc, struct fb_info *info) in fbcon_set_tileops()
|
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() 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()
|
D | fbcon_ud.c | 26 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()
|
D | fbcon_cw.c | 26 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-v5.10/drivers/accessibility/braille/ |
D | braille_console.c | 110 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() 266 struct vc_data *vc = param->vc; in vt_notifier_call()
|