Lines Matching refs:SiS_P3c4

966    SiS_SetRegAND(SiS_Pr->SiS_P3c4,0x01,0xDF);  in SiS_DisplayOn()
972 SiS_SetRegOR(SiS_Pr->SiS_P3c4,0x01,0x20); in SiS_DisplayOff()
983 SiS_Pr->SiS_P3c4 = BaseAddr + 0x14; in SiSRegInit()
1097 SiS_SetRegOR(SiS_Pr->SiS_P3c4,0x20,0xa1); in SiSInitPCIetc()
1103 SiS_SetRegOR(SiS_Pr->SiS_P3c4,0x1E,0x5A); in SiSInitPCIetc()
1121 SiS_SetRegOR(SiS_Pr->SiS_P3c4,0x20,0xa1); in SiSInitPCIetc()
1128 SiS_SetRegOR(SiS_Pr->SiS_P3c4,0x1E,0xDA); in SiSInitPCIetc()
1133 SiS_SetRegOR(SiS_Pr->SiS_P3c4,0x20,0xa1); in SiSInitPCIetc()
1138 SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x1E,0x60,0x40); in SiSInitPCIetc()
1393 SiS_SetReg(SiS_Pr->SiS_P3c4,0x1d,temp); in SiS_SetSegmentRegOver()
1521 data = SiS_GetReg(SiS_Pr->SiS_P3c4,0x13) & 0x07; in SiS_Get310DRAMType()
1523 data = SiS_GetReg(SiS_Pr->SiS_P3c4,0x3a) & 0x03; in SiS_Get310DRAMType()
1764 if(!(SiS_GetReg(SiS_Pr->SiS_P3c4,0x15) & 0x01)) { in SiS_HandleCRT1()
1765 if((SiS_GetReg(SiS_Pr->SiS_P3c4,0x15) & 0x0a) || in SiS_HandleCRT1()
1766 (SiS_GetReg(SiS_Pr->SiS_P3c4,0x16) & 0x01)) { in SiS_HandleCRT1()
1837 SiS_SetReg(SiS_Pr->SiS_P3c4,0x00,0x03); in SiS_SetSeqRegs()
1851 SiS_SetReg(SiS_Pr->SiS_P3c4,0x01,SRdata); in SiS_SetSeqRegs()
1855 SiS_SetReg(SiS_Pr->SiS_P3c4,i,SRdata); in SiS_SetSeqRegs()
2007 SiS_SetReg(SiS_Pr->SiS_P3c4,i,0x00); in SiS_ClearExt1Regs()
2011 SiS_SetRegAND(SiS_Pr->SiS_P3c4,0x37,0xFE); in SiS_ClearExt1Regs()
2014 SiS_SetReg(SiS_Pr->SiS_P3c4,0x0e,0x20); in SiS_ClearExt1Regs()
2038 SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x31,0xcf,0x20); in SiS_ResetCRT1VCLK()
2039 SiS_SetReg(SiS_Pr->SiS_P3c4,0x2B,SiS_Pr->SiS_VCLKData[1].SR2B); in SiS_ResetCRT1VCLK()
2040 SiS_SetReg(SiS_Pr->SiS_P3c4,0x2C,SiS_Pr->SiS_VCLKData[1].SR2C); in SiS_ResetCRT1VCLK()
2041 SiS_SetReg(SiS_Pr->SiS_P3c4,0x2D,0x80); in SiS_ResetCRT1VCLK()
2042 SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x31,0xcf,0x10); in SiS_ResetCRT1VCLK()
2043 SiS_SetReg(SiS_Pr->SiS_P3c4,0x2B,SiS_Pr->SiS_VCLKData[0].SR2B); in SiS_ResetCRT1VCLK()
2044 SiS_SetReg(SiS_Pr->SiS_P3c4,0x2C,SiS_Pr->SiS_VCLKData[0].SR2C); in SiS_ResetCRT1VCLK()
2045 SiS_SetReg(SiS_Pr->SiS_P3c4,0x2D,0x80); in SiS_ResetCRT1VCLK()
2109 SiS_SetReg(SiS_Pr->SiS_P3c4,j,crt1data[i]); in SiS_SetCRT1CRTC()
2112 SiS_SetReg(SiS_Pr->SiS_P3c4,0x0E,crt1data[16] & 0xE0); in SiS_SetCRT1CRTC()
2126 SiS_SetRegAND(SiS_Pr->SiS_P3c4,0x0c,0xfb); in SiS_SetCRT1CRTC()
2131 SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x0e,0x1f,(temp << 5)); in SiS_SetCRT1CRTC()
2157 SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x0E,0xF0,temp); in SiS_SetCRT1Offset()
2169 SiS_SetReg(SiS_Pr->SiS_P3c4,0x10,temp); in SiS_SetCRT1Offset()
2199 SiS_SetRegAND(SiS_Pr->SiS_P3c4,0x31,0xCF); in SiS_SetCRT1VCLK()
2201 SiS_SetReg(SiS_Pr->SiS_P3c4,0x2b,clka); in SiS_SetCRT1VCLK()
2202 SiS_SetReg(SiS_Pr->SiS_P3c4,0x2c,clkb); in SiS_SetCRT1VCLK()
2206 SiS_SetReg(SiS_Pr->SiS_P3c4,0x2D,0x01); in SiS_SetCRT1VCLK()
2210 SiS_SetReg(SiS_Pr->SiS_P3c4,0x2b,SiS_GetReg(SiS_Pr->SiS_P3c4,0x2b)); in SiS_SetCRT1VCLK()
2211 clkb = SiS_GetReg(SiS_Pr->SiS_P3c4,0x2c); in SiS_SetCRT1VCLK()
2213 SiS_SetReg(SiS_Pr->SiS_P3c4,0x2c,clkb); in SiS_SetCRT1VCLK()
2218 SiS_SetReg(SiS_Pr->SiS_P3c4,0x2D,0x80); in SiS_SetCRT1VCLK()
2236 temp1 = temp2 = (SiS_GetReg(SiS_Pr->SiS_P3c4,0x18) & 0x62) >> 1; in SiS_GetFIFOThresholdIndex300()
2238 (*idx1) = (unsigned short)(SiS_GetReg(SiS_Pr->SiS_P3c4,0x16) >> 6) & 0x03; in SiS_GetFIFOThresholdIndex300()
2239 (*idx1) |= (unsigned short)(((SiS_GetReg(SiS_Pr->SiS_P3c4,0x14) >> 4) & 0x0c)); in SiS_GetFIFOThresholdIndex300()
2323 index = SiS_GetReg(SiS_Pr->SiS_P3c4,0x3A) & 0x07; in SiS_SetCRT1FIFO_300()
2327 SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x16,0x3c,temp); in SiS_SetCRT1FIFO_300()
2332 SiS_SetRegAND(SiS_Pr->SiS_P3c4,0x16,0xfc); in SiS_SetCRT1FIFO_300()
2334 temp = SiS_GetReg(SiS_Pr->SiS_P3c4,0x16) >> 6; in SiS_SetCRT1FIFO_300()
2336 SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x16,0x3f,((temp - 1) << 6)); in SiS_SetCRT1FIFO_300()
2343 SiS_SetReg(SiS_Pr->SiS_P3c4,0x08,temp); in SiS_SetCRT1FIFO_300()
2347 SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x0f,0x9f,temp); in SiS_SetCRT1FIFO_300()
2350 SiS_SetReg(SiS_Pr->SiS_P3c4,0x3B,0x09); in SiS_SetCRT1FIFO_300()
2355 SiS_SetReg(SiS_Pr->SiS_P3c4,0x09,temp); in SiS_SetCRT1FIFO_300()
2397 if(SiS_GetReg(SiS_Pr->SiS_P3c4,0x14) & 0x80) index += 12; in SiS_CalcDelay2()
2447 data = SiS_GetReg(SiS_Pr->SiS_P3c4,0x1A) & 0x07; in SiS_SetCRT1FIFO_630()
2481 SiS_SetReg(SiS_Pr->SiS_P3c4,0x08,data); in SiS_SetCRT1FIFO_630()
2484 SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x0F,0xDF,data); in SiS_SetCRT1FIFO_630()
2487 SiS_SetReg(SiS_Pr->SiS_P3c4,0x3B,0x09); in SiS_SetCRT1FIFO_630()
2492 SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x09,0x80,data); in SiS_SetCRT1FIFO_630()
2543 SiS_SetRegAND(SiS_Pr->SiS_P3c4,0x3D,0xFE); in SiS_SetCRT1FIFO_310()
2547 SiS_SetReg(SiS_Pr->SiS_P3c4,0x08,0xAE); in SiS_SetCRT1FIFO_310()
2548 SiS_SetRegAND(SiS_Pr->SiS_P3c4,0x09,0xF0); in SiS_SetCRT1FIFO_310()
2551 SiS_SetReg(SiS_Pr->SiS_P3c4,0x08,0x34); in SiS_SetCRT1FIFO_310()
2552 SiS_SetRegOR(SiS_Pr->SiS_P3c4,0x3D,0x01); in SiS_SetCRT1FIFO_310()
2555 SiS_SetReg(SiS_Pr->SiS_P3c4,0x08,0x34); in SiS_SetCRT1FIFO_310()
2556 SiS_SetRegOR(SiS_Pr->SiS_P3c4,0x3D,0x01); in SiS_SetCRT1FIFO_310()
2560 SiS_SetReg(SiS_Pr->SiS_P3c4,0x08,0x34); in SiS_SetCRT1FIFO_310()
2561 SiS_SetRegOR(SiS_Pr->SiS_P3c4,0x3D,0x01); in SiS_SetCRT1FIFO_310()
2590 SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x07,0x7B,data); in SiS_SetVCLKState()
2594 SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x32,0xF7,data); in SiS_SetVCLKState()
2599 SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x32,0xf3,data); in SiS_SetVCLKState()
2602 SiS_SetRegAND(SiS_Pr->SiS_P3c4,0x1f,0xe7); in SiS_SetVCLKState()
2609 SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x32,0xf3,data); in SiS_SetVCLKState()
2611 data = SiS_GetReg(SiS_Pr->SiS_P3c4,0x1f) & 0xe7; in SiS_SetVCLKState()
2613 SiS_SetReg(SiS_Pr->SiS_P3c4,0x1f,data); in SiS_SetVCLKState()
2621 SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x07,0xE8,0x10); in SiS_SetVCLKState()
2636 SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x07,0xFC,data); in SiS_SetVCLKState()
2641 SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x07,0xF8,data); in SiS_SetVCLKState()
2668 SiS_SetRegAND(SiS_Pr->SiS_P3c4,0x1F,0x3F); in SiS_SetCRT1ModeRegs()
2678 SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x06,0xC0,data); in SiS_SetCRT1ModeRegs()
2685 ((SiS_GetReg(SiS_Pr->SiS_P3c4,0x0b) & 0xc0) << 2)) - 3; in SiS_SetCRT1ModeRegs()
2687 ((SiS_GetReg(SiS_Pr->SiS_P3c4,0x0b) & 0x03) << 8)) + 5; in SiS_SetCRT1ModeRegs()
2695 SiS_SetRegOR(SiS_Pr->SiS_P3c4,0x01,0x08); in SiS_SetCRT1ModeRegs()
2701 SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x0F,0xF7,data); in SiS_SetCRT1ModeRegs()
2709 SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x0F,0xB7,data); in SiS_SetCRT1ModeRegs()
2714 SiS_SetRegAND(SiS_Pr->SiS_P3c4,0x31,0xfb); in SiS_SetCRT1ModeRegs()
2732 SiS_SetReg(SiS_Pr->SiS_P3c4,0x17,data); in SiS_SetCRT1ModeRegs()
2784 SiS_SetReg(SiS_Pr->SiS_P3c4,0x17,data); in SiS_SetCRT1ModeRegs()
2798 SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x21,0x1F,data); in SiS_SetCRT1ModeRegs()
2833 (!(SiS_GetReg(SiS_Pr->SiS_P3c4,0x3a) & 0x04))) in SiS_SetupDualChip()
2837 SiS_SetReg(P2_3c4,i,SiS_GetReg(SiS_Pr->SiS_P3c4,i)); in SiS_SetupDualChip()
2843 SiS_SetReg(P2_3c4,0x06,SiS_GetReg(SiS_Pr->SiS_P3c4,0x06)); /* SR06 */ in SiS_SetupDualChip()
2844 SiS_SetReg(P2_3c4,0x21,SiS_GetReg(SiS_Pr->SiS_P3c4,0x21)); /* SR21 */ in SiS_SetupDualChip()
3021 SiS_SetReg(SiS_Pr->SiS_P3c4,0x2b,sr2b); in SiS_SetCRT1Group()
3022 SiS_SetReg(SiS_Pr->SiS_P3c4,0x2c,sr2c); in SiS_SetCRT1Group()
3196 KeepLockReg = SiS_GetReg(SiS_Pr->SiS_P3c4,0x05); in SiSSetMode()
3197 SiS_SetReg(SiS_Pr->SiS_P3c4,0x05,0x86); in SiSSetMode()
3218 SiS_SetRegOR(SiS_Pr->SiS_P3c4,0x32,0x10); in SiSSetMode()
3316 if(KeepLockReg != 0xA1) SiS_SetReg(SiS_Pr->SiS_P3c4,0x05,0x00); in SiSSetMode()
3522 SiS_SetReg(SiS_Pr->SiS_P3c4,j,SiS_Pr->CCRT1CRTC[i]); in SiS_CalcLCDACRT1Timing()
3526 SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x0E,0x1F,tempax); in SiS_CalcLCDACRT1Timing()