/drivers/video/fbdev/sis/ |
D | init301.h | 352 …hort SiS_GetRatePtr(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex); 357 unsigned short ModeIdIndex, int checkcrt2mode); 360 unsigned short ModeIdIndex); 362 unsigned short ModeIdIndex); 363 …hort SiS_GetVCLK2Ptr(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, 365 … short SiS_GetResInfo(struct SiS_Private *SiS_Pr,unsigned short ModeNo,unsigned short ModeIdIndex); 419 unsigned short ModeNo, unsigned short ModeIdIndex, unsigned short RefTabindex); 421 unsigned short ModeNo, unsigned short ModeIdIndex,unsigned short RefTableIndex); 425 unsigned short ModeNo,unsigned short ModeIdIndex, unsigned short RRTI); 427 unsigned short ModeNo,unsigned short ModeIdIndex, unsigned short RRTI); [all …]
|
D | init.h | 1480 unsigned short ModeIdIndex); 1484 unsigned short *ModeIdIndex); 1486 unsigned short ModeIdIndex); 1490 unsigned short ModeIdIndex); 1492 unsigned short ModeIdIndex, unsigned short RRTI); 1499 void SiS_LoadDAC(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex); 1503 unsigned short ModeIdIndex); 1509 unsigned short ModeIdIndex, int chkcrt2mode); 1511 unsigned short ModeIdIndex); 1514 unsigned short ModeIdIndex); [all …]
|
D | initextlfb.c | 44 unsigned short *ModeIdIndex); 53 unsigned short ModeIdIndex = 0, ClockIndex = 0; in sisfb_mode_rate_to_dclock() local 68 if(!(SiS_SearchModeID(SiS_Pr, &ModeNo, &ModeIdIndex))) { in sisfb_mode_rate_to_dclock() 73 RRTI = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].REFindex; in sisfb_mode_rate_to_dclock() 98 unsigned short ModeIdIndex = 0, index = 0, RRTI = 0; in sisfb_mode_rate_to_ddata() local 112 if(!(SiS_SearchModeID(SiS_Pr, &ModeNo, &ModeIdIndex))) return 0; in sisfb_mode_rate_to_ddata() 114 RRTI = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].REFindex; in sisfb_mode_rate_to_ddata() 181 unsigned short ModeIdIndex = 0, CRT1Index = 0; in sisfb_gettotalfrommode() local 196 if(!(SiS_SearchModeID(SiS_Pr, &ModeNo, &ModeIdIndex))) return false; in sisfb_gettotalfrommode() 198 RRTI = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].REFindex; in sisfb_gettotalfrommode()
|
D | init301.c | 196 SiS_AdjustCRT2Rate(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, in SiS_AdjustCRT2Rate() argument 284 SiS_GetRatePtr(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex) in SiS_GetRatePtr() argument 300 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_GetRatePtr() 302 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_GetRatePtr() 338 RRTI = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].REFindex; in SiS_GetRatePtr() 343 if( (SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_VESAID == 0x105) || in SiS_GetRatePtr() 344 (SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_VESAID == 0x107) ) { in SiS_GetRatePtr() 371 if(!(SiS_AdjustCRT2Rate(SiS_Pr, ModeNo, ModeIdIndex, RRTI, &i))) { in SiS_GetRatePtr() 935 unsigned short ModeIdIndex, int checkcrt2mode) in SiS_GetVBInfo() argument 942 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex); in SiS_GetVBInfo() [all …]
|
D | init.c | 1234 unsigned short ModeIdIndex) in SiS_GetModeFlag() argument 1239 return SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_GetModeFlag() 1241 return SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_GetModeFlag() 1483 unsigned short ModeIdIndex) in SiS_CheckMemorySize() argument 1486 unsigned short modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex); in SiS_CheckMemorySize() 1597 unsigned short *ModeIdIndex) in SiS_SearchModeID() argument 1605 for((*ModeIdIndex) = 0; ;(*ModeIdIndex)++) { in SiS_SearchModeID() 1606 if(SiS_Pr->SiS_SModeIDTable[(*ModeIdIndex)].St_ModeID == (*ModeNo)) break; in SiS_SearchModeID() 1607 if(SiS_Pr->SiS_SModeIDTable[(*ModeIdIndex)].St_ModeID == 0xFF) return false; in SiS_SearchModeID() 1611 if(VGAINFO & 0x10) (*ModeIdIndex)++; /* 400 lines */ in SiS_SearchModeID() [all …]
|
/drivers/usb/misc/sisusbvga/ |
D | sisusb_init.c | 254 unsigned short *ModeIdIndex) in SiS_SearchModeID() argument 261 (*ModeIdIndex) = 0; in SiS_SearchModeID() 265 for (*ModeIdIndex = 0;; (*ModeIdIndex)++) { in SiS_SearchModeID() 267 if (SiS_Pr->SiS_EModeIDTable[*ModeIdIndex].Ext_ModeID == in SiS_SearchModeID() 271 if (SiS_Pr->SiS_EModeIDTable[*ModeIdIndex].Ext_ModeID == in SiS_SearchModeID() 297 unsigned short ModeIdIndex) in SiS_GetColorDepth() argument 304 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_GetColorDepth() 306 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_GetColorDepth() 321 unsigned short ModeIdIndex, unsigned short rrti) in SiS_GetOffset() argument 328 colordepth = SiS_GetColorDepth(SiS_Pr, ModeNo, ModeIdIndex); in SiS_GetOffset() [all …]
|
/drivers/staging/xgifb/ |
D | vb_setmode.c | 96 static void XGI_SetATTRegs(unsigned short ModeIdIndex, in XGI_SetATTRegs() argument 102 modeflag = XGI330_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in XGI_SetATTRegs() 169 static unsigned char XGI_AjustCRT2Rate(unsigned short ModeIdIndex, in XGI_AjustCRT2Rate() argument 175 modeflag = XGI330_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in XGI_AjustCRT2Rate() 176 resinfo = XGI330_EModeIDTable[ModeIdIndex].Ext_RESINFO; in XGI_AjustCRT2Rate() 318 static void XGI_SetCRT1Timing_V(unsigned short ModeIdIndex, in XGI_SetCRT1Timing_V() argument 350 i = XGI330_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in XGI_SetCRT1Timing_V() 361 static void XGI_SetCRT1CRTC(unsigned short ModeIdIndex, in XGI_SetCRT1CRTC() argument 387 XGI_SetCRT1Timing_V(ModeIdIndex, pVBInfo); in XGI_SetCRT1CRTC() 678 static void XGI_SetCRT1DE(unsigned short ModeIdIndex, in XGI_SetCRT1DE() argument [all …]
|
D | vb_setmode.h | 17 unsigned short *ModeIdIndex); 20 unsigned short ModeIdIndex,
|
D | XGI_main_26.c | 63 unsigned short ModeIdIndex = 0, ClockIndex = 0; in XGIfb_mode_rate_to_dclock() local 68 XGI_SearchModeID(ModeNo, &ModeIdIndex); in XGIfb_mode_rate_to_dclock() 71 ModeIdIndex, XGI_Pr); in XGIfb_mode_rate_to_dclock() 86 unsigned short ModeIdIndex, index = 0; in XGIfb_mode_rate_to_ddata() local 95 if (!XGI_SearchModeID(ModeNo, &ModeIdIndex)) in XGIfb_mode_rate_to_ddata() 98 ModeIdIndex, XGI_Pr); in XGIfb_mode_rate_to_ddata()
|