vga_out8(0x3c5, sr8); vga_out8(0x3c4, 0x0d); srd = vga_in8(0x3c5); 
vga_out8(0x3c5, sr8, par); vga_out8(0x3c4, 0x0d, par); srd = vga_in8(0x3c5, par); 
static int savagefb_blank(int blank, struct fb_info *info){	struct savagefb_par *par = info->par;	u8 sr8 = 0, srd = 0;	if (par->display_type == DISP_CRT) {		vga_out8(0x3c4, 0x08);		sr8 = vga_in8(0x3c5);		sr8 |= 0x06;		vga_out8(0x3c5, sr8);		vga_out8(0x3c4, 0x0d);		srd = vga_in8(0x3c5);		srd &= 0x03;		switch (blank) {		case FB_BLANK_UNBLANK:		case FB_BLANK_NORMAL:			break;		case FB_BLANK_VSYNC_SUSPEND:			srd |= 0x10;			break;		case FB_BLANK_HSYNC_SUSPEND:			srd |= 0x40;			break;		case FB_BLANK_POWERDOWN:			srd |= 0x50;			break;		}		vga_out8(0x3c4, 0x0d);		vga_out8(0x3c5, srd);	}	if (par->display_type == DISP_LCD ||	    par->display_type == DISP_DFP) {		switch(blank) {		case FB_BLANK_UNBLANK:		case FB_BLANK_NORMAL:			vga_out8(0x3c4, 0x31); /* SR31 bit 4 - FP enable */			vga_out8(0x3c5, vga_in8(0x3c5) | 0x10);			break;		case FB_BLANK_VSYNC_SUSPEND:		case FB_BLANK_HSYNC_SUSPEND:		case FB_BLANK_POWERDOWN:			vga_out8(0x3c4, 0x31); /* SR31 bit 4 - FP enable */			vga_out8(0x3c5, vga_in8(0x3c5) & ~0x10);			break;		}	}	return (blank == FB_BLANK_NORMAL) ? 1 : 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/1cc650c69f3079ce3c616c998a741bcf6ddf4f4d/savagefb_driver.c/buggy/drivers/video/savage/savagefb_driver.c