Lines Matching refs:vxres
246 u32 vxres, xoffset, vyres, yoffset; in vga16fb_decode_var() local
254 vxres = (var->xres_virtual + 0xF) & ~0xF; in vga16fb_decode_var()
260 if (vxres < xres) in vga16fb_decode_var()
261 vxres = xres; in vga16fb_decode_var()
262 if (xres + xoffset > vxres) in vga16fb_decode_var()
263 xoffset = vxres - xres; in vga16fb_decode_var()
269 par->var.xres_virtual = vxres; in vga16fb_decode_var()
276 vxres >>= 3; in vga16fb_decode_var()
305 if (vxres * vyres > 65536) { in vga16fb_decode_var()
306 vyres = 65536 / vxres; in vga16fb_decode_var()
350 pos = yoffset * vxres + (xoffset >> 3); in vga16fb_decode_var()
375 if (vxres >= 512) in vga16fb_decode_var()
377 par->crtc[VGA_CRTC_OFFSET] = vxres >> 1; in vga16fb_decode_var()