Lines Matching refs:yres
268 long xres, yres, left_margin, right_margin, upper_margin, lower_margin; in ps3fb_cmp_mode() local
272 if (var->xres > vmode->xres || var->yres > vmode->yres || in ps3fb_cmp_mode()
284 yres = max(var->yres, 1U); in ps3fb_cmp_mode()
299 dy = ((long)vmode->upper_margin + (long)vmode->yres + in ps3fb_cmp_mode()
301 (upper_margin + yres + lower_margin); in ps3fb_cmp_mode()
310 return (vmode->xres - xres) * (vmode->yres - yres); in ps3fb_cmp_mode()
345 var->upper_margin, var->yres, var->lower_margin); in ps3fb_find_mode()
352 vmode->yres, vmode->lower_margin, diff); in ps3fb_find_mode()
376 if (!var->yres) in ps3fb_find_mode()
377 var->yres = 1; in ps3fb_find_mode()
382 if (var->yres_virtual < var->yres) in ps3fb_find_mode()
383 var->yres_virtual = var->yres; in ps3fb_find_mode()
407 gap = ((long)vmode->upper_margin + (long)vmode->yres + in ps3fb_find_mode()
409 ((long)var->upper_margin + (long)var->yres + in ps3fb_find_mode()
415 var->upper_margin, var->yres, var->lower_margin); in ps3fb_find_mode()
433 if (vmode->xres == var->xres && vmode->yres == var->yres) in ps3fb_find_mode()
550 var->yoffset + var->yres > var->yres_virtual) { in ps3fb_check_var()
618 info->fix.ypanstep = info->var.yres_virtual > info->var.yres ? 1 : 0; in ps3fb_set_par()
622 par->ddr_frame_size = vmode->yres * ddr_line_length; in ps3fb_set_par()
632 par->height = info->var.yres; in ps3fb_set_par()
656 lines = vmode->yres * par->num_frames; in ps3fb_set_par()
854 res.yres = info->var.yres_virtual; in ps3fb_ioctl()
856 res.yoff = (res.yres - info->var.yres) / 2; in ps3fb_ioctl()