Lines Matching refs:xres
35 u32 xres; member
189 u32 xres = cvt->xres; in fb_cvt_aspect_ratio() local
193 if (xres == (yres * 4)/3 && !((yres * 4) % 3)) in fb_cvt_aspect_ratio()
195 else if (xres == (yres * 16)/9 && !((yres * 16) % 9)) in fb_cvt_aspect_ratio()
197 else if (xres == (yres * 16)/10 && !((yres * 16) % 10)) in fb_cvt_aspect_ratio()
199 else if (xres == (yres * 5)/4 && !((yres * 5) % 4)) in fb_cvt_aspect_ratio()
201 else if (xres == (yres * 15)/9 && !((yres * 15) % 9)) in fb_cvt_aspect_ratio()
222 pixcount = (cvt->xres * (cvt->yres/cvt->interlace))/1000000; in fb_cvt_print_name()
223 pixcount_mod = (cvt->xres * (cvt->yres/cvt->interlace)) % 1000000; in fb_cvt_print_name()
227 cvt->xres, cvt->yres, cvt->refresh); in fb_cvt_print_name()
319 cvt.xres = mode->xres; in fb_find_mode_cvt()
325 if (!cvt.xres || !cvt.yres || !cvt.refresh) { in fb_find_mode_cvt()
337 cvt.xres &= ~(FB_CVT_CELLSIZE - 1); in fb_find_mode_cvt()
353 cvt.h_margin = (cvt.xres * 18)/1000; in fb_find_mode_cvt()
359 cvt.active_pixels = cvt.xres + 2 * cvt.h_margin; in fb_find_mode_cvt()