Lines Matching refs:xres_virtual
200 reg->CRTC[0x13] = var->xres_virtual >> 4; in vgaHWInit()
848 var->xres = var->xres_virtual = modedb->xres; in savage_update_var()
940 if (var->xres_virtual < var->xres) in savagefb_check_var()
941 var->xres_virtual = var->xres; in savagefb_check_var()
945 memlen = var->xres_virtual * var->bits_per_pixel * in savagefb_check_var()
949 (var->xres_virtual * var->bits_per_pixel); in savagefb_check_var()
950 memlen = var->xres_virtual * var->bits_per_pixel * in savagefb_check_var()
958 if (var->xres_virtual < var->xres) in savagefb_check_var()
959 var->xres = var->xres_virtual; in savagefb_check_var()
960 if (var->xoffset + var->xres > var->xres_virtual) in savagefb_check_var()
961 var->xoffset = var->xres_virtual - var->xres; in savagefb_check_var()
1000 par->vwidth = var->xres_virtual; in savagefb_decode_var()
1139 width = (var->xres_virtual * ((var->bits_per_pixel+7) / 8)) >> 3; in savagefb_decode_var()
1154 if (var->xres_virtual <= 640) in savagefb_decode_var()
1156 else if (var->xres_virtual == 800) in savagefb_decode_var()
1158 else if (var->xres_virtual == 1024) in savagefb_decode_var()
1160 else if (var->xres_virtual == 1152) in savagefb_decode_var()
1162 else if (var->xres_virtual == 1280) in savagefb_decode_var()
1164 else if (var->xres_virtual == 1600) in savagefb_decode_var()
1487 info->fix.line_length = info->var.xres_virtual * in savagefb_set_fix()
1667 .xres_virtual = 800,
2258 lpitch = info->var.xres_virtual*((info->var.bits_per_pixel + 7) >> 3); in savagefb_probe()
2274 if (info->var.xres_virtual > 0x1000) in savagefb_probe()
2275 info->var.xres_virtual = 0x1000; in savagefb_probe()