var->xres_virtual = var->xres = (var->xres + 7) & ~7; 
var->xres_virtual = var->xres = (var->xres + 15) & ~15; 
static inline int clcdfb_check(struct clcd_fb *fb, struct fb_var_screeninfo *var){	var->xres_virtual = var->xres = (var->xres + 7) & ~7;	var->yres_virtual = var->yres = (var->yres + 1) & ~1;#define CHECK(e,l,h) (var->e < l || var->e > h)	if (CHECK(right_margin, (5+1), 256) ||	/* back porch */	    CHECK(left_margin, (5+1), 256) ||	/* front porch */	    CHECK(hsync_len, (5+1), 256) ||	    var->xres > 4096 ||	    var->lower_margin > 255 ||		/* back porch */	    var->upper_margin > 255 ||		/* front porch */	    var->vsync_len > 32 ||	    var->yres > 1024)		return -EINVAL;#undef CHECK	/* single panel mode: PCD = max(PCD, 1) */	/* dual panel mode: PCD = max(PCD, 5) */	/*	 * You can't change the grayscale setting, and	 * we can only do non-interlaced video.	 */	if (var->grayscale != fb->fb.var.grayscale ||	    (var->vmode & FB_VMODE_MASK) != FB_VMODE_NONINTERLACED)		return -EINVAL;#define CHECK(e) (var->e != fb->fb.var.e)	if (fb->panel->fixedtimings &&	    (CHECK(xres)		||	     CHECK(yres)		||	     CHECK(bits_per_pixel)	||	     CHECK(pixclock)		||	     CHECK(left_margin)		||	     CHECK(right_margin)	||	     CHECK(upper_margin)	||	     CHECK(lower_margin)	||	     CHECK(hsync_len)		||	     CHECK(vsync_len)		||	     CHECK(sync)))		return -EINVAL;#undef CHECK	var->nonstd = 0;	var->accel_flags = 0;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/0f7ad450394560a6b6c72115e04bf7afd6230e70/amba_clcd.h/clean/include/asm-arm/hardware/amba_clcd.h