Lines Matching refs:CCRT1CRTC
2083 crt1data = &SiS_Pr->CCRT1CRTC[0]; in SiS_SetCRT1CRTC()
3332 SiS_Pr->CCRT1CRTC[0] = ((SiS_Pr->CHTotal >> 3) - 5) & 0xff; /* CR0 */ in SiS_CalcCRRegisters()
3333 SiS_Pr->CCRT1CRTC[1] = (SiS_Pr->CHDisplay >> 3) - 1; /* CR1 */ in SiS_CalcCRRegisters()
3334 SiS_Pr->CCRT1CRTC[2] = (SiS_Pr->CHBlankStart >> 3) - 1; /* CR2 */ in SiS_CalcCRRegisters()
3335 SiS_Pr->CCRT1CRTC[3] = (((SiS_Pr->CHBlankEnd >> 3) - 1) & 0x1F) | 0x80; /* CR3 */ in SiS_CalcCRRegisters()
3336 SiS_Pr->CCRT1CRTC[4] = (SiS_Pr->CHSyncStart >> 3) + 3; /* CR4 */ in SiS_CalcCRRegisters()
3337 SiS_Pr->CCRT1CRTC[5] = ((((SiS_Pr->CHBlankEnd >> 3) - 1) & 0x20) << 2) | /* CR5 */ in SiS_CalcCRRegisters()
3340 SiS_Pr->CCRT1CRTC[6] = (SiS_Pr->CVTotal - 2) & 0xFF; /* CR6 */ in SiS_CalcCRRegisters()
3341 SiS_Pr->CCRT1CRTC[7] = (((SiS_Pr->CVTotal - 2) & 0x100) >> 8) /* CR7 */ in SiS_CalcCRRegisters()
3350 SiS_Pr->CCRT1CRTC[16] = ((((SiS_Pr->CVBlankStart - 1) & 0x200) >> 4) >> 5); /* CR9 */ in SiS_CalcCRRegisters()
3353 if(SiS_Pr->CHDisplay >= 1600) SiS_Pr->CCRT1CRTC[16] |= 0x60; /* SRE */ in SiS_CalcCRRegisters()
3354 else if(SiS_Pr->CHDisplay >= 640) SiS_Pr->CCRT1CRTC[16] |= 0x40; in SiS_CalcCRRegisters()
3357 SiS_Pr->CCRT1CRTC[8] = (SiS_Pr->CVSyncStart - x) & 0xFF; /* CR10 */ in SiS_CalcCRRegisters()
3358 SiS_Pr->CCRT1CRTC[9] = ((SiS_Pr->CVSyncEnd - x) & 0x0F) | 0x80; /* CR11 */ in SiS_CalcCRRegisters()
3359 SiS_Pr->CCRT1CRTC[10] = (SiS_Pr->CVDisplay - 1) & 0xFF; /* CR12 */ in SiS_CalcCRRegisters()
3360 SiS_Pr->CCRT1CRTC[11] = (SiS_Pr->CVBlankStart - 1) & 0xFF; /* CR15 */ in SiS_CalcCRRegisters()
3361 SiS_Pr->CCRT1CRTC[12] = (SiS_Pr->CVBlankEnd - 1) & 0xFF; /* CR16 */ in SiS_CalcCRRegisters()
3363 SiS_Pr->CCRT1CRTC[13] = /* SRA */ in SiS_CalcCRRegisters()
3371 SiS_Pr->CCRT1CRTC[14] = /* SRB */ in SiS_CalcCRRegisters()
3378 SiS_Pr->CCRT1CRTC[15] = /* SRC */ in SiS_CalcCRRegisters()
3506 SiS_Pr->CCRT1CRTC[15] &= ~0xF8; in SiS_CalcLCDACRT1Timing()
3507 SiS_Pr->CCRT1CRTC[15] |= (remaining << 4); in SiS_CalcLCDACRT1Timing()
3508 SiS_Pr->CCRT1CRTC[16] &= ~0xE0; in SiS_CalcLCDACRT1Timing()
3513 SiS_SetReg(SiS_Pr->SiS_P3d4,j,SiS_Pr->CCRT1CRTC[i]); in SiS_CalcLCDACRT1Timing()
3516 SiS_SetReg(SiS_Pr->SiS_P3d4,j,SiS_Pr->CCRT1CRTC[i]); in SiS_CalcLCDACRT1Timing()
3519 SiS_SetReg(SiS_Pr->SiS_P3d4,j,SiS_Pr->CCRT1CRTC[i]); in SiS_CalcLCDACRT1Timing()
3522 SiS_SetReg(SiS_Pr->SiS_P3c4,j,SiS_Pr->CCRT1CRTC[i]); in SiS_CalcLCDACRT1Timing()
3525 tempax = SiS_Pr->CCRT1CRTC[16] & 0xE0; in SiS_CalcLCDACRT1Timing()
3528 tempax = (SiS_Pr->CCRT1CRTC[16] & 0x01) << 5; in SiS_CalcLCDACRT1Timing()