Home
last modified time | relevance | path

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

12

/Linux-v5.4/include/linux/
Dvt_kern.h39 int vc_resize(struct vc_data *vc, unsigned int cols, unsigned int lines);
40 struct vc_data *vc_deallocate(unsigned int console);
41 void reset_palette(struct vc_data *vc);
46 int con_font_op(struct vc_data *vc, struct console_font_op *op);
49 void scrollback(struct vc_data *vc);
50 void scrollfront(struct vc_data *vc, int lines);
51 void clear_buffer_attributes(struct vc_data *vc);
52 void update_region(struct vc_data *vc, unsigned long start, int count);
53 void redraw_screen(struct vc_data *vc, int is_switch);
69 int con_clear_unimap(struct vc_data *vc);
[all …]
Dconsole.h20 struct vc_data;
51 void (*con_init)(struct vc_data *vc, int init);
52 void (*con_deinit)(struct vc_data *vc);
53 void (*con_clear)(struct vc_data *vc, int sy, int sx, int height,
55 void (*con_putc)(struct vc_data *vc, int c, int ypos, int xpos);
56 void (*con_putcs)(struct vc_data *vc, const unsigned short *s,
58 void (*con_cursor)(struct vc_data *vc, int mode);
59 bool (*con_scroll)(struct vc_data *vc, unsigned int top,
62 int (*con_switch)(struct vc_data *vc);
63 int (*con_blank)(struct vc_data *vc, int blank, int mode_switch);
[all …]
Dselection.h14 extern struct vc_data *sel_cons;
34 extern unsigned short *screen_pos(struct vc_data *vc, int w_offset, int viewed);
35 extern u16 screen_glyph(struct vc_data *vc, int offset);
36 extern u32 screen_glyph_unicode(struct vc_data *vc, int offset);
37 extern void complement_pos(struct vc_data *vc, int offset);
38 extern void invert_screen(struct vc_data *vc, int offset, int count, int shift);
40 extern void getconsxy(struct vc_data *vc, unsigned char *p);
41 extern void putconsxy(struct vc_data *vc, unsigned char *p);
43 extern u16 vcs_scr_readw(struct vc_data *vc, const u16 *org);
44 extern void vcs_scr_writew(struct vc_data *vc, u16 val, u16 *org);
[all …]
Dconsolemap.h18 struct vc_data;
20 extern u16 inverse_translate(struct vc_data *conp, int glyph, int use_unicode);
21 extern unsigned short *set_translate(int m, struct vc_data *vc);
22 extern int conv_uni_to_pc(struct vc_data *conp, long ucs);
Dconsole_struct.h57 struct vc_data { struct
140 struct vc_data **vc_display_fg; /* [!] Ptr to var holding fg console for this display */ argument
148 struct vc_data *d; argument
171 bool con_is_visible(const struct vc_data *vc);
/Linux-v5.4/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.c82 static void sticon_putc(struct vc_data *conp, int c, int ypos, int xpos) in sticon_putc()
104 static void sticon_putcs(struct vc_data *conp, const unsigned short *s, in sticon_putcs()
131 static void sticon_cursor(struct vc_data *conp, int mode) in sticon_cursor()
156 static bool sticon_scroll(struct vc_data *conp, unsigned int t, in sticon_scroll()
181 static void sticon_init(struct vc_data *c, int init) in sticon_init()
202 static void sticon_deinit(struct vc_data *c) in sticon_deinit()
206 static void sticon_clear(struct vc_data *conp, int sy, int sx, int height, in sticon_clear()
215 static int sticon_switch(struct vc_data *conp) in sticon_switch()
220 static int sticon_set_origin(struct vc_data *conp) in sticon_set_origin()
225 static int sticon_blank(struct vc_data *c, int blank, int mode_switch) in sticon_blank()
[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);
163 static inline void vga_set_mem_top(struct vc_data *c) in vga_set_mem_top()
[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, u8 intensity, in mdacon_build_attr()
415 static void mdacon_invert_region(struct vc_data *c, u16 *p, int count) in mdacon_invert_region()
428 static void mdacon_putc(struct vc_data *c, int ch, int y, int x) in mdacon_putc()
433 static void mdacon_putcs(struct vc_data *c, const unsigned short *s, in mdacon_putcs()
443 static void mdacon_clear(struct vc_data *c, int y, int x, in mdacon_clear()
460 static int mdacon_switch(struct vc_data *c) in mdacon_switch()
465 static int mdacon_blank(struct vc_data *c, int blank, int mode_switch) in mdacon_blank()
[all …]
Dnewport_con.c329 static void newport_init(struct vc_data *vc, int init) in newport_init()
343 static void newport_deinit(struct vc_data *c) in newport_deinit()
351 static void newport_clear(struct vc_data *vc, int sy, int sx, int height, in newport_clear()
372 static void newport_putc(struct vc_data *vc, int charattr, int ypos, in newport_putc()
401 static void newport_putcs(struct vc_data *vc, const unsigned short *s, in newport_putcs()
442 static void newport_cursor(struct vc_data *vc, int mode) in newport_cursor()
467 static int newport_switch(struct vc_data *vc) in newport_switch()
484 static int newport_blank(struct vc_data *c, int blank, int mode_switch) in newport_blank()
568 static int newport_font_default(struct vc_data *vc, struct console_font *op, char *name) in newport_font_default()
573 static int newport_font_set(struct vc_data *vc, struct console_font *font, unsigned flags) in newport_font_set()
[all …]
/Linux-v5.4/drivers/staging/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()
378 static void speakup_paste(struct vc_data *vc) in speakup_paste()
389 static void say_attributes(struct vc_data *vc) in say_attributes()
416 static void announce_edge(struct vc_data *vc, int msg_id) in announce_edge()
[all …]
Dspeakup.h65 int spk_handle_help(struct vc_data *vc, u_char type, u_char ch, u_short key);
83 extern struct vc_data *spk_sel_cons;
/Linux-v5.4/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, u8 intensity, in sisusbcon_build_attr()
331 sisusbcon_invert_region(struct vc_data *vc, u16 *p, int count) in sisusbcon_invert_region()
349 const struct vc_data *c, unsigned int x, unsigned int y) in sisusb_vaddr()
355 const struct vc_data *c, unsigned int x, unsigned int y) in sisusb_haddr()
367 sisusbcon_putc(struct vc_data *c, int ch, int y, int x) in sisusbcon_putc()
389 sisusbcon_putcs(struct vc_data *c, const unsigned short *s, in sisusbcon_putcs()
[all …]
/Linux-v5.4/drivers/tty/vt/
Dvt.c151 static void vc_init(struct vc_data *vc, unsigned int rows,
153 static void gotoxy(struct vc_data *vc, int new_x, int new_y);
154 static void save_cur(struct vc_data *vc);
155 static void reset_terminal(struct vc_data *vc, int do_clear);
158 static void set_cursor(struct vc_data *vc);
159 static void hide_cursor(struct vc_data *vc);
163 static void set_palette(struct vc_data *vc);
214 static struct vc_data *master_display_fg;
268 static void notify_write(struct vc_data *vc, unsigned int unicode) in notify_write()
274 static void notify_update(struct vc_data *vc) in notify_update()
[all …]
Dkeyboard.c80 typedef void (k_handler_fn)(struct vc_data *vc, unsigned char value,
92 typedef void (fn_handler_fn)(struct vc_data *vc);
306 static void put_queue(struct vc_data *vc, int ch) in put_queue()
312 static void puts_queue(struct vc_data *vc, char *cp) in puts_queue()
321 static void applkey(struct vc_data *vc, int key, char mode) in applkey()
336 static void to_utf8(struct vc_data *vc, uint c) in to_utf8()
407 static unsigned int handle_diacr(struct vc_data *vc, unsigned int ch) in handle_diacr()
440 static void fn_enter(struct vc_data *vc) in fn_enter()
458 static void fn_caps_toggle(struct vc_data *vc) in fn_caps_toggle()
466 static void fn_caps_on(struct vc_data *vc) in fn_caps_on()
[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(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 …]
Dvt_ioctl.c65 static void complete_change_console(struct vc_data *vc);
266 do_unimap_ioctl(int cmd, struct unimapdesc __user *user_ud, int perm, struct vc_data *vc) in do_unimap_ioctl()
288 struct vc_data *vc = NULL; in vt_disallocate()
309 struct vc_data *vc[MAX_NR_CONSOLES]; in vt_disallocate_all()
336 struct vc_data *vc = tty->driver_data; in vt_ioctl()
711 struct vc_data *nvc; in vt_ioctl()
824 struct vc_data *vc; in vt_ioctl()
1030 void reset_vc(struct vc_data *vc) in reset_vc()
1050 struct vc_data *vc; in vc_SAK()
1127 int perm, struct console_font_op *op, struct vc_data *vc) in compat_kdfontop_ioctl()
[all …]
/Linux-v5.4/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()
219 extern void fbcon_set_tileops(struct vc_data *vc, struct fb_info *info);
Dfbcon.c174 static int fbcon_set_origin(struct vc_data *);
185 static void fbcon_init(struct vc_data *vc, int init);
186 static void fbcon_deinit(struct vc_data *vc);
187 static void fbcon_clear(struct vc_data *vc, int sy, int sx, int height,
189 static void fbcon_putc(struct vc_data *vc, int c, int ypos, int xpos);
190 static void fbcon_putcs(struct vc_data *vc, const unsigned short *s,
192 static void fbcon_clear_margins(struct vc_data *vc, int bottom_only);
193 static void fbcon_cursor(struct vc_data *vc, int mode);
194 static void fbcon_bmove(struct vc_data *vc, int sy, int sx, int dy, int dx,
196 static int fbcon_switch(struct vc_data *vc);
[all …]
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()
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_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()
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-v5.4/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()
266 struct vc_data *vc = param->vc; in vt_notifier_call()

12