Lines Matching refs:vc_data

143 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()
279 static inline bool con_is_fg(const struct vc_data *vc) in con_is_fg()
284 static inline bool con_should_update(const struct vc_data *vc) in con_should_update()
289 static inline u16 *screenpos(const struct vc_data *vc, unsigned int offset, in screenpos()
297 static void con_putc(struct vc_data *vc, u16 ca, unsigned int y, unsigned int x) in con_putc()
357 static void vc_uniscr_set(struct vc_data *vc, u32 **new_uni_lines) in vc_uniscr_set()
363 static void vc_uniscr_putc(struct vc_data *vc, u32 uc) in vc_uniscr_putc()
369 static void vc_uniscr_insert(struct vc_data *vc, unsigned int nr) in vc_uniscr_insert()
380 static void vc_uniscr_delete(struct vc_data *vc, unsigned int nr) in vc_uniscr_delete()
391 static void vc_uniscr_clear_line(struct vc_data *vc, unsigned int x, in vc_uniscr_clear_line()
398 static void vc_uniscr_clear_lines(struct vc_data *vc, unsigned int y, in vc_uniscr_clear_lines()
428 static void vc_uniscr_scroll(struct vc_data *vc, unsigned int top, in vc_uniscr_scroll()
484 int vc_uniscr_check(struct vc_data *vc) in vc_uniscr_check()
528 void vc_uniscr_copy_line(const struct vc_data *vc, void *dest, bool viewed, in vc_uniscr_copy_line()
565 static void con_scroll(struct vc_data *vc, unsigned int top, in con_scroll()
593 static void do_update_region(struct vc_data *vc, unsigned long start, int count) in do_update_region()
627 void update_region(struct vc_data *vc, unsigned long start, int count) in update_region()
641 static u8 build_attr(struct vc_data *vc, u8 _color, in build_attr()
685 static void update_attr(struct vc_data *vc) in update_attr()
696 void invert_screen(struct vc_data *vc, int offset, int count, bool viewed) in invert_screen()
745 void complement_pos(struct vc_data *vc, int offset) in complement_pos()
779 static void insert_char(struct vc_data *vc, unsigned int nr) in insert_char()
792 static void delete_char(struct vc_data *vc, unsigned int nr) in delete_char()
808 static void add_softcursor(struct vc_data *vc) in add_softcursor()
830 static void hide_softcursor(struct vc_data *vc) in hide_softcursor()
841 static void hide_cursor(struct vc_data *vc) in hide_cursor()
850 static void set_cursor(struct vc_data *vc) in set_cursor()
864 static void set_origin(struct vc_data *vc) in set_origin()
878 static void save_screen(struct vc_data *vc) in save_screen()
886 static void flush_scrollback(struct vc_data *vc) in flush_scrollback()
909 void clear_buffer_attributes(struct vc_data *vc) in clear_buffer_attributes()
920 void redraw_screen(struct vc_data *vc, int is_switch) in redraw_screen()
933 struct vc_data *old_vc = vc_cons[fg_console].d; in redraw_screen()
990 static void visual_init(struct vc_data *vc, int num, bool init) in visual_init()
1020 static void visual_deinit(struct vc_data *vc) in visual_deinit()
1028 struct vc_data *vc = container_of(port, struct vc_data, port); in vc_port_destruct()
1048 struct vc_data *vc; in vc_allocate()
1065 param.vc = vc = kzalloc(sizeof(struct vc_data), GFP_KERNEL); in vc_allocate()
1105 static inline int resize_screen(struct vc_data *vc, int width, int height, in resize_screen()
1132 static int vc_do_resize(struct tty_struct *tty, struct vc_data *vc, in vc_do_resize()
1291 int __vc_resize(struct vc_data *vc, unsigned int cols, unsigned int rows, in __vc_resize()
1311 struct vc_data *vc = tty->driver_data; in vt_resize()
1320 struct vc_data *vc_deallocate(unsigned int currcons) in vc_deallocate()
1322 struct vc_data *vc = NULL; in vc_deallocate()
1388 static void gotoxy(struct vc_data *vc, int new_x, int new_y) in gotoxy()
1420 static void gotoxay(struct vc_data *vc, int new_x, int new_y) in gotoxay()
1425 void scrollback(struct vc_data *vc) in scrollback()
1430 void scrollfront(struct vc_data *vc, int lines) in scrollfront()
1437 static void lf(struct vc_data *vc) in lf()
1452 static void ri(struct vc_data *vc) in ri()
1466 static inline void cr(struct vc_data *vc) in cr()
1473 static inline void bs(struct vc_data *vc) in bs()
1483 static inline void del(struct vc_data *vc) in del()
1495 static void csi_J(struct vc_data *vc, enum CSI_J vpar) in csi_J()
1538 static void csi_K(struct vc_data *vc) in csi_K()
1568 static void csi_X(struct vc_data *vc) in csi_X()
1579 static void default_attr(struct vc_data *vc) in default_attr()
1612 static void rgb_foreground(struct vc_data *vc, const struct rgb *c) in rgb_foreground()
1634 static void rgb_background(struct vc_data *vc, const struct rgb *c) in rgb_background()
1650 static int vc_t416_color(struct vc_data *vc, int i, in vc_t416_color()
1651 void(*set_color)(struct vc_data *vc, const struct rgb *c)) in vc_t416_color()
1711 static void csi_m(struct vc_data *vc) in csi_m()
1823 static void cursor_report(struct vc_data *vc, struct tty_struct *tty) in cursor_report()
1878 static void csi_DEC_hl(struct vc_data *vc, bool on_off) in csi_DEC_hl()
1937 static void csi_hl(struct vc_data *vc, bool on_off) in csi_hl()
1979 static void csi_RSB(struct vc_data *vc) in csi_RSB()
2044 static void csi_at(struct vc_data *vc, unsigned int nr) in csi_at()
2051 static void csi_L(struct vc_data *vc) in csi_L()
2060 static void csi_P(struct vc_data *vc) in csi_P()
2068 static void csi_M(struct vc_data *vc) in csi_M()
2077 static void save_cur(struct vc_data *vc) in save_cur()
2083 static void restore_cur(struct vc_data *vc) in restore_cur()
2138 static void reset_terminal(struct vc_data *vc, int do_clear) in reset_terminal()
2186 static void vc_setGx(struct vc_data *vc, unsigned int which, u8 c) in vc_setGx()
2242 static bool handle_ascii(struct tty_struct *tty, struct vc_data *vc, u8 c) in handle_ascii()
2311 static void handle_esc(struct tty_struct *tty, struct vc_data *vc, u8 c) in handle_esc()
2381 static void csi_DEC(struct tty_struct *tty, struct vc_data *vc, u8 c) in csi_DEC()
2419 static void csi_ECMA(struct tty_struct *tty, struct vc_data *vc, u8 c) in csi_ECMA()
2551 static void vc_reset_params(struct vc_data *vc) in vc_reset_params()
2558 static void do_con_trol(struct tty_struct *tty, struct vc_data *vc, u8 c) in do_con_trol()
2757 static void con_flush(struct vc_data *vc, struct vc_draw_region *draw) in con_flush()
2768 static inline int vc_translate_ascii(const struct vc_data *vc, int c) in vc_translate_ascii()
2812 static int vc_translate_unicode(struct vc_data *vc, int c, bool *rescan) in vc_translate_unicode()
2868 static int vc_translate(struct vc_data *vc, int *c, bool *rescan) in vc_translate()
2881 static inline unsigned char vc_invert_attr(const struct vc_data *vc) in vc_invert_attr()
2896 static bool vc_is_control(struct vc_data *vc, int tc, int c) in vc_is_control()
2943 static int vc_con_write_normal(struct vc_data *vc, int tc, int c, in vc_con_write_normal()
3049 struct vc_data *vc = tty->driver_data; in do_con_write()
3138 struct vc_data *vc = vc_cons[fg_console].d; in console_callback()
3155 struct vc_data *vc = vc_cons[fg_console].d; in set_console()
3220 struct vc_data *vc = vc_cons[fg_console].d; in vt_console_print()
3463 struct vc_data *vc = tty->driver_data; in con_unthrottle()
3498 struct vc_data *vc = tty->driver_data; in con_flush_chars()
3514 struct vc_data *vc; in con_install()
3565 struct vc_data *vc = tty->driver_data; in con_shutdown()
3574 struct vc_data *vc = tty->driver_data; in con_cleanup()
3595 static void vc_init(struct vc_data *vc, int do_clear) in vc_init()
3624 struct vc_data *vc; in con_init()
3660 vc_cons[currcons].d = vc = kzalloc(sizeof(struct vc_data), GFP_NOWAIT); in con_init()
3813 struct vc_data *vc = vc_cons[i].d; in do_bind_con_driver()
3849 struct vc_data *vc = vc_cons[j].d; in do_bind_con_driver()
4148 bool con_is_visible(const struct vc_data *vc) in con_is_visible()
4164 void con_debug_enter(struct vc_data *vc) in con_debug_enter()
4215 struct vc_data *vc; in con_debug_leave()
4471 struct vc_data *vc = vc_cons[fg_console].d; in do_blank_screen()
4533 struct vc_data *vc; in do_unblank_screen()
4628 static void set_palette(struct vc_data *vc) in set_palette()
4689 void reset_palette(struct vc_data *vc) in reset_palette()
4718 static int con_font_get(struct vc_data *vc, struct console_font_op *op) in con_font_get()
4768 static int con_font_set(struct vc_data *vc, const struct console_font_op *op) in con_font_set()
4812 static int con_font_default(struct vc_data *vc, struct console_font_op *op) in con_font_default()
4846 int con_font_op(struct vc_data *vc, struct console_font_op *op) in con_font_op()
4869 u16 screen_glyph(const struct vc_data *vc, int offset) in screen_glyph()
4880 u32 screen_glyph_unicode(const struct vc_data *vc, int n) in screen_glyph_unicode()
4892 unsigned short *screen_pos(const struct vc_data *vc, int w_offset, bool viewed) in screen_pos()
4898 void getconsxy(const struct vc_data *vc, unsigned char xy[static 2]) in getconsxy()
4905 void putconsxy(struct vc_data *vc, unsigned char xy[static const 2]) in putconsxy()
4912 u16 vcs_scr_readw(const struct vc_data *vc, const u16 *org) in vcs_scr_readw()
4919 void vcs_scr_writew(struct vc_data *vc, u16 val, u16 *org) in vcs_scr_writew()
4928 void vcs_scr_updated(struct vc_data *vc) in vcs_scr_updated()