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