kernels/linux-2.4.0/drivers/video/cyber2000fb.c
/*
 * Enable access to the extended registers
 */
Enable access to the extended registers
Enable access to the extended registers
static void cyber2000fb_enable_extregs(struct cfb_info *cfb)
{
	cfb->func_use_count += 1;
	if (cfb->func_use_count == 1) {
		int old;
		old = cyber2000_grphr(FUNC_CTL);
		cyber2000_grphw(FUNC_CTL, old | FUNC_CTL_EXTREGENBL);
	}
}
static void cyber2000fb_enable_extregs ( struct cfb_info * cfb ) { cfb -> func_use_count += 1 ; if ( cfb -> func_use_count == 1 ) { int old ; old = cyber2000_grphr ( FUNC_CTL ) ; cyber2000_grphw ( FUNC_CTL , old | FUNC_CTL_EXTREGENBL ) ; } }
Enable access to the extended registers
Enable access to the extended registers