Lines Matching refs:vyres
334 u32 vxres, xoffset, vyres, yoffset; in vga16fb_check_var() local
417 vyres = var->yres_virtual; in vga16fb_check_var()
420 if (yres > vyres) in vga16fb_check_var()
421 vyres = yres; in vga16fb_check_var()
422 if (vxres * vyres > maxmem) { in vga16fb_check_var()
423 vyres = maxmem / vxres; in vga16fb_check_var()
424 if (vyres < yres) in vga16fb_check_var()
427 if (yoffset + yres > vyres) in vga16fb_check_var()
428 yoffset = vyres - yres; in vga16fb_check_var()
433 var->yres_virtual = vyres; in vga16fb_check_var()
899 int x, x2, y2, vxres, vyres, width, height, line_ofs; in vga16fb_fillrect() local
903 vyres = info->var.yres_virtual; in vga16fb_fillrect()
905 if (!rect->width || !rect->height || rect->dx > vxres || rect->dy > vyres) in vga16fb_fillrect()
914 y2 = y2 < vyres ? y2 : vyres; in vga16fb_fillrect()
1030 int x, x2, y2, old_dx, old_dy, vxres, vyres; in vga16fb_copyarea() local
1036 vyres = info->var.yres_virtual; in vga16fb_copyarea()
1038 if (area->dx > vxres || area->sx > vxres || area->dy > vyres || in vga16fb_copyarea()
1039 area->sy > vyres) in vga16fb_copyarea()
1055 y2 = y2 < vyres ? y2 : vyres; in vga16fb_copyarea()
1067 if (sx + width > vxres || sy + height > vyres) in vga16fb_copyarea()