Lines Matching refs:SiS_Pr
139 #define SISSR ivideo->SiS_Pr.SiS_P3c4
140 #define SISCR ivideo->SiS_Pr.SiS_P3d4
141 #define SISDACA ivideo->SiS_Pr.SiS_P3c8
142 #define SISDACD ivideo->SiS_Pr.SiS_P3c9
143 #define SISPART1 ivideo->SiS_Pr.SiS_Part1Port
144 #define SISPART2 ivideo->SiS_Pr.SiS_Part2Port
145 #define SISPART3 ivideo->SiS_Pr.SiS_Part3Port
146 #define SISPART4 ivideo->SiS_Pr.SiS_Part4Port
147 #define SISPART5 ivideo->SiS_Pr.SiS_Part5Port
150 #define SISMISCR (ivideo->SiS_Pr.RelIO + 0x1c)
151 #define SISMISCW ivideo->SiS_Pr.SiS_P3c2
152 #define SISINPSTAT (ivideo->SiS_Pr.RelIO + 0x2a)
153 #define SISPEL ivideo->SiS_Pr.SiS_P3c6
154 #define SISVGAENABLE (ivideo->SiS_Pr.RelIO + 0x13)
155 #define SISVID (ivideo->SiS_Pr.RelIO + 0x02 - 0x30)
156 #define SISCAP (ivideo->SiS_Pr.RelIO + 0x00 - 0x30)
313 bool SiSInitPtr(struct SiS_Private *SiS_Pr);
323 void SiS_DisplayOn(struct SiS_Private *SiS_Pr);
324 void SiS_DisplayOff(struct SiS_Private *SiS_Pr);
325 void SiSRegInit(struct SiS_Private *SiS_Pr, SISIOADDRESS BaseAddr);
326 void SiS_SetEnableDstn(struct SiS_Private *SiS_Pr, int enable);
327 void SiS_SetEnableFstn(struct SiS_Private *SiS_Pr, int enable);
328 unsigned short SiS_GetModeFlag(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
330 bool SiSDetermineROMLayout661(struct SiS_Private *SiS_Pr);
332 bool SiS_SearchModeID(struct SiS_Private *SiS_Pr, unsigned short *ModeNo,
334 unsigned short SiS_GetModePtr(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
336 unsigned short SiS_GetRefCRTVCLK(struct SiS_Private *SiS_Pr, unsigned short Index, int UseWide);
337 unsigned short SiS_GetRefCRT1CRTC(struct SiS_Private *SiS_Pr, unsigned short Index, int UseWide);
338 unsigned short SiS_GetColorDepth(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
340 unsigned short SiS_GetOffset(struct SiS_Private *SiS_Pr,unsigned short ModeNo,
343 void SiS_GetFIFOThresholdIndex300(struct SiS_Private *SiS_Pr, unsigned short *idx1,
346 unsigned short SiS_GetLatencyFactor630(struct SiS_Private *SiS_Pr, unsigned short index);
348 void SiS_LoadDAC(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex);
349 bool SiSSetMode(struct SiS_Private *SiS_Pr, unsigned short ModeNo);
350 void SiS_CalcCRRegisters(struct SiS_Private *SiS_Pr, int depth);
351 void SiS_CalcLCDACRT1Timing(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
353 void SiS_Generic_ConvertCRData(struct SiS_Private *SiS_Pr, unsigned char *crdata, int xres,
357 extern void SiS_GetVBInfo(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
359 extern void SiS_GetLCDResInfo(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
361 extern void SiS_SetYPbPr(struct SiS_Private *SiS_Pr);
362 extern void SiS_SetTVMode(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
364 extern void SiS_UnLockCRT2(struct SiS_Private *SiS_Pr);
367 extern unsigned short SiS_GetRatePtr(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
369 extern void SiS_WaitRetrace1(struct SiS_Private *SiS_Pr);
370 extern unsigned short SiS_GetResInfo(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
372 extern unsigned short SiS_GetCH700x(struct SiS_Private *SiS_Pr, unsigned short tempax);
373 extern unsigned short SiS_GetVCLK2Ptr(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
379 extern unsigned int sisfb_read_nbridge_pci_dword(struct SiS_Private *SiS_Pr, int reg);
380 extern void sisfb_write_nbridge_pci_dword(struct SiS_Private *SiS_Pr, int reg,
384 extern void sisfb_write_nbridge_pci_byte(struct SiS_Private *SiS_Pr, int reg,
386 extern unsigned int sisfb_read_mio_pci_word(struct SiS_Private *SiS_Pr, int reg);
484 struct SiS_Private SiS_Pr; member
665 unsigned int sisfb_read_nbridge_pci_dword(struct SiS_Private *SiS_Pr, int reg);
666 void sisfb_write_nbridge_pci_dword(struct SiS_Private *SiS_Pr, int reg, unsigned int val);
667 unsigned int sisfb_read_lpc_pci_dword(struct SiS_Private *SiS_Pr, int reg);
670 void sisfb_write_nbridge_pci_byte(struct SiS_Private *SiS_Pr, int reg, unsigned char val);
671 unsigned int sisfb_read_mio_pci_word(struct SiS_Private *SiS_Pr, int reg);
688 extern void SiSRegInit(struct SiS_Private *SiS_Pr, SISIOADDRESS BaseAddr);
689 extern bool SiSSetMode(struct SiS_Private *SiS_Pr, unsigned short ModeNo);
690 extern void SiS_SetEnableDstn(struct SiS_Private *SiS_Pr, int enable);
691 extern void SiS_SetEnableFstn(struct SiS_Private *SiS_Pr, int enable);
693 extern bool SiSDetermineROMLayout661(struct SiS_Private *SiS_Pr);
695 extern bool sisfb_gettotalfrommode(struct SiS_Private *SiS_Pr, unsigned char modeno,
697 extern int sisfb_mode_rate_to_dclock(struct SiS_Private *SiS_Pr,
699 extern int sisfb_mode_rate_to_ddata(struct SiS_Private *SiS_Pr, unsigned char modeno,