Lines Matching refs:vxres
334 u32 vxres, xoffset, vyres, yoffset; in vga16fb_check_var() local
371 vxres = (var->xres_virtual + 0xF) & ~0xF; in vga16fb_check_var()
377 if (vxres < xres) in vga16fb_check_var()
378 vxres = xres; in vga16fb_check_var()
379 if (xres + xoffset > vxres) in vga16fb_check_var()
380 xoffset = vxres - xres; in vga16fb_check_var()
386 var->xres_virtual = vxres; in vga16fb_check_var()
393 vxres >>= shift; in vga16fb_check_var()
422 if (vxres * vyres > maxmem) { in vga16fb_check_var()
423 vyres = maxmem / vxres; in vga16fb_check_var()
468 pos = yoffset * vxres + (xoffset >> shift); in vga16fb_check_var()
493 if (vxres >= 512) in vga16fb_check_var()
495 par->crtc[VGA_CRTC_OFFSET] = vxres >> 1; in vga16fb_check_var()
899 int x, x2, y2, vxres, vyres, width, height, line_ofs; in vga16fb_fillrect() local
902 vxres = info->var.xres_virtual; in vga16fb_fillrect()
905 if (!rect->width || !rect->height || rect->dx > vxres || rect->dy > vyres) in vga16fb_fillrect()
913 x2 = x2 < vxres ? x2 : vxres; in vga16fb_fillrect()
1030 int x, x2, y2, old_dx, old_dy, vxres, vyres; in vga16fb_copyarea() local
1035 vxres = info->var.xres_virtual; in vga16fb_copyarea()
1038 if (area->dx > vxres || area->sx > vxres || area->dy > vyres || in vga16fb_copyarea()
1054 x2 = x2 < vxres ? x2 : vxres; in vga16fb_copyarea()
1067 if (sx + width > vxres || sy + height > vyres) in vga16fb_copyarea()