Lines Matching refs:draw
2572 static void con_flush(struct vc_data *vc, struct vc_draw_region *draw) in con_flush() argument
2574 if (draw->x < 0) in con_flush()
2577 vc->vc_sw->con_putcs(vc, (u16 *)draw->from, in con_flush()
2578 (u16 *)draw->to - (u16 *)draw->from, vc->state.y, in con_flush()
2579 draw->x); in con_flush()
2580 draw->x = -1; in con_flush()
2756 struct vc_draw_region *draw) in vc_con_write_normal() argument
2800 con_flush(vc, draw); in vc_con_write_normal()
2808 con_flush(vc, draw); in vc_con_write_normal()
2824 if (con_should_update(vc) && draw->x < 0) { in vc_con_write_normal()
2825 draw->x = vc->state.x; in vc_con_write_normal()
2826 draw->from = vc->vc_pos; in vc_con_write_normal()
2830 draw->to = vc->vc_pos + 2; in vc_con_write_normal()
2833 draw->to = (vc->vc_pos += 2); in vc_con_write_normal()
2848 con_flush(vc, draw); in vc_con_write_normal()
2856 struct vc_draw_region draw = { in do_con_write() local
2910 con_flush(vc, &draw); in do_con_write()
2915 if (vc_con_write_normal(vc, tc, c, &draw) < 0) in do_con_write()
2921 con_flush(vc, &draw); in do_con_write()