Lines Matching refs:USHORT
613 USHORT
617 USHORT ModeIndex = 0; in SiS_GetModeID()
745 USHORT
747 int Depth, BOOLEAN FSTN, USHORT CustomT, int LCDwidth, int LCDheight) in SiS_GetModeID_LCD()
749 USHORT ModeIndex = 0; in SiS_GetModeID_LCD()
965 USHORT
968 USHORT ModeIndex = 0; in SiS_GetModeID_TV()
1072 USHORT
1075 USHORT ModeIndex = 0; in SiS_GetModeID_VGA2()
1167 SiS_SetReg(SISIOADDRESS port, USHORT index, USHORT data) in SiS_SetReg()
1174 SiS_SetRegByte(SISIOADDRESS port, USHORT data) in SiS_SetRegByte()
1180 SiS_SetRegShort(SISIOADDRESS port, USHORT data) in SiS_SetRegShort()
1192 SiS_GetReg(SISIOADDRESS port, USHORT index) in SiS_GetReg()
1204 USHORT
1217 SiS_SetRegANDOR(SISIOADDRESS Port,USHORT Index,USHORT DataAND,USHORT DataOR) in SiS_SetRegANDOR()
1219 USHORT temp; in SiS_SetRegANDOR()
1227 SiS_SetRegAND(SISIOADDRESS Port,USHORT Index,USHORT DataAND) in SiS_SetRegAND()
1229 USHORT temp; in SiS_SetRegAND()
1237 SiS_SetRegOR(SISIOADDRESS Port,USHORT Index,USHORT DataOR) in SiS_SetRegOR()
1239 USHORT temp; in SiS_SetRegOR()
1415 USHORT temp; in SiSSetLVDSetc()
1496 USHORT romversoffs, romvmaj = 1, romvmin = 0; in SiSDetermineROMLayout661()
1530 USHORT romptr = 0; in SiSDetermineROMUsage()
1571 SiS_SetSegRegLower(SiS_Private *SiS_Pr, USHORT value) in SiS_SetSegRegLower()
1573 USHORT temp; in SiS_SetSegRegLower()
1585 SiS_SetSegRegUpper(SiS_Private *SiS_Pr, USHORT value) in SiS_SetSegRegUpper()
1587 USHORT temp; in SiS_SetSegRegUpper()
1599 SiS_SetSegmentReg(SiS_Private *SiS_Pr, USHORT value) in SiS_SetSegmentReg()
1612 SiS_SetSegmentRegOver(SiS_Private *SiS_Pr, USHORT value) in SiS_SetSegmentRegOver()
1614 USHORT temp = value >> 8; in SiS_SetSegmentRegOver()
1644 USHORT flag=0, rev=0, nolcd=0; in SiS_GetVBType()
1689 USHORT ModeNo, USHORT ModeIdIndex) in SiS_CheckMemorySize()
1691 USHORT AdapterMemSize = HwInfo->ulVideoMemorySize / (1024*1024); in SiS_CheckMemorySize()
1692 USHORT memorysize,modeflag; in SiS_CheckMemorySize()
1754 USHORT
1758 USHORT index; in SiS_GetMCLK()
1763 return((USHORT)(SISGETROMW((0x90 + (index * 5) + 3)))); in SiS_GetMCLK()
1781 SiS_ClearBuffer(SiS_Private *SiS_Pr, PSIS_HW_INFO HwInfo, USHORT ModeNo) in SiS_ClearBuffer()
1785 USHORT *pBuffer; in SiS_ClearBuffer()
1792 pBuffer = (USHORT *)VideoMemoryAddress; in SiS_ClearBuffer()
1797 pBuffer = (USHORT *)VideoMemoryAddress; in SiS_ClearBuffer()
1811 SiS_SearchModeID(SiS_Private *SiS_Pr, USHORT *ModeNo, USHORT *ModeIdIndex) in SiS_SearchModeID()
1851 SiS_GetModePtr(SiS_Private *SiS_Pr, USHORT ModeNo, USHORT ModeIdIndex) in SiS_GetModePtr()
1869 SiS_DoLowModeTest(SiS_Private *SiS_Pr, USHORT ModeNo, PSIS_HW_INFO HwInfo) in SiS_DoLowModeTest()
1871 USHORT temp,temp1,temp2; in SiS_DoLowModeTest()
1896 SiS_SetLowModeTest(SiS_Private *SiS_Pr, USHORT ModeNo, PSIS_HW_INFO HwInfo) in SiS_SetLowModeTest()
1944 USHORT
1945 SiS_GetColorDepth(SiS_Private *SiS_Pr, USHORT ModeNo, USHORT ModeIdIndex) in SiS_GetColorDepth()
1947 USHORT ColorDepth[6] = { 1, 2, 4, 4, 6, 8}; in SiS_GetColorDepth()
1949 USHORT modeflag; in SiS_GetColorDepth()
1970 USHORT
1971 SiS_GetOffset(SiS_Private *SiS_Pr,USHORT ModeNo,USHORT ModeIdIndex, in SiS_GetOffset()
1972 USHORT RefreshRateTableIndex,PSIS_HW_INFO HwInfo) in SiS_GetOffset()
1974 USHORT xres, temp, colordepth, infoflag; in SiS_GetOffset()
2002 SiS_SetSeqRegs(SiS_Private *SiS_Pr, USHORT StandTableIndex, PSIS_HW_INFO HwInfo) in SiS_SetSeqRegs()
2005 USHORT i; in SiS_SetSeqRegs()
2060 SiS_SetMiscRegs(SiS_Private *SiS_Pr, USHORT StandTableIndex, PSIS_HW_INFO HwInfo) in SiS_SetMiscRegs()
2083 USHORT StandTableIndex) in SiS_SetCRTCRegs()
2086 USHORT i; in SiS_SetCRTCRegs()
2116 SiS_SetATTRegs(SiS_Private *SiS_Pr, USHORT StandTableIndex, in SiS_SetATTRegs()
2120 USHORT i; in SiS_SetATTRegs()
2182 SiS_SetGRCRegs(SiS_Private *SiS_Pr, USHORT StandTableIndex) in SiS_SetGRCRegs()
2185 USHORT i; in SiS_SetGRCRegs()
2203 SiS_ClearExt1Regs(SiS_Private *SiS_Pr, PSIS_HW_INFO HwInfo, USHORT ModeNo) in SiS_ClearExt1Regs()
2205 USHORT i; in SiS_ClearExt1Regs()
2262 SiS_SetCRT1Sync(SiS_Private *SiS_Pr, USHORT RefreshRateTableIndex) in SiS_SetCRT1Sync()
2264 USHORT sync; in SiS_SetCRT1Sync()
2282 SiS_SetCRT1CRTC(SiS_Private *SiS_Pr, USHORT ModeNo, USHORT ModeIdIndex, in SiS_SetCRT1CRTC()
2283 USHORT RefreshRateTableIndex, in SiS_SetCRT1CRTC()
2287 USHORT temp,i,j,modeflag; in SiS_SetCRT1CRTC()
2357 SiS_SetCRT1Offset(SiS_Private *SiS_Pr, USHORT ModeNo, USHORT ModeIdIndex, in SiS_SetCRT1Offset()
2358 USHORT RefreshRateTableIndex, in SiS_SetCRT1Offset()
2361 USHORT temp, DisplayUnit, infoflag; in SiS_SetCRT1Offset()
2392 SiS_SetCRT1VCLK(SiS_Private *SiS_Pr, USHORT ModeNo, USHORT ModeIdIndex, in SiS_SetCRT1VCLK()
2393 PSIS_HW_INFO HwInfo, USHORT RefreshRateTableIndex) in SiS_SetCRT1VCLK()
2395 USHORT index=0, clka, clkb; in SiS_SetCRT1VCLK()
2432 static USHORT
2433 SiS_DoCalcDelay(SiS_Private *SiS_Pr, USHORT MCLK, USHORT VCLK, USHORT colordepth, USHORT key) in SiS_DoCalcDelay()
2445 USHORT tempah, tempal, tempcl, tempbx, temp; in SiS_DoCalcDelay()
2476 return((USHORT)longtemp); in SiS_DoCalcDelay()
2479 static USHORT
2480 SiS_CalcDelay(SiS_Private *SiS_Pr, USHORT VCLK, USHORT colordepth, USHORT MCLK) in SiS_CalcDelay()
2482 USHORT tempax, tempbx; in SiS_CalcDelay()
2493 SiS_SetCRT1FIFO_300(SiS_Private *SiS_Pr, USHORT ModeNo, PSIS_HW_INFO HwInfo, in SiS_SetCRT1FIFO_300()
2494 USHORT RefreshRateTableIndex) in SiS_SetCRT1FIFO_300()
2496 USHORT ThresholdLow = 0; in SiS_SetCRT1FIFO_300()
2497 USHORT index, VCLK, MCLK, colorth=0; in SiS_SetCRT1FIFO_300()
2498 USHORT tempah, temp; in SiS_SetCRT1FIFO_300()
2560 static USHORT
2563 USHORT data,index; in SiS_CalcDelay2()
2608 SiS_SetCRT1FIFO_630(SiS_Private *SiS_Pr, USHORT ModeNo, in SiS_SetCRT1FIFO_630()
2610 USHORT RefreshRateTableIndex) in SiS_SetCRT1FIFO_630()
2612 USHORT i,index,data,VCLK,MCLK,colorth=0; in SiS_SetCRT1FIFO_630()
2614 USHORT ThresholdLow=0; in SiS_SetCRT1FIFO_630()
2812 SiS_SetCRT1FIFO_310(SiS_Private *SiS_Pr, USHORT ModeNo, USHORT ModeIdIndex, in SiS_SetCRT1FIFO_310()
2815 USHORT modeflag; in SiS_SetCRT1FIFO_310()
2850 USHORT ModeNo, USHORT RefreshRateTableIndex, in SiS_SetVCLKState()
2851 USHORT ModeIdIndex) in SiS_SetVCLKState()
2853 USHORT data=0, VCLK=0, index=0; in SiS_SetVCLKState()
2914 USHORT ModeNo,USHORT ModeIdIndex,USHORT RefreshRateTableIndex) in SiS_SetCRT1ModeRegs()
2916 USHORT data,infoflag=0,modeflag; in SiS_SetCRT1ModeRegs()
2917 USHORT resindex,xres; in SiS_SetCRT1ModeRegs()
2919 USHORT data2,data3; in SiS_SetCRT1ModeRegs()
3106 SiS_WriteDAC(SiS_Private *SiS_Pr, SISIOADDRESS DACData, USHORT shiftflag, in SiS_WriteDAC()
3107 USHORT dl, USHORT ah, USHORT al, USHORT dh) in SiS_WriteDAC()
3109 USHORT temp,bh,bl; in SiS_WriteDAC()
3132 SiS_SetRegByte(DACData,(USHORT)dh); in SiS_WriteDAC()
3133 SiS_SetRegByte(DACData,(USHORT)bh); in SiS_WriteDAC()
3134 SiS_SetRegByte(DACData,(USHORT)bl); in SiS_WriteDAC()
3139 USHORT ModeNo, USHORT ModeIdIndex) in SiS_LoadDAC()
3141 USHORT data,data2; in SiS_LoadDAC()
3142 USHORT time,i,j,k,m,n,o; in SiS_LoadDAC()
3143 USHORT si,di,bx,dl,al,ah,dh; in SiS_LoadDAC()
3144 USHORT shiftflag; in SiS_LoadDAC()
3146 const USHORT *table = NULL; in SiS_LoadDAC()
3238 USHORT ModeNo, USHORT ModeIdIndex) in SiS_SetCRT1Group()
3240 USHORT StandTableIndex,RefreshRateTableIndex; in SiS_SetCRT1Group()
3330 USHORT temp; in SiS_ResetVB()
3427 SiSSetMode(SiS_Private *SiS_Pr, PSIS_HW_INFO HwInfo,ScrnInfoPtr pScrn,USHORT ModeNo, BOOLEAN dosetp… in SiSSetMode()
3430 SiSSetMode(SiS_Private *SiS_Pr, PSIS_HW_INFO HwInfo,USHORT ModeNo) in SiSSetMode()
3433 USHORT ModeIdIndex; in SiSSetMode()
3437 USHORT KeepLockReg; in SiSSetMode()
3646 USHORT ModeIdIndex; in SiSBIOSSetModeCRT2()
3719 USHORT temptemp = SiS_Pr->CVDisplay; in SiSBIOSSetModeCRT2()
3829 USHORT ModeIdIndex, ModeNo=0; in SiSBIOSSetModeCRT1()
3841 USHORT temptemp = SiS_Pr->CVDisplay; in SiSBIOSSetModeCRT1()
4001 const USHORT PanelTypeTable300[16] = { in SiS_GetPanelID()
4005 const USHORT PanelTypeTable31030x[16] = { in SiS_GetPanelID()
4009 const USHORT PanelTypeTable310LVDS[16] = { in SiS_GetPanelID()
4013 USHORT tempax,tempbx,temp; in SiS_GetPanelID()
4143 SiS_CalcLCDACRT1Timing(SiS_Private *SiS_Pr,USHORT ModeNo,USHORT ModeIdIndex) in SiS_CalcLCDACRT1Timing()
4145 USHORT modeflag, tempax, tempbx, VGAHDE = SiS_Pr->SiS_VGAHDE; in SiS_CalcLCDACRT1Timing()
4256 USHORT
4961 USHORT ModeNo = modeno; in sisfb_mode_rate_to_dclock()
4962 USHORT ModeIdIndex = 0, ClockIndex = 0; in sisfb_mode_rate_to_dclock()
4963 USHORT RefreshRateTableIndex = 0; in sisfb_mode_rate_to_dclock()
5000 USHORT ModeNo = modeno; in sisfb_gettotalfrommode()
5001 USHORT ModeIdIndex = 0, CRT1Index = 0; in sisfb_gettotalfrommode()
5002 USHORT RefreshRateTableIndex = 0; in sisfb_gettotalfrommode()
5048 USHORT ModeNo = modeno; in sisfb_mode_rate_to_ddata()
5049 USHORT ModeIdIndex = 0, index = 0; in sisfb_mode_rate_to_ddata()
5050 USHORT RefreshRateTableIndex = 0; in sisfb_mode_rate_to_ddata()