Lines Matching +full:0 +full:x5b
40 unsigned short ModeIdIndex = 0, ClockIndex = 0; in sisfb_mode_rate_to_dclock()
41 unsigned short RRTI = 0; in sisfb_mode_rate_to_dclock()
46 if(rateindex > 0) rateindex--; in sisfb_mode_rate_to_dclock()
50 case 0x5a: ModeNo = 0x50; break; in sisfb_mode_rate_to_dclock()
51 case 0x5b: ModeNo = 0x56; in sisfb_mode_rate_to_dclock()
85 unsigned short ModeIdIndex = 0, index = 0, RRTI = 0; in sisfb_mode_rate_to_ddata()
88 if(!SiSInitPtr(SiS_Pr)) return 0; in sisfb_mode_rate_to_ddata()
90 if(rateindex > 0) rateindex--; in sisfb_mode_rate_to_ddata()
94 case 0x5a: ModeNo = 0x50; break; in sisfb_mode_rate_to_ddata()
95 case 0x5b: ModeNo = 0x56; in sisfb_mode_rate_to_ddata()
99 if(!(SiS_SearchModeID(SiS_Pr, &ModeNo, &ModeIdIndex))) return 0; in sisfb_mode_rate_to_ddata()
116 (unsigned char *)&SiS_Pr->SiS_CRT1Table[index].CR[0], in sisfb_mode_rate_to_ddata()
121 if(SiS_Pr->SiS_RefIndex[RRTI].Ext_InfoFlag & 0x8000) in sisfb_mode_rate_to_ddata()
126 if(SiS_Pr->SiS_RefIndex[RRTI].Ext_InfoFlag & 0x4000) in sisfb_mode_rate_to_ddata()
132 if(SiS_Pr->SiS_RefIndex[RRTI].Ext_InfoFlag & 0x0080) in sisfb_mode_rate_to_ddata()
135 j = 0; in sisfb_mode_rate_to_ddata()
136 while(SiS_Pr->SiS_EModeIDTable[j].Ext_ModeID != 0xff) { in sisfb_mode_rate_to_ddata()
149 #if 0 /* Do this? */ in sisfb_mode_rate_to_ddata()
168 unsigned short ModeIdIndex = 0, CRT1Index = 0; in sisfb_gettotalfrommode()
169 unsigned short RRTI = 0; in sisfb_gettotalfrommode()
174 if(rateindex > 0) rateindex--; in sisfb_gettotalfrommode()
178 case 0x5a: ModeNo = 0x50; break; in sisfb_gettotalfrommode()
179 case 0x5b: ModeNo = 0x56; in sisfb_gettotalfrommode()
200 cr_data = SiS_Pr->SiS_CRT1Table[CRT1Index].CR[0]; in sisfb_gettotalfrommode()
201 *htotal = (((cr_data & 0xff) | ((unsigned short) (sr_data & 0x03) << 8)) + 5) * 8; in sisfb_gettotalfrommode()
206 *vtotal = ((cr_data & 0xFF) | in sisfb_gettotalfrommode()
207 ((unsigned short)(cr_data2 & 0x01) << 8) | in sisfb_gettotalfrommode()
208 ((unsigned short)(cr_data2 & 0x20) << 4) | in sisfb_gettotalfrommode()
209 ((unsigned short)(sr_data & 0x01) << 10)) + 2; in sisfb_gettotalfrommode()