Lines Matching refs:SiS_GetReg
905 SiS_GetReg(SISIOADDRESS port, u8 index) in SiS_GetReg() function
934 temp = SiS_GetReg(Port, Index); in SiS_SetRegANDOR()
944 temp = SiS_GetReg(Port, Index); in SiS_SetRegAND()
954 temp = SiS_GetReg(Port, Index); in SiS_SetRegOR()
1031 cr5f = SiS_GetReg(SiS_Pr->SiS_P3d4,0x5f) & 0xf0; in SiS_GetSysFlags()
1033 temp1 = SiS_GetReg(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()
1166 temp = SiS_GetReg(SiS_Pr->SiS_Part4Port,0x00); in SiSSetLVDSetc()
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()
1431 flag = SiS_GetReg(SiS_Pr->SiS_Part4Port,0x00); in SiS_GetVBType()
1436 rev = SiS_GetReg(SiS_Pr->SiS_Part4Port,0x01); in SiS_GetVBType()
1446 nolcd = SiS_GetReg(SiS_Pr->SiS_Part4Port,0x23); in SiS_GetVBType()
1454 flag = SiS_GetReg(SiS_Pr->SiS_Part4Port,0x39); in SiS_GetVBType()
1462 p4_0f = SiS_GetReg(SiS_Pr->SiS_Part4Port,0x0f); in SiS_GetVBType()
1463 p4_25 = SiS_GetReg(SiS_Pr->SiS_Part4Port,0x25); in SiS_GetVBType()
1464 p4_27 = SiS_GetReg(SiS_Pr->SiS_Part4Port,0x27); in SiS_GetVBType()
1468 if(SiS_GetReg(SiS_Pr->SiS_Part4Port,0x26) & 0x08) { in SiS_GetVBType()
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()
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()
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()
1695 temp1 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x00); in SiS_DoLowModeTest()
1697 temp2 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x00); in SiS_DoLowModeTest()
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()
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()
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()
2326 temp = SiS_GetReg(SiS_Pr->SiS_P3d4,0x35) & 0xc3; in SiS_SetCRT1FIFO_300()
2334 temp = SiS_GetReg(SiS_Pr->SiS_P3c4,0x16) >> 6; 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()
2611 data = SiS_GetReg(SiS_Pr->SiS_P3c4,0x1f) & 0xe7; in SiS_SetVCLKState()
2684 int hrs = (SiS_GetReg(SiS_Pr->SiS_P3d4,0x04) | in SiS_SetCRT1ModeRegs()
2685 ((SiS_GetReg(SiS_Pr->SiS_P3c4,0x0b) & 0xc0) << 2)) - 3; in SiS_SetCRT1ModeRegs()
2686 int hto = (SiS_GetReg(SiS_Pr->SiS_P3d4,0x00) | in SiS_SetCRT1ModeRegs()
2687 ((SiS_GetReg(SiS_Pr->SiS_P3c4,0x0b) & 0x03) << 8)) + 5; in SiS_SetCRT1ModeRegs()
2805 if(SiS_GetReg(SiS_Pr->SiS_P3d4,0x31) & 0x40) { in SiS_SetCRT1ModeRegs()
2811 if(SiS_GetReg(SiS_Pr->SiS_P3d4,0x31) & 0x40) { 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()
2840 SiS_SetReg(P2_3ce,i,SiS_GetReg(SiS_Pr->SiS_P3ce,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()
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()
3196 KeepLockReg = SiS_GetReg(SiS_Pr->SiS_P3c4,0x05); in SiSSetMode()
3220 backupreg = SiS_GetReg(SiS_Pr->SiS_P3d4,0x38); in SiSSetMode()
3222 backupreg = SiS_GetReg(SiS_Pr->SiS_P3d4,0x35); in SiSSetMode()
3294 if((IS_SIS650) && (SiS_GetReg(SiS_Pr->SiS_P3d4,0x30) & 0xfc)) { in SiSSetMode()
3301 if(SiS_GetReg(SiS_Pr->SiS_P3d4,0x30) & SetCRT2ToLCD) { in SiSSetMode()