• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/video/

Lines Matching refs:xres

361  *   Round up in the following order: bits_per_pixel, xres, yres,
379 * if yres_virtual > yres or xres_virtual > xres.
442 0, 0, 0, 0, 0, 0, 0, 0, /* xres-grayscale */
624 int xres = var->xres;
631 if (bpp > 1 || xres > sttt_xres * 2 || yres > tt_yres * 2)
634 xres = sttt_xres * 2;
638 if (bpp > 8 || xres > sttt_xres || yres > tt_yres)
641 if (xres > sttt_xres / 2 || yres > tt_yres)
644 xres = sttt_xres / 2;
648 if (xres > sttt_xres || yres > tt_yres)
650 if (xres > sttt_xres / 2 || yres > st_yres / 2) {
652 xres = sttt_xres;
657 xres = sttt_xres / 2;
662 if (xres > sttt_xres || yres > st_yres / 2)
665 xres = sttt_xres;
668 } else if (var->xres > sttt_xres || var->yres > st_yres) {
672 xres = sttt_xres;
685 linelen = xres * bpp / 8;
724 var->xres = sttt_xres / 2;
730 var->xres = sttt_xres;
736 var->xres = sttt_xres;
742 var->xres = sttt_xres / 2;
748 var->xres = sttt_xres;
755 var->xres = sttt_xres * 2;
930 int xres = var->xres;
950 Round up in the following order: bits_per_pixel, xres, yres,
970 if (!xres || !yres || !bpp)
1003 var->xres > myvar->xres ||
1011 if (xres <= 320)
1012 xres = 320;
1013 else if (xres <= 640 && bpp != 16)
1014 xres = 640;
1027 * this and the console fontwidth yields the alignment for xres and
1035 xres = (xres + 63) & ~63;
1037 xres = (xres + 31) & ~31;
1039 xres = (xres + 15) & ~15;
1045 if (xres_virtual < xres)
1046 xres_virtual = xres;
1061 par->hw.falcon.line_width = bpp * xres / 16;
1062 par->hw.falcon.line_offset = bpp * (xres_virtual - xres) / 16;
1065 xstretch = (xres < 640) ? 2 : 1;
1108 if ((plen * xres + f25.right + f25.hsync + f25.left) *
1111 else if ((plen * xres + f32.right + f32.hsync +
1114 else if ((plen * xres + fext.right + fext.hsync +
1124 linesize = left_margin + xres + right_margin + hsync_len;
1257 /* gend1 is for hde (gend-gstart multiple of align), shifter's xres */
1258 gend1 = gstart + ((xres + align - 1) / align) * align * plen / prescale;
1259 /* gend2 is for hbb, visible xres (rest to gend1 is cut off by hblank) */
1260 gend2 = gstart + xres * plen / prescale;
1261 par->HHT = plen * (left_margin + xres + right_margin) /
1448 var->xres = hw->line_width * 16 / var->bits_per_pixel;
1449 var->xres_virtual = var->xres + hw->line_offset * 16 / var->bits_per_pixel;
1687 (info->var.xres_virtual - info->var.xres) / 16;
1841 int xres = var->xres;
1848 if (bpp > 1 || xres > sttt_xres || yres > st_yres)
1851 xres = sttt_xres;
1855 if (bpp > 4 || xres > sttt_xres || yres > st_yres)
1858 if (xres > sttt_xres / 2 || yres > st_yres / 2)
1861 xres = sttt_xres / 2;
1865 if (xres > sttt_xres || yres > st_yres / 2)
1868 xres = sttt_xres;
1882 linelen = xres * bpp / 8;
1922 var->xres = sttt_xres / 2;
1927 var->xres = sttt_xres;
1932 var->xres = sttt_xres;
2159 var->xres > myvar->xres ||
2190 var->xres = external_xres;
2264 myvar->xres = external_xres;
2483 if (xoffset + info->var.xres > info->var.xres_virtual ||
2805 int xres, xres_virtual, yres, depth, planes;
2809 /* Format is: <xres>;<yres>;<depth>;<plane organ.>;
2812 * [;<xres-virtual>]]]]]
2822 xres_virtual = xres = simple_strtoul(p, NULL, 10);
2823 if (xres <= 0)
2862 len = xres * yres * depth / 8;
2890 if (xres_virtual < xres)
2891 xres_virtual = xres;
2896 external_xres = xres;
2923 * "internal:<xres>;<yres>;<xres_max>;<yres_max>;<offset>"
2925 * <xres>: x-resolution
2934 int xres;
2939 xres = simple_strtoul(p, NULL, 10);
2942 sttt_xres = xres;
2995 /* Format of user defined video mode is: <xres>;<yres>;<depth>
2998 int xres, yres, depth, temp;
3003 xres = simple_strtoul(p, NULL, 10);
3015 atafb_predefined[default_par - 1].xres = xres;
3213 fb_info.var.xres, fb_info.var.yres, fb_info.var.bits_per_pixel);
3214 if ((fb_info.var.xres != fb_info.var.xres_virtual) ||