GETBITSTR((SiS_Pr->CVTotal     -2), 10:10, 0:0) | GETBITSTR((SiS_Pr->CVDisplay   -1), 10:10, 1:1) | GETBITSTR((SiS_Pr->CVBlankStart-1), 10:10, 2:2) | GETBITSTR((SiS_Pr->CVSyncStart   ), 10:10, 3:3) | GETBITSTR((SiS_Pr->CVBlankEnd  -1),   8:8, 4:4) | GETBITSTR((SiS_Pr->CVSyncEnd     ),   4:4, 5:5) ; 
GETBITSTR((SiS_Pr->CVTotal     -2), 10:10, 0:0) | GETBITSTR((SiS_Pr->CVDisplay   -1), 10:10, 1:1) | GETBITSTR((SiS_Pr->CVBlankStart-1), 10:10, 2:2) | GETBITSTR((SiS_Pr->CVSyncStart -x), 10:10, 3:3) | GETBITSTR((SiS_Pr->CVBlankEnd  -1),   8:8, 4:4) | GETBITSTR((SiS_Pr->CVSyncEnd     ),   4:4, 5:5) ; 
SiS_CalcCRRegisters(SiS_Private *SiS_Pr, int depth){   SiS_Pr->CCRT1CRTC[0]  =  ((SiS_Pr->CHTotal >> 3) - 5) & 0xff;		/* CR0 */   SiS_Pr->CCRT1CRTC[1]  =  (SiS_Pr->CHDisplay >> 3) - 1;			/* CR1 */   SiS_Pr->CCRT1CRTC[2]  =  (SiS_Pr->CHBlankStart >> 3) - 1;			/* CR2 */   SiS_Pr->CCRT1CRTC[3]  =  (((SiS_Pr->CHBlankEnd >> 3) - 1) & 0x1F) | 0x80;	/* CR3 */   SiS_Pr->CCRT1CRTC[4]  =  (SiS_Pr->CHSyncStart >> 3) + 3;			/* CR4 */   SiS_Pr->CCRT1CRTC[5]  =  ((((SiS_Pr->CHBlankEnd >> 3) - 1) & 0x20) << 2) |	/* CR5 */       			    (((SiS_Pr->CHSyncEnd >> 3) + 3) & 0x1F);   SiS_Pr->CCRT1CRTC[6]  =  (SiS_Pr->CVTotal - 2) & 0xFF;			/* CR6 */   SiS_Pr->CCRT1CRTC[7]  =  (((SiS_Pr->CVTotal - 2) & 0x100) >> 8)		/* CR7 */ 	 		  | (((SiS_Pr->CVDisplay - 1) & 0x100) >> 7)	 		  | ((SiS_Pr->CVSyncStart & 0x100) >> 6)	 	  	  | (((SiS_Pr->CVBlankStart - 1) & 0x100) >> 5)			  | 0x10	 		  | (((SiS_Pr->CVTotal - 2) & 0x200)   >> 4)	 		  | (((SiS_Pr->CVDisplay - 1) & 0x200) >> 3)	 		  | ((SiS_Pr->CVSyncStart & 0x200) >> 2);   SiS_Pr->CCRT1CRTC[16] = ((((SiS_Pr->CVBlankStart - 1) & 0x200) >> 4) >> 5); 	/* CR9 */   if(depth != 8) {      if(SiS_Pr->CHDisplay >= 1600)      SiS_Pr->CCRT1CRTC[16] |= 0x60;		/* SRE */      else if(SiS_Pr->CHDisplay >= 640)  SiS_Pr->CCRT1CRTC[16] |= 0x40;   }#if 0   if (mode->VScan >= 32)	regp->CRTC[9] |= 0x1F;   else if (mode->VScan > 1)	regp->CRTC[9] |= mode->VScan - 1;#endif   SiS_Pr->CCRT1CRTC[8] =  (SiS_Pr->CVSyncStart     ) & 0xFF;			/* CR10 */   SiS_Pr->CCRT1CRTC[9] =  ((SiS_Pr->CVSyncEnd      ) & 0x0F) | 0x80;		/* CR11 */   SiS_Pr->CCRT1CRTC[10] = (SiS_Pr->CVDisplay    - 1) & 0xFF;			/* CR12 */   SiS_Pr->CCRT1CRTC[11] = (SiS_Pr->CVBlankStart - 1) & 0xFF;			/* CR15 */   SiS_Pr->CCRT1CRTC[12] = (SiS_Pr->CVBlankEnd   - 1) & 0xFF;			/* CR16 */   SiS_Pr->CCRT1CRTC[13] =							/* SRA */                        GETBITSTR((SiS_Pr->CVTotal     -2), 10:10, 0:0) |                        GETBITSTR((SiS_Pr->CVDisplay   -1), 10:10, 1:1) |                        GETBITSTR((SiS_Pr->CVBlankStart-1), 10:10, 2:2) |                        GETBITSTR((SiS_Pr->CVSyncStart   ), 10:10, 3:3) |                        GETBITSTR((SiS_Pr->CVBlankEnd  -1),   8:8, 4:4) |                        GETBITSTR((SiS_Pr->CVSyncEnd     ),   4:4, 5:5) ;   SiS_Pr->CCRT1CRTC[14] =							/* SRB */                        GETBITSTR((SiS_Pr->CHTotal      >> 3) - 5, 9:8, 1:0) |                        GETBITSTR((SiS_Pr->CHDisplay    >> 3) - 1, 9:8, 3:2) |                        GETBITSTR((SiS_Pr->CHBlankStart >> 3) - 1, 9:8, 5:4) |                        GETBITSTR((SiS_Pr->CHSyncStart  >> 3) + 3, 9:8, 7:6) ;   SiS_Pr->CCRT1CRTC[15] =							/* SRC */                        GETBITSTR((SiS_Pr->CHBlankEnd >> 3) - 1, 7:6, 1:0) |                        GETBITSTR((SiS_Pr->CHSyncEnd  >> 3) + 3, 5:5, 2:2) ;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/544393fe584d333480659a4bed30f5295355df11/init.c/clean/drivers/video/sis/init.c