Lines Matching refs:SiS_P3d4

984    SiS_Pr->SiS_P3d4 = BaseAddr + 0x24;  in SiSRegInit()
1031 cr5f = SiS_GetReg(SiS_Pr->SiS_P3d4,0x5f) & 0xf0; in SiS_GetSysFlags()
1032 SiS_SetRegAND(SiS_Pr->SiS_P3d4,0x5c,0x07); in SiS_GetSysFlags()
1033 temp1 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x5c) & 0xf8; in SiS_GetSysFlags()
1034 SiS_SetRegOR(SiS_Pr->SiS_P3d4,0x5c,0xf8); in SiS_GetSysFlags()
1035 temp2 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x5c) & 0xf8; in SiS_GetSysFlags()
1052 temp1 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x5c) & 0xf8; in SiS_GetSysFlags()
1070 if(SiS_GetReg(SiS_Pr->SiS_P3d4,0x78) & 0x30) { in SiS_GetSysFlags()
1073 if(SiS_GetReg(SiS_Pr->SiS_P3d4,0x79) & 0xf0) { in SiS_GetSysFlags()
1174 temp = (SiS_GetReg(SiS_Pr->SiS_P3d4,0x37) & 0x0e) >> 1; in SiSSetLVDSetc()
1189 temp = (SiS_GetReg(SiS_Pr->SiS_P3d4,0x37) & 0x0e) >> 1; in SiSSetLVDSetc()
1201 temp = (SiS_GetReg(SiS_Pr->SiS_P3d4,0x38) & 0xe0) >> 5; in SiSSetLVDSetc()
1516 data = ((SiS_GetReg(SiS_Pr->SiS_P3d4,0x78) & 0xc0) >> 6); in SiS_Get310DRAMType()
1518 data = SiS_GetReg(SiS_Pr->SiS_P3d4,0x78) & 0x07; in SiS_Get310DRAMType()
1526 switch(SiS_GetReg(SiS_Pr->SiS_P3d4,0x5f) & 0x30) { in SiS_Get310DRAMType()
1693 temp = SiS_GetReg(SiS_Pr->SiS_P3d4,0x11); in SiS_DoLowModeTest()
1694 SiS_SetRegOR(SiS_Pr->SiS_P3d4,0x11,0x80); in SiS_DoLowModeTest()
1695 temp1 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x00); in SiS_DoLowModeTest()
1696 SiS_SetReg(SiS_Pr->SiS_P3d4,0x00,0x55); in SiS_DoLowModeTest()
1697 temp2 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x00); in SiS_DoLowModeTest()
1698 SiS_SetReg(SiS_Pr->SiS_P3d4,0x00,temp1); in SiS_DoLowModeTest()
1699 SiS_SetReg(SiS_Pr->SiS_P3d4,0x11,temp); in SiS_DoLowModeTest()
1707 SiS_SetRegOR(SiS_Pr->SiS_P3d4,0x35,0x01); in SiS_DoLowModeTest()
1729 SiS_SetRegAND(SiS_Pr->SiS_P3d4,0x51,0x1f); in SiS_OpenCRTC()
1730 if(IS_SIS651) SiS_SetRegOR(SiS_Pr->SiS_P3d4,0x51,0x20); in SiS_OpenCRTC()
1731 SiS_SetRegAND(SiS_Pr->SiS_P3d4,0x56,0xe7); in SiS_OpenCRTC()
1733 SiS_SetRegAND(SiS_Pr->SiS_P3d4,0x61,0xf7); in SiS_OpenCRTC()
1734 SiS_SetRegAND(SiS_Pr->SiS_P3d4,0x51,0x1f); in SiS_OpenCRTC()
1735 SiS_SetRegAND(SiS_Pr->SiS_P3d4,0x56,0xe7); in SiS_OpenCRTC()
1737 SiS_SetRegAND(SiS_Pr->SiS_P3d4,0x3a,0xef); in SiS_OpenCRTC()
1752 SiS_SetRegANDOR(SiS_Pr->SiS_P3d4,0x51,0x1f,temp1); in SiS_CloseCRTC()
1753 SiS_SetRegANDOR(SiS_Pr->SiS_P3d4,0x56,0xe7,temp2); in SiS_CloseCRTC()
1762 SiS_SetRegAND(SiS_Pr->SiS_P3d4,SiS_Pr->SiS_MyCR63,0xbf); in SiS_HandleCRT1()
1767 SiS_SetRegOR(SiS_Pr->SiS_P3d4,SiS_Pr->SiS_MyCR63,0x40); in SiS_HandleCRT1()
1892 SiS_SetRegAND(SiS_Pr->SiS_P3d4,0x11,0x7f); in SiS_SetCRTCRegs()
1896 SiS_SetReg(SiS_Pr->SiS_P3d4,i,CRTCdata); in SiS_SetCRTCRegs()
1903 SiS_SetReg(SiS_Pr->SiS_P3d4,i,CRTCdata); in SiS_SetCRTCRegs()
1910 SiS_SetReg(SiS_Pr->SiS_P3d4,0x18,0xFE); in SiS_SetCRTCRegs()
2097 SiS_SetRegAND(SiS_Pr->SiS_P3d4,0x11,0x7f); in SiS_SetCRT1CRTC()
2100 SiS_SetReg(SiS_Pr->SiS_P3d4,j,crt1data[i]); in SiS_SetCRT1CRTC()
2103 SiS_SetReg(SiS_Pr->SiS_P3d4,j,crt1data[i]); in SiS_SetCRT1CRTC()
2106 SiS_SetReg(SiS_Pr->SiS_P3d4,j,crt1data[i]); in SiS_SetCRT1CRTC()
2116 SiS_SetRegANDOR(SiS_Pr->SiS_P3d4,0x09,0x5F,temp); in SiS_SetCRT1CRTC()
2119 SiS_SetReg(SiS_Pr->SiS_P3d4,0x14,0x4F); in SiS_SetCRT1CRTC()
2124 SiS_SetReg(SiS_Pr->SiS_P3d4,0x04,crt1data[4] - 1); in SiS_SetCRT1CRTC()
2128 SiS_SetRegANDOR(SiS_Pr->SiS_P3d4,0x05,0xe0,((temp - 1) & 0x1f)); in SiS_SetCRT1CRTC()
2159 SiS_SetReg(SiS_Pr->SiS_P3d4,0x13,DisplayUnit & 0xFF); in SiS_SetCRT1Offset()
2326 temp = SiS_GetReg(SiS_Pr->SiS_P3d4,0x35) & 0xc3; in SiS_SetCRT1FIFO_300()
2684 int hrs = (SiS_GetReg(SiS_Pr->SiS_P3d4,0x04) | in SiS_SetCRT1ModeRegs()
2686 int hto = (SiS_GetReg(SiS_Pr->SiS_P3d4,0x00) | in SiS_SetCRT1ModeRegs()
2690 SiS_SetReg(SiS_Pr->SiS_P3d4,0x19,data); in SiS_SetCRT1ModeRegs()
2691 SiS_SetRegANDOR(SiS_Pr->SiS_P3d4,0x1a,0xFC,((data >> 8) & 0x03)); in SiS_SetCRT1ModeRegs()
2805 if(SiS_GetReg(SiS_Pr->SiS_P3d4,0x31) & 0x40) { in SiS_SetCRT1ModeRegs()
2806 SiS_SetReg(SiS_Pr->SiS_P3d4,0x52,0x2c); in SiS_SetCRT1ModeRegs()
2808 SiS_SetReg(SiS_Pr->SiS_P3d4,0x52,0x6c); in SiS_SetCRT1ModeRegs()
2811 if(SiS_GetReg(SiS_Pr->SiS_P3d4,0x31) & 0x40) { in SiS_SetCRT1ModeRegs()
2812 SiS_SetReg(SiS_Pr->SiS_P3d4,0x52,0x33); in SiS_SetCRT1ModeRegs()
2814 SiS_SetReg(SiS_Pr->SiS_P3d4,0x52,0x73); in SiS_SetCRT1ModeRegs()
2816 SiS_SetReg(SiS_Pr->SiS_P3d4,0x51,0x02); in SiS_SetCRT1ModeRegs()
3134 ((SiS_GetReg(SiS_Pr->SiS_P3d4, 0x5c) & 0xf8) != 0x80) || in SiS_Handle760()
3146 if(SiS_GetReg(SiS_Pr->SiS_P3d4,0x31) & 0x40) { in SiS_Handle760()
3220 backupreg = SiS_GetReg(SiS_Pr->SiS_P3d4,0x38); in SiSSetMode()
3222 backupreg = SiS_GetReg(SiS_Pr->SiS_P3d4,0x35); in SiSSetMode()
3286 SiS_SetRegOR(SiS_Pr->SiS_P3d4,0x35,0x01); in SiSSetMode()
3288 SiS_SetRegAND(SiS_Pr->SiS_P3d4,0x35,0xFE); in SiSSetMode()
3292 SiS_SetReg(SiS_Pr->SiS_P3d4,0x38,backupreg); in SiSSetMode()
3294 if((IS_SIS650) && (SiS_GetReg(SiS_Pr->SiS_P3d4,0x30) & 0xfc)) { in SiSSetMode()
3296 SiS_SetRegOR(SiS_Pr->SiS_P3d4,0x51,0x80); in SiSSetMode()
3297 SiS_SetRegOR(SiS_Pr->SiS_P3d4,0x56,0x08); in SiSSetMode()
3301 if(SiS_GetReg(SiS_Pr->SiS_P3d4,0x30) & SetCRT2ToLCD) { in SiSSetMode()
3302 SiS_SetRegAND(SiS_Pr->SiS_P3d4,0x38,0xfc); in SiSSetMode()
3307 SiS_SetReg(SiS_Pr->SiS_P3d4,0x35,backupreg); in SiSSetMode()
3510 SiS_SetRegAND(SiS_Pr->SiS_P3d4,0x11,0x7f); 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()
3530 SiS_SetRegANDOR(SiS_Pr->SiS_P3d4,0x09,0x5F,tempax); in SiS_CalcLCDACRT1Timing()