• Home
  • Raw
  • Download

Lines Matching refs:yres

267 	long xres, yres, left_margin, right_margin, upper_margin, lower_margin;  in ps3fb_cmp_mode()  local
271 if (var->xres > vmode->xres || var->yres > vmode->yres || in ps3fb_cmp_mode()
283 yres = max(var->yres, 1U); in ps3fb_cmp_mode()
298 dy = ((long)vmode->upper_margin + (long)vmode->yres + in ps3fb_cmp_mode()
300 (upper_margin + yres + lower_margin); in ps3fb_cmp_mode()
309 return (vmode->xres - xres) * (vmode->yres - yres); in ps3fb_cmp_mode()
344 var->upper_margin, var->yres, var->lower_margin); in ps3fb_find_mode()
351 vmode->yres, vmode->lower_margin, diff); in ps3fb_find_mode()
375 if (!var->yres) in ps3fb_find_mode()
376 var->yres = 1; in ps3fb_find_mode()
381 if (var->yres_virtual < var->yres) in ps3fb_find_mode()
382 var->yres_virtual = var->yres; in ps3fb_find_mode()
406 gap = ((long)vmode->upper_margin + (long)vmode->yres + in ps3fb_find_mode()
408 ((long)var->upper_margin + (long)var->yres + in ps3fb_find_mode()
414 var->upper_margin, var->yres, var->lower_margin); in ps3fb_find_mode()
432 if (vmode->xres == var->xres && vmode->yres == var->yres) in ps3fb_find_mode()
549 var->yoffset + var->yres > var->yres_virtual) { in ps3fb_check_var()
617 info->fix.ypanstep = info->var.yres_virtual > info->var.yres ? 1 : 0; in ps3fb_set_par()
621 par->ddr_frame_size = vmode->yres * ddr_line_length; in ps3fb_set_par()
631 par->height = info->var.yres; in ps3fb_set_par()
655 lines = vmode->yres * par->num_frames; in ps3fb_set_par()
851 res.yres = info->var.yres_virtual; in ps3fb_ioctl()
853 res.yoff = (res.yres - info->var.yres) / 2; in ps3fb_ioctl()