Lines Matching refs:vc_sw
299 else if (!vc->vc_sw->con_screen_pos) in screenpos()
302 p = vc->vc_sw->con_screen_pos(vc, offset); in screenpos()
631 if (con_is_visible(vc) && vc->vc_sw->con_scroll(vc, t, b, dir, nr)) in con_scroll()
651 if (!vc->vc_sw->con_getxy) { in do_update_region()
657 start = vc->vc_sw->con_getxy(vc, start, &nxx, &nyy); in do_update_region()
667 vc->vc_sw->con_putcs(vc, q, p-q, yy, startx); in do_update_region()
677 vc->vc_sw->con_putcs(vc, q, p-q, yy, startx); in do_update_region()
682 if (vc->vc_sw->con_getxy) { in do_update_region()
684 start = vc->vc_sw->con_getxy(vc, start, NULL, NULL); in do_update_region()
705 if (vc->vc_sw->con_build_attr) in build_attr()
706 return vc->vc_sw->con_build_attr(vc, _color, _intensity, in build_attr()
762 if (vc->vc_sw->con_invert_region) { in invert_screen()
763 vc->vc_sw->con_invert_region(vc, p, count); in invert_screen()
811 vc->vc_sw->con_putc(vc, old, oldy, oldx); in complement_pos()
828 vc->vc_sw->con_putc(vc, new, oldy, oldx); in complement_pos()
877 vc->vc_sw->con_putc(vc, i, vc->vc_y, vc->vc_x); in add_softcursor()
885 vc->vc_sw->con_putc(vc, softcursor_original, in hide_softcursor()
895 vc->vc_sw->con_cursor(vc, CM_ERASE); in hide_cursor()
908 vc->vc_sw->con_cursor(vc, CM_DRAW); in set_cursor()
918 !vc->vc_sw->con_set_origin || in set_origin()
919 !vc->vc_sw->con_set_origin(vc)) in set_origin()
930 if (vc->vc_sw->con_save_screen) in save_screen()
931 vc->vc_sw->con_save_screen(vc); in save_screen()
939 if (vc->vc_sw->con_flush_scrollback) in flush_scrollback()
940 vc->vc_sw->con_flush_scrollback(vc); in flush_scrollback()
942 vc->vc_sw->con_switch(vc); in flush_scrollback()
997 update = vc->vc_sw->con_switch(vc); in redraw_screen()
1033 if (vc->vc_sw) in visual_init()
1034 module_put(vc->vc_sw->owner); in visual_init()
1035 vc->vc_sw = conswitchp; in visual_init()
1038 vc->vc_sw = con_driver_map[num]; in visual_init()
1040 __module_get(vc->vc_sw->owner); in visual_init()
1051 vc->vc_sw->con_init(vc, init); in visual_init()
1062 vc->vc_sw->con_deinit(vc); in visual_deinit()
1063 module_put(vc->vc_sw->owner); in visual_deinit()
1125 if (vc->vc_mode != KD_GRAPHICS && vc->vc_sw->con_resize) in resize_screen()
1126 err = vc->vc_sw->con_resize(vc, width, height, user); in resize_screen()
1575 vc->vc_sw->con_clear(vc, vc->vc_y, vc->vc_x, 1, count); in csi_X()
2546 vc->vc_sw->con_putcs(vc, (u16 *)draw_from, in con_flush()
2838 if (vc->vc_mode == KD_TEXT && vc->vc_sw->con_scrolldelta) in console_callback()
2839 vc->vc_sw->con_scrolldelta(vc, scrollback_delta); in console_callback()
2955 vc->vc_sw->con_putcs(vc, start, cnt, vc->vc_y, start_x); in vt_console_print()
2983 vc->vc_sw->con_putcs(vc, start, cnt, vc->vc_y, start_x); in vt_console_print()
3365 currcons || !vc->vc_sw->con_save_screen); in con_init()
3519 if (!vc || !vc->vc_sw) in do_bind_con_driver()
3530 vc->vc_sw->con_deinit(vc); in do_bind_con_driver()
3879 if (vc->vc_sw->con_debug_enter) in con_debug_enter()
3880 ret = vc->vc_sw->con_debug_enter(vc); in con_debug_enter()
3937 if (vc->vc_sw->con_debug_leave) in con_debug_leave()
3938 ret = vc->vc_sw->con_debug_leave(vc); in con_debug_leave()
4196 vc->vc_sw->con_blank(vc, vesa_blank_mode + 1, 0); in do_blank_screen()
4205 vc->vc_sw->con_blank(vc, -1, 1); in do_blank_screen()
4226 i = vc->vc_sw->con_blank(vc, vesa_off_interval ? 1 : (vesa_blank_mode + 1), 0); in do_blank_screen()
4277 if (vc->vc_sw->con_blank(vc, 0, leaving_gfx)) in do_unblank_screen()
4346 if (vc->vc_mode != KD_GRAPHICS && vc->vc_sw->con_set_palette) in set_palette()
4347 vc->vc_sw->con_set_palette(vc, color_table); in set_palette()
4445 else if (vc->vc_sw->con_font_get) in con_font_get()
4446 rc = vc->vc_sw->con_font_get(vc, &font); in con_font_get()
4537 else if (vc->vc_sw->con_font_set) in con_font_set()
4538 rc = vc->vc_sw->con_font_set(vc, &font, op->flags); in con_font_set()
4566 if (vc->vc_sw->con_font_default) in con_font_default()
4567 rc = vc->vc_sw->con_font_default(vc, &font, s); in con_font_default()
4587 else if (!vc->vc_sw->con_font_copy) in con_font_copy()
4594 rc = vc->vc_sw->con_font_copy(vc, con); in con_font_copy()