Lines Matching refs:vxres
803 static u32 calc_line_length(struct atyfb_par *par, u32 vxres, u32 bpp) in calc_line_length() argument
805 u32 line_length = vxres * bpp / 8; in calc_line_length()
819 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp; in aty_var_to_crtc() local
829 vxres = (var->xres_virtual + 7) & ~7; in aty_var_to_crtc()
840 if (vxres < xres + xoffset) in aty_var_to_crtc()
841 vxres = xres + xoffset; in aty_var_to_crtc()
881 line_length = calc_line_length(par, vxres, bpp); in aty_var_to_crtc()
1018 crtc->vxres = vxres; in aty_var_to_crtc()
1269 var->xres_virtual = crtc->vxres; in aty_crtc_to_var()
1469 par->crtc.vxres * var->bits_per_pixel / 8); in atyfb_set_par()
1749 if (xoffset + xres > par->crtc.vxres || in atyfb_pan_display()
1835 fbtyp.fb_width = par->crtc.vxres; in atyfb_ioctl()
3074 crtc.vxres = of_getintprop_default(dp, "width", 1024); in atyfb_setup_sparc()