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()
938 if (vc->vc_sw->con_flush_scrollback) in flush_scrollback()
939 vc->vc_sw->con_flush_scrollback(vc); in flush_scrollback()
994 update = vc->vc_sw->con_switch(vc); in redraw_screen()
1032 if (vc->vc_sw) in visual_init()
1033 module_put(vc->vc_sw->owner); in visual_init()
1034 vc->vc_sw = conswitchp; in visual_init()
1037 vc->vc_sw = con_driver_map[num]; in visual_init()
1039 __module_get(vc->vc_sw->owner); in visual_init()
1051 vc->vc_sw->con_init(vc, init); in visual_init()
1117 if (vc->vc_mode != KD_GRAPHICS && vc->vc_sw->con_resize) in resize_screen()
1118 err = vc->vc_sw->con_resize(vc, width, height, user); in resize_screen()
1333 vc->vc_sw->con_deinit(vc); in vc_deallocate()
1335 module_put(vc->vc_sw->owner); in vc_deallocate()
1568 vc->vc_sw->con_clear(vc, vc->vc_y, vc->vc_x, 1, count); in csi_X()
2514 vc->vc_sw->con_putcs(vc, (u16 *)draw_from, in con_flush()
2806 if (vc->vc_mode == KD_TEXT && vc->vc_sw->con_scrolldelta) in console_callback()
2807 vc->vc_sw->con_scrolldelta(vc, scrollback_delta); in console_callback()
2930 vc->vc_sw->con_putcs(vc, start, cnt, vc->vc_y, vc->vc_x); in vt_console_print()
2962 vc->vc_sw->con_putcs(vc, start, cnt, vc->vc_y, vc->vc_x); in vt_console_print()
3349 currcons || !vc->vc_sw->con_save_screen); in con_init()
3503 if (!vc || !vc->vc_sw) in do_bind_con_driver()
3514 vc->vc_sw->con_deinit(vc); in do_bind_con_driver()
3843 if (vc->vc_sw->con_debug_enter) in con_debug_enter()
3844 ret = vc->vc_sw->con_debug_enter(vc); in con_debug_enter()
3901 if (vc->vc_sw->con_debug_leave) in con_debug_leave()
3902 ret = vc->vc_sw->con_debug_leave(vc); in con_debug_leave()
4158 vc->vc_sw->con_blank(vc, vesa_blank_mode + 1, 0); in do_blank_screen()
4167 vc->vc_sw->con_blank(vc, -1, 1); in do_blank_screen()
4190 i = vc->vc_sw->con_blank(vc, vesa_off_interval ? 1 : (vesa_blank_mode + 1), 0); in do_blank_screen()
4242 if (vc->vc_sw->con_blank(vc, 0, leaving_gfx) || vt_force_oops_output(vc)) in do_unblank_screen()
4311 if (vc->vc_mode != KD_GRAPHICS && vc->vc_sw->con_set_palette) in set_palette()
4312 vc->vc_sw->con_set_palette(vc, color_table); in set_palette()
4410 else if (vc->vc_sw->con_font_get) in con_font_get()
4411 rc = vc->vc_sw->con_font_get(vc, &font); in con_font_get()
4502 else if (vc->vc_sw->con_font_set) in con_font_set()
4503 rc = vc->vc_sw->con_font_set(vc, &font, op->flags); in con_font_set()
4531 if (vc->vc_sw->con_font_default) in con_font_default()
4532 rc = vc->vc_sw->con_font_default(vc, &font, s); in con_font_default()
4552 else if (!vc->vc_sw->con_font_copy) in con_font_copy()
4559 rc = vc->vc_sw->con_font_copy(vc, con); in con_font_copy()