/drivers/video/fbdev/sis/ |
D | init301.c | 85 static unsigned short SiS_GetBIOSLCDResInfo(struct SiS_Private *SiS_Pr); 86 static void SiS_SetCH70xx(struct SiS_Private *SiS_Pr, unsigned short reg, unsigned char val); 93 SiS_UnLockCRT2(struct SiS_Private *SiS_Pr) in SiS_UnLockCRT2() argument 95 if(SiS_Pr->ChipType == XGI_20) in SiS_UnLockCRT2() 97 else if(SiS_Pr->ChipType >= SIS_315H) in SiS_UnLockCRT2() 98 SiS_SetRegOR(SiS_Pr->SiS_Part1Port,0x2f,0x01); in SiS_UnLockCRT2() 100 SiS_SetRegOR(SiS_Pr->SiS_Part1Port,0x24,0x01); in SiS_UnLockCRT2() 105 SiS_LockCRT2(struct SiS_Private *SiS_Pr) in SiS_LockCRT2() argument 107 if(SiS_Pr->ChipType == XGI_20) in SiS_LockCRT2() 109 else if(SiS_Pr->ChipType >= SIS_315H) in SiS_LockCRT2() [all …]
|
D | init.c | 79 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 …]
|
D | init301.h | 350 void SiS_UnLockCRT2(struct SiS_Private *SiS_Pr); 351 void SiS_EnableCRT2(struct SiS_Private *SiS_Pr); 352 unsigned short SiS_GetRatePtr(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short Mod… 353 void SiS_WaitRetrace1(struct SiS_Private *SiS_Pr); 354 bool SiS_IsDualEdge(struct SiS_Private *SiS_Pr); 355 bool SiS_IsVAMode(struct SiS_Private *SiS_Pr); 356 void SiS_GetVBInfo(struct SiS_Private *SiS_Pr, unsigned short ModeNo, 358 void SiS_SetYPbPr(struct SiS_Private *SiS_Pr); 359 void SiS_SetTVMode(struct SiS_Private *SiS_Pr, unsigned short ModeNo, 361 void SiS_GetLCDResInfo(struct SiS_Private *SiS_Pr, unsigned short ModeNo, [all …]
|
D | initextlfb.c | 35 int sisfb_mode_rate_to_dclock(struct SiS_Private *SiS_Pr, 37 int sisfb_mode_rate_to_ddata(struct SiS_Private *SiS_Pr, unsigned char modeno, 39 bool sisfb_gettotalfrommode(struct SiS_Private *SiS_Pr, unsigned char modeno, 42 extern bool SiSInitPtr(struct SiS_Private *SiS_Pr); 43 extern bool SiS_SearchModeID(struct SiS_Private *SiS_Pr, unsigned short *ModeNo, 45 extern void SiS_Generic_ConvertCRData(struct SiS_Private *SiS_Pr, unsigned char *crdata, 49 sisfb_mode_rate_to_dclock(struct SiS_Private *SiS_Pr, unsigned char modeno, in sisfb_mode_rate_to_dclock() argument 57 if(!SiSInitPtr(SiS_Pr)) return 65000; in sisfb_mode_rate_to_dclock() 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() [all …]
|
D | init.h | 1464 bool SiSInitPtr(struct SiS_Private *SiS_Pr); 1474 void SiS_DisplayOn(struct SiS_Private *SiS_Pr); 1475 void SiS_DisplayOff(struct SiS_Private *SiS_Pr); 1476 void SiSRegInit(struct SiS_Private *SiS_Pr, SISIOADDRESS BaseAddr); 1477 void SiS_SetEnableDstn(struct SiS_Private *SiS_Pr, int enable); 1478 void SiS_SetEnableFstn(struct SiS_Private *SiS_Pr, int enable); 1479 unsigned short SiS_GetModeFlag(struct SiS_Private *SiS_Pr, unsigned short ModeNo, 1481 bool SiSDetermineROMLayout661(struct SiS_Private *SiS_Pr); 1483 bool SiS_SearchModeID(struct SiS_Private *SiS_Pr, unsigned short *ModeNo, 1485 unsigned short SiS_GetModePtr(struct SiS_Private *SiS_Pr, unsigned short ModeNo, [all …]
|
D | sis_main.h | 714 unsigned int sisfb_read_nbridge_pci_dword(struct SiS_Private *SiS_Pr, int reg); 715 void sisfb_write_nbridge_pci_dword(struct SiS_Private *SiS_Pr, int reg, unsigned int val); 716 unsigned int sisfb_read_lpc_pci_dword(struct SiS_Private *SiS_Pr, int reg); 719 void sisfb_write_nbridge_pci_byte(struct SiS_Private *SiS_Pr, int reg, unsigned char val); 720 unsigned int sisfb_read_mio_pci_word(struct SiS_Private *SiS_Pr, int reg); 746 extern void SiSRegInit(struct SiS_Private *SiS_Pr, SISIOADDRESS BaseAddr); 747 extern bool SiSSetMode(struct SiS_Private *SiS_Pr, unsigned short ModeNo); 748 extern void SiS_SetEnableDstn(struct SiS_Private *SiS_Pr, int enable); 749 extern void SiS_SetEnableFstn(struct SiS_Private *SiS_Pr, int enable); 751 extern bool SiSDetermineROMLayout661(struct SiS_Private *SiS_Pr); [all …]
|
D | sis_main.c | 350 if(ivideo->SiS_Pr.UseROM) { in sisfb_detect_custom_timing() 351 biosver = ivideo->SiS_Pr.VirtualRomBase + 0x06; in sisfb_detect_custom_timing() 352 biosdate = ivideo->SiS_Pr.VirtualRomBase + 0x2c; in sisfb_detect_custom_timing() 354 chksum += ivideo->SiS_Pr.VirtualRomBase[i]; in sisfb_detect_custom_timing() 361 (ivideo->SiS_Pr.UseROM && in sisfb_detect_custom_timing() 365 (ivideo->SiS_Pr.UseROM && in sisfb_detect_custom_timing() 369 (ivideo->SiS_Pr.UseROM && in sisfb_detect_custom_timing() 376 if(ivideo->SiS_Pr.UseROM) { in sisfb_detect_custom_timing() 377 if(ivideo->SiS_Pr.VirtualRomBase[mycustomttable[i].biosFootprintAddr[j]] != in sisfb_detect_custom_timing() 386 ivideo->SiS_Pr.SiS_CustomT = mycustomttable[i].SpecialID; in sisfb_detect_custom_timing() [all …]
|
D | sis.h | 152 #define SISSR ivideo->SiS_Pr.SiS_P3c4 153 #define SISCR ivideo->SiS_Pr.SiS_P3d4 154 #define SISDACA ivideo->SiS_Pr.SiS_P3c8 155 #define SISDACD ivideo->SiS_Pr.SiS_P3c9 156 #define SISPART1 ivideo->SiS_Pr.SiS_Part1Port 157 #define SISPART2 ivideo->SiS_Pr.SiS_Part2Port 158 #define SISPART3 ivideo->SiS_Pr.SiS_Part3Port 159 #define SISPART4 ivideo->SiS_Pr.SiS_Part4Port 160 #define SISPART5 ivideo->SiS_Pr.SiS_Part5Port 163 #define SISMISCR (ivideo->SiS_Pr.RelIO + 0x1c) [all …]
|
D | initdef.h | 56 #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 …]
|
/drivers/usb/misc/sisusbvga/ |
D | sisusb_init.c | 55 static void SiSUSB_InitPtr(struct SiS_Private *SiS_Pr) in SiSUSB_InitPtr() argument 57 SiS_Pr->SiS_ModeResInfo = SiSUSB_ModeResInfo; in SiSUSB_InitPtr() 58 SiS_Pr->SiS_StandTable = SiSUSB_StandTable; in SiSUSB_InitPtr() 60 SiS_Pr->SiS_SModeIDTable = SiSUSB_SModeIDTable; in SiSUSB_InitPtr() 61 SiS_Pr->SiS_EModeIDTable = SiSUSB_EModeIDTable; in SiSUSB_InitPtr() 62 SiS_Pr->SiS_RefIndex = SiSUSB_RefIndex; in SiSUSB_InitPtr() 63 SiS_Pr->SiS_CRT1Table = SiSUSB_CRT1Table; in SiSUSB_InitPtr() 65 SiS_Pr->SiS_VCLKData = SiSUSB_VCLKData; in SiSUSB_InitPtr() 73 SiS_SetReg(struct SiS_Private *SiS_Pr, unsigned long port, in SiS_SetReg() argument 76 sisusb_setidxreg(SiS_Pr->sisusb, port, index, data); in SiS_SetReg() [all …]
|
D | sisusb_init.h | 811 int SiSUSBSetMode(struct SiS_Private *SiS_Pr, unsigned short ModeNo); 812 int SiSUSBSetVESAMode(struct SiS_Private *SiS_Pr, unsigned short VModeNo);
|
D | sisusb.c | 2287 if (!sisusb->SiS_Pr) in sisusb_reset_text_mode() 2290 sisusb->SiS_Pr->IOAddress = SISUSB_PCI_IOPORTBASE + 0x30; in sisusb_reset_text_mode() 2291 sisusb->SiS_Pr->sisusb = (void *)sisusb; in sisusb_reset_text_mode() 2294 SiSUSBSetMode(sisusb->SiS_Pr, 0x03); in sisusb_reset_text_mode() 2461 kfree(sisusb->SiS_Pr); in sisusb_delete() 2858 if (!sisusb->gfxinit || !sisusb->SiS_Pr) in sisusb_handle_command() 2875 if (!sisusb->gfxinit || !sisusb->SiS_Pr) in sisusb_handle_command() 2880 sisusb->SiS_Pr->IOAddress = SISUSB_PCI_IOPORTBASE + 0x30; in sisusb_handle_command() 2881 sisusb->SiS_Pr->sisusb = (void *)sisusb; in sisusb_handle_command() 2883 if (SiSUSBSetMode(sisusb->SiS_Pr, y->data3)) in sisusb_handle_command() [all …]
|
D | sisusb.h | 142 struct SiS_Private *SiS_Pr; member
|
D | sisusb_con.c | 1404 if (sisusb->haveconsole || !sisusb->SiS_Pr) { in sisusb_console_init()
|