&htotal, &vtotal, rate_idx)) { 
&htotal, &vtotal, rate_idx)) { 
sisfb_verify_rate(struct sis_video_info *ivideo, struct sisfb_monitor *monitor,		int mode_idx, int rate_idx, int rate){	int htotal, vtotal;	unsigned int dclock, hsync;	if(!monitor->datavalid) return TRUE;	if(mode_idx < 0) return FALSE;	/* Skip for 320x200, 320x240, 640x400 */    	switch(sisbios_mode[mode_idx].mode_no[ivideo->mni]) {    	case 0x59:    	case 0x41:    	case 0x4f:    	case 0x50:    	case 0x56:    	case 0x53:    	case 0x2f:    	case 0x5d:    	case 0x5e:    		return TRUE;#ifdef CONFIG_FB_SIS_315	case 0x5a:	case 0x5b:		if(ivideo->sisvga_engine == SIS_315_VGA) return TRUE;#endif    	}	if(rate < (monitor->vmin - 1)) return FALSE;	if(rate > (monitor->vmax + 1)) return FALSE;	if(sisfb_gettotalfrommode(&ivideo->SiS_Pr, &ivideo->sishw_ext,				  sisbios_mode[mode_idx].mode_no[ivideo->mni],	                          &htotal, &vtotal, rate_idx)) {		dclock = (htotal * vtotal * rate) / 1000;		if(dclock > (monitor->dclockmax + 1000)) return FALSE;		hsync = dclock / htotal;		if(hsync < (monitor->hmin - 1)) return FALSE;		if(hsync > (monitor->hmax + 1)) return FALSE;        } else {	  	return FALSE;	}	return TRUE;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/544393fe584d333480659a4bed30f5295355df11/sis_main.c/clean/drivers/video/sis/sis_main.c