Home
last modified time | relevance | path

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

/Linux-v4.19/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.c44 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()
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.h343 unsigned short ModeIdIndex);
347 unsigned short *ModeIdIndex);
349 unsigned short ModeIdIndex);
353 unsigned short ModeIdIndex);
355 unsigned short ModeIdIndex, unsigned short RRTI);
362 void SiS_LoadDAC(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex);
366 unsigned short ModeIdIndex);
372 unsigned short ModeIdIndex, int chkcrt2mode);
374 unsigned short ModeIdIndex);
377 unsigned short ModeIdIndex);
[all …]
/Linux-v4.19/drivers/usb/misc/sisusbvga/
Dsisusb_init.c255 unsigned short *ModeIdIndex) in SiS_SearchModeID() argument
262 (*ModeIdIndex) = 0; in SiS_SearchModeID()
266 for (*ModeIdIndex = 0;; (*ModeIdIndex)++) { in SiS_SearchModeID()
268 if (SiS_Pr->SiS_EModeIDTable[*ModeIdIndex].Ext_ModeID == in SiS_SearchModeID()
272 if (SiS_Pr->SiS_EModeIDTable[*ModeIdIndex].Ext_ModeID == in SiS_SearchModeID()
298 unsigned short ModeIdIndex) in SiS_GetColorDepth() argument
305 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_GetColorDepth()
307 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_GetColorDepth()
322 unsigned short ModeIdIndex, unsigned short rrti) in SiS_GetOffset() argument
329 colordepth = SiS_GetColorDepth(SiS_Pr, ModeNo, ModeIdIndex); in SiS_GetOffset()
[all …]
/Linux-v4.19/drivers/staging/xgifb/
Dvb_setmode.c98 static void XGI_SetATTRegs(unsigned short ModeIdIndex, in XGI_SetATTRegs() argument
104 modeflag = XGI330_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in XGI_SetATTRegs()
171 static unsigned char XGI_AjustCRT2Rate(unsigned short ModeIdIndex, in XGI_AjustCRT2Rate() argument
178 modeflag = XGI330_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in XGI_AjustCRT2Rate()
179 resinfo = XGI330_EModeIDTable[ModeIdIndex].Ext_RESINFO; in XGI_AjustCRT2Rate()
319 static void XGI_SetCRT1Timing_V(unsigned short ModeIdIndex, in XGI_SetCRT1Timing_V() argument
351 i = XGI330_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in XGI_SetCRT1Timing_V()
362 static void XGI_SetCRT1CRTC(unsigned short ModeIdIndex, in XGI_SetCRT1CRTC() argument
388 XGI_SetCRT1Timing_V(ModeIdIndex, pVBInfo); in XGI_SetCRT1CRTC()
681 static void XGI_SetCRT1DE(unsigned short ModeIdIndex, in XGI_SetCRT1DE() argument
[all …]
Dvb_setmode.h18 unsigned short *ModeIdIndex);
21 unsigned short ModeIdIndex,
DXGI_main_26.c65 unsigned short ModeIdIndex = 0, ClockIndex = 0; in XGIfb_mode_rate_to_dclock() local
70 XGI_SearchModeID(ModeNo, &ModeIdIndex); in XGIfb_mode_rate_to_dclock()
73 ModeIdIndex, XGI_Pr); in XGIfb_mode_rate_to_dclock()
88 unsigned short ModeIdIndex, index = 0; in XGIfb_mode_rate_to_ddata() local
97 if (!XGI_SearchModeID(ModeNo, &ModeIdIndex)) in XGIfb_mode_rate_to_ddata()
100 ModeIdIndex, XGI_Pr); in XGIfb_mode_rate_to_ddata()