Lines Matching refs:xres
36 u32 xres; member
190 u32 xres = cvt->xres; in fb_cvt_aspect_ratio() local
194 if (xres == (yres * 4)/3 && !((yres * 4) % 3)) in fb_cvt_aspect_ratio()
196 else if (xres == (yres * 16)/9 && !((yres * 16) % 9)) in fb_cvt_aspect_ratio()
198 else if (xres == (yres * 16)/10 && !((yres * 16) % 10)) in fb_cvt_aspect_ratio()
200 else if (xres == (yres * 5)/4 && !((yres * 5) % 4)) in fb_cvt_aspect_ratio()
202 else if (xres == (yres * 15)/9 && !((yres * 15) % 9)) in fb_cvt_aspect_ratio()
225 pixcount = (cvt->xres * (cvt->yres/cvt->interlace))/1000000; in fb_cvt_print_name()
226 pixcount_mod = (cvt->xres * (cvt->yres/cvt->interlace)) % 1000000; in fb_cvt_print_name()
230 cvt->xres, cvt->yres, cvt->refresh); in fb_cvt_print_name()
309 cvt.xres = mode->xres; in fb_find_mode_cvt()
315 if (!cvt.xres || !cvt.yres || !cvt.refresh) { in fb_find_mode_cvt()
327 cvt.xres &= ~(FB_CVT_CELLSIZE - 1); in fb_find_mode_cvt()
343 cvt.h_margin = (cvt.xres * 18)/1000; in fb_find_mode_cvt()
349 cvt.active_pixels = cvt.xres + 2 * cvt.h_margin; in fb_find_mode_cvt()