xres              274 arch/arm/mach-davinci/board-dm355-evm.c 		.xres		= 720,
xres              286 arch/arm/mach-davinci/board-dm355-evm.c 		.xres		= 720,
xres              435 arch/arm/mach-davinci/board-dm365-evm.c 		.xres		= 720,
xres              447 arch/arm/mach-davinci/board-dm365-evm.c 		.xres		= 720,
xres              463 arch/arm/mach-davinci/board-dm365-evm.c 		.xres		= 720,
xres              475 arch/arm/mach-davinci/board-dm365-evm.c 		.xres		= 720,
xres              487 arch/arm/mach-davinci/board-dm365-evm.c 		.xres		= 1280,
xres              503 arch/arm/mach-davinci/board-dm365-evm.c 		.xres		= 1920,
xres              697 arch/arm/mach-davinci/board-dm644x-evm.c 		.xres		= 720,
xres              709 arch/arm/mach-davinci/board-dm644x-evm.c 		.xres		= 720,
xres              725 arch/arm/mach-davinci/board-dm644x-evm.c 		.xres		= 720,
xres              737 arch/arm/mach-davinci/board-dm644x-evm.c 		.xres		= 720,
xres              325 arch/arm/mach-imx/mach-armadillo5x0.c 		.xres		= 640,
xres              340 arch/arm/mach-imx/mach-armadillo5x0.c 		.xres		= 800,
xres              227 arch/arm/mach-imx/mach-mx21ads.c 			.xres		= 240,
xres              326 arch/arm/mach-imx/mach-mx27_3ds.c 			.xres		= 480,
xres              262 arch/arm/mach-imx/mach-mx27ads.c 			.xres		= 240,
xres              141 arch/arm/mach-imx/mach-mx31_3ds.c 		.xres		= 480,
xres               56 arch/arm/mach-imx/mach-mx35_3ds.c 		.xres = 800,
xres              307 arch/arm/mach-imx/mach-pca100.c 			.xres		= 640,
xres              342 arch/arm/mach-imx/mach-pcm037.c 		.xres		= 240,
xres              359 arch/arm/mach-imx/mach-pcm037.c 		.xres		= 240,
xres              375 arch/arm/mach-imx/mach-pcm037.c 		.xres		= 240,
xres               40 arch/arm/mach-imx/mach-pcm043.c 		.xres		= 240,
xres               56 arch/arm/mach-imx/mach-pcm043.c 		.xres		= 240,
xres               48 arch/arm/mach-imx/mach-vpr200.c 		.xres		= 800,
xres               64 arch/arm/mach-imx/mach-vpr200.c 		.xres		= 800,
xres              141 arch/arm/mach-imx/mx31lilly-db.c 	.xres		= 640,
xres               76 arch/arm/mach-integrator/impd1.c 		.xres		= 640,
xres              104 arch/arm/mach-integrator/impd1.c 		.xres		= 800,
xres              132 arch/arm/mach-integrator/impd1.c 		.xres		= 640,
xres              164 arch/arm/mach-integrator/impd1.c 		.xres		= 640,
xres              185 arch/arm/mach-mmp/aspenite.c 		.xres		= 800,
xres               57 arch/arm/mach-omap1/lcd_dma.c 	int rotate, data_type, xres, yres;
xres               71 arch/arm/mach-omap1/lcd_dma.c 	lcd_dma.xres = fb_xres;
xres              155 arch/arm/mach-omap1/lcd_dma.c 	vxres = lcd_dma.vxres ? lcd_dma.vxres : lcd_dma.xres;
xres              158 arch/arm/mach-omap1/lcd_dma.c 	BUG_ON(vxres < lcd_dma.xres);
xres              168 arch/arm/mach-omap1/lcd_dma.c 			bottom = PIXADDR(lcd_dma.xres - 1, lcd_dma.yres - 1);
xres              175 arch/arm/mach-omap1/lcd_dma.c 			fi = PIXSTEP(lcd_dma.xres - 1, 0, 0, 1);
xres              177 arch/arm/mach-omap1/lcd_dma.c 			top = PIXADDR(lcd_dma.xres - 1, 0);
xres              180 arch/arm/mach-omap1/lcd_dma.c 			fi = PIXSTEP(0, 0, lcd_dma.xres - 1, 1);
xres              182 arch/arm/mach-omap1/lcd_dma.c 		en = lcd_dma.xres;
xres              188 arch/arm/mach-omap1/lcd_dma.c 			bottom = PIXADDR(lcd_dma.xres - 1, 0);
xres              192 arch/arm/mach-omap1/lcd_dma.c 			top = PIXADDR(lcd_dma.xres - 1, lcd_dma.yres - 1);
xres              198 arch/arm/mach-omap1/lcd_dma.c 		fn = lcd_dma.xres;
xres              202 arch/arm/mach-omap1/lcd_dma.c 			top = PIXADDR(lcd_dma.xres - 1, lcd_dma.yres - 1);
xres              205 arch/arm/mach-omap1/lcd_dma.c 			fi = PIXSTEP(0, 1, lcd_dma.xres - 1, 0);
xres              208 arch/arm/mach-omap1/lcd_dma.c 			bottom = PIXADDR(lcd_dma.xres - 1, 0);
xres              210 arch/arm/mach-omap1/lcd_dma.c 			fi = PIXSTEP(lcd_dma.xres - 1, 1, 0, 0);
xres              212 arch/arm/mach-omap1/lcd_dma.c 		en = lcd_dma.xres;
xres              217 arch/arm/mach-omap1/lcd_dma.c 			top = PIXADDR(lcd_dma.xres - 1, 0);
xres              223 arch/arm/mach-omap1/lcd_dma.c 			bottom = PIXADDR(lcd_dma.xres - 1, lcd_dma.yres - 1);
xres              228 arch/arm/mach-omap1/lcd_dma.c 		fn = lcd_dma.xres;
xres               47 arch/arm/mach-pxa/am200epd.c 	.xres		= 1200,
xres               61 arch/arm/mach-pxa/am200epd.c 	.xres		= 1088,
xres               75 arch/arm/mach-pxa/am200epd.c 	.xres		= 832,
xres              150 arch/arm/mach-pxa/am200epd.c 	if ((info->var.xres != am200_fb_info.modes->xres)
xres              228 arch/arm/mach-pxa/am200epd.c 	fw = am200_fb_info.modes->xres;
xres              250 arch/arm/mach-pxa/am200epd.c 	am200_fb_info.modes->xres /= 2;
xres              217 arch/arm/mach-pxa/balloon3.c 		.xres			= 480,
xres              231 arch/arm/mach-pxa/cm-x270.c 	.xres = {
xres              208 arch/arm/mach-pxa/cm-x2xx.c 	.xres		= 320,
xres              233 arch/arm/mach-pxa/cm-x2xx.c 	.xres		= 640,
xres              257 arch/arm/mach-pxa/cm-x2xx.c 	.xres		= 640,
xres              281 arch/arm/mach-pxa/cm-x2xx.c 	.xres		= 800,
xres              305 arch/arm/mach-pxa/cm-x2xx.c 	.xres		= 320,
xres              328 arch/arm/mach-pxa/cm-x2xx.c 	.xres		= 640,
xres              267 arch/arm/mach-pxa/cm-x300.c 		.xres		= 480,
xres              280 arch/arm/mach-pxa/cm-x300.c 		.xres		= 240,
xres              162 arch/arm/mach-pxa/colibri-pxa270-income.c 	.xres		= 320,
xres               78 arch/arm/mach-pxa/colibri-pxa3xx.c 	.xres		= 480,
xres              216 arch/arm/mach-pxa/corgi.c 	.xres            = 480,
xres              239 arch/arm/mach-pxa/corgi.c 	.xres            = 240,
xres              649 arch/arm/mach-pxa/em-x270.c 		.xres		= 480,
xres              662 arch/arm/mach-pxa/em-x270.c 		.xres		= 240,
xres              241 arch/arm/mach-pxa/eseries.c 	.xres           = 240,
xres              373 arch/arm/mach-pxa/eseries.c 	.xres            = 240,
xres              569 arch/arm/mach-pxa/eseries.c 	.xres            = 240,
xres              780 arch/arm/mach-pxa/eseries.c 		.xres            = 480,
xres              803 arch/arm/mach-pxa/eseries.c 		.xres            = 240,
xres              850 arch/arm/mach-pxa/eseries.c 	if (par->mode->xres == 480)
xres               71 arch/arm/mach-pxa/ezx.c 	.xres			= 240,
xres               91 arch/arm/mach-pxa/ezx.c 	.xres			= 240,
xres               40 arch/arm/mach-pxa/himalaya.c 	.xres 		= 240,
xres               63 arch/arm/mach-pxa/himalaya.c 	.xres 		= 240,
xres              434 arch/arm/mach-pxa/hx4700.c 	.xres 		= 480,
xres              457 arch/arm/mach-pxa/hx4700.c 	.xres 		= 240,
xres              133 arch/arm/mach-pxa/idp.c 	.xres		= 640,
xres              149 arch/arm/mach-pxa/littleton.c 		.xres		= 480,
xres              163 arch/arm/mach-pxa/littleton.c 		.xres		= 240,
xres              294 arch/arm/mach-pxa/lpd270.c 	.xres			= 320,
xres              316 arch/arm/mach-pxa/lpd270.c 	.xres			= 800,
xres              338 arch/arm/mach-pxa/lpd270.c 	.xres			= 320,
xres              360 arch/arm/mach-pxa/lpd270.c 	.xres			= 640,
xres              382 arch/arm/mach-pxa/lpd270.c 	.xres			= 640,
xres              404 arch/arm/mach-pxa/lpd270.c 	.xres			= 240,
xres              371 arch/arm/mach-pxa/lubbock.c 	.xres		= 640,
xres              249 arch/arm/mach-pxa/magician.c 		.xres		= 240,
xres              265 arch/arm/mach-pxa/magician.c 		.xres		= 240,
xres              289 arch/arm/mach-pxa/mainstone.c 	.xres			= 640,
xres              303 arch/arm/mach-pxa/mainstone.c 	.xres			= 240,
xres              192 arch/arm/mach-pxa/mioa701.c 	.xres			= 240,
xres               82 arch/arm/mach-pxa/palm27x.c 	.xres		= 320,
xres               97 arch/arm/mach-pxa/palm27x.c 	.xres		= 320,
xres              112 arch/arm/mach-pxa/palm27x.c 	.xres		= 320,
xres              467 arch/arm/mach-pxa/palmtc.c 		.xres		= 320,
xres              313 arch/arm/mach-pxa/palmte2.c 	.xres		= 320,
xres              106 arch/arm/mach-pxa/pcm990-baseboard.c 	.xres			= 640,
xres              128 arch/arm/mach-pxa/pcm990-baseboard.c 	.xres			= 640,
xres              323 arch/arm/mach-pxa/poodle.c 	.xres		= 320,
xres              447 arch/arm/mach-pxa/saar.c 		.xres			= 240,
xres              704 arch/arm/mach-pxa/spitz.c 		.xres           = 480,
xres              716 arch/arm/mach-pxa/spitz.c 		.xres           = 240,
xres              448 arch/arm/mach-pxa/tavorevb.c 		.xres			= 240,
xres              732 arch/arm/mach-pxa/tosa.c 		.xres = 480,
xres              744 arch/arm/mach-pxa/tosa.c 		.xres = 240,
xres              451 arch/arm/mach-pxa/trizeps4.c 	.xres		= 640,
xres              475 arch/arm/mach-pxa/trizeps4.c 	.xres		= 640,
xres              329 arch/arm/mach-pxa/viper.c 		.xres		= 320,
xres              489 arch/arm/mach-pxa/vpac270.c 	.xres		= 640,
xres              505 arch/arm/mach-pxa/vpac270.c 	.xres		= 640,
xres              521 arch/arm/mach-pxa/vpac270.c 	.xres		= 800,
xres              537 arch/arm/mach-pxa/vpac270.c 	.xres		= 1024,
xres              256 arch/arm/mach-pxa/z2.c 	.xres		= 240,
xres              627 arch/arm/mach-pxa/zeus.c 		.xres           = 640,
xres              133 arch/arm/mach-pxa/zylonite.c 	.xres			= 240,
xres              147 arch/arm/mach-pxa/zylonite.c 	.xres			= 640,
xres              167 arch/arm/mach-pxa/zylonite.c 		.xres		= 240,
xres              180 arch/arm/mach-pxa/zylonite.c 		.xres		= 480,
xres              163 arch/arm/mach-s3c24xx/mach-amlm5900.c 	.xres		= 160,
xres              167 arch/arm/mach-s3c24xx/mach-at2440evb.c 	.xres		= 800,
xres              419 arch/arm/mach-s3c24xx/mach-bast.c 		.xres		= 640,
xres              437 arch/arm/mach-s3c24xx/mach-bast.c 		.xres		= 640,
xres              455 arch/arm/mach-s3c24xx/mach-bast.c 		.xres		= 640,
xres              195 arch/arm/mach-s3c24xx/mach-h1940.c 	.xres =		240,
xres              285 arch/arm/mach-s3c24xx/mach-jive.c 		.xres		= LCD_XRES,
xres              111 arch/arm/mach-s3c24xx/mach-mini2440.c 	.xres = _xres, \
xres              319 arch/arm/mach-s3c24xx/mach-n30.c 	.xres		= 240,
xres              100 arch/arm/mach-s3c24xx/mach-qt2410.c 		.xres		= 640,
xres              122 arch/arm/mach-s3c24xx/mach-qt2410.c 		.xres		= 480,
xres              144 arch/arm/mach-s3c24xx/mach-qt2410.c 		.xres		= 240,
xres              100 arch/arm/mach-s3c24xx/mach-rx1950.c 	.xres = 240,
xres              107 arch/arm/mach-s3c24xx/mach-rx3715.c 	.xres		= 240,
xres              147 arch/arm/mach-s3c24xx/mach-smdk2416.c 		.xres           = 800,
xres              160 arch/arm/mach-s3c24xx/mach-smdk2416.c 	.xres           = 800,
xres              114 arch/arm/mach-s3c24xx/mach-smdk2440.c 	.xres		= 240,
xres              134 arch/arm/mach-s3c64xx/mach-anw6410.c 	.xres		= 800,
xres              145 arch/arm/mach-s3c64xx/mach-anw6410.c 	.xres		= 800,
xres              156 arch/arm/mach-s3c64xx/mach-crag6410.c 	.xres		= 640,
xres              169 arch/arm/mach-s3c64xx/mach-crag6410.c 	.xres		= 640,
xres              136 arch/arm/mach-s3c64xx/mach-hmt.c 	.xres		= 800,
xres              147 arch/arm/mach-s3c64xx/mach-hmt.c 	.xres		= 800,
xres              145 arch/arm/mach-s3c64xx/mach-mini6410.c 	.xres		= 480,
xres              157 arch/arm/mach-s3c64xx/mach-mini6410.c 	.xres		= 480,
xres              164 arch/arm/mach-s3c64xx/mach-mini6410.c 	.xres		= 800,
xres              176 arch/arm/mach-s3c64xx/mach-mini6410.c 	.xres		= 800,
xres              324 arch/arm/mach-s3c64xx/mach-mini6410.c 		mini6410_lcd_pdata[features.lcd_index].win[0]->xres,
xres              108 arch/arm/mach-s3c64xx/mach-real6410.c 	.xres		= 480,
xres              125 arch/arm/mach-s3c64xx/mach-real6410.c 	.xres		= 800,
xres              137 arch/arm/mach-s3c64xx/mach-real6410.c 	.xres		= 800,
xres              294 arch/arm/mach-s3c64xx/mach-real6410.c 		real6410_lcd_pdata[features.lcd_index].win[0]->xres,
xres              108 arch/arm/mach-s3c64xx/mach-smartq5.c 	.xres		= 800,
xres              119 arch/arm/mach-s3c64xx/mach-smartq5.c 	.xres		= 800,
xres              124 arch/arm/mach-s3c64xx/mach-smartq7.c 	.xres		= 800,
xres              135 arch/arm/mach-s3c64xx/mach-smartq7.c 	.xres		= 800,
xres              147 arch/arm/mach-s3c64xx/mach-smdk6410.c 	.xres		= 800,
xres              160 arch/arm/mach-s3c64xx/mach-smdk6410.c 	.xres		= 800,
xres              397 arch/arm/mach-sa1100/assabet.c 	.xres		= 320,		.yres		= 240,
xres              425 arch/arm/mach-sa1100/assabet.c 	.xres		= 640,		.yres		= 512,
xres              340 arch/arm/mach-sa1100/collie.c 	.xres		= 320,		.yres		= 240,
xres               60 arch/arm/mach-sa1100/h3100.c 	.xres		= 320,		.yres		= 240,
xres               71 arch/arm/mach-sa1100/h3600.c 	.xres		= 320,		.yres		= 240,
xres               36 arch/arm/mach-sa1100/lart.c 	.xres		= 320,		.yres		= 240,
xres               52 arch/arm/mach-sa1100/lart.c 	.xres		= 320,		.yres		= 240,
xres               65 arch/arm/mach-sa1100/lart.c 	.xres		= 640,		.yres		= 480,
xres               81 arch/arm/mach-sa1100/lart.c 	.xres		= 640,		.yres		= 480,
xres               66 arch/arm/mach-sa1100/shannon.c 	.xres		= 640,		.yres		= 480,
xres               29 arch/arm/plat-samsung/include/plat/fb-s3c2410.h 	unsigned short xres;
xres               39 arch/powerpc/include/uapi/asm/ps3fb.h 	__u32 xres; /* frame buffer x_size */
xres              144 arch/sh/boards/board-sh7785lcr.c 	.xres		= 640,
xres              157 arch/sh/boards/board-sh7785lcr.c 	.xres		= 640,
xres              204 arch/sh/boards/mach-ap325rxa/setup.c 		.xres = 800,
xres              313 arch/sh/boards/mach-ecovec24/setup.c 		.xres		= 800,
xres              328 arch/sh/boards/mach-ecovec24/setup.c 		.xres		= 1280,
xres              145 arch/sh/boards/mach-kfr2r09/setup.c 		.xres = 240,
xres              115 arch/sh/boards/mach-migor/lcd_qvga.c 	unsigned long xres = 320;
xres              138 arch/sh/boards/mach-migor/lcd_qvga.c 	write_reg16(sohandle, so, 0x0053, xres - 1);
xres              151 arch/sh/boards/mach-migor/lcd_qvga.c 	for (k = 0; k < (xres * 256); k++) /* yes, 256 words per line */
xres              223 arch/sh/boards/mach-migor/setup.c 		.xres = 800,
xres              231 arch/sh/boards/mach-migor/setup.c 		.xres = 320,
xres              130 arch/sh/boards/mach-r2d/setup.c 	.xres		= 640,
xres              163 arch/sh/boards/mach-se/7724/setup.c 		.xres		= 1280,
xres              178 arch/sh/boards/mach-se/7724/setup.c 		.xres		= 640,
xres              111 arch/sh/boards/mach-sh7763rdp/setup.c 	.xres = 640,
xres               92 arch/sparc/kernel/ioport.c 	struct resource xres;	/* Must be first */
xres              181 arch/sparc/kernel/ioport.c 	struct xresource *xres;
xres              189 arch/sparc/kernel/ioport.c 	if ((xres = xres_alloc()) != NULL) {
xres              190 arch/sparc/kernel/ioport.c 		tack = xres->xname;
xres              191 arch/sparc/kernel/ioport.c 		res = &xres->xres;
xres               38 drivers/auxdisplay/cfag12864bfb.c 	.xres = CFAG12864B_WIDTH,
xres               89 drivers/auxdisplay/ht16k33.c 	.xres = HT16K33_MATRIX_LED_MAX_ROWS,
xres              209 drivers/firmware/efi/earlycon.c 	u16 xres, yres;
xres              222 drivers/firmware/efi/earlycon.c 	xres = si->lfb_width;
xres              232 drivers/firmware/efi/earlycon.c 	font = get_default_font(xres, yres, -1, -1);
xres               63 drivers/gpu/drm/bochs/bochs.h 	u16 xres;
xres              208 drivers/gpu/drm/bochs/bochs_hw.c 	bochs->xres = mode->hdisplay;
xres              215 drivers/gpu/drm/bochs/bochs_hw.c 			 bochs->xres, bochs->yres, bochs->bpp,
xres              222 drivers/gpu/drm/bochs/bochs_hw.c 	bochs_dispi_write(bochs, VBE_DISPI_INDEX_XRES,        bochs->xres);
xres              225 drivers/gpu/drm/bochs/bochs_hw.c 	bochs_dispi_write(bochs, VBE_DISPI_INDEX_VIRT_WIDTH,  bochs->xres);
xres              157 drivers/gpu/drm/drm_client_modeset.c 		if (mode->hdisplay != cmdline_mode->xres ||
xres              145 drivers/gpu/drm/drm_connector.c 		      mode->xres, mode->yres,
xres              676 drivers/gpu/drm/drm_fb_helper.c 		drm_fb_helper_dirty(info, 0, y1, info->var.xres, y2 - y1);
xres              756 drivers/gpu/drm/drm_fb_helper.c 		drm_fb_helper_dirty(info, 0, 0, info->var.xres,
xres             1324 drivers/gpu/drm/drm_fb_helper.c 	    var->xres > fb->width || var->yres > fb->height ||
xres             1328 drivers/gpu/drm/drm_fb_helper.c 			  var->xres, var->yres, var->bits_per_pixel,
xres             1694 drivers/gpu/drm/drm_fb_helper.c 	info->var.xres = fb_width;
xres             1514 drivers/gpu/drm/drm_modes.c 	int xres = 0, yres = 0;
xres             1518 drivers/gpu/drm/drm_modes.c 	xres = simple_strtol(str, &end_ptr, 10);
xres             1563 drivers/gpu/drm/drm_modes.c 	mode->xres = xres;
xres             1898 drivers/gpu/drm/drm_modes.c 				    cmd->xres, cmd->yres,
xres             1904 drivers/gpu/drm/drm_modes.c 				    cmd->xres, cmd->yres,
xres             1913 drivers/gpu/drm/drm_modes.c 	if (cmd->xres == 1366)
xres              150 drivers/gpu/drm/drm_probe_helper.c 		if (mode->hdisplay != cmdline_mode->xres ||
xres              206 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c 			 "...\n", var->xres, var->yres, var->xres_virtual,
xres               72 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c 	timing->xres = timing->width;
xres              107 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c 	u32 active = timing->xres;
xres              116 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c 	if (p->width != p->xres) {
xres              118 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c 		active_h_end = active_h_start + p->xres - 1;
xres               19 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.h 	u32 xres;		/* Display panel width */
xres              753 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c 	uint32_t xres = crtc->mode.hdisplay;
xres              776 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c 		*roi_w = min(mdp5_crtc->cursor.width, xres -
xres              130 drivers/gpu/drm/msm/msm_fbdev.c 	DBG("par=%p, %dx%d", fbi->par, fbi->var.xres, fbi->var.yres);
xres             4396 drivers/gpu/drm/omapdrm/dss/dsi.c 	int xres;
xres             4416 drivers/gpu/drm/omapdrm/dss/dsi.c 	xres = req_vm->hactive;
xres             4420 drivers/gpu/drm/omapdrm/dss/dsi.c 	panel_htot = xres + panel_hbl;
xres             4422 drivers/gpu/drm/omapdrm/dss/dsi.c 	dsi_hact = DIV_ROUND_UP(DIV_ROUND_UP(xres * bitspp, 8) + 6, ndl);
xres             4428 drivers/gpu/drm/omapdrm/dss/dsi.c 	if (dsi->line_buffer_size < xres * bitspp / 8) {
xres             4474 drivers/gpu/drm/omapdrm/dss/dsi.c 	dispc_hbl = dispc_htot - xres;
xres             4522 drivers/gpu/drm/omapdrm/dss/dsi.c 	dsi_vm->hact = xres;
xres              196 drivers/gpu/drm/omapdrm/omap_fbdev.c 	DBG("par=%p, %dx%d", fbi->par, fbi->var.xres, fbi->var.yres);
xres               55 drivers/gpu/drm/radeon/radeon_legacy_crtc.c 	int xres = mode->hdisplay;
xres              118 drivers/gpu/drm/radeon/radeon_legacy_crtc.c 		if (xres > native_mode->hdisplay)
xres              119 drivers/gpu/drm/radeon/radeon_legacy_crtc.c 			xres = native_mode->hdisplay;
xres              123 drivers/gpu/drm/radeon/radeon_legacy_crtc.c 		if (xres == native_mode->hdisplay)
xres              133 drivers/gpu/drm/radeon/radeon_legacy_crtc.c 			fp_horz_stretch |= ((xres/8-1) << 16);
xres              136 drivers/gpu/drm/radeon/radeon_legacy_crtc.c 			scale = ((xres + inc) * RADEON_HORZ_STRETCH_RATIO_MAX)
xres              157 drivers/gpu/drm/radeon/radeon_legacy_crtc.c 		fp_horz_stretch |= ((xres/8-1) << 16);
xres              198 drivers/gpu/drm/radeon/radeon_legacy_crtc.c 		fp_horz_stretch |= ((xres/8-1) << 16);
xres              158 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c 	FAIL_ON(mode.xres != 720);
xres              226 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c 	FAIL_ON(mode.xres != 720);
xres              250 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c 	FAIL_ON(mode.xres != 720);
xres              274 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c 	FAIL_ON(mode.xres != 720);
xres              298 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c 	FAIL_ON(mode.xres != 720);
xres              334 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c 	FAIL_ON(mode.xres != 720);
xres              370 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c 	FAIL_ON(mode.xres != 720);
xres              396 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c 	FAIL_ON(mode.xres != 720);
xres              422 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c 	FAIL_ON(mode.xres != 720);
xres              448 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c 	FAIL_ON(mode.xres != 720);
xres              485 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c 	FAIL_ON(mode.xres != 720);
xres              511 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c 	FAIL_ON(mode.xres != 720);
xres              540 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c 	FAIL_ON(mode.xres != 720);
xres              566 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c 	FAIL_ON(mode.xres != 720);
xres              592 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c 	FAIL_ON(mode.xres != 720);
xres              616 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c 	FAIL_ON(mode.xres != 720);
xres              767 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c 	FAIL_ON(mode.xres != 720);
xres              792 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c 	FAIL_ON(mode.xres != 720);
xres              817 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c 	FAIL_ON(mode.xres != 720);
xres              842 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c 	FAIL_ON(mode.xres != 720);
xres              900 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c 	FAIL_ON(mode.xres != 720);
xres              925 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c 	FAIL_ON(mode.xres != 720);
xres              950 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c 	FAIL_ON(mode.xres != 720);
xres              978 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c 	FAIL_ON(mode.xres != 720);
xres              143 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c 	if ((var->xoffset + var->xres) > par->max_width ||
xres              150 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c 					var->xres * var->bits_per_pixel/8,
xres              304 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c 	if ((var->xoffset + var->xres) > var->xres_virtual ||
xres              346 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c 		par->dirty.x2 = info->var.xres;
xres              513 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c 	mode_cmd.width = var->xres;
xres              576 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c 	mode->hdisplay = var->xres;
xres              680 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c 	info->var.xres = init_mode->hdisplay;
xres              239 drivers/gpu/ipu-v3/ipu-cpmem.c void ipu_cpmem_set_resolution(struct ipuv3_channel *ch, int xres, int yres)
xres              241 drivers/gpu/ipu-v3/ipu-cpmem.c 	ipu_ch_param_write_field(ch, IPU_FIELD_FW, xres - 1);
xres              120 drivers/gpu/ipu-v3/ipu-vdi.c void ipu_vdi_setup(struct ipu_vdi *vdi, u32 code, int xres, int yres)
xres              127 drivers/gpu/ipu-v3/ipu-vdi.c 	reg = ((yres - 1) << 16) | (xres - 1);
xres               59 drivers/hid/hid-picolcd_fb.c 	.xres           = PICOLCDFB_WIDTH,
xres               39 drivers/input/mousedev.c static int xres = CONFIG_INPUT_MOUSEDEV_SCREEN_X;
xres               40 drivers/input/mousedev.c module_param(xres, uint, 0644);
xres               41 drivers/input/mousedev.c MODULE_PARM_DESC(xres, "Horizontal screen resolution");
xres              180 drivers/input/mousedev.c 			size = xres ? : 1;
xres              184 drivers/input/mousedev.c 		mousedev->packet.x = ((value - min) * xres) / size;
xres              292 drivers/input/mousedev.c 		client->pos_x = clamp_val(client->pos_x, 0, xres);
xres              551 drivers/input/mousedev.c 	client->pos_x = xres / 2;
xres              122 drivers/input/touchscreen/cyttsp4_core.c 	if (cd->cpdata->xres) {
xres              123 drivers/input/touchscreen/cyttsp4_core.c 		cd->cpdata->xres(cd->cpdata, cd->dev);
xres              576 drivers/media/pci/ivtv/ivtvfb.c 	ivtv_window.width = var->xres;
xres              600 drivers/media/pci/ivtv/ivtvfb.c 		      var->xres, var->yres,
xres              709 drivers/media/pci/ivtv/ivtvfb.c 	if (var->xres > IVTV_OSD_MAX_WIDTH || var->yres > osd_height_limit) {
xres              711 drivers/media/pci/ivtv/ivtvfb.c 				var->xres, var->yres);
xres              718 drivers/media/pci/ivtv/ivtvfb.c 	    var->xres_virtual < var->xres ||
xres              728 drivers/media/pci/ivtv/ivtvfb.c 		if (var->xres & 3) {
xres              729 drivers/media/pci/ivtv/ivtvfb.c 			IVTVFB_DEBUG_WARN("Invalid resolution for 8bpp: %d\n", var->xres);
xres              739 drivers/media/pci/ivtv/ivtvfb.c 		if (var->xres & 1) {
xres              740 drivers/media/pci/ivtv/ivtvfb.c 			IVTVFB_DEBUG_WARN("Invalid resolution for 16bpp: %d\n", var->xres);
xres              773 drivers/media/pci/ivtv/ivtvfb.c 	if (var->left_margin + var->xres > IVTV_OSD_MAX_WIDTH + 1)
xres              774 drivers/media/pci/ivtv/ivtvfb.c 		var->left_margin = 1 + ((IVTV_OSD_MAX_WIDTH - var->xres) / 2);
xres              781 drivers/media/pci/ivtv/ivtvfb.c 	var->right_margin = hlimit - var->left_margin - var->xres;
xres              796 drivers/media/pci/ivtv/ivtvfb.c 	itv->osd_rect.width = var->xres;
xres              800 drivers/media/pci/ivtv/ivtvfb.c 		      var->xres, var->yres,
xres              826 drivers/media/pci/ivtv/ivtvfb.c 	    var->xoffset + info->var.xres > info->var.xres_virtual)
xres             1029 drivers/media/pci/ivtv/ivtvfb.c 	oi->ivtvfb_defined.xres = oi->display_width;
xres              456 drivers/media/platform/davinci/vpbe_display.c 		h_scale = vpbe_dev->current_timings.xres / pixfmt->width;
xres              530 drivers/media/platform/davinci/vpbe_display.c 			vpbe_dev->current_timings.xres - cfg->xsize);
xres              545 drivers/media/platform/davinci/vpbe_display.c 	  ((c->width + c->left) > vpbe_dev->current_timings.xres))
xres              546 drivers/media/platform/davinci/vpbe_display.c 		c->width = vpbe_dev->current_timings.xres - c->left;
xres              596 drivers/media/platform/davinci/vpbe_display.c 	max_width = vpbe_dev->current_timings.xres;
xres              603 drivers/media/platform/davinci/vpbe_display.c 		pixfmt->width = vpbe_dev->current_timings.xres;
xres              738 drivers/media/platform/davinci/vpbe_display.c 		rect->width = vpbe_dev->current_timings.xres;
xres              104 drivers/media/platform/vivid/vivid-osd.c 	dev->display_byte_stride = var->xres * dev->bytes_per_pixel;
xres              289 drivers/media/platform/vivid/vivid-osd.c 	dev->fb_defined.xres = dev->display_width;
xres              875 drivers/ps3/ps3av.c int ps3av_video_mode2res(u32 id, u32 *xres, u32 *yres)
xres              885 drivers/ps3/ps3av.c 	*xres = video_mode_table[id].x;
xres               24 drivers/staging/board/armadillo800eva.c 	.xres		= 800,
xres              248 drivers/staging/fbtft/fb_agm1264k-fl.c 			if (src[(y * 8 + i) * par->info->var.xres + x])
xres              258 drivers/staging/fbtft/fb_agm1264k-fl.c static void iterate_diffusion_matrix(u32 xres, u32 yres, int x,
xres              272 drivers/staging/fbtft/fb_agm1264k-fl.c 			if (x + i < 0 || x + i >= xres || y + j >= yres)
xres              274 drivers/staging/fbtft/fb_agm1264k-fl.c 			write_pos = &convert_buf[(y + j) * xres + x + i];
xres              299 drivers/staging/fbtft/fb_agm1264k-fl.c 	signed short *convert_buf = kmalloc_array(par->info->var.xres *
xres              306 drivers/staging/fbtft/fb_agm1264k-fl.c 	for (x = 0; x < par->info->var.xres; ++x)
xres              308 drivers/staging/fbtft/fb_agm1264k-fl.c 			u16 pixel = vmem16[y *  par->info->var.xres + x];
xres              318 drivers/staging/fbtft/fb_agm1264k-fl.c 			convert_buf[y *  par->info->var.xres + x] =
xres              323 drivers/staging/fbtft/fb_agm1264k-fl.c 	for (x = 0; x < par->info->var.xres; ++x)
xres              326 drivers/staging/fbtft/fb_agm1264k-fl.c 				convert_buf[y *  par->info->var.xres + x];
xres              344 drivers/staging/fbtft/fb_agm1264k-fl.c 			iterate_diffusion_matrix(par->info->var.xres,
xres              353 drivers/staging/fbtft/fb_agm1264k-fl.c 		if (addr_win.xs < par->info->var.xres / 2) {
xres              356 drivers/staging/fbtft/fb_agm1264k-fl.c 					      par->info->var.xres / 2, y);
xres              358 drivers/staging/fbtft/fb_agm1264k-fl.c 			len = par->info->var.xres / 2 - addr_win.xs;
xres              375 drivers/staging/fbtft/fb_agm1264k-fl.c 		if (addr_win.xe >= par->info->var.xres / 2) {
xres              378 drivers/staging/fbtft/fb_agm1264k-fl.c 					      par->info->var.xres / 2,
xres              381 drivers/staging/fbtft/fb_agm1264k-fl.c 			len = addr_win.xe + 1 - par->info->var.xres / 2;
xres               48 drivers/staging/fbtft/fb_ra8875.c 		par->info->var.xres,
xres               53 drivers/staging/fbtft/fb_ra8875.c 	if ((par->info->var.xres == 320) && (par->info->var.yres == 240)) {
xres               77 drivers/staging/fbtft/fb_ra8875.c 	} else if ((par->info->var.xres == 480) &&
xres              102 drivers/staging/fbtft/fb_ra8875.c 	} else if ((par->info->var.xres == 640) &&
xres              127 drivers/staging/fbtft/fb_ra8875.c 	} else if ((par->info->var.xres == 800) &&
xres               24 drivers/staging/fbtft/fb_sh1106.c 	if (!par->info->var.xres || par->info->var.xres > WIDTH ||
xres              115 drivers/staging/fbtft/fb_sh1106.c 	u32 xres = par->info->var.xres;
xres              120 drivers/staging/fbtft/fb_sh1106.c 	page_start = offset / (8 * 2 * xres);
xres              121 drivers/staging/fbtft/fb_sh1106.c 	page_end = DIV_ROUND_UP(offset + len, 8 * 2 * xres);
xres              127 drivers/staging/fbtft/fb_sh1106.c 		memset(buf, 0, xres);
xres              128 drivers/staging/fbtft/fb_sh1106.c 		for (x = 0; x < xres; x++)
xres              130 drivers/staging/fbtft/fb_sh1106.c 				if (vmem16[(page * 8 + i) * xres + x])
xres              134 drivers/staging/fbtft/fb_sh1106.c 		ret = fbtft_write_buf_dc(par, buf, xres, 1);
xres               79 drivers/staging/fbtft/fb_ssd1289.c 		write_reg(par, 0x4e, par->info->var.xres - 1 - xs);
xres               88 drivers/staging/fbtft/fb_ssd1289.c 		write_reg(par, 0x4f, par->info->var.xres - 1 - xs);
xres              159 drivers/staging/fbtft/fb_ssd1305.c 	for (x = 0; x < par->info->var.xres; x++) {
xres              164 drivers/staging/fbtft/fb_ssd1305.c 						par->info->var.xres + x] ?
xres              173 drivers/staging/fbtft/fb_ssd1305.c 				  par->info->var.xres * par->info->var.yres /
xres              145 drivers/staging/fbtft/fb_ssd1306.c 	if (par->info->var.xres == 64 && par->info->var.yres == 48)
xres              177 drivers/staging/fbtft/fb_ssd1306.c 	u32 xres = par->info->var.xres;
xres              183 drivers/staging/fbtft/fb_ssd1306.c 	for (x = 0; x < xres; x++) {
xres              187 drivers/staging/fbtft/fb_ssd1306.c 				if (vmem16[(y * 8 + i) * xres + x])
xres              195 drivers/staging/fbtft/fb_ssd1306.c 	ret = par->fbtftops.write(par, par->txbuf.buf, xres * yres / 8);
xres              146 drivers/staging/fbtft/fb_ssd1325.c 	for (x = 0; x < par->info->var.xres; x++) {
xres              150 drivers/staging/fbtft/fb_ssd1325.c 			n1 = rgb565_to_g16(vmem16[y * par->info->var.xres + x]);
xres              152 drivers/staging/fbtft/fb_ssd1325.c 					   [y * par->info->var.xres + x + 1]);
xres              162 drivers/staging/fbtft/fb_ssd1325.c 				par->info->var.xres * par->info->var.yres / 2);
xres               75 drivers/staging/fbtft/fb_watterott.c 	pos[2] = cpu_to_be16(par->info->var.xres);
xres               81 drivers/staging/fbtft/fb_watterott.c 		for (j = 0; j < par->info->var.xres; j++)
xres              113 drivers/staging/fbtft/fb_watterott.c 	pos[2] = cpu_to_be16(par->info->var.xres);
xres              119 drivers/staging/fbtft/fb_watterott.c 		for (j = 0; j < par->info->var.xres; j++) {
xres              124 drivers/staging/fbtft/fb_watterott.c 			par->txbuf.buf, 10 + par->info->var.xres);
xres              282 drivers/staging/fbtft/fbtft-core.c 				par->info->var.xres - 1, end_line);
xres              680 drivers/staging/fbtft/fbtft-core.c 	info->var.xres =           width;
xres              682 drivers/staging/fbtft/fbtft-core.c 	info->var.xres_virtual =   info->var.xres;
xres              856 drivers/staging/fbtft/fbtft-core.c 		 fb_info->fix.id, fb_info->var.xres, fb_info->var.yres,
xres              522 drivers/staging/sm750fb/sm750.c 		 var->xres,
xres              848 drivers/staging/sm750fb/sm750.c 		var->xres,
xres              290 drivers/staging/sm750fb/sm750_hw.c 	modparm.horizontal_display_end = var->xres;
xres              292 drivers/staging/sm750fb/sm750_hw.c 	modparm.horizontal_sync_start = var->xres + var->right_margin;
xres              293 drivers/staging/sm750fb/sm750_hw.c 	modparm.horizontal_total = var->xres + var->left_margin +
xres              319 drivers/staging/sm750fb/sm750_hw.c 		reg = var->xres * (var->bits_per_pixel >> 3);
xres              330 drivers/staging/sm750fb/sm750_hw.c 		reg = ((var->xres - 1) << PANEL_WINDOW_WIDTH_WIDTH_SHIFT) &
xres              345 drivers/staging/sm750fb/sm750_hw.c 		reg |= ((var->xres - 1) & PANEL_PLANE_BR_RIGHT_MASK);
xres              354 drivers/staging/sm750fb/sm750_hw.c 		reg = var->xres * (var->bits_per_pixel >> 3);
xres              550 drivers/staging/sm750fb/sm750_hw.c 	if ((var->xoffset + var->xres > var->xres_virtual) ||
xres              362 drivers/staging/unisys/visorinput/visorinput.c static struct input_dev *setup_client_mouse(void *devdata, unsigned int xres,
xres              382 drivers/staging/unisys/visorinput/visorinput.c 	if (xres == 0)
xres              383 drivers/staging/unisys/visorinput/visorinput.c 		xres = PIXELS_ACROSS_DEFAULT;
xres              386 drivers/staging/unisys/visorinput/visorinput.c 	input_set_abs_params(visorinput_dev, ABS_X, 0, xres, 0, 0);
xres              403 drivers/staging/unisys/visorinput/visorinput.c 	unsigned int size, xres, yres, err;
xres              447 drivers/staging/unisys/visorinput/visorinput.c 		xres = data.mouse.x_res;
xres              449 drivers/staging/unisys/visorinput/visorinput.c 		devdata->visorinput_dev = setup_client_mouse(devdata, xres,
xres              321 drivers/usb/misc/sisusbvga/sisusb_init.c 	unsigned short xres, temp, colordepth, infoflag;
xres              324 drivers/usb/misc/sisusbvga/sisusb_init.c 	xres = SiS_Pr->SiS_RefIndex[rrti].XRes;
xres              328 drivers/usb/misc/sisusbvga/sisusb_init.c 	temp = xres / 16;
xres              335 drivers/usb/misc/sisusbvga/sisusb_init.c 	if (xres % 16)
xres              340 drivers/video/backlight/corgi_lcd.c 	if (m->xres == 640 || m->xres == 480)
xres              316 drivers/video/backlight/tdo24m.c 	if (m->xres == 640 || m->xres == 480)
xres              153 drivers/video/backlight/tosa_lcd.c 	if (mode->xres == 320 || mode->yres == 320)
xres              151 drivers/video/fbdev/68328fb.c 	if (!var->xres)
xres              152 drivers/video/fbdev/68328fb.c 		var->xres = 1;
xres              155 drivers/video/fbdev/68328fb.c 	if (var->xres > var->xres_virtual)
xres              156 drivers/video/fbdev/68328fb.c 		var->xres_virtual = var->xres;
xres              172 drivers/video/fbdev/68328fb.c 	if (var->xres_virtual < var->xoffset + var->xres)
xres              173 drivers/video/fbdev/68328fb.c 		var->xres_virtual = var->xoffset + var->xres;
xres              375 drivers/video/fbdev/68328fb.c 		if (var->xoffset + info->var.xres > info->var.xres_virtual ||
xres              441 drivers/video/fbdev/68328fb.c 	mc68x328fb_default.xres = LXMAX;
xres              443 drivers/video/fbdev/68328fb.c 	mc68x328fb_default.xres_virtual = mc68x328fb_default.xres;
xres              126 drivers/video/fbdev/acornfb.c 	vidc.h_display_end	= vidc.h_display_start + var->xres;
xres              202 drivers/video/fbdev/acornfb.c 	words_per_line = var->xres * var->bits_per_pixel / 32;
xres              224 drivers/video/fbdev/acornfb.c 	printk(KERN_DEBUG "VIDC registers for %dx%dx%d:\n", var->xres,
xres              322 drivers/video/fbdev/acornfb.c 	var->xres = (var->xres + 1) & ~1;
xres              327 drivers/video/fbdev/acornfb.c 	var->xres_virtual = var->xres;
xres              342 drivers/video/fbdev/acornfb.c 	font_line_len = var->xres * var->bits_per_pixel * fontht / 8;
xres              343 drivers/video/fbdev/acornfb.c 	min_size = var->xres * var->yres * var->bits_per_pixel / 8;
xres              427 drivers/video/fbdev/acornfb.c 	     (var->xres + var->left_margin + var->right_margin + var->hsync_len);
xres              554 drivers/video/fbdev/acornfb.c 	info->fix.line_length	= (info->var.xres * info->var.bits_per_pixel) / 8;
xres              676 drivers/video/fbdev/acornfb.c 	.xres =		640,
xres              994 drivers/video/fbdev/acornfb.c 		if (modedb[i].xres == DEFAULT_XRES &&
xres             1098 drivers/video/fbdev/acornfb.c 	h_sync = h_sync * 512 / (fb_info.var.xres + fb_info.var.left_margin +
xres             1106 drivers/video/fbdev/acornfb.c 		VIDC_NAME, fb_info.var.xres, fb_info.var.yres,
xres              488 drivers/video/fbdev/amba-clcd.c 	fb->fb.var.xres		= fb->panel->mode.xres;
xres              490 drivers/video/fbdev/amba-clcd.c 	fb->fb.var.xres_virtual	= fb->panel->mode.xres;
xres              601 drivers/video/fbdev/amba-clcd.c 	return snprintf(buf, size, "%ux%u@%u", mode->xres, mode->yres,
xres              820 drivers/video/fbdev/amba-clcd.c 	framesize = PAGE_ALIGN(fb->panel->mode.xres * fb->panel->mode.yres *
xres              716 drivers/video/fbdev/amifb.c 	int xres;		/* vmode */
xres             1146 drivers/video/fbdev/amifb.c 	if ((par->xres = var->xres) < 64)
xres             1147 drivers/video/fbdev/amifb.c 		par->xres = 64;
xres             1150 drivers/video/fbdev/amifb.c 	if ((par->vxres = var->xres_virtual) < par->xres)
xres             1151 drivers/video/fbdev/amifb.c 		par->vxres = par->xres;
xres             1214 drivers/video/fbdev/amifb.c 	xres_n = par->xres << clk_shift;
xres             1216 drivers/video/fbdev/amifb.c 	par->htotal = down8((var->left_margin + par->xres + var->right_margin +
xres             1490 drivers/video/fbdev/amifb.c 			if (par->xoffset > upx(16 << maxfmode, par->vxres - par->xres) ||
xres             1519 drivers/video/fbdev/amifb.c 	var->xres = par->xres;
xres             1560 drivers/video/fbdev/amifb.c 		var->left_margin = (par->htotal>>clk_shift) - var->xres - var->right_margin - var->hsync_len;
xres             1575 drivers/video/fbdev/amifb.c 		var->left_margin = (par->htotal>>clk_shift) - var->xres - var->right_margin - var->hsync_len;
xres             1606 drivers/video/fbdev/amifb.c 	fsize = (par->xres + vshift) << clk_shift;
xres             2066 drivers/video/fbdev/amifb.c 	    mx > -(short)par->crsr.width && mx < par->xres &&
xres             2548 drivers/video/fbdev/amifb.c 		if (var->xoffset + info->var.xres >
xres               52 drivers/video/fbdev/arcfb.c #define floorXres(a,xres) (a&(~(xres - 1)))
xres               55 drivers/video/fbdev/arcfb.c #define ceilXres(a,xres) (a|(xres - 1))
xres               93 drivers/video/fbdev/arcfb.c 	.xres		= 128,
xres              262 drivers/video/fbdev/arcfb.c 	linesize = par->info->var.xres/8;
xres              452 drivers/video/fbdev/arcfb.c 	unsigned int xres;
xres              456 drivers/video/fbdev/arcfb.c 	xres = info->var.xres;
xres              457 drivers/video/fbdev/arcfb.c 	fbmemlength = (xres * info->var.yres)/8;
xres              479 drivers/video/fbdev/arcfb.c 	startpos = floorXres(bitppos, xres);
xres              480 drivers/video/fbdev/arcfb.c 	endpos = ceilXres((bitppos + (count*8)), xres);
xres              483 drivers/video/fbdev/arcfb.c 	x = startpos % xres;
xres              484 drivers/video/fbdev/arcfb.c 	y = startpos / xres;
xres              485 drivers/video/fbdev/arcfb.c 	w = xres;
xres              486 drivers/video/fbdev/arcfb.c 	h = bitcount / xres;
xres              578 drivers/video/fbdev/arkfb.c 	if (var->xres > var->xres_virtual)
xres              579 drivers/video/fbdev/arkfb.c 		var->xres_virtual = var->xres;
xres              788 drivers/video/fbdev/arkfb.c 	value = info->var.xres + info->var.left_margin + info->var.right_margin + info->var.hsync_len;
xres              176 drivers/video/fbdev/asiliantfb.c 	unsigned hd = p->var.xres / 8;
xres              177 drivers/video/fbdev/asiliantfb.c 	unsigned hs = (p->var.xres + p->var.right_margin) / 8;
xres              178 drivers/video/fbdev/asiliantfb.c        	unsigned he = (p->var.xres + p->var.right_margin + p->var.hsync_len) / 8;
xres              179 drivers/video/fbdev/asiliantfb.c 	unsigned ht = (p->var.left_margin + p->var.xres + p->var.right_margin + p->var.hsync_len) / 8;
xres              186 drivers/video/fbdev/asiliantfb.c 	if ((p->var.xres == 640) && (p->var.yres == 480) && (p->var.pixclock == 39722)) {
xres              218 drivers/video/fbdev/asiliantfb.c 	if (p->var.xres == 640) {
xres              240 drivers/video/fbdev/asiliantfb.c 	var->xres_virtual = var->xres;
xres              296 drivers/video/fbdev/asiliantfb.c 	p->fix.line_length = p->var.xres * (p->var.bits_per_pixel >> 3);
xres              487 drivers/video/fbdev/asiliantfb.c 	.xres 		= 640,
xres              594 drivers/video/fbdev/atafb.c 	int xres = var->xres;
xres              601 drivers/video/fbdev/atafb.c 		if (bpp > 1 || xres > sttt_xres * 2 || yres > tt_yres * 2)
xres              604 drivers/video/fbdev/atafb.c 		xres = sttt_xres * 2;
xres              608 drivers/video/fbdev/atafb.c 		if (bpp > 8 || xres > sttt_xres || yres > tt_yres)
xres              611 drivers/video/fbdev/atafb.c 			if (xres > sttt_xres / 2 || yres > tt_yres)
xres              614 drivers/video/fbdev/atafb.c 			xres = sttt_xres / 2;
xres              618 drivers/video/fbdev/atafb.c 			if (xres > sttt_xres || yres > tt_yres)
xres              620 drivers/video/fbdev/atafb.c 			if (xres > sttt_xres / 2 || yres > st_yres / 2) {
xres              622 drivers/video/fbdev/atafb.c 				xres = sttt_xres;
xres              627 drivers/video/fbdev/atafb.c 				xres = sttt_xres / 2;
xres              632 drivers/video/fbdev/atafb.c 			if (xres > sttt_xres || yres > st_yres / 2)
xres              635 drivers/video/fbdev/atafb.c 			xres = sttt_xres;
xres              638 drivers/video/fbdev/atafb.c 		} else if (var->xres > sttt_xres || var->yres > st_yres) {
xres              642 drivers/video/fbdev/atafb.c 			xres = sttt_xres;
xres              655 drivers/video/fbdev/atafb.c 	linelen = xres * bpp / 8;
xres              695 drivers/video/fbdev/atafb.c 		var->xres = sttt_xres / 2;
xres              701 drivers/video/fbdev/atafb.c 		var->xres = sttt_xres;
xres              707 drivers/video/fbdev/atafb.c 		var->xres = sttt_xres;
xres              713 drivers/video/fbdev/atafb.c 		var->xres = sttt_xres / 2;
xres              719 drivers/video/fbdev/atafb.c 		var->xres = sttt_xres;
xres              726 drivers/video/fbdev/atafb.c 		var->xres = sttt_xres * 2;
xres              897 drivers/video/fbdev/atafb.c 	int xres = var->xres;
xres              937 drivers/video/fbdev/atafb.c 	if (!xres || !yres || !bpp)
xres              970 drivers/video/fbdev/atafb.c 		    var->xres > myvar->xres ||
xres              978 drivers/video/fbdev/atafb.c 	if (xres <= 320)
xres              979 drivers/video/fbdev/atafb.c 		xres = 320;
xres              980 drivers/video/fbdev/atafb.c 	else if (xres <= 640 && bpp != 16)
xres              981 drivers/video/fbdev/atafb.c 		xres = 640;
xres             1002 drivers/video/fbdev/atafb.c 		xres = (xres + 63) & ~63;
xres             1004 drivers/video/fbdev/atafb.c 		xres = (xres + 31) & ~31;
xres             1006 drivers/video/fbdev/atafb.c 		xres = (xres + 15) & ~15;
xres             1012 drivers/video/fbdev/atafb.c 	if (xres_virtual < xres)
xres             1013 drivers/video/fbdev/atafb.c 		xres_virtual = xres;
xres             1028 drivers/video/fbdev/atafb.c 	par->hw.falcon.line_width = bpp * xres / 16;
xres             1029 drivers/video/fbdev/atafb.c 	par->hw.falcon.line_offset = bpp * (xres_virtual - xres) / 16;
xres             1032 drivers/video/fbdev/atafb.c 	xstretch = (xres < 640) ? 2 : 1;
xres             1036 drivers/video/fbdev/atafb.c 		if (xres != 640 && yres != 400)
xres             1090 drivers/video/fbdev/atafb.c 			if ((plen * xres + f25.right + f25.hsync + f25.left) *
xres             1093 drivers/video/fbdev/atafb.c 			else if ((plen * xres + f32.right + f32.hsync +
xres             1096 drivers/video/fbdev/atafb.c 			else if ((plen * xres + fext.right + fext.hsync +
xres             1106 drivers/video/fbdev/atafb.c 			linesize = left_margin + xres + right_margin + hsync_len;
xres             1240 drivers/video/fbdev/atafb.c 	gend1 = gstart + roundup(xres, align) * plen / prescale;
xres             1242 drivers/video/fbdev/atafb.c 	gend2 = gstart + xres * plen / prescale;
xres             1243 drivers/video/fbdev/atafb.c 	par->HHT = plen * (left_margin + xres + right_margin) /
xres             1430 drivers/video/fbdev/atafb.c 	var->xres = hw->line_width * 16 / var->bits_per_pixel;
xres             1431 drivers/video/fbdev/atafb.c 	var->xres_virtual = var->xres + hw->line_offset * 16 / var->bits_per_pixel;
xres             1669 drivers/video/fbdev/atafb.c 		(info->var.xres_virtual - info->var.xres) / 16;
xres             1821 drivers/video/fbdev/atafb.c 	int xres = var->xres;
xres             1828 drivers/video/fbdev/atafb.c 		if (bpp > 1 || xres > sttt_xres || yres > st_yres)
xres             1831 drivers/video/fbdev/atafb.c 		xres = sttt_xres;
xres             1835 drivers/video/fbdev/atafb.c 		if (bpp > 4 || xres > sttt_xres || yres > st_yres)
xres             1838 drivers/video/fbdev/atafb.c 			if (xres > sttt_xres / 2 || yres > st_yres / 2)
xres             1841 drivers/video/fbdev/atafb.c 			xres = sttt_xres / 2;
xres             1845 drivers/video/fbdev/atafb.c 			if (xres > sttt_xres || yres > st_yres / 2)
xres             1848 drivers/video/fbdev/atafb.c 			xres = sttt_xres;
xres             1862 drivers/video/fbdev/atafb.c 	linelen = xres * bpp / 8;
xres             1903 drivers/video/fbdev/atafb.c 		var->xres = sttt_xres / 2;
xres             1908 drivers/video/fbdev/atafb.c 		var->xres = sttt_xres;
xres             1913 drivers/video/fbdev/atafb.c 		var->xres = sttt_xres;
xres             2140 drivers/video/fbdev/atafb.c 	    var->xres > myvar->xres ||
xres             2173 drivers/video/fbdev/atafb.c 	var->xres = external_xres;
xres             2250 drivers/video/fbdev/atafb.c 	myvar->xres = external_xres;
xres             2439 drivers/video/fbdev/atafb.c 		if (xoffset + info->var.xres > info->var.xres_virtual ||
xres             2790 drivers/video/fbdev/atafb.c 	int xres, xres_virtual, yres, depth, planes;
xres             2807 drivers/video/fbdev/atafb.c 	xres_virtual = xres = simple_strtoul(p, NULL, 10);
xres             2808 drivers/video/fbdev/atafb.c 	if (xres <= 0)
xres             2847 drivers/video/fbdev/atafb.c 		len = xres * yres * depth / 8;
xres             2875 drivers/video/fbdev/atafb.c 		if (xres_virtual < xres)
xres             2876 drivers/video/fbdev/atafb.c 			xres_virtual = xres;
xres             2881 drivers/video/fbdev/atafb.c 	external_xres = xres;
xres             2919 drivers/video/fbdev/atafb.c 	int xres;
xres             2924 drivers/video/fbdev/atafb.c 	xres = simple_strtoul(p, NULL, 10);
xres             2927 drivers/video/fbdev/atafb.c 	sttt_xres = xres;
xres             2983 drivers/video/fbdev/atafb.c 	int xres, yres, depth, temp;
xres             2988 drivers/video/fbdev/atafb.c 	xres = simple_strtoul(p, NULL, 10);
xres             3000 drivers/video/fbdev/atafb.c 		atafb_predefined[default_par - 1].xres = xres;
xres             3200 drivers/video/fbdev/atafb.c 	dev_info(&pdev->dev, "Determined %dx%d, depth %d\n", fb_info.var.xres,
xres             3202 drivers/video/fbdev/atafb.c 	if ((fb_info.var.xres != fb_info.var.xres_virtual) ||
xres              253 drivers/video/fbdev/atmel_lcdfb.c 							unsigned long xres)
xres              259 drivers/video/fbdev/atmel_lcdfb.c 		return xres;
xres              262 drivers/video/fbdev/atmel_lcdfb.c 	value = xres;
xres              424 drivers/video/fbdev/atmel_lcdfb.c 	dev_dbg(dev, "  resolution: %ux%u\n", var->xres, var->yres);
xres              435 drivers/video/fbdev/atmel_lcdfb.c 	if (var->xres > var->xres_virtual)
xres              436 drivers/video/fbdev/atmel_lcdfb.c 		var->xres_virtual = var->xres;
xres              442 drivers/video/fbdev/atmel_lcdfb.c 	var->xres = (var->xres + 3) & ~3UL;
xres              573 drivers/video/fbdev/atmel_lcdfb.c 		 info->var.xres, info->var.yres,
xres              593 drivers/video/fbdev/atmel_lcdfb.c 	value = (info->var.yres * info->var.xres * info->var.bits_per_pixel) / 32;
xres              660 drivers/video/fbdev/atmel_lcdfb.c 	hozval_linesz = compute_hozval(sinfo, info->var.xres);
xres              122 drivers/video/fbdev/aty/aty128fb.c 	.xres =		640,
xres             1043 drivers/video/fbdev/aty/aty128fb.c 	u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp, dst;
xres             1051 drivers/video/fbdev/aty/aty128fb.c 	xres = var->xres;
xres             1078 drivers/video/fbdev/aty/aty128fb.c 	xres = (xres + 7) & ~7;
xres             1081 drivers/video/fbdev/aty/aty128fb.c 	if (vxres < xres + xoffset)
xres             1082 drivers/video/fbdev/aty/aty128fb.c 		vxres = xres + xoffset;
xres             1104 drivers/video/fbdev/aty/aty128fb.c 	h_disp = (xres >> 3) - 1;
xres             1105 drivers/video/fbdev/aty/aty128fb.c 	h_total = (((xres + right + hslen + left) >> 3) - 1) & 0xFFFFL;
xres             1233 drivers/video/fbdev/aty/aty128fb.c 	u32 xres, yres, left, right, upper, lower, hslen, vslen, sync;
xres             1254 drivers/video/fbdev/aty/aty128fb.c 	xres  = (h_disp + 1) << 3;
xres             1268 drivers/video/fbdev/aty/aty128fb.c 	var->xres = xres;
xres             1630 drivers/video/fbdev/aty/aty128fb.c 	u32 xres, yres;
xres             1632 drivers/video/fbdev/aty/aty128fb.c 	xres = (((par->crtc.h_total >> 16) & 0xff) + 1) << 3;
xres             1638 drivers/video/fbdev/aty/aty128fb.c 	if (xoffset+xres > par->crtc.vxres || yoffset+yres > par->crtc.vyres)
xres              107 drivers/video/fbdev/aty/atyfb.h 	u32 xres; /* use for LCD stretching/scaling */
xres              583 drivers/video/fbdev/aty/atyfb_base.c 	par->pll.ct.xres = 0;
xres              587 drivers/video/fbdev/aty/atyfb_base.c 			par->pll.ct.xres = var->xres;
xres              804 drivers/video/fbdev/aty/atyfb_base.c 	u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp;
xres              812 drivers/video/fbdev/aty/atyfb_base.c 	xres = (var->xres + 7) & ~7;
xres              825 drivers/video/fbdev/aty/atyfb_base.c 	if (vxres < xres + xoffset)
xres              826 drivers/video/fbdev/aty/atyfb_base.c 		vxres = xres + xoffset;
xres              827 drivers/video/fbdev/aty/atyfb_base.c 	h_disp = xres;
xres              874 drivers/video/fbdev/aty/atyfb_base.c 	if ((xres > 1920) || (yres > 1200)) {
xres              910 drivers/video/fbdev/aty/atyfb_base.c 		    ((xres > par->lcd_width) || (yres > par->lcd_height))) {
xres             1053 drivers/video/fbdev/aty/atyfb_base.c 		if (xres < par->lcd_width && crtc->lcd_gen_cntl & LCD_ON) {
xres             1069 drivers/video/fbdev/aty/atyfb_base.c 				int HDisplay  = xres & ~7;
xres             1124 drivers/video/fbdev/aty/atyfb_base.c 			    xres <= (M64_HAS(MOBIL_BUS) ? 1024 : 800))
xres             1154 drivers/video/fbdev/aty/atyfb_base.c 	u32 xres, yres, bpp, left, right, upper, lower, hslen, vslen, sync;
xres             1178 drivers/video/fbdev/aty/atyfb_base.c 	xres = (h_disp + 1) * 8;
xres             1252 drivers/video/fbdev/aty/atyfb_base.c 	var->xres = xres;
xres             1351 drivers/video/fbdev/aty/atyfb_base.c 		h_disp = debug.xres;
xres             1369 drivers/video/fbdev/aty/atyfb_base.c 			var->xres, var->yres, var->bits_per_pixel);
xres             1726 drivers/video/fbdev/aty/atyfb_base.c 	u32 xres, yres, xoffset, yoffset;
xres             1728 drivers/video/fbdev/aty/atyfb_base.c 	xres = (((par->crtc.h_tot_disp >> 16) & 0xff) + 1) * 8;
xres             1734 drivers/video/fbdev/aty/atyfb_base.c 	if (xoffset + xres > par->crtc.vxres ||
xres             2300 drivers/video/fbdev/aty/atyfb_base.c 		var->xres = var->xres_virtual = par->lcd_hdisp;
xres             3051 drivers/video/fbdev/aty/atyfb_base.c 		h_total = var->xres + var->right_margin + var->hsync_len + var->left_margin;
xres              142 drivers/video/fbdev/aty/mach64_ct.c 	if (pll->xres != 0) {
xres              146 drivers/video/fbdev/aty/mach64_ct.c 		divider = divider * pll->xres & ~7;
xres              149 drivers/video/fbdev/aty/mach64_ct.c 		ras_divider = ras_divider * pll->xres & ~7;
xres              270 drivers/video/fbdev/aty/mach64_ct.c 	if(pll->ct.xres > 0) {
xres              272 drivers/video/fbdev/aty/mach64_ct.c 		ret /= pll->ct.xres;
xres              913 drivers/video/fbdev/aty/radeon_base.c                                 var->xres, var->yres, var->bits_per_pixel);
xres              919 drivers/video/fbdev/aty/radeon_base.c 	if (v.xres_virtual < v.xres)
xres              920 drivers/video/fbdev/aty/radeon_base.c 		v.xres_virtual = v.xres;
xres              937 drivers/video/fbdev/aty/radeon_base.c 	if (v.xres_virtual < v.xres)
xres              938 drivers/video/fbdev/aty/radeon_base.c 		v.xres = v.xres_virtual;
xres              940 drivers/video/fbdev/aty/radeon_base.c         if (v.xoffset > v.xres_virtual - v.xres)
xres              941 drivers/video/fbdev/aty/radeon_base.c                 v.xoffset = v.xres_virtual - v.xres - 1;
xres              961 drivers/video/fbdev/aty/radeon_base.c 	if ((var->xoffset + info->var.xres > info->var.xres_virtual)
xres             1674 drivers/video/fbdev/aty/radeon_base.c 	hSyncStart = mode->xres + mode->right_margin;
xres             1688 drivers/video/fbdev/aty/radeon_base.c 		if (rinfo->panel_info.xres < mode->xres)
xres             1689 drivers/video/fbdev/aty/radeon_base.c 			mode->xres = rinfo->panel_info.xres;
xres             1693 drivers/video/fbdev/aty/radeon_base.c 		hTotal = mode->xres + rinfo->panel_info.hblank;
xres             1694 drivers/video/fbdev/aty/radeon_base.c 		hSyncStart = mode->xres + rinfo->panel_info.hOver_plus;
xres             1771 drivers/video/fbdev/aty/radeon_base.c 				     (((mode->xres / 8) - 1) << 16));
xres             1850 drivers/video/fbdev/aty/radeon_base.c 		if (mode->xres > rinfo->panel_info.xres)
xres             1851 drivers/video/fbdev/aty/radeon_base.c 			mode->xres = rinfo->panel_info.xres;
xres             1855 drivers/video/fbdev/aty/radeon_base.c 		newmode->fp_horz_stretch = (((rinfo->panel_info.xres / 8) - 1)
xres             1860 drivers/video/fbdev/aty/radeon_base.c 		if (mode->xres != rinfo->panel_info.xres) {
xres             1861 drivers/video/fbdev/aty/radeon_base.c 			hRatio = round_div(mode->xres * HORZ_STRETCH_RATIO_MAX,
xres             1862 drivers/video/fbdev/aty/radeon_base.c 					   rinfo->panel_info.xres);
xres             1931 drivers/video/fbdev/aty/radeon_base.c 				(((mode->xres / 8) - 1) << 16));
xres             1959 drivers/video/fbdev/aty/radeon_base.c 	btext_update_display(rinfo->fb_base_phys, mode->xres, mode->yres,
xres                9 drivers/video/fbdev/aty/radeon_monitor.c 	.xres		= 640,
xres              186 drivers/video/fbdev/aty/radeon_monitor.c 	rinfo->panel_info.xres = BIOS_IN16(tmp + 25);
xres              189 drivers/video/fbdev/aty/radeon_monitor.c 		rinfo->panel_info.xres, rinfo->panel_info.yres);
xres              216 drivers/video/fbdev/aty/radeon_monitor.c 		if ((BIOS_IN16(tmp0) == rinfo->panel_info.xres) &&
xres              690 drivers/video/fbdev/aty/radeon_monitor.c 	rinfo->panel_info.xres = var->xres;
xres              717 drivers/video/fbdev/aty/radeon_monitor.c 	var->xres = mode->xres;
xres              719 drivers/video/fbdev/aty/radeon_monitor.c 	var->xres_virtual = mode->xres;
xres              784 drivers/video/fbdev/aty/radeon_monitor.c 			if (var.xres >= rinfo->panel_info.xres &&
xres              803 drivers/video/fbdev/aty/radeon_monitor.c 		var->xres = rinfo->panel_info.xres;
xres              805 drivers/video/fbdev/aty/radeon_monitor.c 		var->xres_virtual = rinfo->panel_info.xres;
xres              851 drivers/video/fbdev/aty/radeon_monitor.c 		if (rinfo->panel_info.xres == 0 || rinfo->panel_info.yres == 0) {
xres              853 drivers/video/fbdev/aty/radeon_monitor.c 			rinfo->panel_info.xres = ((tmp >> HORZ_PANEL_SHIFT) + 1) * 8;
xres              857 drivers/video/fbdev/aty/radeon_monitor.c 		if (rinfo->panel_info.xres == 0 || rinfo->panel_info.yres == 0) {
xres              863 drivers/video/fbdev/aty/radeon_monitor.c 		       rinfo->panel_info.xres, rinfo->panel_info.yres);
xres              866 drivers/video/fbdev/aty/radeon_monitor.c 		snprintf(modename, 31, "%dx%d", rinfo->panel_info.xres, rinfo->panel_info.yres);
xres              959 drivers/video/fbdev/aty/radeon_monitor.c 	distance += (mode->xres - var->xres)/2;
xres             1022 drivers/video/fbdev/aty/radeon_monitor.c 			if (db[i].xres < src->xres)
xres              256 drivers/video/fbdev/aty/radeonfb.h 	int xres, yres;
xres              458 drivers/video/fbdev/au1100fb.c 	fbdev->fb_len = fbdev->panel->xres * fbdev->panel->yres *
xres              478 drivers/video/fbdev/au1100fb.c 	au1100fb_var.xres = fbdev->panel->xres;
xres              479 drivers/video/fbdev/au1100fb.c 	au1100fb_var.xres_virtual = au1100fb_var.xres;
xres               76 drivers/video/fbdev/au1100fb.h 	u32	xres;		/* Maximum horizontal resolution */
xres              275 drivers/video/fbdev/au1100fb.h 		.xres = 800,
xres              288 drivers/video/fbdev/au1100fb.h 		.xres = 240,
xres              299 drivers/video/fbdev/au1100fb.h 		.xres = 320,
xres              326 drivers/video/fbdev/au1100fb.h 		.xres = 320,
xres              348 drivers/video/fbdev/au1100fb.h 		.xres = 640,
xres              360 drivers/video/fbdev/au1100fb.h 		.xres = 640,
xres              194 drivers/video/fbdev/au1200fb.c 		int xres;
xres              716 drivers/video/fbdev/au1200fb.c 	xsz = win->w[plane].xres;
xres              718 drivers/video/fbdev/au1200fb.c 	if ((xpos + win->w[plane].xres) > panel->Xres) {
xres              732 drivers/video/fbdev/au1200fb.c 		xsz = win->w[plane].xres + xpos;
xres             1047 drivers/video/fbdev/au1200fb.c 	var->xres = win->w[plane].xres;
xres             1051 drivers/video/fbdev/au1200fb.c 	var->xres_virtual = var->xres;
xres             1670 drivers/video/fbdev/au1200fb.c 		if (win->w[plane].xres == 0)
xres             1671 drivers/video/fbdev/au1200fb.c 			win->w[plane].xres = panel->Xres;
xres             1691 drivers/video/fbdev/au1200fb.c 		fbdev->fb_len = (win->w[plane].xres * win->w[plane].yres * bpp) / 8;
xres              106 drivers/video/fbdev/broadsheetfb.c 	.xres		= DPY_W,
xres              784 drivers/video/fbdev/broadsheetfb.c 	int xres = par->info->var.xres;
xres              804 drivers/video/fbdev/broadsheetfb.c 	broadsheet_write_reg32(par, 0x310, xres*yres*2);
xres              879 drivers/video/fbdev/broadsheetfb.c 	args[3] = cpu_to_le16(par->info->var.xres);
xres              886 drivers/video/fbdev/broadsheetfb.c 	buf += y1 * par->info->var.xres;
xres              887 drivers/video/fbdev/broadsheetfb.c 	broadsheet_burst_write(par, ((1 + y2 - y1) * par->info->var.xres)/2,
xres              941 drivers/video/fbdev/broadsheetfb.c 	u16 xres = info->var.xres;
xres              944 drivers/video/fbdev/broadsheetfb.c 	h_inc = DIV_ROUND_UP(PAGE_SIZE , xres);
xres              950 drivers/video/fbdev/broadsheetfb.c 			y1 = (cur->index << PAGE_SHIFT) / xres;
xres              959 drivers/video/fbdev/broadsheetfb.c 			y1 = (cur->index << PAGE_SHIFT) / xres;
xres             1115 drivers/video/fbdev/broadsheetfb.c 	broadsheetfb_var.xres = dpyw;
xres              242 drivers/video/fbdev/bw2.c 			info->var.xres = info->var.xres_virtual = 1600;
xres              297 drivers/video/fbdev/bw2.c 					  info->var.xres);
xres               92 drivers/video/fbdev/carminefb.c 		.xres		= 640,
xres               96 drivers/video/fbdev/carminefb.c 		.xres		= 800,
xres              133 drivers/video/fbdev/carminefb.c 		if (car_modes[i].hdp == var->xres &&
xres              191 drivers/video/fbdev/carminefb.c 	var->xres_virtual = var->xres;
xres              427 drivers/video/fbdev/carminefb.c 	info->fix.line_length = info->var.xres * info->var.bits_per_pixel / 8;
xres              297 drivers/video/fbdev/cg14.c 		kmdi.mdi_width = info->var.xres;
xres              487 drivers/video/fbdev/cg14.c 					  info->var.xres);
xres              273 drivers/video/fbdev/cg3.c 				if (var->xres != ww ||
xres              275 drivers/video/fbdev/cg3.c 					var->xres = var->xres_virtual = ww;
xres              379 drivers/video/fbdev/cg3.c 					  info->var.xres);
xres              718 drivers/video/fbdev/cg6.c 	sbus_writel(info->var.xres - 1, &fbc->clipmaxx);
xres              767 drivers/video/fbdev/cg6.c 					  info->var.xres);
xres               96 drivers/video/fbdev/chipsfb.c 	if (var->xres > 800 || var->yres > 600
xres              103 drivers/video/fbdev/chipsfb.c 	var->xres = var->xres_virtual = 800;
xres              312 drivers/video/fbdev/chipsfb.c 	.xres = 800,
xres              577 drivers/video/fbdev/cirrusfb.c 	if (var->xres_virtual < var->xres)
xres              578 drivers/video/fbdev/cirrusfb.c 		var->xres_virtual = var->xres;
xres              599 drivers/video/fbdev/cirrusfb.c 	if (var->xoffset > var->xres_virtual - var->xres)
xres              600 drivers/video/fbdev/cirrusfb.c 		var->xoffset = var->xres_virtual - var->xres - 1;
xres              673 drivers/video/fbdev/cirrusfb.c 	       var->xres, var->yres, var->bits_per_pixel);
xres              699 drivers/video/fbdev/cirrusfb.c 	hsyncstart = var->xres + var->right_margin;
xres              702 drivers/video/fbdev/cirrusfb.c 	hdispend = var->xres / 8;
xres              757 drivers/video/fbdev/cirrusfb.c 	dev_dbg(info->device, "CRT2: %d\n", var->xres / 8);
xres              758 drivers/video/fbdev/cirrusfb.c 	vga_wcrt(regbase, VGA_CRTC_H_BLANK_START, var->xres / 8);
xres               79 drivers/video/fbdev/clps711x-fb.c 	val = DIV_ROUND_UP(var->xres, 16) - 1;
xres               83 drivers/video/fbdev/clps711x-fb.c 	val = DIV_ROUND_UP(var->yres * var->xres * var->bits_per_pixel, 128);
xres              107 drivers/video/fbdev/clps711x-fb.c 	size = (info->var.xres * info->var.yres * info->var.bits_per_pixel) / 8;
xres              123 drivers/video/fbdev/clps711x-fb.c 	info->fix.line_length = info->var.xres * info->var.bits_per_pixel / 8;
xres              126 drivers/video/fbdev/clps711x-fb.c 	lcdcon = (info->var.xres * info->var.yres *
xres              128 drivers/video/fbdev/clps711x-fb.c 	lcdcon |= ((info->var.xres / 16) - 1) << 13;
xres               59 drivers/video/fbdev/controlfb.c 	int	xres, yres;
xres               83 drivers/video/fbdev/controlfb.c 	return (!DIRTY(cmode) && !DIRTY(xres) && !DIRTY(yres)
xres               88 drivers/video/fbdev/controlfb.c 	return (!DIRTY(bits_per_pixel) && !DIRTY(xres)
xres              270 drivers/video/fbdev/controlfb.c 	if (xoffset+par->xres > par->vxres ||
xres              451 drivers/video/fbdev/controlfb.c 	vyres = (p->total_vram - CTRLFB_OFF) / (var.xres << cmode);
xres              525 drivers/video/fbdev/controlfb.c 			     p->par.xres, p->par.yres,
xres              875 drivers/video/fbdev/controlfb.c 	par->xres = (var->xres + hstep) & ~hstep;
xres              878 drivers/video/fbdev/controlfb.c 	if (par->vxres < par->xres)
xres              879 drivers/video/fbdev/controlfb.c 		par->vxres = par->xres;
xres              893 drivers/video/fbdev/controlfb.c 	if (par->xoffset + par->xres > par->vxres)
xres              894 drivers/video/fbdev/controlfb.c 		par->xoffset = par->vxres - par->xres;
xres              903 drivers/video/fbdev/controlfb.c 	hperiod = ((var->left_margin + par->xres + var->right_margin
xres              939 drivers/video/fbdev/controlfb.c 	if (par->xres >= 1280 && par->cmode >= CMODE_16)
xres              962 drivers/video/fbdev/controlfb.c 	var->xres = par->xres;
xres              210 drivers/video/fbdev/core/bitblit.c 	unsigned int rw = info->var.xres - (vc->vc_cols*cw);
xres              212 drivers/video/fbdev/core/bitblit.c 	unsigned int rs = info->var.xres - rw;
xres             1047 drivers/video/fbdev/core/fbcon.c 			font = get_default_font(info->var.xres,
xres             1059 drivers/video/fbdev/core/fbcon.c 	cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres);
xres             1060 drivers/video/fbdev/core/fbcon.c 	rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres);
xres             1067 drivers/video/fbdev/core/fbcon.c 	DPRINTK("res:    %dx%d-%d\n", info->var.xres,
xres             1126 drivers/video/fbdev/core/fbcon.c 				font = get_default_font(info->var.xres,
xres             1169 drivers/video/fbdev/core/fbcon.c 	new_cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres);
xres             1170 drivers/video/fbdev/core/fbcon.c 	new_rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres);
xres             1468 drivers/video/fbdev/core/fbcon.c 	cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres);
xres             1469 drivers/video/fbdev/core/fbcon.c 	rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres);
xres             2152 drivers/video/fbdev/core/fbcon.c 	int yres = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres);
xres             2203 drivers/video/fbdev/core/fbcon.c 	var.xres = virt_w * virt_fw;
xres             2205 drivers/video/fbdev/core/fbcon.c 	x_diff = info->var.xres - var.xres;
xres             2211 drivers/video/fbdev/core/fbcon.c 		DPRINTK("attempting resize %ix%i\n", var.xres, var.yres);
xres             2218 drivers/video/fbdev/core/fbcon.c 		if (virt_w > var.xres/virt_fw || virt_h > var.yres/virt_fh)
xres             2221 drivers/video/fbdev/core/fbcon.c 		DPRINTK("resize now %ix%i\n", var.xres, var.yres);
xres             2598 drivers/video/fbdev/core/fbcon.c 		cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres);
xres             2599 drivers/video/fbdev/core/fbcon.c 		rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres);
xres             2708 drivers/video/fbdev/core/fbcon.c 		f = get_default_font(info->var.xres, info->var.yres,
xres             2979 drivers/video/fbdev/core/fbcon.c 		cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres);
xres             2980 drivers/video/fbdev/core/fbcon.c 		rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres);
xres             3024 drivers/video/fbdev/core/fbcon.c 		cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres);
xres             3025 drivers/video/fbdev/core/fbcon.c 		rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres);
xres              197 drivers/video/fbdev/core/fbcon_ccw.c 	unsigned int bh = info->var.xres - (vc->vc_rows*ch);
xres              180 drivers/video/fbdev/core/fbcon_cw.c 	unsigned int bh = info->var.xres - (vc->vc_rows*ch);
xres              385 drivers/video/fbdev/core/fbcon_cw.c 	xoffset = vxres - (info->var.xres + ops->var.yoffset);
xres               20 drivers/video/fbdev/core/fbcon_rotate.h         (i)->var.xres : (i)->var.xres_virtual; })
xres              227 drivers/video/fbdev/core/fbcon_ud.c 	unsigned int rw = info->var.xres - (vc->vc_cols*cw);
xres              246 drivers/video/fbdev/core/fbcon_ud.c                 region.width = info->var.xres;
xres              426 drivers/video/fbdev/core/fbcon_ud.c 	xoffset = vxres - info->var.xres - ops->var.xoffset;
xres               36 drivers/video/fbdev/core/fbcvt.c 	u32 xres;
xres              190 drivers/video/fbdev/core/fbcvt.c 	u32 xres = cvt->xres;
xres              194 drivers/video/fbdev/core/fbcvt.c 	if (xres == (yres * 4)/3 && !((yres * 4) % 3))
xres              196 drivers/video/fbdev/core/fbcvt.c 	else if (xres == (yres * 16)/9 && !((yres * 16) % 9))
xres              198 drivers/video/fbdev/core/fbcvt.c 	else if (xres == (yres * 16)/10 && !((yres * 16) % 10))
xres              200 drivers/video/fbdev/core/fbcvt.c 	else if (xres == (yres * 5)/4 && !((yres * 5) % 4))
xres              202 drivers/video/fbdev/core/fbcvt.c 	else if (xres == (yres * 15)/9 && !((yres * 15) % 9))
xres              223 drivers/video/fbdev/core/fbcvt.c 	pixcount = (cvt->xres * (cvt->yres/cvt->interlace))/1000000;
xres              224 drivers/video/fbdev/core/fbcvt.c 	pixcount_mod = (cvt->xres * (cvt->yres/cvt->interlace)) % 1000000;
xres              228 drivers/video/fbdev/core/fbcvt.c 			cvt->xres, cvt->yres, cvt->refresh);
xres              320 drivers/video/fbdev/core/fbcvt.c 	cvt.xres = mode->xres;
xres              326 drivers/video/fbdev/core/fbcvt.c 	if (!cvt.xres || !cvt.yres || !cvt.refresh) {
xres              338 drivers/video/fbdev/core/fbcvt.c 	cvt.xres &= ~(FB_CVT_CELLSIZE - 1);
xres              354 drivers/video/fbdev/core/fbcvt.c 		cvt.h_margin = (cvt.xres * 18)/1000;
xres              360 drivers/video/fbdev/core/fbcvt.c 	cvt.active_pixels = cvt.xres + 2 * cvt.h_margin;
xres              393 drivers/video/fbdev/core/fbmem.c 		image->dx = info->var.xres - image->width - image->dx;
xres              403 drivers/video/fbdev/core/fbmem.c 		image->dx = info->var.xres - image->width - tmp;
xres              423 drivers/video/fbdev/core/fbmem.c 	if (image->width > info->var.xres || image->height > info->var.yres)
xres              428 drivers/video/fbdev/core/fbmem.c 		     x < num && image->dx + image->width <= info->var.xres;
xres              505 drivers/video/fbdev/core/fbmem.c 		int xres = info->var.xres;
xres              509 drivers/video/fbdev/core/fbmem.c 			xres = info->var.yres;
xres              510 drivers/video/fbdev/core/fbmem.c 			yres = info->var.xres;
xres              513 drivers/video/fbdev/core/fbmem.c 		while (n && (n * (logo->width + 8) - 8 > xres))
xres              515 drivers/video/fbdev/core/fbmem.c 		image.dx = (xres - n * (logo->width + 8) - 8) / 2;
xres              649 drivers/video/fbdev/core/fbmem.c 		yres = info->var.xres;
xres              917 drivers/video/fbdev/core/fbmem.c 	    var->xoffset > info->var.xres_virtual - info->var.xres)
xres              381 drivers/video/fbdev/core/fbmon.c static void calc_mode_timings(int xres, int yres, int refresh,
xres              389 drivers/video/fbdev/core/fbmon.c 		var->xres = xres;
xres              393 drivers/video/fbdev/core/fbmon.c 		mode->xres = xres;
xres              512 drivers/video/fbdev/core/fbmon.c 		int xres, yres = 0, refresh, ratio;
xres              514 drivers/video/fbdev/core/fbmon.c 		xres = (block[0] + 31) * 8;
xres              515 drivers/video/fbdev/core/fbmon.c 		if (xres <= 256)
xres              523 drivers/video/fbdev/core/fbmon.c 				yres = xres;
xres              525 drivers/video/fbdev/core/fbmon.c 				yres = (xres * 10)/16;
xres              528 drivers/video/fbdev/core/fbmon.c 			yres = (xres * 3)/4;
xres              531 drivers/video/fbdev/core/fbmon.c 			yres = (xres * 4)/5;
xres              534 drivers/video/fbdev/core/fbmon.c 			yres = (xres * 9)/16;
xres              538 drivers/video/fbdev/core/fbmon.c 		DPRINTK("      %dx%d@%dHz\n", xres, yres, refresh);
xres              540 drivers/video/fbdev/core/fbmon.c 		calc_mode_timings(xres, yres, refresh, mode);
xres              567 drivers/video/fbdev/core/fbmon.c 	mode->xres = H_ACTIVE;
xres              733 drivers/video/fbdev/core/fbmon.c 			htotal = mode->xres + mode->right_margin + mode->hsync_len
xres              911 drivers/video/fbdev/core/fbmon.c 			var->xres = var->xres_virtual = H_ACTIVE;
xres             1071 drivers/video/fbdev/core/fbmon.c static u32 fb_get_hblank_by_hfreq(u32 hfreq, u32 xres)
xres             1080 drivers/video/fbdev/core/fbmon.c 	hblank = (xres * duty_cycle)/(100000 - duty_cycle);
xres             1105 drivers/video/fbdev/core/fbmon.c static u32 fb_get_hblank_by_dclk(u32 dclk, u32 xres)
xres             1112 drivers/video/fbdev/core/fbmon.c 	h_period += (M_VAL * xres * 2 * 1000)/(5 * dclk);
xres             1121 drivers/video/fbdev/core/fbmon.c 	hblank = (xres * duty_cycle)/(100000 - duty_cycle) + 8;
xres             1248 drivers/video/fbdev/core/fbmon.c 	timings->hactive = var->xres;
xres             1316 drivers/video/fbdev/core/fbmon.c 	fbmode->xres = vm->hactive;
xres             1363 drivers/video/fbdev/core/fbmon.c 		 m->xres, m->yres, m->refresh, m->pixclock, m->left_margin,
xres             1463 drivers/video/fbdev/core/fbmon.c 	htotal = var->xres + var->right_margin + var->hsync_len +
xres              122 drivers/video/fbdev/core/fbsysfs.c 	                m, mode->xres, mode->yres, v, mode->refresh);
xres               24 drivers/video/fbdev/core/modedb.c     ((v).xres == (x) && (v).yres == (y))
xres              549 drivers/video/fbdev/core/modedb.c 		mode->xres, mode->yres, bpp, mode->refresh);
xres              550 drivers/video/fbdev/core/modedb.c 	var->xres = mode->xres;
xres              552 drivers/video/fbdev/core/modedb.c 	var->xres_virtual = mode->xres;
xres              644 drivers/video/fbdev/core/modedb.c 		unsigned int xres = 0, yres = 0, bpp = default_bpp, refresh = 0;
xres              714 drivers/video/fbdev/core/modedb.c 			xres = simple_strtol(name, NULL, 10);
xres              722 drivers/video/fbdev/core/modedb.c 			DPRINTK("CVT mode %dx%d@%dHz%s%s%s\n", xres, yres,
xres              729 drivers/video/fbdev/core/modedb.c 			cvt_mode.xres = xres;
xres              750 drivers/video/fbdev/core/modedb.c 			xres, yres);
xres              774 drivers/video/fbdev/core/modedb.c 			     (res_specified && res_matches(db[i], xres, yres))) &&
xres              800 drivers/video/fbdev/core/modedb.c 		diff = 2 * (xres + yres);
xres              804 drivers/video/fbdev/core/modedb.c 			DPRINTK("Trying %ix%i\n", db[i].xres, db[i].yres);
xres              806 drivers/video/fbdev/core/modedb.c 				tdiff = abs(db[i].xres - xres) +
xres              813 drivers/video/fbdev/core/modedb.c 				if (xres > db[i].xres || yres > db[i].yres)
xres              814 drivers/video/fbdev/core/modedb.c 					tdiff += xres + yres;
xres              852 drivers/video/fbdev/core/modedb.c 	mode->xres = var->xres;
xres              871 drivers/video/fbdev/core/modedb.c 	htotal = var->xres + var->right_margin + var->hsync_len +
xres              896 drivers/video/fbdev/core/modedb.c 	var->xres = mode->xres;
xres              898 drivers/video/fbdev/core/modedb.c 	var->xres_virtual = mode->xres;
xres              924 drivers/video/fbdev/core/modedb.c 	return (mode1->xres         == mode2->xres &&
xres              968 drivers/video/fbdev/core/modedb.c 		if (mode->xres >= var->xres && mode->yres >= var->yres) {
xres              969 drivers/video/fbdev/core/modedb.c 			d = (mode->xres - var->xres) +
xres             1006 drivers/video/fbdev/core/modedb.c 		d = abs(cmode->xres - mode->xres) +
xres             1181 drivers/video/fbdev/core/modedb.c 		var.xres = (specs->max_x * 7200)/254;
xres              173 drivers/video/fbdev/core/svgalib.c 	pr_debug("fb%d: var.xres          : %d\n", node, var->xres);
xres              447 drivers/video/fbdev/core/svgalib.c 	var->xres         = (var->xres+7)&~7;
xres              453 drivers/video/fbdev/core/svgalib.c 	value = var->xres + var->left_margin + var->right_margin + var->hsync_len;
xres              458 drivers/video/fbdev/core/svgalib.c 	value = var->xres;
xres              465 drivers/video/fbdev/core/svgalib.c 	value = var->xres + var->right_margin;
xres              517 drivers/video/fbdev/core/svgalib.c 	value = var->xres + var->left_margin + var->right_margin + var->hsync_len;
xres              522 drivers/video/fbdev/core/svgalib.c 	value = var->xres;
xres              527 drivers/video/fbdev/core/svgalib.c 	value = var->xres;
xres              532 drivers/video/fbdev/core/svgalib.c 	value = var->xres + var->left_margin + var->right_margin + var->hsync_len;
xres              537 drivers/video/fbdev/core/svgalib.c 	value = var->xres + var->right_margin;
xres              542 drivers/video/fbdev/core/svgalib.c 	value = var->xres + var->right_margin + var->hsync_len;
xres              572 drivers/video/fbdev/cyber2000fb.c 	Htotal     = var->xres + var->right_margin +
xres              579 drivers/video/fbdev/cyber2000fb.c 	hw->crtc[1] = (var->xres >> 3) - 1;
xres              580 drivers/video/fbdev/cyber2000fb.c 	hw->crtc[2] = var->xres >> 3;
xres              581 drivers/video/fbdev/cyber2000fb.c 	hw->crtc[4] = (var->xres + var->right_margin) >> 3;
xres              588 drivers/video/fbdev/cyber2000fb.c 	Hsyncend    = (var->xres + var->right_margin + var->hsync_len) >> 3;
xres              844 drivers/video/fbdev/cyber2000fb.c 	if (var->xres > var->xres_virtual)
xres              845 drivers/video/fbdev/cyber2000fb.c 		var->xres = var->xres_virtual;
xres             1337 drivers/video/fbdev/cyber2000fb.c 	.xres		= 640,
xres             1587 drivers/video/fbdev/cyber2000fb.c 	h_sync = h_sync * 512 / (cfb->fb.var.xres + cfb->fb.var.left_margin +
xres             1594 drivers/video/fbdev/cyber2000fb.c 		cfb->fb.var.xres, cfb->fb.var.yres,
xres              191 drivers/video/fbdev/da8xx-fb.c 		.xres           = 320,
xres              205 drivers/video/fbdev/da8xx-fb.c 		.xres           = 480,
xres              220 drivers/video/fbdev/da8xx-fb.c 		.xres           = 320,
xres              235 drivers/video/fbdev/da8xx-fb.c 		.xres           = 320,
xres              807 drivers/video/fbdev/da8xx-fb.c 	ret = lcd_cfg_frame_buffer(par, (unsigned int)panel->xres,
xres             1019 drivers/video/fbdev/da8xx-fb.c 	if (var->xres > var->xres_virtual)
xres             1020 drivers/video/fbdev/da8xx-fb.c 		var->xres = var->xres_virtual;
xres             1022 drivers/video/fbdev/da8xx-fb.c 	if (var->xres + var->xoffset > var->xres_virtual)
xres             1023 drivers/video/fbdev/da8xx-fb.c 		var->xoffset = var->xres_virtual - var->xres;
xres             1272 drivers/video/fbdev/da8xx-fb.c 	info->fix.line_length = (par->mode.xres * par->cfg.bpp) / 8;
xres             1421 drivers/video/fbdev/da8xx-fb.c 	par->vram_size = lcdc_info->xres * lcdc_info->yres * lcd_cfg->bpp;
xres             1422 drivers/video/fbdev/da8xx-fb.c 	ulcm = lcm((lcdc_info->xres * lcd_cfg->bpp)/8, PAGE_SIZE);
xres             1440 drivers/video/fbdev/da8xx-fb.c 	da8xx_fb_fix.line_length   = (lcdc_info->xres * lcd_cfg->bpp) / 8;
xres              120 drivers/video/fbdev/dnfb.c 	.xres		= 1280,
xres              403 drivers/video/fbdev/efifb.c 	efifb_defined.xres = screen_info.lfb_width;
xres              500 drivers/video/fbdev/efifb.c 	       efifb_defined.xres, efifb_defined.yres,
xres              504 drivers/video/fbdev/efifb.c 	efifb_defined.xres_virtual = efifb_defined.xres;
xres              511 drivers/video/fbdev/efifb.c 	efifb_defined.pixclock     = 10000000 / efifb_defined.xres *
xres              513 drivers/video/fbdev/efifb.c 	efifb_defined.left_margin  = (efifb_defined.xres / 8) & 0xf8;
xres              514 drivers/video/fbdev/efifb.c 	efifb_defined.hsync_len    = (efifb_defined.xres / 8) & 0xf8;
xres              545 drivers/video/fbdev/efifb.c 	orientation = drm_get_panel_orientation_quirk(efifb_defined.xres,
xres              235 drivers/video/fbdev/ep93xx-fb.c 	hclks_total = info->var.xres + info->var.left_margin +
xres              283 drivers/video/fbdev/ep93xx-fb.c 	ep93xxfb_writel(fbi, ((info->var.xres * info->var.bits_per_pixel)
xres              299 drivers/video/fbdev/ep93xx-fb.c 	var->xres = max_t(unsigned int, var->xres, EP93XXFB_MIN_XRES);
xres              300 drivers/video/fbdev/ep93xx-fb.c 	var->xres = min_t(unsigned int, var->xres, EP93XXFB_MAX_XRES);
xres              301 drivers/video/fbdev/ep93xx-fb.c 	var->xres_virtual = max(var->xres_virtual, var->xres);
xres              558 drivers/video/fbdev/ep93xx-fb.c 		 info->var.xres, info->var.yres, info->var.bits_per_pixel);
xres               70 drivers/video/fbdev/fb-puv3.c 	.xres =		640,
xres              121 drivers/video/fbdev/fb-puv3.c 	int screen_width = info->var.xres;
xres              144 drivers/video/fbdev/fb-puv3.c 	int right = info->var.xres - 1;
xres              209 drivers/video/fbdev/fb-puv3.c 	int screen_width = info->var.xres;
xres              234 drivers/video/fbdev/fb-puv3.c 	int right = info->var.xres;
xres              359 drivers/video/fbdev/fb-puv3.c 	if (!var->xres)
xres              360 drivers/video/fbdev/fb-puv3.c 		var->xres = 1;
xres              363 drivers/video/fbdev/fb-puv3.c 	if (var->xres > var->xres_virtual)
xres              364 drivers/video/fbdev/fb-puv3.c 		var->xres_virtual = var->xres;
xres              380 drivers/video/fbdev/fb-puv3.c 	if (var->xres_virtual < var->xoffset + var->xres)
xres              381 drivers/video/fbdev/fb-puv3.c 		var->xres_virtual = var->xoffset + var->xres;
xres              476 drivers/video/fbdev/fb-puv3.c 		if    (info->var.xres         == unifb_modes[i].xres
xres              507 drivers/video/fbdev/fb-puv3.c 	hSyncStart = info->var.xres + info->var.right_margin;
xres              534 drivers/video/fbdev/fb-puv3.c 	writel(get_line_length(info->var.xres,
xres              537 drivers/video/fbdev/fb-puv3.c 	writel((hTotal << 16) | (info->var.xres), UDE_HAT);
xres              538 drivers/video/fbdev/fb-puv3.c 	writel(((hTotal - 1) << 16) | (info->var.xres - 1), UDE_HBT);
xres              626 drivers/video/fbdev/fb-puv3.c 		if (var->xoffset + info->var.xres > info->var.xres_virtual ||
xres              943 drivers/video/fbdev/ffb.c 	par->fbsize = PAGE_ALIGN(info->var.xres * info->var.yres * 4);
xres               58 drivers/video/fbdev/fsl-diu-fb.c 		.xres		= 1024,
xres               72 drivers/video/fbdev/fsl-diu-fb.c 		.xres		= 320,
xres               86 drivers/video/fbdev/fsl-diu-fb.c 		.xres           = 640,
xres              100 drivers/video/fbdev/fsl-diu-fb.c 		.xres           = 640,
xres              114 drivers/video/fbdev/fsl-diu-fb.c 		.xres           = 640,
xres              128 drivers/video/fbdev/fsl-diu-fb.c 		.xres           = 640,
xres              142 drivers/video/fbdev/fsl-diu-fb.c 		.xres           = 640,
xres              156 drivers/video/fbdev/fsl-diu-fb.c 		.xres		= 800,
xres              170 drivers/video/fbdev/fsl-diu-fb.c 		.xres           = 800,
xres              184 drivers/video/fbdev/fsl-diu-fb.c 		.xres		= 854,
xres              198 drivers/video/fbdev/fsl-diu-fb.c 		.xres		= 1024,
xres              212 drivers/video/fbdev/fsl-diu-fb.c 		.xres		= 1024,
xres              226 drivers/video/fbdev/fsl-diu-fb.c 		.xres		= 1280,
xres              240 drivers/video/fbdev/fsl-diu-fb.c 		.xres		= 1280,
xres              254 drivers/video/fbdev/fsl-diu-fb.c 		.xres		= 1280,
xres              268 drivers/video/fbdev/fsl-diu-fb.c 		.xres		= 1280,
xres              282 drivers/video/fbdev/fsl-diu-fb.c 		.xres		= 1280,
xres              296 drivers/video/fbdev/fsl-diu-fb.c 		.xres		= 1920,
xres              634 drivers/video/fbdev/fsl-diu-fb.c 	base_plane_width = data->fsl_diu_info[0].var.xres;
xres              652 drivers/video/fbdev/fsl-diu-fb.c 		if (var->xres > base_plane_width)
xres              653 drivers/video/fbdev/fsl-diu-fb.c 			var->xres = base_plane_width;
xres              654 drivers/video/fbdev/fsl-diu-fb.c 		if ((mfbi->x_aoi_d + var->xres) > base_plane_width)
xres              655 drivers/video/fbdev/fsl-diu-fb.c 			mfbi->x_aoi_d = base_plane_width - var->xres;
xres              672 drivers/video/fbdev/fsl-diu-fb.c 		if (var->xres > base_plane_width)
xres              673 drivers/video/fbdev/fsl-diu-fb.c 			var->xres = base_plane_width;
xres              674 drivers/video/fbdev/fsl-diu-fb.c 		if ((mfbi->x_aoi_d + var->xres) > base_plane_width)
xres              675 drivers/video/fbdev/fsl-diu-fb.c 			mfbi->x_aoi_d = base_plane_width - var->xres;
xres              702 drivers/video/fbdev/fsl-diu-fb.c 	if (var->xres_virtual < var->xres)
xres              703 drivers/video/fbdev/fsl-diu-fb.c 		var->xres_virtual = var->xres;
xres              707 drivers/video/fbdev/fsl-diu-fb.c 	if (var->xoffset + info->var.xres > info->var.xres_virtual)
xres              708 drivers/video/fbdev/fsl-diu-fb.c 		var->xoffset = info->var.xres_virtual - info->var.xres;
xres              832 drivers/video/fbdev/fsl-diu-fb.c 	out_be32(&hw->disp_size, (var->yres << 16) | var->xres);
xres             1163 drivers/video/fbdev/fsl-diu-fb.c 	ad->aoi_size 	= cpu_to_le32((var->yres << 16) | var->xres);
xres             1249 drivers/video/fbdev/fsl-diu-fb.c 	if (var->xoffset + info->var.xres > info->var.xres_virtual
xres              156 drivers/video/fbdev/g364fb.c 	*(unsigned int *) TOP_REG = var->yoffset * info->var.xres;
xres              210 drivers/video/fbdev/g364fb.c 	fb_var.xres =
xres              233 drivers/video/fbdev/g364fb.c 	fb_var.xres_virtual = fbvar.xres;
xres              234 drivers/video/fbdev/g364fb.c 	fb_fix.line_length = (xres / 8) * fb_var.bits_per_pixel;
xres              239 drivers/video/fbdev/g364fb.c 	fb_var.yres_virtual = fb_fix.smem_len / fb_var.xres;
xres               88 drivers/video/fbdev/gbefb.c 	.xres		= 640,
xres              119 drivers/video/fbdev/gbefb.c 	.xres		= 1600,
xres              151 drivers/video/fbdev/gbefb.c 	.xres		= 640,
xres              166 drivers/video/fbdev/gbefb.c 	.xres		= 1600,
xres              506 drivers/video/fbdev/gbefb.c 		timing->width = var->xres;
xres              513 drivers/video/fbdev/gbefb.c 		timing->htotal = var->left_margin + var->xres +
xres              519 drivers/video/fbdev/gbefb.c 		timing->hblank_start = var->xres;
xres              522 drivers/video/fbdev/gbefb.c 		timing->hsync_start = var->xres + var->right_margin + 1;
xres              919 drivers/video/fbdev/gbefb.c 	if ((var->xres * var->yres * var->bits_per_pixel) & 4095)
xres              930 drivers/video/fbdev/gbefb.c 	if (var->xres > var->xres_virtual || (!ywrap && !ypan))
xres              931 drivers/video/fbdev/gbefb.c 		var->xres_virtual = var->xres;
xres               51 drivers/video/fbdev/geode/display_gx.c int gx_line_delta(int xres, int bpp)
xres               54 drivers/video/fbdev/geode/display_gx.c 	return (xres * (bpp >> 3) + 7) & ~0x7;
xres              104 drivers/video/fbdev/geode/display_gx.c 		((info->var.xres * info->var.bits_per_pixel/8) >> 3) + 2);
xres              129 drivers/video/fbdev/geode/display_gx.c 	hactive = info->var.xres;
xres              135 drivers/video/fbdev/geode/display_gx1.c 	writel(((info->var.xres * info->var.bits_per_pixel/8) >> 3) + 2,
xres              147 drivers/video/fbdev/geode/display_gx1.c 	hactive = info->var.xres;
xres               83 drivers/video/fbdev/geode/gx1fb_core.c static int gx1_line_delta(int xres, int bpp)
xres               85 drivers/video/fbdev/geode/gx1fb_core.c 	int line_delta = xres * (bpp >> 3);
xres              101 drivers/video/fbdev/geode/gx1fb_core.c 	if (var->xres > 1280 || var->yres > 1024)
xres              104 drivers/video/fbdev/geode/gx1fb_core.c 	if (par->panel_x && (var->xres > par->panel_x || var->yres > par->panel_y))
xres              122 drivers/video/fbdev/geode/gx1fb_core.c 	if (gx1_line_delta(var->xres, var->bits_per_pixel) * var->yres > info->fix.smem_len)
xres              139 drivers/video/fbdev/geode/gx1fb_core.c 	info->fix.line_length = gx1_line_delta(info->var.xres, info->var.bits_per_pixel);
xres               43 drivers/video/fbdev/geode/gxfb.h int gx_line_delta(int xres, int bpp);
xres              127 drivers/video/fbdev/geode/gxfb_core.c 	if (var->xres > 1600 || var->yres > 1200)
xres              129 drivers/video/fbdev/geode/gxfb_core.c 	if ((var->xres > 1280 || var->yres > 1024) && var->bits_per_pixel > 16)
xres              149 drivers/video/fbdev/geode/gxfb_core.c 	if (gx_line_delta(var->xres, var->bits_per_pixel) * var->yres > info->fix.smem_len)
xres              164 drivers/video/fbdev/geode/gxfb_core.c 	info->fix.line_length = gx_line_delta(info->var.xres, info->var.bits_per_pixel);
xres               56 drivers/video/fbdev/geode/lxfb.h static inline unsigned int lx_get_pitch(unsigned int xres, int bpp)
xres               58 drivers/video/fbdev/geode/lxfb.h 	return (((xres * (bpp >> 3)) + 7) & ~7);
xres              237 drivers/video/fbdev/geode/lxfb_core.c 	if (var->xres > 1920 || var->yres > 1440)
xres              258 drivers/video/fbdev/geode/lxfb_core.c 	if ((lx_get_pitch(var->xres, var->bits_per_pixel) * var->yres)
xres              272 drivers/video/fbdev/geode/lxfb_core.c 	info->fix.line_length = lx_get_pitch(info->var.xres,
xres              415 drivers/video/fbdev/geode/lxfb_ops.c 	size = info->var.xres * (info->var.bits_per_pixel >> 3);
xres              464 drivers/video/fbdev/geode/lxfb_ops.c 	hactive = info->var.xres;
xres              491 drivers/video/fbdev/geode/lxfb_ops.c 			(info->var.xres - 1) << 16 | (info->var.yres - 1));
xres               92 drivers/video/fbdev/goldfishfb.c 		if ((var->xres != info->var.yres) ||
xres               93 drivers/video/fbdev/goldfishfb.c 				(var->yres != info->var.xres) ||
xres               95 drivers/video/fbdev/goldfishfb.c 				(var->yres_virtual > info->var.xres * 2) ||
xres               96 drivers/video/fbdev/goldfishfb.c 				(var->yres_virtual < info->var.xres)) {
xres              100 drivers/video/fbdev/goldfishfb.c 		if ((var->xres != info->var.xres) ||
xres              102 drivers/video/fbdev/goldfishfb.c 		   (var->xres_virtual != info->var.xres) ||
xres              121 drivers/video/fbdev/goldfishfb.c 		info->fix.line_length = info->var.xres * 2;
xres              138 drivers/video/fbdev/goldfishfb.c 	writel(fb->fb.fix.smem_start + fb->fb.var.xres * 2 * var->yoffset,
xres              223 drivers/video/fbdev/goldfishfb.c 	fb->fb.var.xres		= width;
xres               84 drivers/video/fbdev/grvga.c 	if (!var->xres)
xres               85 drivers/video/fbdev/grvga.c 		var->xres = 1;
xres               99 drivers/video/fbdev/grvga.c 	var->xres_virtual = var->xres;
xres              150 drivers/video/fbdev/grvga.c 	__raw_writel(((info->var.yres - 1) << 16) | (info->var.xres - 1),
xres              160 drivers/video/fbdev/grvga.c 		     (info->var.xres + info->var.right_margin + info->var.left_margin + info->var.hsync_len - 1),
xres              283 drivers/video/fbdev/grvga.c 			screendata->xres = screendata->xres_virtual = simple_strtoul(this_opt, NULL, 0);
xres              476 drivers/video/fbdev/grvga.c 		 info->node, info->var.xres, info->var.yres, info->var.bits_per_pixel,
xres              165 drivers/video/fbdev/gxt4500.c 	.xres = 1280,
xres              286 drivers/video/fbdev/gxt4500.c 	if (var->xres + var->xoffset > var->xres_virtual ||
xres              429 drivers/video/fbdev/gxt4500.c 	htot = var->xres + var->left_margin + var->right_margin +
xres              432 drivers/video/fbdev/gxt4500.c 	writereg(par, DTG_HORIZ_DISPLAY, var->xres - 1);
xres              433 drivers/video/fbdev/gxt4500.c 	writereg(par, DTG_HSYNC_START, var->xres + var->right_margin - 1);
xres              435 drivers/video/fbdev/gxt4500.c 		 var->xres + var->right_margin + var->hsync_len - 1);
xres              437 drivers/video/fbdev/gxt4500.c 		 var->xres + var->right_margin + var->hsync_len - 1);
xres              473 drivers/video/fbdev/gxt4500.c 	writereg(par, REFRESH_SIZE, (var->xres << 16) | var->yres);
xres              555 drivers/video/fbdev/gxt4500.c 	if (var->xoffset + info->var.xres > info->var.xres_virtual ||
xres               62 drivers/video/fbdev/hecubafb.c 	.xres		= DPY_W,
xres              110 drivers/video/fbdev/hgafb.c 	.xres		= 720,
xres              426 drivers/video/fbdev/hgafb.c 		if (var->xoffset + info->var.xres > info->var.xres_virtual
xres              242 drivers/video/fbdev/hitfb.c 	var->xres = info->var.xres;
xres              243 drivers/video/fbdev/hitfb.c 	var->xres_virtual = info->var.xres;
xres              252 drivers/video/fbdev/hitfb.c 	maxy = info->fix.smem_len / var->xres;
xres              295 drivers/video/fbdev/hitfb.c 		info->fix.line_length = info->var.xres;
xres              300 drivers/video/fbdev/hitfb.c 		info->fix.line_length = info->var.xres*2;
xres              349 drivers/video/fbdev/hitfb.c 		hitfb_var.xres = lcdclor;
xres              353 drivers/video/fbdev/hitfb.c 		hitfb_var.xres = lcdclor / 2;
xres              360 drivers/video/fbdev/hitfb.c 	hitfb_var.xres_virtual = hitfb_var.xres;
xres              247 drivers/video/fbdev/hpfb.c 	hpfb_defined.xres = (in_8(fb_regs + HPFB_DWMSB) << 8) | in_8(fb_regs + HPFB_DWLSB);
xres              249 drivers/video/fbdev/hpfb.c 	hpfb_defined.xres_virtual = hpfb_defined.xres;
xres              256 drivers/video/fbdev/hpfb.c 	       hpfb_defined.xres, hpfb_defined.yres, hpfb_defined.bits_per_pixel, fb_info.fix.line_length);
xres              271 drivers/video/fbdev/hyperv_fb.c 	msg.situ.video_output[0].width_pixels = info->var.xres;
xres              329 drivers/video/fbdev/hyperv_fb.c 	msg.dirt.rect[0].x2 = info->var.xres;
xres              551 drivers/video/fbdev/hyperv_fb.c 	if (var->xres < HVFB_WIDTH_MIN || var->yres < HVFB_HEIGHT_MIN ||
xres              552 drivers/video/fbdev/hyperv_fb.c 	    var->xres > screen_width || var->yres >  screen_height ||
xres              556 drivers/video/fbdev/hyperv_fb.c 	var->xres_virtual = var->xres;
xres              796 drivers/video/fbdev/hyperv_fb.c 	info->var.xres_virtual = info->var.xres = screen_width;
xres              400 drivers/video/fbdev/i740fb.c 	u32 xres, right, hslen, left, xtotal;
xres              408 drivers/video/fbdev/i740fb.c 		  var->xres, var->yres, var->xres_virtual, var->xres_virtual);
xres              462 drivers/video/fbdev/i740fb.c 	xres = ALIGN(var->xres, 8);
xres              464 drivers/video/fbdev/i740fb.c 	if (vxres < xres)
xres              465 drivers/video/fbdev/i740fb.c 		vxres = xres;
xres              468 drivers/video/fbdev/i740fb.c 	if (xres + xoffset > vxres)
xres              469 drivers/video/fbdev/i740fb.c 		xoffset = vxres - xres;
xres              498 drivers/video/fbdev/i740fb.c 	xtotal = xres + right + hslen + left;
xres              502 drivers/video/fbdev/i740fb.c 	par->crtc[VGA_CRTC_H_DISP] = (xres >> 3) - 1;
xres              503 drivers/video/fbdev/i740fb.c 	par->crtc[VGA_CRTC_H_BLANK_START] = ((xres + right) >> 3) - 1;
xres              504 drivers/video/fbdev/i740fb.c 	par->crtc[VGA_CRTC_H_SYNC_START] = (xres + right) >> 3;
xres              505 drivers/video/fbdev/i740fb.c 	par->crtc[VGA_CRTC_H_SYNC_END] = (((xres + right + hslen) >> 3) & 0x1F)
xres              506 drivers/video/fbdev/i740fb.c 		| ((((xres + right + hslen) >> 3) & 0x20) << 2);
xres              507 drivers/video/fbdev/i740fb.c 	par->crtc[VGA_CRTC_H_BLANK_END] = ((xres + right + hslen) >> 3 & 0x1F)
xres              638 drivers/video/fbdev/i740fb.c 	par->ext_horiz_blank = (((xres + right) >> 3) & 0x40) >> 6;
xres              702 drivers/video/fbdev/i740fb.c 	if (var->xres > var->xres_virtual)
xres              703 drivers/video/fbdev/i740fb.c 		var->xres_virtual = var->xres;
xres              194 drivers/video/fbdev/i810/i810_dvt.c void round_off_xres(u32 *xres) 
xres              196 drivers/video/fbdev/i810/i810_dvt.c 	if (*xres <= 640)
xres              197 drivers/video/fbdev/i810/i810_dvt.c 		*xres = 640;
xres              198 drivers/video/fbdev/i810/i810_dvt.c 	else if (*xres <= 800)
xres              199 drivers/video/fbdev/i810/i810_dvt.c 		*xres = 800;
xres              200 drivers/video/fbdev/i810/i810_dvt.c 	else if (*xres <= 1024)
xres              201 drivers/video/fbdev/i810/i810_dvt.c 		*xres = 1024;
xres              202 drivers/video/fbdev/i810/i810_dvt.c 	else if (*xres <= 1152)
xres              203 drivers/video/fbdev/i810/i810_dvt.c 		*xres = 1152;
xres              204 drivers/video/fbdev/i810/i810_dvt.c 	else if (*xres <= 1280)
xres              205 drivers/video/fbdev/i810/i810_dvt.c 		*xres = 1280;
xres              207 drivers/video/fbdev/i810/i810_dvt.c 		*xres = 1600;
xres              210 drivers/video/fbdev/i810/i810_dvt.c inline void round_off_yres(u32 *xres, u32 *yres)
xres              212 drivers/video/fbdev/i810/i810_dvt.c 	*yres = (*xres * 3) >> 2;
xres              215 drivers/video/fbdev/i810/i810_dvt.c static int i810fb_find_best_mode(u32 xres, u32 yres, u32 pixclock)
xres              218 drivers/video/fbdev/i810/i810_dvt.c 	u8 hfl = (u8) ((xres >> 3) - 1);
xres              234 drivers/video/fbdev/i810/i810_dvt.c 			     struct i810fb_par *par, u32 xres, u32 yres)
xres              236 drivers/video/fbdev/i810/i810_dvt.c 	u32 i_best = i810fb_find_best_mode(xres, yres, par->regs.pixclock);
xres              241 drivers/video/fbdev/i810/i810_dvt.c 	par->ovract = ((xres + var->right_margin + var->hsync_len + 
xres              242 drivers/video/fbdev/i810/i810_dvt.c 			var->left_margin - 32) | ((xres - 32) << 16));
xres              247 drivers/video/fbdev/i810/i810_dvt.c 	u32 total, xres, yres;
xres              250 drivers/video/fbdev/i810/i810_dvt.c 	xres = var->xres;
xres              254 drivers/video/fbdev/i810/i810_dvt.c 	mode = i810fb_find_best_mode(xres, yres, pixclock);
xres              260 drivers/video/fbdev/i810/i810_dvt.c 	var->right_margin = (std_modes[mode].cr04 << 3) - xres;
xres              263 drivers/video/fbdev/i810/i810_dvt.c 	var->left_margin = (total - (xres + var->right_margin + 
xres              112 drivers/video/fbdev/i810/i810_gtf.c void round_off_xres(u32 *xres) { }
xres              113 drivers/video/fbdev/i810/i810_gtf.c void round_off_yres(u32 *xres, u32 *yres) { }
xres              125 drivers/video/fbdev/i810/i810_gtf.c 			     struct i810fb_par *par, u32 xres, u32 yres)
xres              133 drivers/video/fbdev/i810/i810_gtf.c 	n = ((xres + var->right_margin + var->hsync_len + 
xres              139 drivers/video/fbdev/i810/i810_gtf.c 	par->regs.cr01 = (u8) ((xres >> 3) - 1);
xres              142 drivers/video/fbdev/i810/i810_gtf.c 	blank_e = (xres + var->right_margin + var->hsync_len + 
xres              146 drivers/video/fbdev/i810/i810_gtf.c 	if (blank_s < (xres >> 3))
xres              147 drivers/video/fbdev/i810/i810_gtf.c 		blank_s = xres >> 3;
xres              154 drivers/video/fbdev/i810/i810_gtf.c 	par->regs.cr04 = (u8) ((xres + var->right_margin) >> 3);
xres              155 drivers/video/fbdev/i810/i810_gtf.c 	par->regs.cr05 |= (u8) (((xres + var->right_margin + 
xres              206 drivers/video/fbdev/i810/i810_gtf.c 	par->ovract = ((var->xres + var->right_margin + var->hsync_len + 
xres              207 drivers/video/fbdev/i810/i810_gtf.c 			var->left_margin - 32) | ((var->xres - 32) << 16));
xres              145 drivers/video/fbdev/i810/i810_main.c static int xres;
xres              873 drivers/video/fbdev/i810/i810_main.c 	u32 xres, yres, vxres, vyres;
xres              879 drivers/video/fbdev/i810/i810_main.c 	xres = var->xres;
xres              892 drivers/video/fbdev/i810/i810_main.c 	round_off_xres(&xres);
xres              893 drivers/video/fbdev/i810/i810_main.c 	if (xres < 40)
xres              894 drivers/video/fbdev/i810/i810_main.c 		xres = 40;
xres              895 drivers/video/fbdev/i810/i810_main.c 	if (xres > 2048) 
xres              896 drivers/video/fbdev/i810/i810_main.c 		xres = 2048;
xres              897 drivers/video/fbdev/i810/i810_main.c 	xres = (xres + 7) & ~7;
xres              899 drivers/video/fbdev/i810/i810_main.c 	if (vxres < xres) 
xres              900 drivers/video/fbdev/i810/i810_main.c 		vxres = xres;
xres              902 drivers/video/fbdev/i810/i810_main.c 	round_off_yres(&xres, &yres);
xres              925 drivers/video/fbdev/i810/i810_main.c 	var->xres = xres;
xres             1013 drivers/video/fbdev/i810/i810_main.c 			if (vxres < var->xres) {
xres             1139 drivers/video/fbdev/i810/i810_main.c 	u32 xres, yres, vxres, vyres;
xres             1141 drivers/video/fbdev/i810/i810_main.c 	xres = var->xres;
xres             1180 drivers/video/fbdev/i810/i810_main.c 	i810fb_encode_registers(var, par, xres, yres);
xres             1786 drivers/video/fbdev/i810/i810_main.c 	if (xres)
xres             1787 drivers/video/fbdev/i810/i810_main.c 		info->var.xres = xres;
xres             1789 drivers/video/fbdev/i810/i810_main.c 		info->var.xres = 640;
xres             1797 drivers/video/fbdev/i810/i810_main.c 		vyres = (vram << 20)/(info->var.xres*bpp >> 3);
xres             1933 drivers/video/fbdev/i810/i810_main.c 		if (xres && yres) {
xres             1981 drivers/video/fbdev/i810/i810_main.c 			xres = simple_strtoul(this_opt+5, NULL, 0);
xres             2075 drivers/video/fbdev/i810/i810_main.c 	hfreq = pixclock/(info->var.xres + info->var.left_margin + 
xres             2089 drivers/video/fbdev/i810/i810_main.c 	       info->monspecs.vfmax, info->var.xres, 
xres             2172 drivers/video/fbdev/i810/i810_main.c module_param(xres, int, 0);
xres             2173 drivers/video/fbdev/i810/i810_main.c MODULE_PARM_DESC(xres, "Horizontal resolution in pixels (default = 640)");
xres               18 drivers/video/fbdev/i810/i810_main.h extern void round_off_xres         (u32 *xres);
xres               19 drivers/video/fbdev/i810/i810_main.h extern void round_off_yres         (u32 *xres, u32 *yres);
xres               23 drivers/video/fbdev/i810/i810_main.h 				    struct i810fb_par *par, u32 xres, u32 yres);
xres              467 drivers/video/fbdev/imsttfb.c compute_imstt_regvals_ibm(struct imstt_par *par, int xres, int yres)
xres              472 drivers/video/fbdev/imsttfb.c 	switch (xres) {
xres              505 drivers/video/fbdev/imsttfb.c 	init->hsb = init->heb + (xres >> 3);
xres              513 drivers/video/fbdev/imsttfb.c 	init->pitch = xres;
xres              518 drivers/video/fbdev/imsttfb.c compute_imstt_regvals_tvp(struct imstt_par *par, int xres, int yres)
xres              522 drivers/video/fbdev/imsttfb.c 	switch (xres) {
xres              552 drivers/video/fbdev/imsttfb.c compute_imstt_regvals (struct imstt_par *par, u_int xres, u_int yres)
xres              555 drivers/video/fbdev/imsttfb.c 		return compute_imstt_regvals_ibm(par, xres, yres);
xres              557 drivers/video/fbdev/imsttfb.c 		return compute_imstt_regvals_tvp(par, xres, yres);
xres              784 drivers/video/fbdev/imsttfb.c 	    || var->xres_virtual < var->xres || var->yres_virtual < var->yres
xres              789 drivers/video/fbdev/imsttfb.c 	if ((var->xres * var->yres) * (var->bits_per_pixel >> 3) > info->fix.smem_len
xres              863 drivers/video/fbdev/imsttfb.c 	if (!compute_imstt_regvals(par, info->var.xres, info->var.yres))
xres              923 drivers/video/fbdev/imsttfb.c 	if (var->xoffset + info->var.xres > info->var.xres_virtual
xres             1406 drivers/video/fbdev/imsttfb.c 			info->var.xres = info->var.xres_virtual = INIT_XRES;
xres             1413 drivers/video/fbdev/imsttfb.c 		info->var.xres = info->var.xres_virtual = INIT_XRES;
xres             1418 drivers/video/fbdev/imsttfb.c 	if ((info->var.xres * info->var.yres) * (info->var.bits_per_pixel >> 3) > info->fix.smem_len
xres             1419 drivers/video/fbdev/imsttfb.c 	    || !(compute_imstt_regvals(par, info->var.xres, info->var.yres))) {
xres             1420 drivers/video/fbdev/imsttfb.c 		printk("imsttfb: %ux%ux%u not supported\n", info->var.xres, info->var.yres, info->var.bits_per_pixel);
xres             1431 drivers/video/fbdev/imsttfb.c 	info->fix.line_length = info->var.xres * (info->var.bits_per_pixel >> 3);
xres              360 drivers/video/fbdev/imxfb.c 	if (var->xres < MIN_XRES)
xres              361 drivers/video/fbdev/imxfb.c 		var->xres = MIN_XRES;
xres              369 drivers/video/fbdev/imxfb.c 	var->xres		= imxfb_mode->mode.xres;
xres              380 drivers/video/fbdev/imxfb.c 	var->xres_virtual	= max(var->xres_virtual, var->xres);
xres              591 drivers/video/fbdev/imxfb.c 		var->xres, var->hsync_len,
xres              598 drivers/video/fbdev/imxfb.c 	if (var->xres < 16        || var->xres > 1024)
xres              600 drivers/video/fbdev/imxfb.c 			info->fix.id, var->xres);
xres              625 drivers/video/fbdev/imxfb.c 	writel(VPW_VPW(var->xres * var->bits_per_pixel / 8 / 4),
xres              638 drivers/video/fbdev/imxfb.c 	writel(SIZE_XMAX(var->xres) | (var->yres & ymax_mask),
xres              927 drivers/video/fbdev/imxfb.c 				m->mode.xres * m->mode.yres * bytes_per_pixel);
xres              323 drivers/video/fbdev/intelfb/intelfb.h 	int xres, yres, pitch;
xres              927 drivers/video/fbdev/intelfb/intelfbdrv.c 	int xtot = var->xres + var->left_margin + var->right_margin +
xres              953 drivers/video/fbdev/intelfb/intelfbdrv.c 	var->xres = screen_info.lfb_width;
xres              970 drivers/video/fbdev/intelfb/intelfbdrv.c 		var->xres, var->yres, var->bits_per_pixel,
xres              974 drivers/video/fbdev/intelfb/intelfbdrv.c 	var->left_margin = (var->xres / 8) & 0xf8;
xres              978 drivers/video/fbdev/intelfb/intelfbdrv.c 	var->hsync_len = (var->xres / 8) & 0xf8;
xres              981 drivers/video/fbdev/intelfb/intelfbdrv.c 	xtot = var->xres + var->left_margin +
xres             1063 drivers/video/fbdev/intelfb/intelfbdrv.c 	INF_MSG("Initial video mode is %dx%d-%d@%d.\n", var->xres, var->yres,
xres             1070 drivers/video/fbdev/intelfb/intelfbdrv.c 	var->xres_virtual = var->xres;
xres             1072 drivers/video/fbdev/intelfb/intelfbdrv.c 		dinfo->fb.size / 2 / (var->bits_per_pixel * var->xres);
xres             1130 drivers/video/fbdev/intelfb/intelfbdrv.c 	dinfo->xres = var->xres;
xres             1131 drivers/video/fbdev/intelfb/intelfbdrv.c 	dinfo->yres = var->xres;
xres             1242 drivers/video/fbdev/intelfb/intelfbdrv.c 	change_var = ((info->var.xres != var->xres) ||
xres             1303 drivers/video/fbdev/intelfb/intelfbdrv.c 	if (v.xoffset > v.xres_virtual - v.xres)
xres             1304 drivers/video/fbdev/intelfb/intelfbdrv.c 		v.xoffset = v.xres_virtual - v.xres;
xres             1330 drivers/video/fbdev/intelfb/intelfbdrv.c 	DBG_MSG("intelfb_set_par (%dx%d-%d)\n", info->var.xres,
xres              337 drivers/video/fbdev/intelfb/intelfbhw.c 	if (var->xres - 1 > HACTIVE_MASK) {
xres              339 drivers/video/fbdev/intelfb/intelfbhw.c 			var->xres, HACTIVE_MASK + 1);
xres              347 drivers/video/fbdev/intelfb/intelfbhw.c 	if (var->xres < 4) {
xres              348 drivers/video/fbdev/intelfb/intelfbhw.c 		WRN_MSG("X resolution too small (%d vs 4).\n", var->xres);
xres              395 drivers/video/fbdev/intelfb/intelfbhw.c 	if ((xoffset + info->var.xres > info->var.xres_virtual) ||
xres             1173 drivers/video/fbdev/intelfb/intelfbhw.c 	hactive = var->xres;
xres               49 drivers/video/fbdev/kyro/fbdev.c 	.xres		= 640,
xres              313 drivers/video/fbdev/kyro/fbdev.c 			     info->var.xres, info->var.yres,
xres              325 drivers/video/fbdev/kyro/fbdev.c 	deviceInfo.ulNextFreeVidMem = info->var.xres * info->var.yres *
xres              476 drivers/video/fbdev/kyro/fbdev.c 	par->XRES = info->var.xres;
xres              484 drivers/video/fbdev/kyro/fbdev.c 	lineclock = (info->var.pixclock * (info->var.xres +
xres              732 drivers/video/fbdev/kyro/fbdev.c 		info->var.xres, info->var.yres, info->var.bits_per_pixel,
xres              219 drivers/video/fbdev/leo.c 	par->extent = ((info->var.xres - 1) |
xres              230 drivers/video/fbdev/leo.c 	sbus_writel((info->var.xres-1) | ((info->var.yres-1) << 11),
xres              574 drivers/video/fbdev/leo.c 					  info->var.xres);
xres              558 drivers/video/fbdev/macfb.c 	macfb_defined.xres = mac_bi_data.dimensions & 0xFFFF;
xres              582 drivers/video/fbdev/macfb.c 	        macfb_defined.xres, macfb_defined.yres,
xres              586 drivers/video/fbdev/macfb.c 	macfb_defined.xres_virtual = macfb_defined.xres;
xres              589 drivers/video/fbdev/macfb.c 	macfb_defined.width        = PIXEL_TO_MM(macfb_defined.xres);
xres              592 drivers/video/fbdev/macfb.c 	macfb_defined.pixclock     = 10000000 / macfb_defined.xres *
xres              594 drivers/video/fbdev/macfb.c 	macfb_defined.left_margin  = (macfb_defined.xres / 8) & 0xf8;
xres              595 drivers/video/fbdev/macfb.c 	macfb_defined.hsync_len    = (macfb_defined.xres / 8) & 0xf8;
xres              271 drivers/video/fbdev/macmodes.c     var->xres = mode->xres;
xres              273 drivers/video/fbdev/macmodes.c     var->xres_virtual = mode->xres;
xres              324 drivers/video/fbdev/macmodes.c 	if (var->xres > mode->xres || var->yres > mode->yres)
xres              326 drivers/video/fbdev/macmodes.c 	if (var->xres_virtual > mode->xres || var->yres_virtual > mode->yres)
xres              342 drivers/video/fbdev/macmodes.c 	    if (mode->xres != clk_mode->xres || mode->yres != clk_mode->yres)
xres              448 drivers/video/fbdev/matrox/matroxfb_base.c 					  int xres, int bpp)
xres              456 drivers/video/fbdev/matrox/matroxfb_base.c 		case 0:		return xres;
xres              474 drivers/video/fbdev/matrox/matroxfb_base.c 	over = xres % rounding;
xres              476 drivers/video/fbdev/matrox/matroxfb_base.c 		xres += rounding-over;
xres              477 drivers/video/fbdev/matrox/matroxfb_base.c 	return xres;
xres              480 drivers/video/fbdev/matrox/matroxfb_base.c static int matroxfb_pitch_adjust(const struct matrox_fb_info *minfo, int xres,
xres              488 drivers/video/fbdev/matrox/matroxfb_base.c 	if (!bpp) return xres;
xres              494 drivers/video/fbdev/matrox/matroxfb_base.c 			if ((*width >= xres) && (matroxfb_test_and_set_rounding(minfo, *width, bpp) == *width)) {
xres              501 drivers/video/fbdev/matrox/matroxfb_base.c 		xres_new = matroxfb_test_and_set_rounding(minfo, xres, bpp);
xres              570 drivers/video/fbdev/matrox/matroxfb_base.c 	if (var->xres_virtual < var->xres)
xres              571 drivers/video/fbdev/matrox/matroxfb_base.c 		var->xres_virtual = var->xres;
xres              609 drivers/video/fbdev/matrox/matroxfb_base.c 	if (var->xres_virtual < var->xres)
xres              610 drivers/video/fbdev/matrox/matroxfb_base.c 		var->xres = var->xres_virtual;
xres              611 drivers/video/fbdev/matrox/matroxfb_base.c 	if (var->xoffset + var->xres > var->xres_virtual)
xres              612 drivers/video/fbdev/matrox/matroxfb_base.c 		var->xoffset = var->xres_virtual - var->xres;
xres              638 drivers/video/fbdev/matrox/matroxfb_base.c 	dprintk(KERN_INFO "requested %d*%d/%dbpp (%d*%d)\n", var->xres, var->yres, var->bits_per_pixel,
xres             1258 drivers/video/fbdev/matrox/matroxfb_base.c static unsigned int xres;		/* "matroxfb:xres:xxxxx" */
xres             1829 drivers/video/fbdev/matrox/matroxfb_base.c 	if (xres)
xres             1830 drivers/video/fbdev/matrox/matroxfb_base.c 		vesafb_defined.xres = xres;
xres             1853 drivers/video/fbdev/matrox/matroxfb_base.c 			tmp = fh * (vesafb_defined.left_margin + vesafb_defined.xres
xres             1894 drivers/video/fbdev/matrox/matroxfb_base.c 	vesafb_defined.xres_virtual = vesafb_defined.xres;
xres             1913 drivers/video/fbdev/matrox/matroxfb_base.c 		vesafb_defined.xres, vesafb_defined.yres, vesafb_defined.bits_per_pixel,
xres             2179 drivers/video/fbdev/matrox/matroxfb_base.c static struct { int xres, yres, left, right, upper, lower, hslen, vslen, vfreq; } timmings[] __initdata = {
xres             2277 drivers/video/fbdev/matrox/matroxfb_base.c 		if (!xres)
xres             2278 drivers/video/fbdev/matrox/matroxfb_base.c 			xres = timmings[res].xres;
xres             2345 drivers/video/fbdev/matrox/matroxfb_base.c 			xres = simple_strtoul(this_opt+5, NULL, 0);
xres             2518 drivers/video/fbdev/matrox/matroxfb_base.c module_param(xres, int, 0);
xres             2519 drivers/video/fbdev/matrox/matroxfb_base.c MODULE_PARM_DESC(xres, "Horizontal resolution (px), overrides xres from vesa (default=vesa)");
xres              208 drivers/video/fbdev/matrox/matroxfb_crtc2.c 	if (var->xres_virtual < var->xres)
xres              209 drivers/video/fbdev/matrox/matroxfb_crtc2.c 		var->xres_virtual = var->xres;
xres              216 drivers/video/fbdev/matrox/matroxfb_crtc2.c 	if (var->xoffset + var->xres > var->xres_virtual)
xres              217 drivers/video/fbdev/matrox/matroxfb_crtc2.c 		var->xoffset = var->xres_virtual - var->xres;
xres              221 drivers/video/fbdev/matrox/matroxfb_crtc2.c 	var->xres &= ~7;
xres              118 drivers/video/fbdev/matrox/matroxfb_misc.c 	mt->HDisplay = var->xres;
xres               43 drivers/video/fbdev/maxinefb.c 	.xres =		1024,
xres               92 drivers/video/fbdev/mb862xx/mb862xxfb.h extern void mb862xxfb_init_accel(struct fb_info *info, int xres);
xres              306 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c void mb862xxfb_init_accel(struct fb_info *info, int xres)
xres              322 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c 	outreg(draw, GDC_REG_X_RESOLUTION, xres);
xres               44 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 	return var->xres + var->left_margin +
xres               56 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 	return var->xres + var->right_margin - 1;
xres               66 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 	return var->xres * var->bits_per_pixel / 8;
xres              119 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 	if ((var->xres + var->right_margin) >= 4096)
xres              156 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 	tmp = (var->xres * var->bits_per_pixel) / 8;
xres              207 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 		mb862xxfb_init_accel(fbi, fbi->var.xres);
xres              237 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 	reg = pack(fbi->var.yres - 1, fbi->var.xres);
xres              251 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 	reg = pack(fbi->var.xres - 1, fbi->var.xres - 1);
xres              449 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 		fbi->var.xres = (inreg(disp, GC_HDB_HDP) & 0x0fff) + 1;
xres              453 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 		fbi->var.xres_virtual = fbi->var.xres;
xres              470 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 		fbi->var.right_margin = hsp - fbi->var.xres;
xres               83 drivers/video/fbdev/mbx/mbxfb.c 	.xres = 640,
xres              188 drivers/video/fbdev/mbx/mbxfb.c 	if (var->xres < MIN_XRES)
xres              189 drivers/video/fbdev/mbx/mbxfb.c 		var->xres = MIN_XRES;
xres              192 drivers/video/fbdev/mbx/mbxfb.c 	if (var->xres > MAX_XRES)
xres              196 drivers/video/fbdev/mbx/mbxfb.c 	var->xres_virtual = max(var->xres_virtual, var->xres);
xres              272 drivers/video/fbdev/mbx/mbxfb.c 	gsctrl |= Gsctrl_Width(info->var.xres) |
xres              277 drivers/video/fbdev/mbx/mbxfb.c 	gsadr |= Gsadr_Srcstride(info->var.xres * info->var.bits_per_pixel /
xres              289 drivers/video/fbdev/mbx/mbxfb.c 	hfps = has + var->xres;
xres              755 drivers/video/fbdev/mbx/mbxfb.c 	gsctrl = GSCTRL_GAMMA_EN | Gsctrl_Width(fbi->var.xres) |
xres              114 drivers/video/fbdev/metronomefb.c 	.xres		= DPY_W,
xres              641 drivers/video/fbdev/metronomefb.c 	metronomefb_var.xres = fw;
xres              231 drivers/video/fbdev/mmp/fb/mmpfb.c 	mode->xres = videomode->xres;
xres              257 drivers/video/fbdev/mmp/fb/mmpfb.c 	videomode->xres = mode->xres;
xres              284 drivers/video/fbdev/mmp/fb/mmpfb.c 	if (var->xoffset + var->xres > var->xres_virtual)
xres              390 drivers/video/fbdev/mmp/fb/mmpfb.c 	win.xsrc = win.xdst = fbi->mode.xres;
xres              271 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 	writel_relaxed((mode->yres << 16) | mode->xres, &regs->screen_active);
xres              276 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 	total_x = mode->xres + mode->left_margin + mode->right_margin +
xres              286 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 		vsync_ctrl = ((mode->xres + mode->right_margin) << 16)
xres              287 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 					| (mode->xres + mode->right_margin);
xres               99 drivers/video/fbdev/mmp/panel/tpo_tj032md01bw.c 		.xres = 320,
xres              137 drivers/video/fbdev/mx3fb.c 		.xres		= 240,
xres              155 drivers/video/fbdev/mx3fb.c 		.xres		= 240,
xres              173 drivers/video/fbdev/mx3fb.c 		.xres		= 640,
xres              189 drivers/video/fbdev/mx3fb.c 		.xres		= 640,
xres              205 drivers/video/fbdev/mx3fb.c 		.xres		= 640,
xres              221 drivers/video/fbdev/mx3fb.c 		.xres		= 640,
xres              850 drivers/video/fbdev/mx3fb.c 				   fbi->var.xres, fbi->var.yres,
xres              870 drivers/video/fbdev/mx3fb.c 	video->out_width	= fbi->var.xres;
xres              933 drivers/video/fbdev/mx3fb.c 	if (var->xres_virtual < var->xres)
xres              934 drivers/video/fbdev/mx3fb.c 		var->xres_virtual = var->xres;
xres              997 drivers/video/fbdev/mx3fb.c 		htotal = var->xres + var->right_margin + var->hsync_len +
xres              150 drivers/video/fbdev/neofb.c static int neoFindMode(int xres, int yres, int depth)
xres              180 drivers/video/fbdev/neofb.c 		if (xres <= mode[i].x_res) {
xres              258 drivers/video/fbdev/neofb.c 	int hsync_end = var->xres + var->right_margin + var->hsync_len;
xres              285 drivers/video/fbdev/neofb.c 	par->CRTC[1] = (var->xres >> 3) - 1;
xres              286 drivers/video/fbdev/neofb.c 	par->CRTC[2] = (var->xres >> 3) - 1;
xres              288 drivers/video/fbdev/neofb.c 	par->CRTC[4] = ((var->xres + var->right_margin) >> 3);
xres              594 drivers/video/fbdev/neofb.c             ((var->xres > par->NeoPanelWidth) ||
xres              598 drivers/video/fbdev/neofb.c 		       var->xres, var->yres, par->NeoPanelWidth,
xres              607 drivers/video/fbdev/neofb.c 		switch (var->xres) {
xres              630 drivers/video/fbdev/neofb.c 		       var->xres, var->yres);
xres              691 drivers/video/fbdev/neofb.c 	if (var->xres_virtual < var->xres)
xres              692 drivers/video/fbdev/neofb.c 		var->xres_virtual = var->xres;
xres              707 drivers/video/fbdev/neofb.c 	if (var->xoffset + var->xres > var->xres_virtual)
xres              708 drivers/video/fbdev/neofb.c 		var->xoffset = var->xres_virtual - var->xres;
xres              813 drivers/video/fbdev/neofb.c 	switch (info->var.xres) {
xres              853 drivers/video/fbdev/neofb.c 	    (info->var.xres != par->NeoPanelWidth)) {
xres              854 drivers/video/fbdev/neofb.c 		switch (info->var.xres) {
xres              887 drivers/video/fbdev/neofb.c 		if (info->var.xres == par->NeoPanelWidth) {
xres              900 drivers/video/fbdev/neofb.c 				      info->var.xres) >> 4) - 1;
xres              910 drivers/video/fbdev/neofb.c 			switch (info->var.xres) {
xres              940 drivers/video/fbdev/neofb.c 	    neoFindMode(info->var.xres, info->var.yres,
xres             1631 drivers/video/fbdev/neofb.c 	.xres           = 800,
xres             2078 drivers/video/fbdev/neofb.c 	    h_sync * 512 / (info->var.xres + info->var.left_margin +
xres             2086 drivers/video/fbdev/neofb.c 	       info->fix.smem_len >> 10, info->var.xres,
xres               92 drivers/video/fbdev/nvidia/nvidia.c 	.xres = 640,
xres              302 drivers/video/fbdev/nvidia/nvidia.c 	int h_display = info->var.xres / 8 - 1;
xres              303 drivers/video/fbdev/nvidia/nvidia.c 	int h_start = (info->var.xres + info->var.right_margin) / 8 - 1;
xres              304 drivers/video/fbdev/nvidia/nvidia.c 	int h_end = (info->var.xres + info->var.right_margin +
xres              306 drivers/video/fbdev/nvidia/nvidia.c 	int h_total = (info->var.xres + info->var.right_margin +
xres              415 drivers/video/fbdev/nvidia/nvidia.c 		       info->var.xres, info->var.yres_virtual,
xres              422 drivers/video/fbdev/nvidia/nvidia.c 		if (!par->fpScaler || (par->fpWidth <= info->var.xres)
xres              489 drivers/video/fbdev/nvidia/nvidia.c 	state->displayV = info->var.xres;
xres              688 drivers/video/fbdev/nvidia/nvidia.c 			     info->var.xres, info->var.yres,
xres              773 drivers/video/fbdev/nvidia/nvidia.c 	var->xres &= ~7;
xres              848 drivers/video/fbdev/nvidia/nvidia.c 	if (par->fpWidth && par->fpHeight && (par->fpWidth < var->xres ||
xres              852 drivers/video/fbdev/nvidia/nvidia.c 		var->xres = par->fpWidth;
xres              868 drivers/video/fbdev/nvidia/nvidia.c 	if (var->xres_virtual < var->xres)
xres              869 drivers/video/fbdev/nvidia/nvidia.c 		var->xres_virtual = var->xres;
xres              889 drivers/video/fbdev/nvidia/nvidia.c 			if (var->xres_virtual < var->xres) {
xres              126 drivers/video/fbdev/ocfb.c 		      (var->left_margin - 1) << 16 | (var->xres - 1));
xres              134 drivers/video/fbdev/ocfb.c 		var->xres;
xres              218 drivers/video/fbdev/ocfb.c 	fix->line_length = var->xres * var->bits_per_pixel/8;
xres              236 drivers/video/fbdev/ocfb.c 	var->xres_virtual = var->xres;
xres              432 drivers/video/fbdev/offb.c 	var->xres = var->xres_virtual = width;
xres               45 drivers/video/fbdev/omap/lcdc.c 	int			xres;
xres              182 drivers/video/fbdev/omap/lcdc.c 		    (lcdc.xres & 1))
xres              186 drivers/video/fbdev/omap/lcdc.c 		xelem = lcdc.xres * lcdc.bpp / 8 / esize;
xres              197 drivers/video/fbdev/omap/lcdc.c 		yelem = lcdc.xres;
xres              305 drivers/video/fbdev/omap/lcdc.c 	lcdc.xres = width;
xres              195 drivers/video/fbdev/omap/omapfb_main.c 				 var->xres, var->yres, plane->color_mode);
xres              207 drivers/video/fbdev/omap/omapfb_main.c 				   var->xres, var->yres,
xres              493 drivers/video/fbdev/omap/omapfb_main.c 			var->xres = panel->x_res;
xres              504 drivers/video/fbdev/omap/omapfb_main.c 			var->xres = panel->y_res;
xres              512 drivers/video/fbdev/omap/omapfb_main.c 	if (var->xres < xres_min)
xres              513 drivers/video/fbdev/omap/omapfb_main.c 		var->xres = xres_min;
xres              516 drivers/video/fbdev/omap/omapfb_main.c 	if (var->xres > xres_max)
xres              517 drivers/video/fbdev/omap/omapfb_main.c 		var->xres = xres_max;
xres              521 drivers/video/fbdev/omap/omapfb_main.c 	if (var->xres_virtual < var->xres)
xres              522 drivers/video/fbdev/omap/omapfb_main.c 		var->xres_virtual = var->xres;
xres              531 drivers/video/fbdev/omap/omapfb_main.c 		if (var->xres_virtual < var->xres) {
xres              533 drivers/video/fbdev/omap/omapfb_main.c 			var->xres_virtual = var->xres;
xres              534 drivers/video/fbdev/omap/omapfb_main.c 			line_size = var->xres * bpp / 8;
xres              538 drivers/video/fbdev/omap/omapfb_main.c 		if (var->xres_virtual < var->xres)
xres              539 drivers/video/fbdev/omap/omapfb_main.c 			var->xres = var->xres_virtual;
xres              542 drivers/video/fbdev/omap/omapfb_main.c 		if (var->xres < xres_min || var->yres < yres_min)
xres              545 drivers/video/fbdev/omap/omapfb_main.c 	if (var->xres + var->xoffset > var->xres_virtual)
xres              546 drivers/video/fbdev/omap/omapfb_main.c 		var->xoffset = var->xres_virtual - var->xres;
xres              680 drivers/video/fbdev/omap/omapfb_main.c 	int xres, yres;
xres              688 drivers/video/fbdev/omap/omapfb_main.c 		xres = fbdev->panel->x_res;
xres              693 drivers/video/fbdev/omap/omapfb_main.c 		xres = fbdev->panel->y_res;
xres              700 drivers/video/fbdev/omap/omapfb_main.c 	if (win->x >= xres || win->y >= yres ||
xres              701 drivers/video/fbdev/omap/omapfb_main.c 	    win->out_x > xres || win->out_y > yres)
xres              708 drivers/video/fbdev/omap/omapfb_main.c 	if (win->x + win->width > xres)
xres              709 drivers/video/fbdev/omap/omapfb_main.c 		win->width = xres - win->x;
xres              712 drivers/video/fbdev/omap/omapfb_main.c 	if (win->out_x + win->out_width > xres)
xres              713 drivers/video/fbdev/omap/omapfb_main.c 		win->out_width = xres - win->out_x;
xres              749 drivers/video/fbdev/omap/omapfb_main.c 	win.width = fbi->var.xres;
xres              753 drivers/video/fbdev/omap/omapfb_main.c 	win.out_width = fbi->var.xres;
xres             1460 drivers/video/fbdev/omap/omapfb_main.c 	var->xres = def_vxres;
xres             1520 drivers/video/fbdev/omap/omapfb_main.c 		plane->info.out_width = fbi->var.xres;
xres              378 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c 		u16 *xres, u16 *yres)
xres              380 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c 	*xres = dssdev->panel.timings.x_res;
xres               25 drivers/video/fbdev/omap2/omapfb/dss/display.c 			u16 *xres, u16 *yres)
xres               27 drivers/video/fbdev/omap2/omapfb/dss/display.c 	*xres = dssdev->panel.timings.x_res;
xres             4498 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	int xres;
xres             4518 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	xres = req_vm->x_res;
xres             4521 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	panel_htot = xres + panel_hbl;
xres             4523 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	dsi_hact = DIV_ROUND_UP(DIV_ROUND_UP(xres * bitspp, 8) + 6, ndl);
xres             4529 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	if (dsi->line_buffer_size < xres * bitspp / 8) {
xres             4575 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	dispc_hbl = dispc_htot - xres;
xres             4623 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	dsi_vm->hact = xres;
xres              878 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c 		u16 xres, yres;
xres              887 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c 		display->driver->get_resolution(display, &xres, &yres);
xres              889 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c 		p.display_info.xres = xres;
xres              381 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		var->xres_virtual = var->xres;
xres              389 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	if (var->xres < xres_min)
xres              390 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		var->xres = xres_min;
xres              393 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	if (var->xres > xres_max)
xres              394 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		var->xres = xres_max;
xres              398 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	if (var->xres > var->xres_virtual)
xres              399 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		var->xres = var->xres_virtual;
xres              430 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	if (var->xres > var->xres_virtual)
xres              431 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		var->xres = var->xres_virtual;
xres              527 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	else if (vrfb->xres != var->xres_virtual ||
xres              689 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	if (var->xres + var->xoffset > var->xres_virtual)
xres              690 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		var->xoffset = var->xres_virtual - var->xres;
xres              695 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 			var->xres, var->yres,
xres              841 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	int xres, yres;
xres              861 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		xres = var->yres;
xres              862 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		yres = var->xres;
xres              864 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		xres = var->xres;
xres              900 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	info.width = xres;
xres              961 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 				outh = var->xres;
xres              963 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 				outw = var->xres;
xres             1760 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 			var->xres = h;
xres             1763 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 			var->xres = w;
xres             1767 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		var->xres_virtual = var->xres;
xres             1786 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		var->xres = 320;
xres             1788 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		var->xres_virtual = var->xres;
xres             2072 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	timings->x_res = var->xres;
xres             2215 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	t->x_res = m->xres;
xres             2272 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		if (m->xres == 2880 || m->xres == 1440)
xres              222 drivers/video/fbdev/omap2/omapfb/vrfb.c 	vrfb->xres = width;
xres              278 drivers/video/fbdev/p9100.c 	linebytes = of_getintprop_default(dp, "linebytes", info->var.xres);
xres               47 drivers/video/fbdev/platinumfb.c 	int				xres, yres;
xres              447 drivers/video/fbdev/platinumfb.c 		printk(KERN_ERR "platinum_var_to_par: var->xres = %d\n", var->xres);
xres              475 drivers/video/fbdev/platinumfb.c 	pinfo->xres = vmode_attrs[vmode-1].hres;
xres              479 drivers/video/fbdev/platinumfb.c 	pinfo->vxres = pinfo->xres;
xres              118 drivers/video/fbdev/pm2fb.c 	.xres =			640,
xres              220 drivers/video/fbdev/pm2fb.c static u32 partprod(u32 xres)
xres              224 drivers/video/fbdev/pm2fb.c 	for (i = 0; pp_table[i].width && pp_table[i].width != xres; i++)
xres              227 drivers/video/fbdev/pm2fb.c 		DPRINTK("invalid width %u\n", xres);
xres              573 drivers/video/fbdev/pm2fb.c 	if (var->xres != var->xres_virtual) {
xres              600 drivers/video/fbdev/pm2fb.c 	var->xres = (var->xres + 15) & ~15; /* could sometimes be 8 */
xres              601 drivers/video/fbdev/pm2fb.c 	lpitch = var->xres * ((var->bits_per_pixel + 7) >> 3);
xres              603 drivers/video/fbdev/pm2fb.c 	if (var->xres < 320 || var->xres > 1600) {
xres              604 drivers/video/fbdev/pm2fb.c 		DPRINTK("width not supported: %u\n", var->xres);
xres              615 drivers/video/fbdev/pm2fb.c 			var->xres, var->yres_virtual, var->bits_per_pixel);
xres              671 drivers/video/fbdev/pm2fb.c 		var->xres, var->yres, var->bits_per_pixel);
xres              699 drivers/video/fbdev/pm2fb.c 	u32 xres = (info->var.xres + 31) & ~31;
xres              720 drivers/video/fbdev/pm2fb.c 	htotal = to3264(xres, depth, data64) + hbend - 1;
xres              729 drivers/video/fbdev/pm2fb.c 	base = to3264(info->var.yoffset * xres + info->var.xoffset, depth, 1);
xres              763 drivers/video/fbdev/pm2fb.c 	info->fix.line_length = info->var.xres * depth / 8;
xres              809 drivers/video/fbdev/pm2fb.c 	pm2_WR(par, PM2R_FB_READ_MODE, partprod(xres));
xres              810 drivers/video/fbdev/pm2fb.c 	pm2_WR(par, PM2R_LB_READ_MODE, partprod(xres));
xres              811 drivers/video/fbdev/pm2fb.c 	pm2_WR(par, PM2R_TEXTURE_MAP_FORMAT, txtmap | partprod(xres));
xres              847 drivers/video/fbdev/pm2fb.c 		info->var.xres, info->var.yres, info->var.bits_per_pixel);
xres              972 drivers/video/fbdev/pm2fb.c 	u32 xres = (info->var.xres + 31) & ~31;
xres              975 drivers/video/fbdev/pm2fb.c 	base = to3264(var->yoffset * xres + var->xoffset, depth, 1);
xres             1156 drivers/video/fbdev/pm2fb.c 	u32 xres = (info->var.xres + 31) & ~31;
xres             1190 drivers/video/fbdev/pm2fb.c 	pm2_WR(par, PM2R_FB_READ_MODE, partprod(xres));
xres              724 drivers/video/fbdev/pm3fb.c 	const u32 xres = (info->var.xres + 31) & ~31;
xres              725 drivers/video/fbdev/pm3fb.c 	const u32 htotal = xres + hbend;
xres              959 drivers/video/fbdev/pm3fb.c 	if (var->xres != var->xres_virtual) {
xres              981 drivers/video/fbdev/pm3fb.c 	var->xres = (var->xres + 31) & ~31; /* could sometimes be 8 */
xres              982 drivers/video/fbdev/pm3fb.c 	lpitch = var->xres * ((var->bits_per_pixel + 7) >> 3);
xres              984 drivers/video/fbdev/pm3fb.c 	if (var->xres < 200 || var->xres > 2048) {
xres              985 drivers/video/fbdev/pm3fb.c 		DPRINTK("width not supported: %u\n", var->xres);
xres              996 drivers/video/fbdev/pm3fb.c 			var->xres, var->yres_virtual, var->bits_per_pixel);
xres             1009 drivers/video/fbdev/pm3fb.c 		var->xres, var->yres, var->bits_per_pixel);
xres             1016 drivers/video/fbdev/pm3fb.c 	const u32 xres = (info->var.xres + 31) & ~31;
xres             1019 drivers/video/fbdev/pm3fb.c 	par->base = pm3fb_shift_bpp(bpp, (info->var.yoffset * xres)
xres             1143 drivers/video/fbdev/pm3fb.c 	const u32 xres = (info->var.xres + 31) & ~31;
xres             1146 drivers/video/fbdev/pm3fb.c 					(var->yoffset * xres)
xres               71 drivers/video/fbdev/pmag-aa-fb.c 	.xres		= 1280,
xres               47 drivers/video/fbdev/pmag-ba-fb.c 	.xres		= 1024,
xres              154 drivers/video/fbdev/pmagb-b-fb.c 	info->var.xres = ((sfb_read(par, SFB_REG_VID_HOR) >>
xres              156 drivers/video/fbdev/pmagb-b-fb.c 	info->var.xres_virtual = info->var.xres;
xres              176 drivers/video/fbdev/pmagb-b-fb.c 	info->fix.line_length = info->var.xres;
xres              267 drivers/video/fbdev/ps3fb.c 	long xres, yres, left_margin, right_margin, upper_margin, lower_margin;
xres              271 drivers/video/fbdev/ps3fb.c 	if (var->xres > vmode->xres || var->yres > vmode->yres ||
xres              282 drivers/video/fbdev/ps3fb.c 	xres = max(var->xres, 1U);
xres              292 drivers/video/fbdev/ps3fb.c 	dx = ((long)vmode->left_margin + (long)vmode->xres +
xres              294 drivers/video/fbdev/ps3fb.c 	     (left_margin + xres + right_margin);
xres              309 drivers/video/fbdev/ps3fb.c 	return (vmode->xres - xres) * (vmode->yres - yres);
xres              343 drivers/video/fbdev/ps3fb.c 		 var->left_margin, var->xres, var->right_margin,
xres              349 drivers/video/fbdev/ps3fb.c 			 __func__, id, vmode->left_margin, vmode->xres,
xres              370 drivers/video/fbdev/ps3fb.c 	*ddr_line_length = vmode->xres * BPP;
xres              373 drivers/video/fbdev/ps3fb.c 	if (!var->xres)
xres              374 drivers/video/fbdev/ps3fb.c 		var->xres = 1;
xres              379 drivers/video/fbdev/ps3fb.c 	if (var->xres_virtual < var->xres)
xres              380 drivers/video/fbdev/ps3fb.c 		var->xres_virtual = var->xres;
xres              395 drivers/video/fbdev/ps3fb.c 	gap = ((long)vmode->left_margin + (long)vmode->xres +
xres              397 drivers/video/fbdev/ps3fb.c 	      ((long)var->left_margin + (long)var->xres +
xres              403 drivers/video/fbdev/ps3fb.c 			 var->left_margin, var->xres, var->right_margin);
xres              432 drivers/video/fbdev/ps3fb.c 		if (vmode->xres == var->xres && vmode->yres == var->yres)
xres              548 drivers/video/fbdev/ps3fb.c 	if (var->xoffset + var->xres > var->xres_virtual ||
xres              616 drivers/video/fbdev/ps3fb.c 	info->fix.xpanstep = info->var.xres_virtual > info->var.xres ? 1 : 0;
xres              630 drivers/video/fbdev/ps3fb.c 	par->width = info->var.xres;
xres              661 drivers/video/fbdev/ps3fb.c 		ps3fb_sync_image(info->device, 0, dst, 0, vmode->xres, l,
xres              850 drivers/video/fbdev/ps3fb.c 			res.xres = info->fix.line_length / BPP;
xres              852 drivers/video/fbdev/ps3fb.c 			res.xoff = (res.xres - info->var.xres) / 2;
xres              159 drivers/video/fbdev/pvr2fb.c 	.xres =		640,
xres              382 drivers/video/fbdev/pvr2fb.c 	par->hsync_total = var->left_margin + var->xres + var->right_margin +
xres              415 drivers/video/fbdev/pvr2fb.c 	par->borderstop_h = par->diwstart_h + var->xres +
xres              422 drivers/video/fbdev/pvr2fb.c 	if (info->var.xres < 640)
xres              442 drivers/video/fbdev/pvr2fb.c 	if (var->xres < 320)
xres              443 drivers/video/fbdev/pvr2fb.c 		var->xres = 320;
xres              446 drivers/video/fbdev/pvr2fb.c 	if (var->xres_virtual < var->xres)
xres              447 drivers/video/fbdev/pvr2fb.c 		var->xres_virtual = var->xres;
xres              464 drivers/video/fbdev/pvr2fb.c 			if (var->xoffset > var->xres_virtual - var->xres ||
xres              490 drivers/video/fbdev/pvr2fb.c 				   (par->diwstart_h + var->xres);
xres              502 drivers/video/fbdev/pvr2fb.c 	hsync_total = var->left_margin + var->xres + var->right_margin +
xres              542 drivers/video/fbdev/pvr2fb.c 		  get_line_length(var->xoffset+var->xres, var->bits_per_pixel),
xres              568 drivers/video/fbdev/pvr2fb.c 	diw_width = get_line_length(var->xres, var->bits_per_pixel) / 4;
xres              575 drivers/video/fbdev/pvr2fb.c 	          get_line_length(var->xoffset+var->xres, var->bits_per_pixel),
xres              827 drivers/video/fbdev/pvr2fb.c 		fb_info->var.xres, fb_info->var.yres,
xres              829 drivers/video/fbdev/pvr2fb.c 		get_line_length(fb_info->var.xres, fb_info->var.bits_per_pixel),
xres              173 drivers/video/fbdev/pxa168fb.c 	var->xres = mode->xres;
xres              175 drivers/video/fbdev/pxa168fb.c 	var->xres_virtual = max(var->xres, var->xres_virtual);
xres              213 drivers/video/fbdev/pxa168fb.c 	if (var->xoffset + var->xres > var->xres_virtual)
xres              217 drivers/video/fbdev/pxa168fb.c 	if (var->xres + var->right_margin +
xres              396 drivers/video/fbdev/pxa168fb.c 	x = v->xres + v->right_margin + v->hsync_len + v->left_margin;
xres              428 drivers/video/fbdev/pxa168fb.c 	writel((var->yres << 16) | var->xres,
xres              449 drivers/video/fbdev/pxa168fb.c 	writel((var->yres << 16) | var->xres,
xres              451 drivers/video/fbdev/pxa168fb.c 	writel((var->yres << 16) | var->xres,
xres              581 drivers/video/fbdev/pxa168fb.c 	var->xres_virtual = var->xres;
xres              585 drivers/video/fbdev/pxa168fb.c 				var->xres, var->yres);
xres              588 drivers/video/fbdev/pxa168fb.c 	total_w = var->xres + var->left_margin + var->right_margin +
xres              377 drivers/video/fbdev/pxafb.c 		if (modelist[i].xres >= var->xres &&
xres              379 drivers/video/fbdev/pxafb.c 		    modelist[i].xres < best_x &&
xres              382 drivers/video/fbdev/pxafb.c 			best_x = modelist[i].xres;
xres              394 drivers/video/fbdev/pxafb.c 	var->xres		= mode->xres;
xres              417 drivers/video/fbdev/pxafb.c 	var->xres = max_t(int, var->xres, MIN_XRES);
xres              430 drivers/video/fbdev/pxafb.c 	line_length = var->xres * var->bits_per_pixel / 8;
xres              432 drivers/video/fbdev/pxafb.c 	var->xres = line_length * 8 / var->bits_per_pixel;
xres              435 drivers/video/fbdev/pxafb.c 	var->xres_virtual = var->xres;
xres              443 drivers/video/fbdev/pxafb.c 	if (var->xres > MAX_XRES || var->yres > MAX_YRES)
xres              756 drivers/video/fbdev/pxafb.c 		ofb->fb.var.xres = ofb->fb.var.xres_virtual = 0;
xres              805 drivers/video/fbdev/pxafb.c 	var->xres = roundup(var->xres * bpp, 32) / bpp;
xres              807 drivers/video/fbdev/pxafb.c 	if ((xpos + var->xres > base_var->xres) ||
xres              811 drivers/video/fbdev/pxafb.c 	var->xres_virtual = var->xres;
xres              856 drivers/video/fbdev/pxafb.c 	ofb->control[0] = OVLxC1_PPL(var->xres) | OVLxC1_LPO(var->yres) |
xres             1247 drivers/video/fbdev/pxafb.c 		LCCR1_DisWdth(var->xres) |
xres             1327 drivers/video/fbdev/pxafb.c 		LCCR1_DisWdth(var->xres) +
xres             1784 drivers/video/fbdev/pxafb.c 				m->xres * m->yres * m->bpp / 8);
xres             1862 drivers/video/fbdev/pxafb.c 	unsigned int xres = 0, yres = 0, bpp = 0;
xres             1889 drivers/video/fbdev/pxafb.c 		xres = simple_strtoul(name, NULL, 0);
xres             1894 drivers/video/fbdev/pxafb.c 		dev_info(dev, "overriding resolution: %dx%d\n", xres, yres);
xres             1895 drivers/video/fbdev/pxafb.c 		inf->modes[0].xres = xres; inf->modes[0].yres = yres;
xres             2155 drivers/video/fbdev/pxafb.c 		info->modes[i].xres = vm.hactive;
xres             2274 drivers/video/fbdev/pxafb.c 			inf->modes->xres,
xres             2277 drivers/video/fbdev/pxafb.c 	if (inf->modes->xres == 0 ||
xres               40 drivers/video/fbdev/q40fb.c 	.xres		= 1024,
xres              221 drivers/video/fbdev/riva/fbdev.c 	.xres		= 640,
xres              689 drivers/video/fbdev/riva/fbdev.c 	hDisplaySize = info->var.xres;
xres              830 drivers/video/fbdev/riva/fbdev.c 	var->xres = var->xres_virtual = modedb->xres;
xres              869 drivers/video/fbdev/riva/fbdev.c 		int xres, yres;
xres              885 drivers/video/fbdev/riva/fbdev.c 		for (i = 0; modes[i].xres != -1; i++) {
xres              886 drivers/video/fbdev/riva/fbdev.c 			if (modes[i].xres * nom / den * modes[i].yres <
xres              890 drivers/video/fbdev/riva/fbdev.c 		if (modes[i].xres == -1) {
xres              896 drivers/video/fbdev/riva/fbdev.c 		var->xres_virtual = modes[i].xres;
xres              918 drivers/video/fbdev/riva/fbdev.c 			       var->xres, var->yres, var->bits_per_pixel);
xres              931 drivers/video/fbdev/riva/fbdev.c 	if (var->xres_virtual < var->xres) {
xres             1138 drivers/video/fbdev/riva/fbdev.c 		       var->xres, var->yres, var->bits_per_pixel);
xres             1166 drivers/video/fbdev/riva/fbdev.c 	if (var->xres_virtual < var->xres)
xres             1167 drivers/video/fbdev/riva/fbdev.c 		var->xres_virtual = var->xres;
xres             1174 drivers/video/fbdev/riva/fbdev.c 	if (var->xoffset > var->xres_virtual - var->xres)
xres             1175 drivers/video/fbdev/riva/fbdev.c 		var->xoffset = var->xres_virtual - var->xres - 1;
xres              242 drivers/video/fbdev/s1d13xxxfb.c 	info->fix.line_length  = info->var.xres * info->var.bits_per_pixel;
xres              447 drivers/video/fbdev/s1d13xxxfb.c 	stride = bpp * info->var.xres;
xres              534 drivers/video/fbdev/s1d13xxxfb.c 	screen_stride = (bpp * info->var.xres);
xres              545 drivers/video/fbdev/s1d13xxxfb.c 				info->var.xres, info->var.yres,
xres              641 drivers/video/fbdev/s1d13xxxfb.c 	u32 xres, yres;
xres              687 drivers/video/fbdev/s1d13xxxfb.c 		xres = (s1d13xxxfb_readreg(par, S1DREG_LCD_DISP_HWIDTH) + 1) * 8;
xres              694 drivers/video/fbdev/s1d13xxxfb.c 		xres = (s1d13xxxfb_readreg(par, S1DREG_CRT_DISP_HWIDTH) + 1) * 8;
xres              704 drivers/video/fbdev/s1d13xxxfb.c 	var->xres		= xres;
xres              721 drivers/video/fbdev/s1d13xxxfb.c 		xres, yres, xres_virtual, yres_virtual, is_color, is_dual, is_tft);
xres              247 drivers/video/fbdev/s3c-fb.c 	var->xres_virtual = max(var->xres_virtual, var->xres);
xres              526 drivers/video/fbdev/s3c-fb.c 	info->fix.xpanstep = info->var.xres_virtual > info->var.xres ? 1 : 0;
xres              545 drivers/video/fbdev/s3c-fb.c 	pagewidth = (var->xres * var->bits_per_pixel) >> 3;
xres              559 drivers/video/fbdev/s3c-fb.c 						     var->xres - 1)) |
xres              562 drivers/video/fbdev/s3c-fb.c 						     var->xres - 1)) |
xres              567 drivers/video/fbdev/s3c-fb.c 	data = var->xres * var->yres;
xres             1063 drivers/video/fbdev/s3c-fb.c 	       mode->xres;
xres             1089 drivers/video/fbdev/s3c-fb.c 	real_size = windata->xres * windata->yres;
xres             1093 drivers/video/fbdev/s3c-fb.c 		real_size, windata->xres, windata->yres,
xres             1196 drivers/video/fbdev/s3c-fb.c 	WARN_ON(windata->xres == 0);
xres             1236 drivers/video/fbdev/s3c-fb.c 	initmode.xres = windata->xres;
xres             1323 drivers/video/fbdev/s3c-fb.c 	       VIDTCON2_HOZVAL(vmode->xres - 1) |
xres             1325 drivers/video/fbdev/s3c-fb.c 	       VIDTCON2_HOZVAL_E(vmode->xres - 1);
xres              138 drivers/video/fbdev/s3c2410fb.c 	    var->xres == default_display->xres &&
xres              145 drivers/video/fbdev/s3c2410fb.c 			    var->xres == mach_info->displays[i].xres &&
xres              153 drivers/video/fbdev/s3c2410fb.c 			var->xres, var->yres, var->bits_per_pixel);
xres              158 drivers/video/fbdev/s3c2410fb.c 	var->xres_virtual = display->xres;
xres              257 drivers/video/fbdev/s3c2410fb.c 	int hs = var->xres >> 2;
xres              363 drivers/video/fbdev/s3c2410fb.c 			S3C2410_LCDCON3_HOZVAL(var->xres - 1);
xres              383 drivers/video/fbdev/s3c2410fb.c 	dprintk("%s: var->xres  = %d\n", __func__, var->xres);
xres              944 drivers/video/fbdev/s3c2410fb.c 		unsigned long smem_len = mach_info->displays[i].xres;
xres              963 drivers/video/fbdev/s3c2410fb.c 	fbinfo->var.xres = display->xres;
xres              566 drivers/video/fbdev/s3fb.c 	if (var->xres > var->xres_virtual)
xres              567 drivers/video/fbdev/s3fb.c 		var->xres_virtual = var->xres;
xres              736 drivers/video/fbdev/s3fb.c 		dbytes = info->var.xres * ((bpp+7)/8);
xres              895 drivers/video/fbdev/s3fb.c 	htotal = info->var.xres + info->var.left_margin + info->var.right_margin + info->var.hsync_len;
xres              900 drivers/video/fbdev/s3fb.c 	hsstart = ((info->var.xres + info->var.right_margin) * hmul) / 8;
xres              374 drivers/video/fbdev/sa1100fb.c 	if (var->xres < MIN_XRES)
xres              375 drivers/video/fbdev/sa1100fb.c 		var->xres = MIN_XRES;
xres              378 drivers/video/fbdev/sa1100fb.c 	if (var->xres > fbi->inf->xres)
xres              379 drivers/video/fbdev/sa1100fb.c 		var->xres = fbi->inf->xres;
xres              382 drivers/video/fbdev/sa1100fb.c 	var->xres_virtual = max(var->xres_virtual, var->xres);
xres              619 drivers/video/fbdev/sa1100fb.c 		var->xres, var->hsync_len,
xres              626 drivers/video/fbdev/sa1100fb.c 	if (var->xres < 16        || var->xres > 1024)
xres              628 drivers/video/fbdev/sa1100fb.c 			fbi->fb.fix.id, var->xres);
xres              657 drivers/video/fbdev/sa1100fb.c 		LCCR1_DisWdth(var->xres) +
xres              687 drivers/video/fbdev/sa1100fb.c 	half_screen_size = half_screen_size * var->xres * var->yres / 16;
xres             1124 drivers/video/fbdev/sa1100fb.c 	fbi->fb.var.xres		= inf->xres;
xres             1125 drivers/video/fbdev/sa1100fb.c 	fbi->fb.var.xres_virtual	= inf->xres;
xres             1140 drivers/video/fbdev/sa1100fb.c 	fbi->fb.fix.smem_len		= inf->xres * inf->yres *
xres              848 drivers/video/fbdev/savage/savagefb_driver.c 	var->xres = var->xres_virtual = modedb->xres;
xres              929 drivers/video/fbdev/savage/savagefb_driver.c 	    (var->xres > par->SavagePanelWidth ||
xres              932 drivers/video/fbdev/savage/savagefb_driver.c 		       "(%dx%d)\n", var->xres,  var->yres,
xres              940 drivers/video/fbdev/savage/savagefb_driver.c 	if (var->xres_virtual < var->xres)
xres              941 drivers/video/fbdev/savage/savagefb_driver.c 		var->xres_virtual = var->xres;
xres              958 drivers/video/fbdev/savage/savagefb_driver.c 	if (var->xres_virtual < var->xres)
xres              959 drivers/video/fbdev/savage/savagefb_driver.c 		var->xres = var->xres_virtual;
xres              960 drivers/video/fbdev/savage/savagefb_driver.c 	if (var->xoffset + var->xres > var->xres_virtual)
xres              961 drivers/video/fbdev/savage/savagefb_driver.c 		var->xoffset = var->xres_virtual - var->xres;
xres              988 drivers/video/fbdev/savage/savagefb_driver.c 	timings.HDisplay = var->xres;
xres             1665 drivers/video/fbdev/savage/savagefb_driver.c 	.xres =		800,
xres             2228 drivers/video/fbdev/savage/savagefb_driver.c 		cvt_mode.xres = par->SavagePanelWidth;
xres             2281 drivers/video/fbdev/savage/savagefb_driver.c 	h_sync = h_sync * 512 / (info->var.xres + info->var.left_margin +
xres             2290 drivers/video/fbdev/savage/savagefb_driver.c 	       info->var.xres, info->var.yres,
xres               25 drivers/video/fbdev/sbuslib.c 	var->xres = of_getintprop_default(dp, "width", 1152);
xres               27 drivers/video/fbdev/sbuslib.c 	var->xres_virtual = var->xres;
xres              110 drivers/video/fbdev/sbuslib.c 		    put_user(info->var.xres, &f->fb_width) ||
xres              209 drivers/video/fbdev/sh7760fb.c 	if (par->rot && (vm->xres > 320)) {
xres              215 drivers/video/fbdev/sh7760fb.c 	hsynp = vm->right_margin + vm->xres;
xres              218 drivers/video/fbdev/sh7760fb.c 	hdcn = vm->xres;
xres              393 drivers/video/fbdev/sh7760fb.c 	vram = info->var.xres * info->var.yres;
xres              197 drivers/video/fbdev/sh_mobile_lcdcfb.c 	unsigned int xres;
xres              750 drivers/video/fbdev/sh_mobile_lcdcfb.c 	h_total = mode->xres + mode->hsync_len + mode->left_margin
xres              753 drivers/video/fbdev/sh_mobile_lcdcfb.c 	tmp |= (min(mode->xres, ch->xres) / 8) << 16; /* HDCN */
xres              756 drivers/video/fbdev/sh_mobile_lcdcfb.c 	hsync_pos = mode->xres + mode->right_margin;
xres              772 drivers/video/fbdev/sh_mobile_lcdcfb.c 	display_h_total = mode->xres + mode->hsync_len + mode->left_margin
xres              774 drivers/video/fbdev/sh_mobile_lcdcfb.c 	tmp = ((mode->xres & 7) << 24) | ((display_h_total & 7) << 16)
xres              856 drivers/video/fbdev/sh_mobile_lcdcfb.c 		(ovl->xres << LDBBSSZR_BHSS_SHIFT));
xres             1114 drivers/video/fbdev/sh_mobile_lcdcfb.c 	if (var->xres > MAX_XRES || var->yres > MAX_YRES)
xres             1120 drivers/video/fbdev/sh_mobile_lcdcfb.c 	if (var->xres_virtual < var->xres)
xres             1121 drivers/video/fbdev/sh_mobile_lcdcfb.c 		var->xres_virtual = var->xres;
xres             1445 drivers/video/fbdev/sh_mobile_lcdcfb.c 	ovl->xres = info->var.xres;
xres             1535 drivers/video/fbdev/sh_mobile_lcdcfb.c 		 dev_name(lcdc->dev), ovl->index, info->var.xres,
xres             1606 drivers/video/fbdev/sh_mobile_lcdcfb.c 	var->xres = ovl->xres;
xres             1843 drivers/video/fbdev/sh_mobile_lcdcfb.c 		if (var->xres > mode->xres || var->yres > mode->yres)
xres             1846 drivers/video/fbdev/sh_mobile_lcdcfb.c 		dist = var->xres * var->yres + mode->xres * mode->yres
xres             1847 drivers/video/fbdev/sh_mobile_lcdcfb.c 		     - 2 * min(var->xres, mode->xres)
xres             1851 drivers/video/fbdev/sh_mobile_lcdcfb.c 			best_xres = mode->xres;
xres             1862 drivers/video/fbdev/sh_mobile_lcdcfb.c 		var->xres = best_xres;
xres             1888 drivers/video/fbdev/sh_mobile_lcdcfb.c 	ch->xres = info->var.xres;
xres             1931 drivers/video/fbdev/sh_mobile_lcdcfb.c 			.width = ch->xres,
xres             2013 drivers/video/fbdev/sh_mobile_lcdcfb.c 		 "mainlcd" : "sublcd", info->var.xres, info->var.yres,
xres             2237 drivers/video/fbdev/sh_mobile_lcdcfb.c 	.xres = 1280,
xres             2380 drivers/video/fbdev/sh_mobile_lcdcfb.c 	ovl->xres = ovl->cfg->max_xres;
xres             2381 drivers/video/fbdev/sh_mobile_lcdcfb.c 	ovl->xres_virtual = ovl->xres;
xres             2433 drivers/video/fbdev/sh_mobile_lcdcfb.c 		unsigned int size = mode->yres * mode->xres;
xres             2453 drivers/video/fbdev/sh_mobile_lcdcfb.c 			max_mode->xres, max_mode->yres);
xres             2467 drivers/video/fbdev/sh_mobile_lcdcfb.c 	ch->xres = mode->xres;
xres             2468 drivers/video/fbdev/sh_mobile_lcdcfb.c 	ch->xres_virtual = mode->xres;
xres               80 drivers/video/fbdev/sh_mobile_lcdcfb.h 	unsigned int xres;
xres              441 drivers/video/fbdev/simplefb.c 	info->var.xres = params.width;
xres              485 drivers/video/fbdev/simplefb.c 			     info->var.xres, info->var.yres,
xres             1807 drivers/video/fbdev/sis/init.c    unsigned short xres, temp, colordepth, infoflag;
xres             1811 drivers/video/fbdev/sis/init.c       xres = SiS_Pr->CHDisplay;
xres             1814 drivers/video/fbdev/sis/init.c       xres = SiS_Pr->SiS_RefIndex[RRTI].XRes;
xres             1819 drivers/video/fbdev/sis/init.c    temp = xres / 16;
xres             1822 drivers/video/fbdev/sis/init.c    if(xres % 16) temp += (colordepth >> 1);
xres             3538 drivers/video/fbdev/sis/init.c 			int xres, int yres,
xres             3583 drivers/video/fbdev/sis/init.c    if(writeres) var->xres = xres = E * 8;
xres             3638 drivers/video/fbdev/sis/init.c    if((xres == 320) && ((yres == 200) || (yres == 240))) {
xres             3056 drivers/video/fbdev/sis/init301.c    unsigned short xres, yres, modeflag=0, resindex;
xres             3059 drivers/video/fbdev/sis/init301.c       xres = SiS_Pr->CHDisplay;
xres             3060 drivers/video/fbdev/sis/init301.c       if(SiS_Pr->CModeFlag & HalfDCLK) xres <<= 1;
xres             3061 drivers/video/fbdev/sis/init301.c       SiS_Pr->SiS_VGAHDE = SiS_Pr->SiS_HDE = xres;
xres             3070 drivers/video/fbdev/sis/init301.c       xres = SiS_Pr->SiS_StResInfo[resindex].HTotal;
xres             3073 drivers/video/fbdev/sis/init301.c       xres = SiS_Pr->SiS_ModeResInfo[resindex].HTotal;
xres             3089 drivers/video/fbdev/sis/init301.c       if(modeflag & HalfDCLK)       xres <<= 1;
xres             3129 drivers/video/fbdev/sis/init301.c 	    if(xres == 720) xres = 640;
xres             3131 drivers/video/fbdev/sis/init301.c       } else if(xres == 720) xres = 640;
xres             3144 drivers/video/fbdev/sis/init301.c    SiS_Pr->SiS_VGAHDE = SiS_Pr->SiS_HDE = xres;
xres             5545 drivers/video/fbdev/sis/init301.c   unsigned short temp, modeflag, i, j, xres=0, VGAVDE;
xres             5559 drivers/video/fbdev/sis/init301.c      xres = SiS_Pr->CHDisplay;
xres             5562 drivers/video/fbdev/sis/init301.c      xres = SiS_Pr->SiS_RefIndex[RefreshRateTableIndex].XRes;
xres             5568 drivers/video/fbdev/sis/init301.c      if(xres >= 1600) {  /* BIOS: == 1600 */
xres             5585 drivers/video/fbdev/sis/init301.c      if(xres == 1600) SiS_Pr->CHBlankEnd += 80;
xres               33 drivers/video/fbdev/sis/initextlfb.c 			int xres, int yres, struct fb_var_screeninfo *var, bool writeres);
xres              354 drivers/video/fbdev/sis/sis.h void		SiS_Generic_ConvertCRData(struct SiS_Private *SiS_Pr, unsigned char *crdata, int xres,
xres              184 drivers/video/fbdev/sis/sis_main.c 	unsigned int j = 0, xres = 0, yres = 0, depth = 0, rate = 0;
xres              214 drivers/video/fbdev/sis/sis_main.c 		if(sscanf(strbuf1, "%u %u %u %u", &xres, &yres, &depth, &rate) == 4) {
xres              218 drivers/video/fbdev/sis/sis_main.c 			sprintf(strbuf, "%ux%ux%u", xres, yres, depth);
xres              221 drivers/video/fbdev/sis/sis_main.c 		} else if(sscanf(strbuf1, "%u %u %u", &xres, &yres, &depth) == 3) {
xres              222 drivers/video/fbdev/sis/sis_main.c 			sprintf(strbuf, "%ux%ux%u", xres, yres, depth);
xres              225 drivers/video/fbdev/sis/sis_main.c 			xres = 0;
xres              226 drivers/video/fbdev/sis/sis_main.c 			if((sscanf(strbuf1, "%u %u", &xres, &yres) == 2) && (xres != 0)) {
xres              227 drivers/video/fbdev/sis/sis_main.c 				sprintf(strbuf, "%ux%ux8", xres, yres);
xres              438 drivers/video/fbdev/sis/sis_main.c 	int i, j, xres, yres, refresh, index;
xres              506 drivers/video/fbdev/sis/sis_main.c 	      xres = (buffer[index] + 31) * 8;
xres              508 drivers/video/fbdev/sis/sis_main.c 		 case 0xc0: yres = (xres * 9) / 16; break;
xres              509 drivers/video/fbdev/sis/sis_main.c 		 case 0x80: yres = (xres * 4) /  5; break;
xres              510 drivers/video/fbdev/sis/sis_main.c 		 case 0x40: yres = (xres * 3) /  4; break;
xres              511 drivers/video/fbdev/sis/sis_main.c 		 default:   yres = xres;	    break;
xres              514 drivers/video/fbdev/sis/sis_main.c 	      if((xres >= 640) && (yres >= 480)) {
xres              516 drivers/video/fbdev/sis/sis_main.c 		    if((xres == sisfb_ddcfmodes[j].x) &&
xres              649 drivers/video/fbdev/sis/sis_main.c 	u16 xres=0, yres, myres;
xres              669 drivers/video/fbdev/sis/sis_main.c 		xres = ivideo->lcdxres; yres = ivideo->lcdyres;
xres              673 drivers/video/fbdev/sis/sis_main.c 			if(sisbios_mode[myindex].xres > xres)
xres              680 drivers/video/fbdev/sis/sis_main.c 			if(sisbios_mode[myindex].xres == 320) {
xres              691 drivers/video/fbdev/sis/sis_main.c 		if(SiS_GetModeID_LCD(ivideo->sisvga_engine, vbflags, sisbios_mode[myindex].xres,
xres              693 drivers/video/fbdev/sis/sis_main.c 			 	ivideo->SiS_Pr.SiS_CustomT, xres, yres, ivideo->vbflags2) < 0x14) {
xres              699 drivers/video/fbdev/sis/sis_main.c 		if(SiS_GetModeID_TV(ivideo->sisvga_engine, vbflags, sisbios_mode[myindex].xres,
xres              706 drivers/video/fbdev/sis/sis_main.c 		if(SiS_GetModeID_VGA2(ivideo->sisvga_engine, vbflags, sisbios_mode[myindex].xres,
xres              720 drivers/video/fbdev/sis/sis_main.c 	u16 xres = sisbios_mode[mode_idx].xres;
xres              724 drivers/video/fbdev/sis/sis_main.c 	while((sisfb_vrate[i].idx != 0) && (sisfb_vrate[i].xres <= xres)) {
xres              725 drivers/video/fbdev/sis/sis_main.c 		if((sisfb_vrate[i].xres == xres) && (sisfb_vrate[i].yres == yres)) {
xres              756 drivers/video/fbdev/sis/sis_main.c 				rate, xres, yres);
xres             1226 drivers/video/fbdev/sis/sis_main.c 	htotal = var->left_margin + var->xres + var->right_margin + var->hsync_len;
xres             1260 drivers/video/fbdev/sis/sis_main.c 	       (sisbios_mode[ivideo->sisfb_mode_idx].xres <= var->xres) ) {
xres             1261 drivers/video/fbdev/sis/sis_main.c 		if( (sisbios_mode[ivideo->sisfb_mode_idx].xres == var->xres) &&
xres             1279 drivers/video/fbdev/sis/sis_main.c 		printk(KERN_ERR "sisfb: Mode %dx%dx%d not supported\n", var->xres,
xres             1315 drivers/video/fbdev/sis/sis_main.c 		ivideo->video_width  = sisbios_mode[ivideo->sisfb_mode_idx].xres;
xres             1473 drivers/video/fbdev/sis/sis_main.c 	htotal = var->left_margin + var->xres + var->right_margin + var->hsync_len;
xres             1497 drivers/video/fbdev/sis/sis_main.c 	       (sisbios_mode[search_idx].xres <= var->xres) ) {
xres             1498 drivers/video/fbdev/sis/sis_main.c 		if( (sisbios_mode[search_idx].xres == var->xres) &&
xres             1514 drivers/video/fbdev/sis/sis_main.c 		   if( (var->xres <= sisbios_mode[search_idx].xres) &&
xres             1529 drivers/video/fbdev/sis/sis_main.c 				var->xres, var->yres, var->bits_per_pixel,
xres             1530 drivers/video/fbdev/sis/sis_main.c 				sisbios_mode[search_idx].xres,
xres             1533 drivers/video/fbdev/sis/sis_main.c 			var->xres = sisbios_mode[search_idx].xres;
xres             1538 drivers/video/fbdev/sis/sis_main.c 				var->xres, var->yres, var->bits_per_pixel);
xres             1609 drivers/video/fbdev/sis/sis_main.c 	if(var->xres > var->xres_virtual)
xres             1610 drivers/video/fbdev/sis/sis_main.c 		var->xres_virtual = var->xres;
xres             1633 drivers/video/fbdev/sis/sis_main.c 	if(var->xoffset > var->xres_virtual - var->xres) {
xres             1634 drivers/video/fbdev/sis/sis_main.c 		var->xoffset = var->xres_virtual - var->xres - 1;
xres             1661 drivers/video/fbdev/sis/sis_main.c 	if (var->xoffset + info->var.xres > info->var.xres_virtual ||
xres             2291 drivers/video/fbdev/sis/sis_main.c 	u16 xres, yres;
xres             2336 drivers/video/fbdev/sis/sis_main.c 	xres = buffer[0x38] | ((buffer[0x3a] & 0xf0) << 4);
xres             2339 drivers/video/fbdev/sis/sis_main.c 	switch(xres) {
xres             2959 drivers/video/fbdev/sis/sis_main.c 			ivideo->lcdxres = sis_lcd_data[i].xres;
xres             6373 drivers/video/fbdev/sis/sis_main.c 					sisbios_mode[bu].xres,
xres             6416 drivers/video/fbdev/sis/sis_main.c 		ivideo->video_width = sisbios_mode[ivideo->sisfb_mode_idx].xres;
xres             6426 drivers/video/fbdev/sis/sis_main.c 		ivideo->default_var.xres = ivideo->default_var.xres_virtual = ivideo->video_width;
xres               19 drivers/video/fbdev/sis/sis_main.h 	.xres            = 0,
xres              143 drivers/video/fbdev/sis/sis_main.h 	u16 xres;
xres              304 drivers/video/fbdev/sis/sis_main.h 	u16 xres;
xres              398 drivers/video/fbdev/sis/sis_main.h 	u16 xres;
xres               48 drivers/video/fbdev/sm501fb.c 	.xres		= 640,
xres              119 drivers/video/fbdev/sm501fb.c 	return var->xres + var->left_margin +
xres              306 drivers/video/fbdev/sm501fb.c 	if ((var->xres + var->right_margin) > 4096)
xres              320 drivers/video/fbdev/sm501fb.c 	tmp = (var->xres * var->bits_per_pixel) / 8;
xres              439 drivers/video/fbdev/sm501fb.c 		__func__, var->xres, var->yres, var->bits_per_pixel,
xres              539 drivers/video/fbdev/sm501fb.c 	reg |= ((var->xres * var->bits_per_pixel)/8) << 16;
xres              547 drivers/video/fbdev/sm501fb.c 	reg |= (var->xres - 1);
xres              554 drivers/video/fbdev/sm501fb.c 	reg |= var->xres + var->right_margin - 1;
xres              861 drivers/video/fbdev/sm501fb.c 	reg  = var->xres - 1;
xres             1351 drivers/video/fbdev/sm501fb.c 	smc501_writel((info->var.xres << 16) | info->var.xres,
xres             1412 drivers/video/fbdev/sm501fb.c 	smc501_writel((info->var.xres << 16) | info->var.xres,
xres             1780 drivers/video/fbdev/sm501fb.c 			fb->var.xres_virtual = fb->var.xres;
xres               60 drivers/video/fbdev/sm712fb.c 	.xres           = 1024,
xres             1301 drivers/video/fbdev/sm712fb.c 		sfb->fb->fix.line_length  = sfb->fb->var.xres * 4;
xres             1311 drivers/video/fbdev/sm712fb.c 		sfb->fb->fix.line_length  = sfb->fb->var.xres * 3;
xres             1321 drivers/video/fbdev/sm712fb.c 		sfb->fb->fix.line_length  = sfb->fb->var.xres;
xres             1332 drivers/video/fbdev/sm712fb.c 		sfb->fb->fix.line_length  = sfb->fb->var.xres * 2;
xres             1342 drivers/video/fbdev/sm712fb.c 	sfb->width  = sfb->fb->var.xres;
xres             1351 drivers/video/fbdev/sm712fb.c 	if (var->xres_virtual < var->xres)
xres             1352 drivers/video/fbdev/sm712fb.c 		var->xres_virtual = var->xres;
xres             1483 drivers/video/fbdev/sm712fb.c 		sfb->fb->var.xres = smtc_scr_info.lfb_width;
xres             1495 drivers/video/fbdev/sm712fb.c 	sfb->fb->var.xres = SCREEN_X_RES;
xres             1628 drivers/video/fbdev/sm712fb.c 	sfb->fb->var.xres_virtual = sfb->fb->var.xres;
xres             1646 drivers/video/fbdev/sm712fb.c 		 sfb->chip_id, sfb->chip_rev_id, sfb->fb->var.xres,
xres              684 drivers/video/fbdev/smscufx.c 	h_total = var->xres + var->right_margin + var->hsync_len + var->left_margin;
xres              685 drivers/video/fbdev/smscufx.c 	h_active = var->xres;
xres              686 drivers/video/fbdev/smscufx.c 	h_blank_start = var->xres + var->right_margin;
xres              687 drivers/video/fbdev/smscufx.c 	h_blank_end = var->xres + var->right_margin + var->hsync_len;
xres              688 drivers/video/fbdev/smscufx.c 	h_sync_start = var->xres + var->right_margin;
xres              689 drivers/video/fbdev/smscufx.c 	h_sync_end = var->xres + var->right_margin + var->hsync_len;
xres              730 drivers/video/fbdev/smscufx.c 	temp = var->xres * var->yres * 2;
xres              835 drivers/video/fbdev/smscufx.c 	cmd[10] = cpu_to_le16(0x4000 | dev->info->var.xres);
xres              856 drivers/video/fbdev/smscufx.c 	    (x + width > dev->info->var.xres) ||
xres              911 drivers/video/fbdev/smscufx.c 		ufx_handle_damage(dev, 0, start, info->var.xres, lines);
xres              973 drivers/video/fbdev/smscufx.c 		const int width = dev->info->var.xres;
xres             1018 drivers/video/fbdev/smscufx.c 		if (area->x > info->var.xres)
xres             1019 drivers/video/fbdev/smscufx.c 			area->x = info->var.xres;
xres             1189 drivers/video/fbdev/smscufx.c 	if ((mode->xres * mode->yres) > (2048 * 1152)) {
xres             1191 drivers/video/fbdev/smscufx.c 		       mode->xres, mode->yres);
xres             1197 drivers/video/fbdev/smscufx.c 		       mode->xres, mode->yres, mode->pixclock);
xres             1201 drivers/video/fbdev/smscufx.c 	pr_debug("%dx%d (pixclk %dps %dMHz) valid mode", mode->xres, mode->yres,
xres             1224 drivers/video/fbdev/smscufx.c 	if ((var->xres * var->yres * 2) > info->fix.smem_len)
xres             1245 drivers/video/fbdev/smscufx.c 	pr_debug("set_par mode %dx%d", info->var.xres, info->var.yres);
xres             1254 drivers/video/fbdev/smscufx.c 		ufx_handle_damage(dev, 0, 0, info->var.xres, info->var.yres);
xres             1575 drivers/video/fbdev/smscufx.c 		fb_vmode.xres = 800;
xres             1590 drivers/video/fbdev/smscufx.c 		info->fix.line_length = info->var.xres *
xres             1720 drivers/video/fbdev/smscufx.c 		info->var.xres, info->var.yres, info->fix.smem_len >> 10);
xres              705 drivers/video/fbdev/ssd1307fb.c 	info->var.xres = par->width;
xres              354 drivers/video/fbdev/sstfb.c 	int hSyncOff   = var->xres + var->right_margin + var->left_margin;
xres              387 drivers/video/fbdev/sstfb.c 	if (var->xres <= 1 || yDim <= 0 || var->hsync_len <= 1  ||
xres              395 drivers/video/fbdev/sstfb.c 		tiles_in_X = (var->xres + 63 ) / 64 * 2;		
xres              397 drivers/video/fbdev/sstfb.c 		if (var->xres  > POW2(11) || yDim >= POW2(11)) {
xres              399 drivers/video/fbdev/sstfb.c 			         var->xres, var->yres);
xres              412 drivers/video/fbdev/sstfb.c 		tiles_in_X = (var->xres + 63 ) / 64;
xres              419 drivers/video/fbdev/sstfb.c 		if (var->xres > POW2(10) || var->yres >= POW2(10)) {
xres              421 drivers/video/fbdev/sstfb.c 			         var->xres, var->yres);
xres              485 drivers/video/fbdev/sstfb.c 	par->hSyncOff	= info->var.xres + info->var.right_margin + info->var.left_margin;
xres              507 drivers/video/fbdev/sstfb.c 		par->tiles_in_X = (info->var.xres + 63 ) / 64 * 2;
xres              510 drivers/video/fbdev/sstfb.c 		par->tiles_in_X = (info->var.xres + 63 ) / 64;
xres              520 drivers/video/fbdev/sstfb.c 	           info->var.xres, info->var.yres, PICOS2KHZ(info->var.pixclock));
xres              533 drivers/video/fbdev/sstfb.c 	sst_write(VIDEODIMENSIONS, par->yDim << 16 | (info->var.xres - 1));
xres              646 drivers/video/fbdev/sstfb.c 		            info->var.xres - 1, par->yDim - 1);
xres              648 drivers/video/fbdev/sstfb.c 		sst_write(CLIP_LEFT_RIGHT, info->var.xres);
xres              806 drivers/video/fbdev/sstfb.c 	sst_write(BLTCLIPX, info->var.xres);
xres              506 drivers/video/fbdev/stifb.c 	SET_ATTR_SIZE(fb, fb->info.var.xres, fb->info.var.yres);
xres              531 drivers/video/fbdev/stifb.c 			0xff, fb->info.var.xres * fb->info.var.bits_per_pixel/8);
xres              691 drivers/video/fbdev/stifb.c 	packed_len = (fb->info.var.xres << 16) | fb->info.var.yres;
xres              741 drivers/video/fbdev/stifb.c         packed_len = (fb->info.var.xres << 16) | fb->info.var.yres;
xres             1126 drivers/video/fbdev/stifb.c 	int bpp, xres, yres;
xres             1175 drivers/video/fbdev/stifb.c 	xres = sti_onscreen_x(fb->sti);
xres             1203 drivers/video/fbdev/stifb.c 		xres = fb->ngle_rom.x_size_visible;
xres             1288 drivers/video/fbdev/stifb.c 	var->xres = var->xres_virtual = xres;
xres             1327 drivers/video/fbdev/stifb.c 		var->xres, 
xres               92 drivers/video/fbdev/sunxvr1000.c 	var->xres = gp->width;
xres               94 drivers/video/fbdev/sunxvr1000.c 	var->xres_virtual = var->xres;
xres               96 drivers/video/fbdev/sunxvr2500.c 	var->xres = sp->width;
xres               98 drivers/video/fbdev/sunxvr2500.c 	var->xres_virtual = var->xres;
xres              219 drivers/video/fbdev/sunxvr500.c 	var->xres = ep->width;
xres              221 drivers/video/fbdev/sunxvr500.c 	var->xres_virtual = var->xres;
xres              391 drivers/video/fbdev/tcx.c 					  info->var.xres);
xres               96 drivers/video/fbdev/tdfxfb.c 	.xres =		640,
xres              447 drivers/video/fbdev/tdfxfb.c 	if (var->xres != var->xres_virtual)
xres              448 drivers/video/fbdev/tdfxfb.c 		var->xres_virtual = var->xres;
xres              477 drivers/video/fbdev/tdfxfb.c 	var->xres = (var->xres + 15) & ~15; /* could sometimes be 8 */
xres              478 drivers/video/fbdev/tdfxfb.c 	lpitch = var->xres * ((var->bits_per_pixel + 7) >> 3);
xres              480 drivers/video/fbdev/tdfxfb.c 	if (var->xres < 320 || var->xres > 2048) {
xres              481 drivers/video/fbdev/tdfxfb.c 		DPRINTK("width not supported: %u\n", var->xres);
xres              494 drivers/video/fbdev/tdfxfb.c 				var->xres, var->yres_virtual,
xres              540 drivers/video/fbdev/tdfxfb.c 		var->xres, var->yres, var->bits_per_pixel);
xres              547 drivers/video/fbdev/tdfxfb.c 	u32 hdispend = info->var.xres;
xres              593 drivers/video/fbdev/tdfxfb.c 		reg.screensize = info->var.xres | (info->var.yres << 13);
xres              601 drivers/video/fbdev/tdfxfb.c 		reg.screensize = info->var.xres | (info->var.yres << 12);
xres              609 drivers/video/fbdev/tdfxfb.c 			(info->var.xres < 400 ? 0xa0 :
xres              610 drivers/video/fbdev/tdfxfb.c 			 info->var.xres < 480 ? 0x60 :
xres              611 drivers/video/fbdev/tdfxfb.c 			 info->var.xres < 768 ? 0xe0 : 0x20);
xres              694 drivers/video/fbdev/tdfxfb.c 	reg.stride    = info->var.xres * cpp;
xres              733 drivers/video/fbdev/tdfxfb.c 		info->var.xres, info->var.yres, info->var.bits_per_pixel);
xres              183 drivers/video/fbdev/tgafb.c 	if (var->xres_virtual != var->xres || var->yres_virtual != var->yres)
xres              185 drivers/video/fbdev/tgafb.c 	if (var->xres * var->yres * (var->bits_per_pixel >> 3) > info->fix.smem_len)
xres              196 drivers/video/fbdev/tgafb.c 	if (var->xres * (par->tga_type == TGA_TYPE_8PLANE ? 1 : 4) % 8)
xres              242 drivers/video/fbdev/tgafb.c 	htimings = (((info->var.xres/4) & TGA_HORIZ_ACT_LSB)
xres              243 drivers/video/fbdev/tgafb.c 		    | (((info->var.xres/4) & 0x600 << 19) & TGA_HORIZ_ACT_MSB));
xres              263 drivers/video/fbdev/tgafb.c 	par->xres = info->var.xres;
xres              267 drivers/video/fbdev/tgafb.c 	info->fix.line_length = par->xres * (par->bits_per_pixel >> 3);
xres              326 drivers/video/fbdev/tmiofb.c 	tmio_iowrite16(i += mode->xres + mode->right_margin, par->lcr + LCR_HT);
xres              327 drivers/video/fbdev/tmiofb.c 	tmio_iowrite16(mode->xres, par->lcr + LCR_HNP);
xres              432 drivers/video/fbdev/tmiofb.c 		TMIOFB_ACC_DSADR((rect->dy * fbi->mode->xres + rect->dx) * 2),
xres              452 drivers/video/fbdev/tmiofb.c 		TMIOFB_ACC_DSADR((area->dy * fbi->mode->xres + area->dx) * 2),
xres              455 drivers/video/fbdev/tmiofb.c 		TMIOFB_ACC_SSADR((area->sy * fbi->mode->xres + area->sx) * 2),
xres              474 drivers/video/fbdev/tmiofb.c 		.width	= info->mode->xres,
xres              559 drivers/video/fbdev/tmiofb.c 		if (mode->xres >= var->xres && mode->yres >= var->yres
xres              560 drivers/video/fbdev/tmiofb.c 				&& (!best || (mode->xres < best->xres
xres              580 drivers/video/fbdev/tmiofb.c 	var->xres_virtual = mode->xres;
xres              581 drivers/video/fbdev/tmiofb.c 	var->yres_virtual = info->screen_size / (mode->xres * 2);
xres              615 drivers/video/fbdev/tmiofb.c 	info->fix.line_length = info->mode->xres *
xres             1007 drivers/video/fbdev/tridentfb.c 	if (par->flatpanel && nativex && var->xres > nativex)
xres             1010 drivers/video/fbdev/tridentfb.c 	var->xres = (var->xres + 7) & ~0x7;
xres             1011 drivers/video/fbdev/tridentfb.c 	if (var->xres > var->xres_virtual)
xres             1012 drivers/video/fbdev/tridentfb.c 		var->xres_virtual = var->xres;
xres             1144 drivers/video/fbdev/tridentfb.c 	hdispend = var->xres / 8 - 1;
xres             1145 drivers/video/fbdev/tridentfb.c 	hsyncstart = (var->xres + var->right_margin) / 8;
xres             1146 drivers/video/fbdev/tridentfb.c 	hsyncend = (var->xres + var->right_margin + var->hsync_len) / 8;
xres             1147 drivers/video/fbdev/tridentfb.c 	htotal = (var->xres + var->left_margin + var->right_margin +
xres             1177 drivers/video/fbdev/tridentfb.c 	if (par->flatpanel && var->xres < nativex) {
xres             1698 drivers/video/fbdev/tridentfb.c 	   info->node, info->fix.id, info->var.xres,
xres              230 drivers/video/fbdev/udlfb.c 	xde = xds + var->xres;
xres              251 drivers/video/fbdev/udlfb.c 	wrptr = dlfb_set_register_16(wrptr, 0x0F, var->xres);
xres              613 drivers/video/fbdev/udlfb.c 	    (x + width > dlfb->info->var.xres) ||
xres              733 drivers/video/fbdev/udlfb.c 		dlfb_handle_damage(dlfb, 0, start, info->var.xres,
xres              909 drivers/video/fbdev/udlfb.c 		if (area.x > info->var.xres)
xres              910 drivers/video/fbdev/udlfb.c 			area.x = info->var.xres;
xres             1054 drivers/video/fbdev/udlfb.c 	if (mode->xres * mode->yres > dlfb->sku_pixel_limit)
xres             1096 drivers/video/fbdev/udlfb.c 	u32 line_length = info->var.xres * (info->var.bits_per_pixel / 8);
xres             1127 drivers/video/fbdev/udlfb.c 	dlfb_handle_damage(dlfb, 0, 0, info->var.xres, info->var.yres);
xres             1359 drivers/video/fbdev/udlfb.c 					mode->xres, mode->yres);
xres             1388 drivers/video/fbdev/udlfb.c 					mode->xres, mode->yres);
xres             1395 drivers/video/fbdev/udlfb.c 		fb_vmode.xres = 800;
xres             1759 drivers/video/fbdev/udlfb.c 		 dev_name(info->dev), info->var.xres, info->var.yres,
xres              280 drivers/video/fbdev/uvesafb.c 	var->xres = mode->x_res;
xres              316 drivers/video/fbdev/uvesafb.c 		int xres, int yres, int depth, unsigned char flags)
xres              321 drivers/video/fbdev/uvesafb.c 		h = abs(par->vbe_modes[i].x_res - xres) +
xres              606 drivers/video/fbdev/uvesafb.c 	if (uvesafb_vbe_find_mode(info->par, mode->xres, mode->yres, 8,
xres              729 drivers/video/fbdev/uvesafb.c 		var.xres = mode->x_res;
xres              883 drivers/video/fbdev/uvesafb.c 		info->var.xres = 640;
xres              902 drivers/video/fbdev/uvesafb.c 	modeid = uvesafb_vbe_find_mode(par, info->var.xres, info->var.yres,
xres             1226 drivers/video/fbdev/uvesafb.c 	i = uvesafb_vbe_find_mode(par, info->var.xres, info->var.yres, depth,
xres             1249 drivers/video/fbdev/uvesafb.c 		crtc->horiz_start = info->var.xres + info->var.right_margin;
xres             1350 drivers/video/fbdev/uvesafb.c 		if (mode->xres == var->xres && mode->yres == var->yres &&
xres             1379 drivers/video/fbdev/uvesafb.c 	match = uvesafb_vbe_find_mode(par, var->xres, var->yres, depth,
xres             1406 drivers/video/fbdev/uvesafb.c 	var->xres_virtual = var->xres;
xres               71 drivers/video/fbdev/valkyriefb.c 	int	xres, yres;
xres              466 drivers/video/fbdev/valkyriefb.c 		       var->xres, var->yres, var->bits_per_pixel);
xres              481 drivers/video/fbdev/valkyriefb.c 	if (var->xres_virtual > var->xres || var->yres_virtual > var->yres
xres              502 drivers/video/fbdev/valkyriefb.c 	par->xres = var->xres;
xres              504 drivers/video/fbdev/valkyriefb.c 	par->vxres = par->xres;
xres              617 drivers/video/fbdev/vermilion/vermilion.c 	if (var->xres > VML_MAX_XRES || var->yres > VML_MAX_YRES) {
xres              639 drivers/video/fbdev/vermilion/vermilion.c 	pitch = ALIGN((var->xres * var->bits_per_pixel) >> 3, 0x40);
xres              780 drivers/video/fbdev/vermilion/vermilion.c 	    var->xres + var->right_margin + var->hsync_len + var->left_margin;
xres              781 drivers/video/fbdev/vermilion/vermilion.c 	hactive = var->xres;
xres              782 drivers/video/fbdev/vermilion/vermilion.c 	hblank_start = var->xres;
xres              841 drivers/video/fbdev/vermilion/vermilion.c 		    ((var->yres - 1) << 16) | (var->xres - 1));
xres              847 drivers/video/fbdev/vermilion/vermilion.c 		    ((var->xres - 1) << 16) | (var->yres - 1));
xres              258 drivers/video/fbdev/vesafb.c 	vesafb_defined.xres = screen_info.lfb_width;
xres              322 drivers/video/fbdev/vesafb.c 	       vesafb_defined.xres, vesafb_defined.yres, vesafb_defined.bits_per_pixel, vesafb_fix.line_length, screen_info.pages);
xres              362 drivers/video/fbdev/vesafb.c 	vesafb_defined.xres_virtual = vesafb_defined.xres;
xres              374 drivers/video/fbdev/vesafb.c 	vesafb_defined.pixclock     = 10000000 / vesafb_defined.xres * 1000 / vesafb_defined.yres;
xres              375 drivers/video/fbdev/vesafb.c 	vesafb_defined.left_margin  = (vesafb_defined.xres / 8) & 0xf8;
xres              376 drivers/video/fbdev/vesafb.c 	vesafb_defined.hsync_len    = (vesafb_defined.xres / 8) & 0xf8;
xres               45 drivers/video/fbdev/vfb.c 	.xres =		640,
xres              135 drivers/video/fbdev/vfb.c 	if (!var->xres)
xres              136 drivers/video/fbdev/vfb.c 		var->xres = 1;
xres              139 drivers/video/fbdev/vfb.c 	if (var->xres > var->xres_virtual)
xres              140 drivers/video/fbdev/vfb.c 		var->xres_virtual = var->xres;
xres              156 drivers/video/fbdev/vfb.c 	if (var->xres_virtual < var->xoffset + var->xres)
xres              157 drivers/video/fbdev/vfb.c 		var->xres_virtual = var->xoffset + var->xres;
xres              367 drivers/video/fbdev/vfb.c 		if (var->xoffset + info->var.xres > info->var.xres_virtual ||
xres               69 drivers/video/fbdev/vga16fb.c 	.xres		= 640,
xres              316 drivers/video/fbdev/vga16fb.c 	u32 xres, right, hslen, left, xtotal;
xres              354 drivers/video/fbdev/vga16fb.c 	xres = (var->xres + 7) & ~7;
xres              361 drivers/video/fbdev/vga16fb.c 	if (vxres < xres)
xres              362 drivers/video/fbdev/vga16fb.c 		vxres = xres;
xres              363 drivers/video/fbdev/vga16fb.c 	if (xres + xoffset > vxres)
xres              364 drivers/video/fbdev/vga16fb.c 		xoffset = vxres - xres;
xres              366 drivers/video/fbdev/vga16fb.c 	var->xres = xres;
xres              373 drivers/video/fbdev/vga16fb.c 	xres >>= shift;
xres              378 drivers/video/fbdev/vga16fb.c 	xtotal = xres + right + hslen + left;
xres              386 drivers/video/fbdev/vga16fb.c 	par->crtc[VGA_CRTC_H_BLANK_START] = xres - 1;
xres              387 drivers/video/fbdev/vga16fb.c 	par->crtc[VGA_CRTC_H_DISP] = xres - 1;
xres              388 drivers/video/fbdev/vga16fb.c 	pos = xres + right;
xres              170 drivers/video/fbdev/via/dvi.c 		rb_mode = viafb_get_best_rb_mode(var->xres, var->yres, 60);
xres             1459 drivers/video/fbdev/via/hw.c 	u16 dx = (var->xres - cxres) / 2, dy = (var->yres - cyres) / 2;
xres             1480 drivers/video/fbdev/via/hw.c 		cxres ? cxres : var->xres, cyres ? cyres : var->yres);
xres             1487 drivers/video/fbdev/via/hw.c 	viafb_load_fetch_count_reg(var->xres, var->bits_per_pixel / 8, iga);
xres             1490 drivers/video/fbdev/via/hw.c 		viafb_load_FIFO_reg(iga, var->xres, var->yres);
xres             1838 drivers/video/fbdev/via/hw.c 		&& viafbinfo->var.xres == 1024 && viafbinfo->var.yres == 768) {
xres             1870 drivers/video/fbdev/via/hw.c 		cxres = viafbinfo->var.xres;
xres             1888 drivers/video/fbdev/via/hw.c 		if (viafbinfo->var.xres % 8) {
xres             1946 drivers/video/fbdev/via/hw.c 		viafb_hotplug_Xres = viafbinfo->var.xres;
xres             2110 drivers/video/fbdev/via/hw.c 	var->xres = mode->xres;
xres               82 drivers/video/fbdev/via/ioctl.h 	unsigned short xres, yres;
xres              103 drivers/video/fbdev/via/ioctl.h 	u32 xres;
xres              533 drivers/video/fbdev/via/lcd.c 	int set_hres = cxres ? cxres : var->xres;
xres               36 drivers/video/fbdev/via/via_utility.c bool viafb_lcd_get_support_expand_state(u32 xres, u32 yres)
xres               42 drivers/video/fbdev/via/via_utility.c 		if ((xres < 640) && (yres < 480))
xres               47 drivers/video/fbdev/via/via_utility.c 		if ((xres < 800) && (yres < 600))
xres               52 drivers/video/fbdev/via/via_utility.c 		if ((xres < 1024) && (yres < 768))
xres               57 drivers/video/fbdev/via/via_utility.c 		if ((xres < 1280) && (yres < 768))
xres               62 drivers/video/fbdev/via/via_utility.c 		if ((xres < 1280) && (yres < 1024))
xres               67 drivers/video/fbdev/via/via_utility.c 		if ((xres < 1400) && (yres < 1050))
xres               72 drivers/video/fbdev/via/via_utility.c 		if ((xres < 1600) && (yres < 1200))
xres               77 drivers/video/fbdev/via/via_utility.c 		if ((xres < 1366) && (yres < 768))
xres               82 drivers/video/fbdev/via/via_utility.c 		if ((xres < 1024) && (yres < 600))
xres               87 drivers/video/fbdev/via/via_utility.c 		if ((xres < 1280) && (yres < 800))
xres               92 drivers/video/fbdev/via/via_utility.c 		if ((xres < 800) && (yres < 480))
xres               97 drivers/video/fbdev/via/via_utility.c 		if ((xres < 1360) && (yres < 768))
xres              102 drivers/video/fbdev/via/via_utility.c 		if ((xres < 480) && (yres < 640))
xres               13 drivers/video/fbdev/via/via_utility.h bool viafb_lcd_get_support_expand_state(u32 xres, u32 yres);
xres              178 drivers/video/fbdev/via/viafbdev.c 	htotal = var->left_margin + var->xres + var->right_margin
xres              201 drivers/video/fbdev/via/viafbdev.c 	if (!viafb_get_best_mode(var->xres, var->yres, 60)) {
xres              204 drivers/video/fbdev/via/viafbdev.c 			  var->xres, var->yres, var->bits_per_pixel);
xres              228 drivers/video/fbdev/via/viafbdev.c 	if (var->xres_virtual < var->xres)
xres              229 drivers/video/fbdev/via/viafbdev.c 		var->xres_virtual = var->xres;
xres              239 drivers/video/fbdev/via/viafbdev.c 	refresh = viafb_get_refresh(var->xres, var->yres,
xres              244 drivers/video/fbdev/via/viafbdev.c 		viafb_get_best_mode(var->xres, var->yres, refresh));
xres              260 drivers/video/fbdev/via/viafbdev.c 	viafb_update_device_setting(viafbinfo->var.xres, viafbinfo->var.yres,
xres              264 drivers/video/fbdev/via/viafbdev.c 		viafb_update_device_setting(viafbinfo1->var.xres,
xres              413 drivers/video/fbdev/via/viafbdev.c 		return put_user(viafb_ioctl_hotplug(info->var.xres,
xres              422 drivers/video/fbdev/via/viafbdev.c 		u.viamode.xres = (u32) viafb_hotplug_Xres;
xres              510 drivers/video/fbdev/via/viafbdev.c 		u.active_dev.xres = viafb_hotplug_Xres;
xres              565 drivers/video/fbdev/via/viafbdev.c 		    viafb_lcd_get_support_expand_state(info->var.xres,
xres             1632 drivers/video/fbdev/via/viafbdev.c static int parse_mode(const char *str, u32 devices, u32 *xres, u32 *yres)
xres             1646 drivers/video/fbdev/via/viafbdev.c 			*xres = mode->xres;
xres             1649 drivers/video/fbdev/via/viafbdev.c 			*xres = 1200;
xres             1652 drivers/video/fbdev/via/viafbdev.c 			*xres = 640;
xres             1658 drivers/video/fbdev/via/viafbdev.c 	*xres = simple_strtoul(str, &ptr, 10);
xres             1807 drivers/video/fbdev/via/viafbdev.c 	default_var.xres = default_xres;
xres             1813 drivers/video/fbdev/via/viafbdev.c 		default_var.xres, default_var.yres, viafb_refresh));
xres             1845 drivers/video/fbdev/via/viafbdev.c 		default_var.xres = viafb_second_xres;
xres             1851 drivers/video/fbdev/via/viafbdev.c 			default_var.xres, default_var.yres, viafb_refresh1));
xres             1888 drivers/video/fbdev/via/viafbdev.c 		  viafbinfo->node, viafbinfo->fix.id, default_var.xres,
xres              347 drivers/video/fbdev/via/viamode.c 		if (modes[i].xres != hres || modes[i].yres != vres)
xres              118 drivers/video/fbdev/vt8500lcdfb.c 		| (((info->var.xres - 1) & 0x3ff) << 8)
xres              125 drivers/video/fbdev/vt8500lcdfb.c 		| ((info->var.xres - 1) & 0x400), fbi->regbase + 0x10);
xres              209 drivers/video/fbdev/vt8500lcdfb.c 	     | (((info->var.xres_virtual - info->var.xres) * pixlen / 4) << 20)
xres              350 drivers/video/fbdev/vt8500lcdfb.c 	fb_mem_len = of_mode.xres * of_mode.yres * 2 * (bpp / 8);
xres              398 drivers/video/fbdev/vt8500lcdfb.c 	fbi->fb.var.xres_virtual	= of_mode.xres;
xres              333 drivers/video/fbdev/vt8623fb.c 	if (var->xres > var->xres_virtual)
xres              334 drivers/video/fbdev/vt8623fb.c 		var->xres_virtual = var->xres;
xres              393 drivers/video/fbdev/vt8623fb.c 		fetch_value  = ((info->var.xres * bpp) / 128) + 4;
xres              396 drivers/video/fbdev/vt8623fb.c 			fetch_value  = (info->var.xres / 8) + 8; /* + 0 is OK */
xres              411 drivers/video/fbdev/vt8623fb.c 		fetch_value  = (info->var.xres / 8) + 8;
xres              195 drivers/video/fbdev/w100fb.c 	memset_io(remapped_fbuf + (W100_FB_BASE-MEM_WINDOW_BASE), 0, (par->xres * par->yres * BITS_PER_PIXEL/8));
xres              303 drivers/video/fbdev/w100fb.c 	writel(par->xres, remapped_regs + mmDST_PITCH);
xres              305 drivers/video/fbdev/w100fb.c 	writel(par->xres, remapped_regs + mmSRC_PITCH);
xres              309 drivers/video/fbdev/w100fb.c 	writel((par->yres << 16) | par->xres, remapped_regs + mmSC_BOTTOM_RIGHT);
xres              447 drivers/video/fbdev/w100fb.c 		if (modelist[i].xres >= *x && modelist[i].yres >= *y &&
xres              448 drivers/video/fbdev/w100fb.c 				modelist[i].xres < best_x && modelist[i].yres < best_y) {
xres              449 drivers/video/fbdev/w100fb.c 			best_x = modelist[i].xres;
xres              452 drivers/video/fbdev/w100fb.c 		} else if(modelist[i].xres >= *y && modelist[i].yres >= *x &&
xres              453 drivers/video/fbdev/w100fb.c 		        modelist[i].xres < best_y && modelist[i].yres < best_x) {
xres              455 drivers/video/fbdev/w100fb.c 			best_y = modelist[i].xres;
xres              478 drivers/video/fbdev/w100fb.c 	if(!w100fb_get_mode(par, &var->xres, &var->yres, 1))
xres              481 drivers/video/fbdev/w100fb.c 	if (par->mach->mem && ((var->xres*var->yres*BITS_PER_PIXEL/8) > (par->mach->mem->size+1)))
xres              484 drivers/video/fbdev/w100fb.c 	if (!par->mach->mem && ((var->xres*var->yres*BITS_PER_PIXEL/8) > (MEM_INT_SIZE+1)))
xres              487 drivers/video/fbdev/w100fb.c 	var->xres_virtual = max(var->xres_virtual, var->xres);
xres              523 drivers/video/fbdev/w100fb.c 	if (par->xres != info->var.xres || par->yres != info->var.yres)	{
xres              524 drivers/video/fbdev/w100fb.c 		par->xres = info->var.xres;
xres              526 drivers/video/fbdev/w100fb.c 		par->mode = w100fb_get_mode(par, &par->xres, &par->yres, 0);
xres              531 drivers/video/fbdev/w100fb.c 		info->fix.line_length = par->xres * BITS_PER_PIXEL / 8;
xres              534 drivers/video/fbdev/w100fb.c 		if ((par->xres*par->yres*BITS_PER_PIXEL/8) > (MEM_INT_SIZE+1)) {
xres              732 drivers/video/fbdev/w100fb.c 		info->var.xres = par->mode->yres;
xres              733 drivers/video/fbdev/w100fb.c 		info->var.yres = par->mode->xres;
xres              736 drivers/video/fbdev/w100fb.c 		info->var.xres = par->mode->xres;
xres              745 drivers/video/fbdev/w100fb.c 	info->var.xres_virtual = info->var.xres;
xres             1308 drivers/video/fbdev/w100fb.c 	active_h_disp.f.active_h_end=mode->left_margin + mode->xres;
xres             1318 drivers/video/fbdev/w100fb.c 	graphic_h_disp.f.graphic_h_end=mode->left_margin + mode->xres;
xres             1327 drivers/video/fbdev/w100fb.c 	crtc_total.f.crtc_h_total=mode->left_margin  + mode->xres + mode->right_margin;
xres             1419 drivers/video/fbdev/w100fb.c 	if (par->xres == par->mode->xres) {
xres             1422 drivers/video/fbdev/w100fb.c 			offset=(par->xres * par->yres) - 1;
xres             1428 drivers/video/fbdev/w100fb.c 			offset=par->xres - 1;
xres             1431 drivers/video/fbdev/w100fb.c 			offset=par->xres * (par->yres - 1);
xres             1450 drivers/video/fbdev/w100fb.c 			switch(par->xres) {
xres             1485 drivers/video/fbdev/w100fb.c 			graphic_ctrl.f_w32xx.total_req_graphic=par->mode->xres >> 1; /* panel xres, not mode */
xres             1497 drivers/video/fbdev/w100fb.c 	writel((par->xres*BITS_PER_PIXEL/8), remapped_regs + mmGRAPHIC_PITCH);
xres               66 drivers/video/fbdev/wm8505fb.c 	writel(info->var.xres,	       fbi->regbase + WMT_GOVR_XRES);
xres               83 drivers/video/fbdev/wm8505fb.c 	int h_end = h_start + info->var.xres;
xres              328 drivers/video/fbdev/wm8505fb.c 	fb_mem_len = mode.xres * mode.yres * 2 * (bpp / 8);
xres              336 drivers/video/fbdev/wm8505fb.c 	fbi->fb.var.xres_virtual	= mode.xres;
xres              206 drivers/video/fbdev/xen-fbfront.c 	xenfb_refresh(info, 0, miny, fb_info->var.xres, maxy - miny + 1);
xres              289 drivers/video/fbdev/xen-fbfront.c 		if (var->xres == video[KPARAM_WIDTH] &&
xres              298 drivers/video/fbdev/xen-fbfront.c 	if (var->xres > video[KPARAM_WIDTH] || var->yres > video[KPARAM_HEIGHT])
xres              301 drivers/video/fbdev/xen-fbfront.c 	required_mem_len = var->xres * var->yres * xenfb_info->page->depth / 8;
xres              303 drivers/video/fbdev/xen-fbfront.c 	    var->xres <= info->fix.line_length / (XENFB_DEPTH / 8) &&
xres              305 drivers/video/fbdev/xen-fbfront.c 		var->xres_virtual = var->xres;
xres              321 drivers/video/fbdev/xen-fbfront.c 	xenfb_info->resize.width = info->var.xres;
xres              436 drivers/video/fbdev/xen-fbfront.c 	fb_info->var.xres_virtual = fb_info->var.xres = video[KPARAM_WIDTH];
xres              450 drivers/video/fbdev/xen-fbfront.c 	fb_info->fix.line_length = fb_info->var.xres * XENFB_DEPTH / 8;
xres              567 drivers/video/fbdev/xen-fbfront.c 	info->page->width = fb_info->var.xres;
xres               90 drivers/video/fbdev/xilinxfb.c 	u32 xres, yres;         /* resolution of screen in pixels */
xres              104 drivers/video/fbdev/xilinxfb.c 	.xres = 640,
xres              330 drivers/video/fbdev/xilinxfb.c 	drvdata->info.var.xres = pdata->xres;
xres              462 drivers/video/fbdev/xilinxfb.c 		pdata.xres = prop[0];
xres              997 include/drm/drm_connector.h 	int xres;
xres              151 include/linux/amba/clcd.h 	val = ((var->xres / 16) - 1) << 2;
xres              244 include/linux/amba/clcd.h 	var->xres_virtual = var->xres = (var->xres + 15) & ~15;
xres              251 include/linux/amba/clcd.h 	    var->xres > 4096 ||
xres              272 include/linux/amba/clcd.h 	    (CHECK(xres)		||
xres              770 include/linux/fb.h 	u32 xres;
xres               56 include/linux/font.h extern const struct font_desc *get_default_font(int xres, int yres,
xres               46 include/linux/platform_data/cyttsp4.h 	int (*xres)(struct cyttsp4_core_platform_data *pdata,
xres               68 include/linux/platform_data/video-pxafb.h 	u_short		xres;
xres               22 include/linux/platform_data/video_s3c.h 	unsigned short		xres;
xres               61 include/media/davinci/vpbe_types.h 	unsigned int xres;
xres              242 include/uapi/linux/fb.h 	__u32 xres;			/* visible resolution		*/
xres              215 include/uapi/linux/omapfb.h 	__u16 xres;
xres              255 include/video/imx-ipu-v3.h void ipu_cpmem_set_resolution(struct ipuv3_channel *ch, int xres, int yres);
xres              467 include/video/imx-ipu-v3.h void ipu_vdi_setup(struct ipu_vdi *vdi, u32 code, int xres, int yres);
xres               18 include/video/mbxfb.h 		struct mbxfb_val xres;
xres               97 include/video/mmp_disp.h 	u32 xres;
xres              718 include/video/omapfb_dss.h 			u16 *xres, u16 *yres);
xres              793 include/video/omapfb_dss.h 		u16 *xres, u16 *yres);
xres               18 include/video/omapvrfb.h 	u16 xres;
xres               34 include/video/sa1100fb.h 	u_short		xres;
xres              213 include/video/tgafb.h 	u32 xres, yres;			/* resolution in pixels */
xres               68 include/video/w100fb.h 	unsigned int xres;
xres              135 include/video/w100fb.h 	unsigned int xres;
xres              106 lib/fonts/fonts.c const struct font_desc *get_default_font(int xres, int yres, u32 font_w,
xres              123 lib/fonts/fonts.c 		if (MACH_IS_MAC && xres < 640 && f->idx == VGA6x11_IDX)
xres              131 lib/fonts/fonts.c 		res = (xres / f->width) * (yres / f->height) / 1000;
xres              145 samples/vfio-mdev/mdpy-fb.c 	info->var.xres = width;