Home
last modified time | relevance | path

Searched refs:ModeIdIndex (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/video/fbdev/sis/
Dinit301.h71 …hort SiS_GetRatePtr(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex);
76 unsigned short ModeIdIndex, int checkcrt2mode);
79 unsigned short ModeIdIndex);
81 unsigned short ModeIdIndex);
82 …hort SiS_GetVCLK2Ptr(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex,
84 … short SiS_GetResInfo(struct SiS_Private *SiS_Pr,unsigned short ModeNo,unsigned short ModeIdIndex);
115 unsigned short ModeIdIndex);
116 …hort SiS_GetModePtr(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex);
117 …t SiS_GetColorDepth(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex);
118 … short SiS_GetOffset(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex,
[all …]
Dinitextlfb.c31 unsigned short *ModeIdIndex);
40 unsigned short ModeIdIndex = 0, ClockIndex = 0; in sisfb_mode_rate_to_dclock() local
55 if(!(SiS_SearchModeID(SiS_Pr, &ModeNo, &ModeIdIndex))) { in sisfb_mode_rate_to_dclock()
60 RRTI = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].REFindex; in sisfb_mode_rate_to_dclock()
85 unsigned short ModeIdIndex = 0, index = 0, RRTI = 0; in sisfb_mode_rate_to_ddata() local
99 if(!(SiS_SearchModeID(SiS_Pr, &ModeNo, &ModeIdIndex))) return 0; in sisfb_mode_rate_to_ddata()
101 RRTI = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].REFindex; in sisfb_mode_rate_to_ddata()
168 unsigned short ModeIdIndex = 0, CRT1Index = 0; in sisfb_gettotalfrommode() local
183 if(!(SiS_SearchModeID(SiS_Pr, &ModeNo, &ModeIdIndex))) return false; in sisfb_gettotalfrommode()
185 RRTI = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].REFindex; in sisfb_gettotalfrommode()
Dinit301.c399 unsigned short ModeNo, unsigned short ModeIdIndex, unsigned short RefTabindex);
401 unsigned short ModeNo, unsigned short ModeIdIndex,unsigned short RefTableIndex);
405 unsigned short ModeNo,unsigned short ModeIdIndex, unsigned short RRTI);
407 unsigned short ModeNo,unsigned short ModeIdIndex, unsigned short RRTI);
522 SiS_AdjustCRT2Rate(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, in SiS_AdjustCRT2Rate() argument
610 SiS_GetRatePtr(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex) in SiS_GetRatePtr() argument
626 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_GetRatePtr()
628 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_GetRatePtr()
664 RRTI = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].REFindex; in SiS_GetRatePtr()
669 if( (SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_VESAID == 0x105) || in SiS_GetRatePtr()
[all …]
Dinit.c1234 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 …]
Dsis.h330 unsigned short ModeIdIndex);
334 unsigned short *ModeIdIndex);
336 unsigned short ModeIdIndex);
340 unsigned short ModeIdIndex);
342 unsigned short ModeIdIndex, unsigned short RRTI);
349 void SiS_LoadDAC(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex);
353 unsigned short ModeIdIndex);
359 unsigned short ModeIdIndex, int chkcrt2mode);
361 unsigned short ModeIdIndex);
364 unsigned short ModeIdIndex);
[all …]
/kernel/linux/linux-5.10/drivers/usb/misc/sisusbvga/
Dsisusb_init.c253 unsigned short *ModeIdIndex) in SiS_SearchModeID() argument
260 (*ModeIdIndex) = 0; in SiS_SearchModeID()
264 for (*ModeIdIndex = 0;; (*ModeIdIndex)++) { in SiS_SearchModeID()
266 if (SiS_Pr->SiS_EModeIDTable[*ModeIdIndex].Ext_ModeID == in SiS_SearchModeID()
270 if (SiS_Pr->SiS_EModeIDTable[*ModeIdIndex].Ext_ModeID == in SiS_SearchModeID()
296 unsigned short ModeIdIndex) in SiS_GetColorDepth() argument
303 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_GetColorDepth()
305 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_GetColorDepth()
320 unsigned short ModeIdIndex, unsigned short rrti) in SiS_GetOffset() argument
327 colordepth = SiS_GetColorDepth(SiS_Pr, ModeNo, ModeIdIndex); in SiS_GetOffset()
[all …]