Lines Matching refs:vxres
779 static u32 calc_line_length(struct atyfb_par *par, u32 vxres, u32 bpp) in calc_line_length() argument
781 u32 line_length = vxres * bpp / 8; in calc_line_length()
795 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp; in aty_var_to_crtc() local
805 vxres = (var->xres_virtual + 7) & ~7; in aty_var_to_crtc()
816 if (vxres < xres + xoffset) in aty_var_to_crtc()
817 vxres = xres + xoffset; in aty_var_to_crtc()
857 line_length = calc_line_length(par, vxres, bpp); in aty_var_to_crtc()
1000 crtc->vxres = vxres; in aty_var_to_crtc()
1264 var->xres_virtual = crtc->vxres; in aty_crtc_to_var()
1464 par->crtc.vxres * var->bits_per_pixel / 8); in atyfb_set_par()
1745 if (xoffset + xres > par->crtc.vxres || in atyfb_pan_display()
1831 fbtyp.fb_width = par->crtc.vxres; in atyfb_ioctl()
3090 crtc.vxres = of_getintprop_default(dp, "width", 1024); in atyfb_setup_sparc()