Lines Matching refs:xres_virtual
91 .xres_virtual = 640,
354 state->crtc[0x13] = ((info->var.xres_virtual / 8) * in nvidia_calc_regs()
410 NVCalcStateExt(par, state, i, info->var.xres_virtual, in nvidia_calc_regs()
658 info->fix.line_length = (info->var.xres_virtual * in nvidiafb_set_par()
866 if (var->xres_virtual < var->xres) in nvidiafb_check_var()
867 var->xres_virtual = var->xres; in nvidiafb_check_var()
869 var->xres_virtual = (var->xres_virtual + 63) & ~63; in nvidiafb_check_var()
872 pitch = ((var->xres_virtual * var->bits_per_pixel) + 7) / 8; in nvidiafb_check_var()
880 var->xres_virtual = vramlen / var->yres_virtual; in nvidiafb_check_var()
881 var->xres_virtual /= var->bits_per_pixel / 8; in nvidiafb_check_var()
882 var->xres_virtual &= ~63; in nvidiafb_check_var()
883 pitch = (var->xres_virtual * in nvidiafb_check_var()
887 if (var->xres_virtual < var->xres) { in nvidiafb_check_var()
891 memlen, var->xres_virtual, in nvidiafb_check_var()
901 if (var->xres_virtual > 0x7fff) in nvidiafb_check_var()
902 var->xres_virtual = 0x7fff; in nvidiafb_check_var()
905 var->xres_virtual &= ~63; in nvidiafb_check_var()
1162 lpitch = info->var.xres_virtual * in nvidia_set_fbinfo()