Lines Matching refs:xres_virtual
314 par->CRTC[19] = var->xres_virtual >> 4; in vgaHWInit()
526 pitch = var->xres_virtual; in neo2200_accel_init()
531 pitch = var->xres_virtual * 2; in neo2200_accel_init()
535 pitch = var->xres_virtual * 3; in neo2200_accel_init()
691 if (var->xres_virtual < var->xres) in neofb_check_var()
692 var->xres_virtual = var->xres; in neofb_check_var()
694 memlen = var->xres_virtual * var->bits_per_pixel * var->yres_virtual >> 3; in neofb_check_var()
697 var->yres_virtual = vramlen * 8 / (var->xres_virtual * in neofb_check_var()
699 memlen = var->xres_virtual * var->bits_per_pixel * in neofb_check_var()
707 if (var->xoffset + var->xres > var->xres_virtual) in neofb_check_var()
708 var->xoffset = var->xres_virtual - var->xres; in neofb_check_var()
755 par->CRTC[0x13] = info->var.xres_virtual >> 3; in neofb_set_par()
756 par->ExtCRTOffset = info->var.xres_virtual >> 11; in neofb_set_par()
760 par->CRTC[0x13] = info->var.xres_virtual >> 2; in neofb_set_par()
761 par->ExtCRTOffset = info->var.xres_virtual >> 10; in neofb_set_par()
765 par->CRTC[0x13] = (info->var.xres_virtual * 3) >> 3; in neofb_set_par()
766 par->ExtCRTOffset = (info->var.xres_virtual * 3) >> 11; in neofb_set_par()
771 par->CRTC[0x13] = info->var.xres_virtual >> 1; in neofb_set_par()
772 par->ExtCRTOffset = info->var.xres_virtual >> 9; in neofb_set_par()
1154 info->var.xres_virtual * (info->var.bits_per_pixel >> 3); in neofb_set_par()
1182 Base = (var->yoffset * info->var.xres_virtual + var->xoffset) >> 2; in neofb_pan_display()
1366 dst = rect->dx + rect->dy * info->var.xres_virtual; in neo2200_fillrect()