if(SiS_BridgeIsOn(SiS_Pr)) { flag = SiS_GetReg(SiS_Pr->SiS_Part1Port,0x00); if(HwInfo->jChipType < SIS_315H) { flag &= 0xa0; if((flag == 0x80) || (flag == 0x20)) return TRUE; } else { flag &= 0x50; if((flag == 0x40) || (flag == 0x10)) return TRUE; } } return FALSE; 
if(SiS_HaveBridge(SiS_Pr)) { flag = SiS_GetReg(SiS_Pr->SiS_Part1Port,0x00); if(SiS_Pr->ChipType < SIS_315H) { flag &= 0xa0; if((flag == 0x80) || (flag == 0x20)) return TRUE; } else { flag &= 0x50; if((flag == 0x40) || (flag == 0x10)) return TRUE; } } return FALSE; 
SiS_BridgeIsEnabled(SiS_Private *SiS_Pr, PSIS_HW_INFO HwInfo){  USHORT flag;  if(SiS_BridgeIsOn(SiS_Pr)) {     flag = SiS_GetReg(SiS_Pr->SiS_Part1Port,0x00);     if(HwInfo->jChipType < SIS_315H) {       flag &= 0xa0;       if((flag == 0x80) || (flag == 0x20)) return TRUE;     } else {       flag &= 0x50;       if((flag == 0x40) || (flag == 0x10)) return TRUE;     }  }  return FALSE;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/544393fe584d333480659a4bed30f5295355df11/init301.c/clean/drivers/video/sis/init301.c