Lines Matching defs:x2
375 vga_drawrect(struct vt_device *vd, int x1, int y1, int x2, int y2, int fill,
385 for (x = x1; x <= x2; x++)
389 vga_setpixel(vd, x2, y, color);
668 if ((used_colors_list[bg] & 0x2) != 0x2)
671 used_colors_list[bg] |= 0x2;
764 if ((used_colors_list[vd->vd_mcursor_bg] & 0x2) != 0x2)
787 unsigned int x1, y1, x2, y2, x, y;
832 x2 = (int)howmany(col * vf->vf_width + vw->vw_draw_area.tr_begin.tp_col,
838 x2 = min(x2, vw->vw_draw_area.tr_end.tp_col);
857 for (x = x1; x < x2; x += VT_VGA_PIXELS_BLOCK) {
960 unsigned int x1, y1, x2, y2, i, j, src_x, dst_x, x_count;
967 x2 = roundup(x + width, VT_VGA_PIXELS_BLOCK);
969 x2 = min(x2, vd->vd_width - 1);
977 for (i = x1; i < x2; i += VT_VGA_PIXELS_BLOCK) {