struct vga16fb_par *par = (struct vga16fb_par *) info->par; 
struct vga16fb_par *par = info->par; 
static void vga_imageblit_expand(struct fb_info *info, const struct fb_image *image){	char __iomem *where = info->screen_base + (image->dx/8) +		image->dy * info->fix.line_length;	struct vga16fb_par *par = (struct vga16fb_par *) info->par;	char *cdat = (char *) image->data;	char __iomem *dst;	int x, y;	switch (info->fix.type) {	case FB_TYPE_VGA_PLANES:		if (info->fix.type_aux == FB_AUX_VGA_PLANES_VGA4) {			if (par->isVGA) {				setmode(2);				setop(0);				setsr(0xf);				setcolor(image->fg_color);				selectmask();								setmask(0xff);				writeb(image->bg_color, where);				rmb();				readb(where); /* fill latches */				setmode(3);				wmb();				for (y = 0; y < image->height; y++) {					dst = where;					for (x = image->width/8; x--;) 						writeb(*cdat++, dst++);					where += info->fix.line_length;				}				wmb();			} else {				setmode(0);				setop(0);				setsr(0xf);				setcolor(image->bg_color);				selectmask();								setmask(0xff);				for (y = 0; y < image->height; y++) {					dst = where;					for (x=image->width/8; x--;){						rmw(dst);						setcolor(image->fg_color);						selectmask();						if (*cdat) {							setmask(*cdat++);							rmw(dst++);						}					}					where += info->fix.line_length;				}			}		} else 			vga_8planes_imageblit(info, image);		break;	case FB_TYPE_PACKED_PIXELS:	default:		cfb_imageblit(info, image);		break;	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/120ddb41f18c2d41702af561f4acfbcbd8d6fb46/vga16fb.c/buggy/drivers/video/vga16fb.c