Home
last modified time | relevance | path

Searched refs:SiS_Pr (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/drivers/video/fbdev/sis/
Dinit301.c367 static void SiS_Chrontel701xOn(struct SiS_Private *SiS_Pr);
368 static void SiS_Chrontel701xOff(struct SiS_Private *SiS_Pr);
369 static void SiS_ChrontelInitTVVSync(struct SiS_Private *SiS_Pr);
370 static void SiS_ChrontelDoSomething1(struct SiS_Private *SiS_Pr);
374 static bool SiS_SetTrumpionBlock(struct SiS_Private *SiS_Pr, unsigned char *dataptr);
377 static unsigned short SiS_InitDDCRegs(struct SiS_Private *SiS_Pr, unsigned int VBFlags,
380 static unsigned short SiS_ProbeDDC(struct SiS_Private *SiS_Pr);
381 static unsigned short SiS_ReadDDC(struct SiS_Private *SiS_Pr, unsigned short DDCdatatype,
383 static void SiS_SetSwitchDDC2(struct SiS_Private *SiS_Pr);
384 static unsigned short SiS_SetStart(struct SiS_Private *SiS_Pr);
[all …]
Dinit.c79 InitCommonPointer(struct SiS_Private *SiS_Pr) in InitCommonPointer() argument
81 SiS_Pr->SiS_SModeIDTable = SiS_SModeIDTable; in InitCommonPointer()
82 SiS_Pr->SiS_StResInfo = SiS_StResInfo; in InitCommonPointer()
83 SiS_Pr->SiS_ModeResInfo = SiS_ModeResInfo; in InitCommonPointer()
84 SiS_Pr->SiS_StandTable = SiS_StandTable; in InitCommonPointer()
86 SiS_Pr->SiS_NTSCTiming = SiS_NTSCTiming; in InitCommonPointer()
87 SiS_Pr->SiS_PALTiming = SiS_PALTiming; in InitCommonPointer()
88 SiS_Pr->SiS_HiTVSt1Timing = SiS_HiTVSt1Timing; in InitCommonPointer()
89 SiS_Pr->SiS_HiTVSt2Timing = SiS_HiTVSt2Timing; in InitCommonPointer()
91 SiS_Pr->SiS_HiTVExtTiming = SiS_HiTVExtTiming; in InitCommonPointer()
[all …]
Dinit301.h69 void SiS_UnLockCRT2(struct SiS_Private *SiS_Pr);
70 void SiS_EnableCRT2(struct SiS_Private *SiS_Pr);
71 unsigned short SiS_GetRatePtr(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short Mod…
72 void SiS_WaitRetrace1(struct SiS_Private *SiS_Pr);
73 bool SiS_IsDualEdge(struct SiS_Private *SiS_Pr);
74 bool SiS_IsVAMode(struct SiS_Private *SiS_Pr);
75 void SiS_GetVBInfo(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
77 void SiS_SetYPbPr(struct SiS_Private *SiS_Pr);
78 void SiS_SetTVMode(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
80 void SiS_GetLCDResInfo(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
[all …]
Dinitextlfb.c22 int sisfb_mode_rate_to_dclock(struct SiS_Private *SiS_Pr,
24 int sisfb_mode_rate_to_ddata(struct SiS_Private *SiS_Pr, unsigned char modeno,
26 bool sisfb_gettotalfrommode(struct SiS_Private *SiS_Pr, unsigned char modeno,
29 extern bool SiSInitPtr(struct SiS_Private *SiS_Pr);
30 extern bool SiS_SearchModeID(struct SiS_Private *SiS_Pr, unsigned short *ModeNo,
32 extern void SiS_Generic_ConvertCRData(struct SiS_Private *SiS_Pr, unsigned char *crdata,
36 sisfb_mode_rate_to_dclock(struct SiS_Private *SiS_Pr, unsigned char modeno, in sisfb_mode_rate_to_dclock() argument
44 if(!SiSInitPtr(SiS_Pr)) return 65000; in sisfb_mode_rate_to_dclock()
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()
[all …]
Dsis.h140 #define SISSR ivideo->SiS_Pr.SiS_P3c4
141 #define SISCR ivideo->SiS_Pr.SiS_P3d4
142 #define SISDACA ivideo->SiS_Pr.SiS_P3c8
143 #define SISDACD ivideo->SiS_Pr.SiS_P3c9
144 #define SISPART1 ivideo->SiS_Pr.SiS_Part1Port
145 #define SISPART2 ivideo->SiS_Pr.SiS_Part2Port
146 #define SISPART3 ivideo->SiS_Pr.SiS_Part3Port
147 #define SISPART4 ivideo->SiS_Pr.SiS_Part4Port
148 #define SISPART5 ivideo->SiS_Pr.SiS_Part5Port
151 #define SISMISCR (ivideo->SiS_Pr.RelIO + 0x1c)
[all …]
Dsis_main.c387 if(ivideo->SiS_Pr.UseROM) { in sisfb_detect_custom_timing()
388 biosver = ivideo->SiS_Pr.VirtualRomBase + 0x06; in sisfb_detect_custom_timing()
389 biosdate = ivideo->SiS_Pr.VirtualRomBase + 0x2c; in sisfb_detect_custom_timing()
391 chksum += ivideo->SiS_Pr.VirtualRomBase[i]; in sisfb_detect_custom_timing()
398 (ivideo->SiS_Pr.UseROM && in sisfb_detect_custom_timing()
402 (ivideo->SiS_Pr.UseROM && in sisfb_detect_custom_timing()
406 (ivideo->SiS_Pr.UseROM && in sisfb_detect_custom_timing()
413 if(ivideo->SiS_Pr.UseROM) { in sisfb_detect_custom_timing()
414 if(ivideo->SiS_Pr.VirtualRomBase[mycustomttable[i].biosFootprintAddr[j]] != in sisfb_detect_custom_timing()
423 ivideo->SiS_Pr.SiS_CustomT = mycustomttable[i].SpecialID; in sisfb_detect_custom_timing()
[all …]
Dinitdef.h56 #define IS_SIS330 (SiS_Pr->ChipType == SIS_330)
57 #define IS_SIS550 (SiS_Pr->ChipType == SIS_550)
58 #define IS_SIS650 (SiS_Pr->ChipType == SIS_650) /* All versions, incl 651, M65x */
59 #define IS_SIS740 (SiS_Pr->ChipType == SIS_740)
60 #define IS_SIS651 (SiS_Pr->SiS_SysFlags & (SF_Is651 | SF_Is652))
61 #define IS_SISM650 (SiS_Pr->SiS_SysFlags & (SF_IsM650 | SF_IsM652 | SF_IsM653))
63 #define IS_SIS661 (SiS_Pr->ChipType == SIS_661)
64 #define IS_SIS741 (SiS_Pr->ChipType == SIS_741)
65 #define IS_SIS660 (SiS_Pr->ChipType == SIS_660)
66 #define IS_SIS760 (SiS_Pr->ChipType == SIS_760)
[all …]
/Linux-v5.4/drivers/usb/misc/sisusbvga/
Dsisusb_init.c53 static void SiSUSB_InitPtr(struct SiS_Private *SiS_Pr) in SiSUSB_InitPtr() argument
55 SiS_Pr->SiS_ModeResInfo = SiSUSB_ModeResInfo; in SiSUSB_InitPtr()
56 SiS_Pr->SiS_StandTable = SiSUSB_StandTable; in SiSUSB_InitPtr()
58 SiS_Pr->SiS_SModeIDTable = SiSUSB_SModeIDTable; in SiSUSB_InitPtr()
59 SiS_Pr->SiS_EModeIDTable = SiSUSB_EModeIDTable; in SiSUSB_InitPtr()
60 SiS_Pr->SiS_RefIndex = SiSUSB_RefIndex; in SiSUSB_InitPtr()
61 SiS_Pr->SiS_CRT1Table = SiSUSB_CRT1Table; in SiSUSB_InitPtr()
63 SiS_Pr->SiS_VCLKData = SiSUSB_VCLKData; in SiSUSB_InitPtr()
71 SiS_SetReg(struct SiS_Private *SiS_Pr, unsigned long port, in SiS_SetReg() argument
74 sisusb_setidxreg(SiS_Pr->sisusb, port, index, data); in SiS_SetReg()
[all …]
Dsisusb_init.h812 int SiSUSBSetMode(struct SiS_Private *SiS_Pr, unsigned short ModeNo);
813 int SiSUSBSetVESAMode(struct SiS_Private *SiS_Pr, unsigned short VModeNo);
Dsisusb.c2276 if (!sisusb->SiS_Pr) in sisusb_reset_text_mode()
2279 sisusb->SiS_Pr->IOAddress = SISUSB_PCI_IOPORTBASE + 0x30; in sisusb_reset_text_mode()
2280 sisusb->SiS_Pr->sisusb = (void *)sisusb; in sisusb_reset_text_mode()
2283 SiSUSBSetMode(sisusb->SiS_Pr, 0x03); in sisusb_reset_text_mode()
2450 kfree(sisusb->SiS_Pr); in sisusb_delete()
2847 if (!sisusb->gfxinit || !sisusb->SiS_Pr) in sisusb_handle_command()
2864 if (!sisusb->gfxinit || !sisusb->SiS_Pr) in sisusb_handle_command()
2869 sisusb->SiS_Pr->IOAddress = SISUSB_PCI_IOPORTBASE + 0x30; in sisusb_handle_command()
2870 sisusb->SiS_Pr->sisusb = (void *)sisusb; in sisusb_handle_command()
2872 if (SiSUSBSetMode(sisusb->SiS_Pr, y->data3)) in sisusb_handle_command()
[all …]
Dsisusb.h130 struct SiS_Private *SiS_Pr; member
Dsisusb_con.c1390 if (sisusb->haveconsole || !sisusb->SiS_Pr) { in sisusb_console_init()