Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dconsole.h19 struct vc_data;
34 void (*con_init)(struct vc_data *, int);
35 void (*con_deinit)(struct vc_data *);
36 void (*con_clear)(struct vc_data *, int, int, int, int);
37 void (*con_putc)(struct vc_data *, int, int, int);
38 void (*con_putcs)(struct vc_data *, const unsigned short *, int, int, int);
39 void (*con_cursor)(struct vc_data *, int);
40 int (*con_scroll)(struct vc_data *, int, int, int, int);
41 void (*con_bmove)(struct vc_data *, int, int, int, int, int, int);
42 int (*con_switch)(struct vc_data *);
[all …]
Dvt_kern.h38 int vc_resize(struct vc_data *vc, unsigned int cols, unsigned int lines);
39 struct vc_data *vc_deallocate(unsigned int console);
40 void reset_palette(struct vc_data *vc);
45 int con_font_op(struct vc_data *vc, struct console_font_op *op);
48 void scrollback(struct vc_data *vc, int lines);
49 void scrollfront(struct vc_data *vc, int lines);
50 void clear_buffer_attributes(struct vc_data *vc);
51 void update_region(struct vc_data *vc, unsigned long start, int count);
52 void redraw_screen(struct vc_data *vc, int is_switch);
69 int con_clear_unimap(struct vc_data *vc, struct unimapinit *ui);
[all …]
Dselection.h15 extern struct vc_data *sel_cons;
32 extern unsigned short *screen_pos(struct vc_data *vc, int w_offset, int viewed);
33 extern u16 screen_glyph(struct vc_data *vc, int offset);
34 extern void complement_pos(struct vc_data *vc, int offset);
35 extern void invert_screen(struct vc_data *vc, int offset, int count, int shift);
37 extern void getconsxy(struct vc_data *vc, unsigned char *p);
38 extern void putconsxy(struct vc_data *vc, unsigned char *p);
40 extern u16 vcs_scr_readw(struct vc_data *vc, const u16 *org);
41 extern void vcs_scr_writew(struct vc_data *vc, u16 val, u16 *org);
42 extern void vcs_scr_updated(struct vc_data *vc);
Dconsolemap.h17 struct vc_data;
19 extern u16 inverse_translate(struct vc_data *conp, int glyph, int use_unicode);
20 extern unsigned short *set_translate(int m, struct vc_data *vc);
21 extern int conv_uni_to_pc(struct vc_data *conp, long ucs);
Dconsole_struct.h24 struct vc_data { struct
108 struct vc_data **vc_display_fg; /* [!] Ptr to var holding fg console for this display */ argument
116 struct vc_data *d; argument
Dkeyboard.h11 struct vc_data *vc; /* VC on which the keyboard press was done */
/linux-4.4.14/drivers/video/console/
Dsticon.c82 static int sticon_set_palette(struct vc_data *c, unsigned char *table) in sticon_set_palette()
87 static void sticon_putc(struct vc_data *conp, int c, int ypos, int xpos) in sticon_putc()
109 static void sticon_putcs(struct vc_data *conp, const unsigned short *s, in sticon_putcs()
136 static void sticon_cursor(struct vc_data *conp, int mode) in sticon_cursor()
161 static int sticon_scroll(struct vc_data *conp, int t, int b, int dir, int count) in sticon_scroll()
185 static void sticon_bmove(struct vc_data *conp, int sy, int sx, in sticon_bmove()
201 static void sticon_init(struct vc_data *c, int init) in sticon_init()
222 static void sticon_deinit(struct vc_data *c) in sticon_deinit()
226 static void sticon_clear(struct vc_data *conp, int sy, int sx, int height, in sticon_clear()
235 static int sticon_switch(struct vc_data *conp) in sticon_switch()
[all …]
Dmdacon.c76 static struct vc_data *mda_display_fg = NULL;
345 static void mdacon_init(struct vc_data *c, int init) in mdacon_init()
362 static void mdacon_deinit(struct vc_data *c) in mdacon_deinit()
387 static u8 mdacon_build_attr(struct vc_data *c, u8 color, u8 intensity, in mdacon_build_attr()
405 static void mdacon_invert_region(struct vc_data *c, u16 *p, int count) in mdacon_invert_region()
415 static void mdacon_putc(struct vc_data *c, int ch, int y, int x) in mdacon_putc()
420 static void mdacon_putcs(struct vc_data *c, const unsigned short *s, in mdacon_putcs()
430 static void mdacon_clear(struct vc_data *c, int y, int x, in mdacon_clear()
447 static void mdacon_bmove(struct vc_data *c, int sy, int sx, in mdacon_bmove()
479 static int mdacon_switch(struct vc_data *c) in mdacon_switch()
[all …]
Dvgacon.c78 static void vgacon_init(struct vc_data *c, int init);
79 static void vgacon_deinit(struct vc_data *c);
80 static void vgacon_cursor(struct vc_data *c, int mode);
81 static int vgacon_switch(struct vc_data *c);
82 static int vgacon_blank(struct vc_data *c, int blank, int mode_switch);
83 static int vgacon_set_palette(struct vc_data *vc, unsigned char *table);
84 static int vgacon_scrolldelta(struct vc_data *c, int lines);
85 static int vgacon_set_origin(struct vc_data *c);
86 static void vgacon_save_screen(struct vc_data *c);
87 static int vgacon_scroll(struct vc_data *c, int t, int b, int dir,
[all …]
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);
118 static inline int attr_col_ec(int shift, struct vc_data *vc, in attr_col_ec()
218 extern void fbcon_set_tileops(struct vc_data *vc, struct fb_info *info);
Dfbcon.c147 static int fbcon_set_origin(struct vc_data *);
158 static void fbcon_init(struct vc_data *vc, int init);
159 static void fbcon_deinit(struct vc_data *vc);
160 static void fbcon_clear(struct vc_data *vc, int sy, int sx, int height,
162 static void fbcon_putc(struct vc_data *vc, int c, int ypos, int xpos);
163 static void fbcon_putcs(struct vc_data *vc, const unsigned short *s,
165 static void fbcon_clear_margins(struct vc_data *vc, int bottom_only);
166 static void fbcon_cursor(struct vc_data *vc, int mode);
167 static int fbcon_scroll(struct vc_data *vc, int t, int b, int dir,
169 static void fbcon_bmove(struct vc_data *vc, int sy, int sx, int dy, int dx,
[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()
Dnewport_con.c328 static void newport_init(struct vc_data *vc, int init) in newport_init()
342 static void newport_deinit(struct vc_data *c) in newport_deinit()
350 static void newport_clear(struct vc_data *vc, int sy, int sx, int height, in newport_clear()
371 static void newport_putc(struct vc_data *vc, int charattr, int ypos, in newport_putc()
400 static void newport_putcs(struct vc_data *vc, const unsigned short *s, in newport_putcs()
441 static void newport_cursor(struct vc_data *vc, int mode) in newport_cursor()
466 static int newport_switch(struct vc_data *vc) in newport_switch()
483 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 …]
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()
Ddummycon.c34 static void dummycon_init(struct vc_data *vc, int init) in dummycon_init()
Dfbcon_rotate.c21 static int fbcon_rotate_font(struct fb_info *info, struct vc_data *vc) in fbcon_rotate_font()
/linux-4.4.14/drivers/staging/speakup/
Dmain.c272 static void speakup_date(struct vc_data *vc) in speakup_date()
298 static void speakup_shut_up(struct vc_data *vc) in speakup_shut_up()
309 static void speech_kill(struct vc_data *vc) in speech_kill()
327 static void speakup_off(struct vc_data *vc) in speakup_off()
339 static void speakup_parked(struct vc_data *vc) in speakup_parked()
350 static void speakup_cut(struct vc_data *vc) in speakup_cut()
386 static void speakup_paste(struct vc_data *vc) in speakup_paste()
397 static void say_attributes(struct vc_data *vc) in say_attributes()
423 static void announce_edge(struct vc_data *vc, int msg_id) in announce_edge()
467 static u16 get_char(struct vc_data *vc, u16 *pos, u_char *attribs) in get_char()
[all …]
Dselection.c22 struct vc_data *spk_sel_cons;
57 struct vc_data *vc = vc_cons[fg_console].d; in speakup_set_selection()
140 struct vc_data *vc = (struct vc_data *) tty->driver_data; in __speakup_paste_selection()
Dspeakup.h67 int spk_handle_help(struct vc_data *vc, u_char type, u_char ch, u_short key);
84 extern struct vc_data *spk_sel_cons;
Dspk_types.h51 typedef int (*special_func)(struct vc_data *vc, u_char type, u_char ch,
Dkeyhelp.c145 int spk_handle_help(struct vc_data *vc, u_char type, u_char ch, u_short key) in spk_handle_help()
Dkobjects.c331 struct vc_data *vc = vc_cons[fg_console].d; in silent_store()
/linux-4.4.14/drivers/tty/vt/
Dkeyboard.c78 typedef void (k_handler_fn)(struct vc_data *vc, unsigned char value,
90 typedef void (fn_handler_fn)(struct vc_data *vc);
303 static void put_queue(struct vc_data *vc, int ch) in put_queue()
309 static void puts_queue(struct vc_data *vc, char *cp) in puts_queue()
318 static void applkey(struct vc_data *vc, int key, char mode) in applkey()
333 static void to_utf8(struct vc_data *vc, uint c) in to_utf8()
416 static unsigned int handle_diacr(struct vc_data *vc, unsigned int ch) in handle_diacr()
449 static void fn_enter(struct vc_data *vc) in fn_enter()
467 static void fn_caps_toggle(struct vc_data *vc) in fn_caps_toggle()
475 static void fn_caps_on(struct vc_data *vc) in fn_caps_on()
[all …]
Dvt.c148 static void vc_init(struct vc_data *vc, unsigned int rows,
150 static void gotoxy(struct vc_data *vc, int new_x, int new_y);
151 static void save_cur(struct vc_data *vc);
152 static void reset_terminal(struct vc_data *vc, int do_clear);
155 static void set_cursor(struct vc_data *vc);
156 static void hide_cursor(struct vc_data *vc);
160 static void set_palette(struct vc_data *vc);
211 static struct vc_data *master_display_fg;
265 static void notify_write(struct vc_data *vc, unsigned int unicode) in notify_write()
271 static void notify_update(struct vc_data *vc) in notify_update()
[all …]
Dconsolemap.c186 static void set_inverse_transl(struct vc_data *conp, struct uni_pagedir *p, int i) in set_inverse_transl()
210 static void set_inverse_trans_unicode(struct vc_data *conp, in set_inverse_trans_unicode()
245 unsigned short *set_translate(int m, struct vc_data *vc) in set_translate()
258 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, struct unimapinit *ui) in con_do_clear_unimap()
527 int con_clear_unimap(struct vc_data *vc, struct unimapinit *ui) in con_clear_unimap()
536 int con_set_unimap(struct vc_data *vc, ushort ct, struct unipair __user *list) in con_set_unimap()
658 int con_set_default_unimap(struct vc_data *vc) in con_set_default_unimap()
[all …]
Dvt_ioctl.c62 static void complete_change_console(struct vc_data *vc);
263 do_unimap_ioctl(int cmd, struct unimapdesc __user *user_ud, int perm, struct vc_data *vc) in do_unimap_ioctl()
289 struct vc_data *vc = NULL; in vt_disallocate()
310 struct vc_data *vc[MAX_NR_CONSOLES]; in vt_disallocate_all()
337 struct vc_data *vc = tty->driver_data; in vt_ioctl()
710 struct vc_data *nvc; in vt_ioctl()
823 struct vc_data *vc; in vt_ioctl()
1049 void reset_vc(struct vc_data *vc) in reset_vc()
1069 struct vc_data *vc; in vc_SAK()
1146 int perm, struct console_font_op *op, struct vc_data *vc) in compat_kdfontop_ioctl()
[all …]
Dvc_screen.c65 struct vc_data *vc = param->vc; in vcs_notifier()
139 static struct vc_data*
167 struct vc_data *vc; in vcs_size()
200 struct vc_data *vc; in vcs_read()
378 struct vc_data *vc; in vcs_write()
Dselection.c37 struct vc_data *sel_cons; /* must not be deallocated */
161 struct vc_data *vc = vc_cons[fg_console].d; in set_selection()
339 struct vc_data *vc = tty->driver_data; in paste_selection()
/linux-4.4.14/drivers/usb/misc/sisusbvga/
Dsisusb_con.c107 sisusbcon_set_start_address(struct sisusb_usb_data *sisusb, struct vc_data *c) in sisusbcon_set_start_address()
188 sisusb_is_inactive(struct vc_data *c, struct sisusb_usb_data *sisusb) in sisusb_is_inactive()
207 sisusbcon_init(struct vc_data *c, int init) in sisusbcon_init()
273 sisusbcon_deinit(struct vc_data *c) in sisusbcon_deinit()
313 sisusbcon_build_attr(struct vc_data *c, u8 color, u8 intensity, in sisusbcon_build_attr()
339 sisusbcon_invert_region(struct vc_data *vc, u16 *p, int count) in sisusbcon_invert_region()
370 sisusbcon_putc(struct vc_data *c, int ch, int y, int x) in sisusbcon_putc()
394 sisusbcon_putcs(struct vc_data *c, const unsigned short *s, in sisusbcon_putcs()
430 sisusbcon_clear(struct vc_data *c, int y, int x, int height, int width) in sisusbcon_clear()
485 sisusbcon_bmove(struct vc_data *c, int sy, int sx, in sisusbcon_bmove()
[all …]
Dsisusb_init.h835 struct vc_data *c, int fh, int uplock);
Dsisusb.h157 struct vc_data *sisusb_display_fg;
/linux-4.4.14/drivers/accessibility/braille/
Dbraille_console.c123 static void vc_follow_cursor(struct vc_data *vc) in vc_follow_cursor()
132 static void vc_maybe_cursor_moved(struct vc_data *vc) in vc_maybe_cursor_moved()
139 static void vc_refresh(struct vc_data *vc) in vc_refresh()
160 struct vc_data *vc = param->vc; in keyboard_notifier_call()
279 struct vc_data *vc = param->vc; in vt_notifier_call()