Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
initdef.h File Reference

Go to the source code of this file.

Macros

#define IS_SIS330   (SiS_Pr->ChipType == SIS_330)
 
#define IS_SIS550   (SiS_Pr->ChipType == SIS_550)
 
#define IS_SIS650   (SiS_Pr->ChipType == SIS_650) /* All versions, incl 651, M65x */
 
#define IS_SIS740   (SiS_Pr->ChipType == SIS_740)
 
#define IS_SIS651   (SiS_Pr->SiS_SysFlags & (SF_Is651 | SF_Is652))
 
#define IS_SISM650   (SiS_Pr->SiS_SysFlags & (SF_IsM650 | SF_IsM652 | SF_IsM653))
 
#define IS_SIS65x   (IS_SIS651 || IS_SISM650) /* Only special versions of 65x */
 
#define IS_SIS661   (SiS_Pr->ChipType == SIS_661)
 
#define IS_SIS741   (SiS_Pr->ChipType == SIS_741)
 
#define IS_SIS660   (SiS_Pr->ChipType == SIS_660)
 
#define IS_SIS760   (SiS_Pr->ChipType == SIS_760)
 
#define IS_SIS761   (SiS_Pr->ChipType == SIS_761)
 
#define IS_SIS661741660760   (IS_SIS661 || IS_SIS741 || IS_SIS660 || IS_SIS760 || IS_SIS761)
 
#define IS_SIS650740   ((SiS_Pr->ChipType >= SIS_650) && (SiS_Pr->ChipType < SIS_330))
 
#define IS_SIS550650740   (IS_SIS550 || IS_SIS650740)
 
#define IS_SIS650740660   (IS_SIS650 || IS_SIS740 || IS_SIS661741660760)
 
#define IS_SIS550650740660   (IS_SIS550 || IS_SIS650740660)
 
#define SISGETROMW(x)   (ROMAddr[(x)] | (ROMAddr[(x)+1] << 8))
 
#define VB_SIS301   0x0001
 
#define VB_SIS301B   0x0002
 
#define VB_SIS302B   0x0004
 
#define VB_SIS301LV   0x0008
 
#define VB_SIS302LV   0x0010
 
#define VB_SIS302ELV   0x0020
 
#define VB_SIS301C   0x0040
 
#define VB_SIS307T   0x0080
 
#define VB_SIS307LV   0x0100
 
#define VB_UMC   0x4000
 
#define VB_NoLCD   0x8000
 
#define VB_SIS30xB   (VB_SIS301B | VB_SIS301C | VB_SIS302B | VB_SIS307T)
 
#define VB_SIS30xC   (VB_SIS301C | VB_SIS307T)
 
#define VB_SISTMDS   (VB_SIS301 | VB_SIS301B | VB_SIS301C | VB_SIS302B | VB_SIS307T)
 
#define VB_SISLVDS   (VB_SIS301LV | VB_SIS302LV | VB_SIS302ELV | VB_SIS307LV)
 
#define VB_SIS30xBLV   (VB_SIS30xB | VB_SISLVDS)
 
#define VB_SIS30xCLV   (VB_SIS30xC | VB_SIS302ELV | VB_SIS307LV)
 
#define VB_SISVB   (VB_SIS301 | VB_SIS30xBLV)
 
#define VB_SISLCDA   (VB_SIS302B | VB_SIS301C | VB_SIS307T | VB_SISLVDS)
 
#define VB_SISTMDSLCDA   (VB_SIS301C | VB_SIS307T)
 
#define VB_SISPART4SCALER   (VB_SIS301C | VB_SIS307T | VB_SIS302ELV | VB_SIS307LV)
 
#define VB_SISHIVISION   (VB_SIS301 | VB_SIS301B | VB_SIS302B)
 
#define VB_SISYPBPR   (VB_SIS301C | VB_SIS307T | VB_SIS301LV | VB_SIS302LV | VB_SIS302ELV | VB_SIS307LV)
 
#define VB_SISTAP4SCALER   (VB_SIS301C | VB_SIS307T | VB_SIS302ELV | VB_SIS307LV)
 
#define VB_SISPART4OVERFLOW   (VB_SIS301C | VB_SIS307T | VB_SIS302LV | VB_SIS302ELV | VB_SIS307LV)
 
#define VB_SISPWD   (VB_SIS301C | VB_SIS307T | VB_SISLVDS)
 
#define VB_SISEMI   (VB_SIS302LV | VB_SIS302ELV | VB_SIS307LV)
 
#define VB_SISPOWER   (VB_SIS301C | VB_SIS307T | VB_SIS302LV | VB_SIS302ELV | VB_SIS307LV)
 
#define VB_SISDUALLINK   (VB_SIS302LV | VB_SIS302ELV | VB_SIS307T | VB_SIS307LV)
 
#define VB_SISVGA2   VB_SISTMDS
 
#define VB_SISRAMDAC202   (VB_SIS301C | VB_SIS307T)
 
#define SetSimuScanMode   0x0001 /* CR 30 */
 
#define SwitchCRT2   0x0002
 
#define SetCRT2ToAVIDEO   0x0004
 
#define SetCRT2ToSVIDEO   0x0008
 
#define SetCRT2ToSCART   0x0010
 
#define SetCRT2ToLCD   0x0020
 
#define SetCRT2ToRAMDAC   0x0040
 
#define SetCRT2ToHiVision   0x0080 /* for SiS bridge */
 
#define SetCRT2ToCHYPbPr   SetCRT2ToHiVision /* for Chrontel */
 
#define SetNTSCTV   0x0000 /* CR 31 */
 
#define SetPALTV   0x0100 /* Deprecated here, now in TVMode */
 
#define SetInSlaveMode   0x0200
 
#define SetNotSimuMode   0x0400
 
#define SetNotSimuTVMode   SetNotSimuMode
 
#define SetDispDevSwitch   0x0800
 
#define SetCRT2ToYPbPr525750   0x0800
 
#define LoadDACFlag   0x1000
 
#define DisableCRT2Display   0x2000
 
#define DriverMode   0x4000
 
#define HotKeySwitch   0x8000
 
#define SetCRT2ToLCDA   0x8000
 
#define SetCRT2ToTV   (SetCRT2ToYPbPr525750|SetCRT2ToHiVision|SetCRT2ToSCART|SetCRT2ToSVIDEO|SetCRT2ToAVIDEO)
 
#define SetCRT2ToTVNoYPbPrHiVision   (SetCRT2ToSCART | SetCRT2ToSVIDEO | SetCRT2ToAVIDEO)
 
#define SetCRT2ToTVNoHiVision   (SetCRT2ToYPbPr525750 | SetCRT2ToSCART | SetCRT2ToSVIDEO | SetCRT2ToAVIDEO)
 
#define ModeText   0x00
 
#define ModeCGA   0x01
 
#define ModeEGA   0x02
 
#define ModeVGA   0x03
 
#define Mode15Bpp   0x04
 
#define Mode16Bpp   0x05
 
#define Mode24Bpp   0x06
 
#define Mode32Bpp   0x07
 
#define ModeTypeMask   0x07
 
#define IsTextMode   0x07
 
#define DACInfoFlag   0x0018
 
#define MemoryInfoFlag   0x01E0
 
#define MemorySizeShift   5
 
#define Charx8Dot   0x0200
 
#define LineCompareOff   0x0400
 
#define CRT2Mode   0x0800
 
#define HalfDCLK   0x1000
 
#define NoSupportSimuTV   0x2000
 
#define NoSupportLCDScale   0x4000 /* SiS bridge: No scaling possible (no matter what panel) */
 
#define DoubleScanMode   0x8000
 
#define SupportTV   0x0008
 
#define SupportTV1024   0x0800
 
#define SupportCHTV   0x0800
 
#define Support64048060Hz   0x0800 /* Special for 640x480 LCD */
 
#define SupportHiVision   0x0010
 
#define SupportYPbPr750p   0x1000
 
#define SupportLCD   0x0020
 
#define SupportRAMDAC2   0x0040 /* All (<= 100Mhz) */
 
#define SupportRAMDAC2_135   0x0100 /* All except DH (<= 135Mhz) */
 
#define SupportRAMDAC2_162   0x0200 /* B, C (<= 162Mhz) */
 
#define SupportRAMDAC2_202   0x0400 /* C (<= 202Mhz) */
 
#define InterlaceMode   0x0080
 
#define SyncPP   0x0000
 
#define HaveWideTiming   0x2000 /* Have specific wide- and non-wide timing */
 
#define SyncPN   0x4000
 
#define SyncNP   0x8000
 
#define SyncNN   0xc000
 
#define ProgrammingCRT2   0x0001
 
#define LowModeTests   0x0002
 
#define LCDVESATiming   0x0008
 
#define EnableLVDSDDA   0x0010
 
#define SetDispDevSwitchFlag   0x0020
 
#define CheckWinDos   0x0040
 
#define SetDOSMode   0x0080
 
#define TVSetPAL   0x0001
 
#define TVSetNTSCJ   0x0002
 
#define TVSetPALM   0x0004
 
#define TVSetPALN   0x0008
 
#define TVSetCHOverScan   0x0010
 
#define TVSetYPbPr525i   0x0020 /* new 0x10 */
 
#define TVSetYPbPr525p   0x0040 /* new 0x20 */
 
#define TVSetYPbPr750p   0x0080 /* new 0x40 */
 
#define TVSetHiVision   0x0100 /* new 0x80; = 1080i, software-wise identical */
 
#define TVSetTVSimuMode   0x0200 /* new 0x200, prev. 0x800 */
 
#define TVRPLLDIV2XO   0x0400 /* prev 0x1000 */
 
#define TVSetNTSC1024   0x0800 /* new 0x100, prev. 0x2000 */
 
#define TVSet525p1024   0x1000 /* TW */
 
#define TVAspect43   0x2000
 
#define TVAspect169   0x4000
 
#define TVAspect43LB   0x8000
 
#define YPbPr525p   0x0001
 
#define YPbPr750p   0x0002
 
#define YPbPr525i   0x0004
 
#define YPbPrHiVision   0x0008
 
#define YPbPrModeMask   (YPbPr750p | YPbPr525p | YPbPr525i | YPbPrHiVision)
 
#define SF_Is651   0x0001
 
#define SF_IsM650   0x0002
 
#define SF_Is652   0x0004
 
#define SF_IsM652   0x0008
 
#define SF_IsM653   0x0010
 
#define SF_IsM661   0x0020
 
#define SF_IsM741   0x0040
 
#define SF_IsM760   0x0080
 
#define SF_760UMA   0x4000 /* 76x: We have UMA */
 
#define SF_760LFB   0x8000 /* 76x: We have LFB */
 
#define TVOverScan   0x10
 
#define TVOverScanShift   4
 
#define LCDRGB18Bit   0x0001
 
#define LCDNonExpanding   0x0010
 
#define LCDSync   0x0020
 
#define LCDPass11   0x0100 /* 0: center screen, 1: Pass 1:1 data */
 
#define LCDDualLink   0x0200
 
#define DontExpandLCD   LCDNonExpanding
 
#define LCDNonExpandingShift   4
 
#define DontExpandLCDShift   LCDNonExpandingShift
 
#define LCDSyncBit   0x00e0
 
#define LCDSyncShift   6
 
#define EnableDualEdge   0x01
 
#define SetToLCDA   0x02 /* LCD channel A (301C/302B/30x(E)LV and 650+LVDS only) */
 
#define EnableCHScart   0x04 /* Scart on Ch7019 (unofficial definition - TW) */
 
#define EnableCHYPbPr   0x08 /* YPbPr on Ch7019 (480i HDTV); only on 650/Ch7019 systems */
 
#define EnableSiSYPbPr   0x08 /* Enable YPbPr mode (30xLV/301C only) */
 
#define EnableYPbPr525i   0x00 /* Enable 525i YPbPr mode (30xLV/301C only) (mask 0x30) */
 
#define EnableYPbPr525p   0x10 /* Enable 525p YPbPr mode (30xLV/301C only) (mask 0x30) */
 
#define EnableYPbPr750p   0x20 /* Enable 750p YPbPr mode (30xLV/301C only) (mask 0x30) */
 
#define EnableYPbPr1080i   0x30 /* Enable 1080i YPbPr mode (30xLV/301C only) (mask 0x30) */
 
#define EnablePALM   0x40 /* 1 = Set PALM */
 
#define EnablePALN   0x80 /* 1 = Set PALN */
 
#define EnableNTSCJ   EnablePALM /* Not BIOS */
 
#define EnablePALMN   0x40 /* Romflag: 1 = Allow PALM/PALN */
 
#define LCDPass1_1   0x01 /* 0: center screen, 1: pass 1:1 data output */
 
#define Enable302LV_DualLink   0x04 /* 302LV only; enable dual link */
 
#define Panel300_800x600   0x01 /* CR36 */
 
#define Panel300_1024x768   0x02
 
#define Panel300_1280x1024   0x03
 
#define Panel300_1280x960   0x04
 
#define Panel300_640x480   0x05
 
#define Panel300_1024x600   0x06
 
#define Panel300_1152x768   0x07
 
#define Panel300_1280x768   0x0a
 
#define Panel300_Custom   0x0f
 
#define Panel300_Barco1366   0x10
 
#define Panel310_800x600   0x01
 
#define Panel310_1024x768   0x02
 
#define Panel310_1280x1024   0x03
 
#define Panel310_640x480   0x04
 
#define Panel310_1024x600   0x05
 
#define Panel310_1152x864   0x06
 
#define Panel310_1280x960   0x07
 
#define Panel310_1152x768   0x08 /* LVDS only */
 
#define Panel310_1400x1050   0x09
 
#define Panel310_1280x768   0x0a
 
#define Panel310_1600x1200   0x0b
 
#define Panel310_320x240_2   0x0c /* xSTN */
 
#define Panel310_320x240_3   0x0d /* xSTN */
 
#define Panel310_320x240_1   0x0e /* xSTN - This is fake, can be any */
 
#define Panel310_Custom   0x0f
 
#define Panel661_800x600   0x01
 
#define Panel661_1024x768   0x02
 
#define Panel661_1280x1024   0x03
 
#define Panel661_640x480   0x04
 
#define Panel661_1024x600   0x05
 
#define Panel661_1152x864   0x06
 
#define Panel661_1280x960   0x07
 
#define Panel661_1280x854   0x08
 
#define Panel661_1400x1050   0x09
 
#define Panel661_1280x768   0x0a
 
#define Panel661_1600x1200   0x0b
 
#define Panel661_1280x800   0x0c
 
#define Panel661_1680x1050   0x0d
 
#define Panel661_1280x720   0x0e
 
#define Panel661_Custom   0x0f
 
#define Panel_800x600   0x01 /* Unified values */
 
#define Panel_1024x768   0x02 /* MUST match BIOS values from 0-e */
 
#define Panel_1280x1024   0x03
 
#define Panel_640x480   0x04
 
#define Panel_1024x600   0x05
 
#define Panel_1152x864   0x06
 
#define Panel_1280x960   0x07
 
#define Panel_1152x768   0x08 /* LVDS only */
 
#define Panel_1400x1050   0x09
 
#define Panel_1280x768   0x0a /* 30xB/C and LVDS only (BIOS: all) */
 
#define Panel_1600x1200   0x0b
 
#define Panel_1280x800   0x0c /* 661etc (TMDS) */
 
#define Panel_1680x1050   0x0d /* 661etc */
 
#define Panel_1280x720   0x0e /* 661etc */
 
#define Panel_Custom   0x0f /* MUST BE 0x0f (for DVI DDC detection) */
 
#define Panel_320x240_1   0x10 /* SiS 550 xSTN */
 
#define Panel_Barco1366   0x11
 
#define Panel_848x480   0x12
 
#define Panel_320x240_2   0x13 /* SiS 550 xSTN */
 
#define Panel_320x240_3   0x14 /* SiS 550 xSTN */
 
#define Panel_1280x768_2   0x15 /* 30xLV */
 
#define Panel_1280x768_3   0x16 /* (unused) */
 
#define Panel_1280x800_2   0x17 /* 30xLV */
 
#define Panel_856x480   0x18
 
#define Panel_1280x854   0x19 /* 661etc */
 
#define SIS_RI_320x200   0
 
#define SIS_RI_320x240   1
 
#define SIS_RI_320x400   2
 
#define SIS_RI_400x300   3
 
#define SIS_RI_512x384   4
 
#define SIS_RI_640x400   5
 
#define SIS_RI_640x480   6
 
#define SIS_RI_800x600   7
 
#define SIS_RI_1024x768   8
 
#define SIS_RI_1280x1024   9
 
#define SIS_RI_1600x1200   10
 
#define SIS_RI_1920x1440   11
 
#define SIS_RI_2048x1536   12
 
#define SIS_RI_720x480   13
 
#define SIS_RI_720x576   14
 
#define SIS_RI_1280x960   15
 
#define SIS_RI_800x480   16
 
#define SIS_RI_1024x576   17
 
#define SIS_RI_1280x720   18
 
#define SIS_RI_856x480   19
 
#define SIS_RI_1280x768   20
 
#define SIS_RI_1400x1050   21
 
#define SIS_RI_1152x864   22 /* Up to here SiS conforming */
 
#define SIS_RI_848x480   23
 
#define SIS_RI_1360x768   24
 
#define SIS_RI_1024x600   25
 
#define SIS_RI_1152x768   26
 
#define SIS_RI_768x576   27
 
#define SIS_RI_1360x1024   28
 
#define SIS_RI_1680x1050   29
 
#define SIS_RI_1280x800   30
 
#define SIS_RI_1920x1080   31
 
#define SIS_RI_960x540   32
 
#define SIS_RI_960x600   33
 
#define SIS_RI_1280x854   34
 
#define IsM650   0x80
 
#define NTSCHT   1716
 
#define NTSC2HT   1920
 
#define NTSCVT   525
 
#define PALHT   1728
 
#define PALVT   625
 
#define StHiTVHT   892
 
#define StHiTVVT   1126
 
#define StHiTextTVHT   1000
 
#define StHiTextTVVT   1126
 
#define ExtHiTVHT   2100
 
#define ExtHiTVVT   1125
 
#define VCLK28   0x00 /* Index in VCLKData table (300 and 315) */
 
#define VCLK40   0x04 /* Index in VCLKData table (300 and 315) */
 
#define VCLK65_300   0x09 /* Index in VCLKData table (300) */
 
#define VCLK108_2_300   0x14 /* Index in VCLKData table (300) */
 
#define VCLK81_300   0x3f /* Index in VCLKData table (300) */
 
#define VCLK108_3_300   0x42 /* Index in VCLKData table (300) */
 
#define VCLK100_300   0x43 /* Index in VCLKData table (300) */
 
#define VCLK34_300   0x3d /* Index in VCLKData table (300) */
 
#define VCLK_CUSTOM_300   0x47
 
#define VCLK65_315   0x0b /* Indices in (VB)VCLKData table (315) */
 
#define VCLK108_2_315   0x19
 
#define VCLK81_315   0x5b
 
#define VCLK162_315   0x5e
 
#define VCLK108_3_315   0x45
 
#define VCLK100_315   0x46
 
#define VCLK34_315   0x55
 
#define VCLK68_315   0x0d
 
#define VCLK_1280x800_315_2   0x5c
 
#define VCLK121_315   0x5d
 
#define VCLK130_315   0x72
 
#define VCLK_1280x720   0x5f
 
#define VCLK_1280x768_2   0x60
 
#define VCLK_1280x768_3   0x61 /* (unused?) */
 
#define VCLK_CUSTOM_315   0x62
 
#define VCLK_1280x720_2   0x63
 
#define VCLK_720x480   0x67
 
#define VCLK_720x576   0x68
 
#define VCLK_768x576   0x68
 
#define VCLK_848x480   0x65
 
#define VCLK_856x480   0x66
 
#define VCLK_800x480   0x65
 
#define VCLK_1024x576   0x51
 
#define VCLK_1152x864   0x64
 
#define VCLK_1360x768   0x58
 
#define VCLK_1280x800_315   0x6c
 
#define VCLK_1280x854   0x76
 
#define TVCLKBASE_300   0x21 /* Indices on TV clocks in VCLKData table (300) */
 
#define TVCLKBASE_315   0x3a /* Indices on TV clocks in (VB)VCLKData table (315) */
 
#define TVVCLKDIV2   0x00 /* Index relative to TVCLKBASE */
 
#define TVVCLK   0x01 /* Index relative to TVCLKBASE */
 
#define HiTVVCLKDIV2   0x02 /* Index relative to TVCLKBASE */
 
#define HiTVVCLK   0x03 /* Index relative to TVCLKBASE */
 
#define HiTVSimuVCLK   0x04 /* Index relative to TVCLKBASE */
 
#define HiTVTextVCLK   0x05 /* Index relative to TVCLKBASE */
 
#define YPbPr750pVCLK   0x25 /* Index relative to TVCLKBASE; was 0x0f NOT relative */
 
#define SetSCARTOutput   0x01
 
#define HotPlugFunction   0x08
 
#define StStructSize   0x06
 
#define SIS_VIDEO_CAPTURE   0x00 - 0x30
 
#define SIS_VIDEO_PLAYBACK   0x02 - 0x30
 
#define SIS_CRT2_PORT_04   0x04 - 0x30
 
#define SIS_CRT2_PORT_10   0x10 - 0x30
 
#define SIS_CRT2_PORT_12   0x12 - 0x30
 
#define SIS_CRT2_PORT_14   0x14 - 0x30
 
#define ADR_CRT2PtrData   0x20E
 
#define offset_Zurac   0x210 /* TW: Trumpion Zurac data pointer */
 
#define ADR_LVDSDesPtrData   0x212
 
#define ADR_LVDSCRT1DataPtr   0x214
 
#define ADR_CHTVVCLKPtr   0x216
 
#define ADR_CHTVRegDataPtr   0x218
 
#define LCDDataLen   8
 
#define HiTVDataLen   12
 
#define TVDataLen   16
 
#define LVDSDataLen   6
 
#define LVDSDesDataLen   3
 
#define ActiveNonExpanding   0x40
 
#define ActiveNonExpandingShift   6
 
#define ActivePAL   0x20
 
#define ActivePALShift   5
 
#define ModeSwitchStatus   0x0F
 
#define SoftTVType   0x40
 
#define SoftSettingAddr   0x52
 
#define ModeSettingAddr   0x53
 
#define _PanelType00   0x00
 
#define _PanelType01   0x08
 
#define _PanelType02   0x10
 
#define _PanelType03   0x18
 
#define _PanelType04   0x20
 
#define _PanelType05   0x28
 
#define _PanelType06   0x30
 
#define _PanelType07   0x38
 
#define _PanelType08   0x40
 
#define _PanelType09   0x48
 
#define _PanelType0A   0x50
 
#define _PanelType0B   0x58
 
#define _PanelType0C   0x60
 
#define _PanelType0D   0x68
 
#define _PanelType0E   0x70
 
#define _PanelType0F   0x78
 
#define PRIMARY_VGA   0 /* 1: SiS is primary vga 0:SiS is secondary vga */
 
#define BIOSIDCodeAddr   0x235 /* Offsets to ptrs in BIOS image */
 
#define OEMUtilIDCodeAddr   0x237
 
#define VBModeIDTableAddr   0x239
 
#define OEMTVPtrAddr   0x241
 
#define PhaseTableAddr   0x243
 
#define NTSCFilterTableAddr   0x245
 
#define PALFilterTableAddr   0x247
 
#define OEMLCDPtr_1Addr   0x249
 
#define OEMLCDPtr_2Addr   0x24B
 
#define LCDHPosTable_1Addr   0x24D
 
#define LCDHPosTable_2Addr   0x24F
 
#define LCDVPosTable_1Addr   0x251
 
#define LCDVPosTable_2Addr   0x253
 
#define OEMLCDPIDTableAddr   0x255
 
#define VBModeStructSize   5
 
#define PhaseTableSize   4
 
#define FilterTableSize   4
 
#define LCDHPosTableSize   7
 
#define LCDVPosTableSize   5
 
#define OEMLVDSPIDTableSize   4
 
#define LVDSHPosTableSize   4
 
#define LVDSVPosTableSize   6
 
#define VB_ModeID   0
 
#define VB_TVTableIndex   1
 
#define VB_LCDTableIndex   2
 
#define VB_LCDHIndex   3
 
#define VB_LCDVIndex   4
 
#define OEMLCDEnable   0x0001
 
#define OEMLCDDelayEnable   0x0002
 
#define OEMLCDPOSEnable   0x0004
 
#define OEMTVEnable   0x0100
 
#define OEMTVDelayEnable   0x0200
 
#define OEMTVFlickerEnable   0x0400
 
#define OEMTVPhaseEnable   0x0800
 
#define OEMTVFilterEnable   0x1000
 
#define OEMLCDPanelIDSupport   0x0080
 
#define SoftDRAMType   0x80
 
#define SoftSetting_OFFSET   0x52
 
#define SR07_OFFSET   0x7C
 
#define SR15_OFFSET   0x7D
 
#define SR16_OFFSET   0x81
 
#define SR17_OFFSET   0x85
 
#define SR19_OFFSET   0x8D
 
#define SR1F_OFFSET   0x99
 
#define SR21_OFFSET   0x9A
 
#define SR22_OFFSET   0x9B
 
#define SR23_OFFSET   0x9C
 
#define SR24_OFFSET   0x9D
 
#define SR25_OFFSET   0x9E
 
#define SR31_OFFSET   0x9F
 
#define SR32_OFFSET   0xA0
 
#define SR33_OFFSET   0xA1
 
#define CR40_OFFSET   0xA2
 
#define SR25_1_OFFSET   0xF6
 
#define CR49_OFFSET   0xF7
 
#define VB310Data_1_2_Offset   0xB6
 
#define VB310Data_4_D_Offset   0xB7
 
#define VB310Data_4_E_Offset   0xB8
 
#define VB310Data_4_10_Offset   0xBB
 
#define RGBSenseDataOffset   0xBD
 
#define YCSenseDataOffset   0xBF
 
#define VideoSenseDataOffset   0xC1
 
#define OutputSelectOffset   0xF3
 
#define ECLK_MCLK_DISTANCE   0x14
 
#define VBIOSTablePointerStart   0x100
 
#define StandTablePtrOffset   VBIOSTablePointerStart+0x02
 
#define EModeIDTablePtrOffset   VBIOSTablePointerStart+0x04
 
#define CRT1TablePtrOffset   VBIOSTablePointerStart+0x06
 
#define ScreenOffsetPtrOffset   VBIOSTablePointerStart+0x08
 
#define VCLKDataPtrOffset   VBIOSTablePointerStart+0x0A
 
#define MCLKDataPtrOffset   VBIOSTablePointerStart+0x0E
 
#define CRT2PtrDataPtrOffset   VBIOSTablePointerStart+0x10
 
#define TVAntiFlickPtrOffset   VBIOSTablePointerStart+0x12
 
#define TVDelayPtr1Offset   VBIOSTablePointerStart+0x14
 
#define TVPhaseIncrPtr1Offset   VBIOSTablePointerStart+0x16
 
#define TVYFilterPtr1Offset   VBIOSTablePointerStart+0x18
 
#define LCDDelayPtr1Offset   VBIOSTablePointerStart+0x20
 
#define TVEdgePtr1Offset   VBIOSTablePointerStart+0x24
 
#define CRT2Delay1Offset   VBIOSTablePointerStart+0x28
 

Macro Definition Documentation

#define _PanelType00   0x00

Definition at line 595 of file initdef.h.

#define _PanelType01   0x08

Definition at line 596 of file initdef.h.

#define _PanelType02   0x10

Definition at line 597 of file initdef.h.

#define _PanelType03   0x18

Definition at line 598 of file initdef.h.

#define _PanelType04   0x20

Definition at line 599 of file initdef.h.

#define _PanelType05   0x28

Definition at line 600 of file initdef.h.

#define _PanelType06   0x30

Definition at line 601 of file initdef.h.

#define _PanelType07   0x38

Definition at line 602 of file initdef.h.

#define _PanelType08   0x40

Definition at line 603 of file initdef.h.

#define _PanelType09   0x48

Definition at line 604 of file initdef.h.

#define _PanelType0A   0x50

Definition at line 605 of file initdef.h.

#define _PanelType0B   0x58

Definition at line 606 of file initdef.h.

#define _PanelType0C   0x60

Definition at line 607 of file initdef.h.

#define _PanelType0D   0x68

Definition at line 608 of file initdef.h.

#define _PanelType0E   0x70

Definition at line 609 of file initdef.h.

#define _PanelType0F   0x78

Definition at line 610 of file initdef.h.

#define ActiveNonExpanding   0x40

Definition at line 586 of file initdef.h.

#define ActiveNonExpandingShift   6

Definition at line 587 of file initdef.h.

#define ActivePAL   0x20

Definition at line 588 of file initdef.h.

#define ActivePALShift   5

Definition at line 589 of file initdef.h.

#define ADR_CHTVRegDataPtr   0x218

Definition at line 578 of file initdef.h.

#define ADR_CHTVVCLKPtr   0x216

Definition at line 577 of file initdef.h.

#define ADR_CRT2PtrData   0x20E

Definition at line 573 of file initdef.h.

#define ADR_LVDSCRT1DataPtr   0x214

Definition at line 576 of file initdef.h.

#define ADR_LVDSDesPtrData   0x212

Definition at line 575 of file initdef.h.

#define BIOSIDCodeAddr   0x235 /* Offsets to ptrs in BIOS image */

Definition at line 614 of file initdef.h.

#define Charx8Dot   0x0200

Definition at line 155 of file initdef.h.

#define CheckWinDos   0x0040

Definition at line 190 of file initdef.h.

#define CR40_OFFSET   0xA2

Definition at line 677 of file initdef.h.

#define CR49_OFFSET   0xF7

Definition at line 679 of file initdef.h.

#define CRT1TablePtrOffset   VBIOSTablePointerStart+0x06

Definition at line 695 of file initdef.h.

#define CRT2Delay1Offset   VBIOSTablePointerStart+0x28

Definition at line 706 of file initdef.h.

#define CRT2Mode   0x0800

Definition at line 157 of file initdef.h.

#define CRT2PtrDataPtrOffset   VBIOSTablePointerStart+0x10

Definition at line 699 of file initdef.h.

#define DACInfoFlag   0x0018

Definition at line 150 of file initdef.h.

#define DisableCRT2Display   0x2000

Definition at line 127 of file initdef.h.

#define DontExpandLCD   LCDNonExpanding

Definition at line 297 of file initdef.h.

#define DontExpandLCDShift   LCDNonExpandingShift

Definition at line 299 of file initdef.h.

#define DoubleScanMode   0x8000

Definition at line 161 of file initdef.h.

#define DriverMode   0x4000

Definition at line 128 of file initdef.h.

#define ECLK_MCLK_DISTANCE   0x14

Definition at line 691 of file initdef.h.

#define EModeIDTablePtrOffset   VBIOSTablePointerStart+0x04

Definition at line 694 of file initdef.h.

#define Enable302LV_DualLink   0x04 /* 302LV only; enable dual link */

Definition at line 331 of file initdef.h.

#define EnableCHScart   0x04 /* Scart on Ch7019 (unofficial definition - TW) */

Definition at line 306 of file initdef.h.

#define EnableCHYPbPr   0x08 /* YPbPr on Ch7019 (480i HDTV); only on 650/Ch7019 systems */

Definition at line 307 of file initdef.h.

#define EnableDualEdge   0x01

Definition at line 304 of file initdef.h.

#define EnableLVDSDDA   0x0010

Definition at line 188 of file initdef.h.

#define EnableNTSCJ   EnablePALM /* Not BIOS */

Definition at line 315 of file initdef.h.

#define EnablePALM   0x40 /* 1 = Set PALM */

Definition at line 313 of file initdef.h.

#define EnablePALMN   0x40 /* Romflag: 1 = Allow PALM/PALN */

Definition at line 327 of file initdef.h.

#define EnablePALN   0x80 /* 1 = Set PALN */

Definition at line 314 of file initdef.h.

#define EnableSiSYPbPr   0x08 /* Enable YPbPr mode (30xLV/301C only) */

Definition at line 308 of file initdef.h.

#define EnableYPbPr1080i   0x30 /* Enable 1080i YPbPr mode (30xLV/301C only) (mask 0x30) */

Definition at line 312 of file initdef.h.

#define EnableYPbPr525i   0x00 /* Enable 525i YPbPr mode (30xLV/301C only) (mask 0x30) */

Definition at line 309 of file initdef.h.

#define EnableYPbPr525p   0x10 /* Enable 525p YPbPr mode (30xLV/301C only) (mask 0x30) */

Definition at line 310 of file initdef.h.

#define EnableYPbPr750p   0x20 /* Enable 750p YPbPr mode (30xLV/301C only) (mask 0x30) */

Definition at line 311 of file initdef.h.

#define ExtHiTVHT   2100

Definition at line 505 of file initdef.h.

#define ExtHiTVVT   1125

Definition at line 506 of file initdef.h.

#define FilterTableSize   4

Definition at line 631 of file initdef.h.

#define HalfDCLK   0x1000

Definition at line 158 of file initdef.h.

#define HaveWideTiming   0x2000 /* Have specific wide- and non-wide timing */

Definition at line 177 of file initdef.h.

#define HiTVDataLen   12

Definition at line 581 of file initdef.h.

#define HiTVSimuVCLK   0x04 /* Index relative to TVCLKBASE */

Definition at line 554 of file initdef.h.

#define HiTVTextVCLK   0x05 /* Index relative to TVCLKBASE */

Definition at line 555 of file initdef.h.

#define HiTVVCLK   0x03 /* Index relative to TVCLKBASE */

Definition at line 553 of file initdef.h.

#define HiTVVCLKDIV2   0x02 /* Index relative to TVCLKBASE */

Definition at line 552 of file initdef.h.

#define HotKeySwitch   0x8000

Definition at line 129 of file initdef.h.

#define HotPlugFunction   0x08

Definition at line 562 of file initdef.h.

#define InterlaceMode   0x0080

Definition at line 175 of file initdef.h.

#define IS_SIS330   (SiS_Pr->ChipType == SIS_330)

Definition at line 56 of file initdef.h.

#define IS_SIS550   (SiS_Pr->ChipType == SIS_550)

Definition at line 57 of file initdef.h.

#define IS_SIS550650740   (IS_SIS550 || IS_SIS650740)

Definition at line 70 of file initdef.h.

#define IS_SIS550650740660   (IS_SIS550 || IS_SIS650740660)

Definition at line 72 of file initdef.h.

#define IS_SIS650   (SiS_Pr->ChipType == SIS_650) /* All versions, incl 651, M65x */

Definition at line 58 of file initdef.h.

#define IS_SIS650740   ((SiS_Pr->ChipType >= SIS_650) && (SiS_Pr->ChipType < SIS_330))

Definition at line 69 of file initdef.h.

#define IS_SIS650740660   (IS_SIS650 || IS_SIS740 || IS_SIS661741660760)

Definition at line 71 of file initdef.h.

#define IS_SIS651   (SiS_Pr->SiS_SysFlags & (SF_Is651 | SF_Is652))

Definition at line 60 of file initdef.h.

#define IS_SIS65x   (IS_SIS651 || IS_SISM650) /* Only special versions of 65x */

Definition at line 62 of file initdef.h.

#define IS_SIS660   (SiS_Pr->ChipType == SIS_660)

Definition at line 65 of file initdef.h.

#define IS_SIS661   (SiS_Pr->ChipType == SIS_661)

Definition at line 63 of file initdef.h.

#define IS_SIS661741660760   (IS_SIS661 || IS_SIS741 || IS_SIS660 || IS_SIS760 || IS_SIS761)

Definition at line 68 of file initdef.h.

#define IS_SIS740   (SiS_Pr->ChipType == SIS_740)

Definition at line 59 of file initdef.h.

#define IS_SIS741   (SiS_Pr->ChipType == SIS_741)

Definition at line 64 of file initdef.h.

#define IS_SIS760   (SiS_Pr->ChipType == SIS_760)

Definition at line 66 of file initdef.h.

#define IS_SIS761   (SiS_Pr->ChipType == SIS_761)

Definition at line 67 of file initdef.h.

#define IS_SISM650   (SiS_Pr->SiS_SysFlags & (SF_IsM650 | SF_IsM652 | SF_IsM653))

Definition at line 61 of file initdef.h.

#define IsM650   0x80

Definition at line 493 of file initdef.h.

#define IsTextMode   0x07

Definition at line 148 of file initdef.h.

#define LCDDataLen   8

Definition at line 580 of file initdef.h.

#define LCDDelayPtr1Offset   VBIOSTablePointerStart+0x20

Definition at line 704 of file initdef.h.

#define LCDDualLink   0x0200

Definition at line 295 of file initdef.h.

#define LCDHPosTable_1Addr   0x24D

Definition at line 623 of file initdef.h.

#define LCDHPosTable_2Addr   0x24F

Definition at line 624 of file initdef.h.

#define LCDHPosTableSize   7

Definition at line 632 of file initdef.h.

#define LCDNonExpanding   0x0010

Definition at line 292 of file initdef.h.

#define LCDNonExpandingShift   4

Definition at line 298 of file initdef.h.

#define LCDPass11   0x0100 /* 0: center screen, 1: Pass 1:1 data */

Definition at line 294 of file initdef.h.

#define LCDPass1_1   0x01 /* 0: center screen, 1: pass 1:1 data output */

Definition at line 330 of file initdef.h.

#define LCDRGB18Bit   0x0001

Definition at line 291 of file initdef.h.

#define LCDSync   0x0020

Definition at line 293 of file initdef.h.

#define LCDSyncBit   0x00e0

Definition at line 300 of file initdef.h.

#define LCDSyncShift   6

Definition at line 301 of file initdef.h.

#define LCDVESATiming   0x0008

Definition at line 187 of file initdef.h.

#define LCDVPosTable_1Addr   0x251

Definition at line 625 of file initdef.h.

#define LCDVPosTable_2Addr   0x253

Definition at line 626 of file initdef.h.

#define LCDVPosTableSize   5

Definition at line 633 of file initdef.h.

#define LineCompareOff   0x0400

Definition at line 156 of file initdef.h.

#define LoadDACFlag   0x1000

Definition at line 126 of file initdef.h.

#define LowModeTests   0x0002

Definition at line 184 of file initdef.h.

#define LVDSDataLen   6

Definition at line 584 of file initdef.h.

#define LVDSDesDataLen   3

Definition at line 585 of file initdef.h.

#define LVDSHPosTableSize   4

Definition at line 635 of file initdef.h.

#define LVDSVPosTableSize   6

Definition at line 636 of file initdef.h.

#define MCLKDataPtrOffset   VBIOSTablePointerStart+0x0E

Definition at line 698 of file initdef.h.

#define MemoryInfoFlag   0x01E0

Definition at line 151 of file initdef.h.

#define MemorySizeShift   5

Definition at line 152 of file initdef.h.

#define Mode15Bpp   0x04

Definition at line 142 of file initdef.h.

#define Mode16Bpp   0x05

Definition at line 143 of file initdef.h.

#define Mode24Bpp   0x06

Definition at line 144 of file initdef.h.

#define Mode32Bpp   0x07

Definition at line 145 of file initdef.h.

#define ModeCGA   0x01

Definition at line 139 of file initdef.h.

#define ModeEGA   0x02

Definition at line 140 of file initdef.h.

#define ModeSettingAddr   0x53

Definition at line 593 of file initdef.h.

#define ModeSwitchStatus   0x0F

Definition at line 590 of file initdef.h.

#define ModeText   0x00

Definition at line 138 of file initdef.h.

#define ModeTypeMask   0x07

Definition at line 147 of file initdef.h.

#define ModeVGA   0x03

Definition at line 141 of file initdef.h.

#define NoSupportLCDScale   0x4000 /* SiS bridge: No scaling possible (no matter what panel) */

Definition at line 160 of file initdef.h.

#define NoSupportSimuTV   0x2000

Definition at line 159 of file initdef.h.

#define NTSC2HT   1920

Definition at line 497 of file initdef.h.

#define NTSCFilterTableAddr   0x245

Definition at line 619 of file initdef.h.

#define NTSCHT   1716

Definition at line 496 of file initdef.h.

#define NTSCVT   525

Definition at line 498 of file initdef.h.

#define OEMLCDDelayEnable   0x0002

Definition at line 645 of file initdef.h.

#define OEMLCDEnable   0x0001

Definition at line 644 of file initdef.h.

#define OEMLCDPanelIDSupport   0x0080

Definition at line 653 of file initdef.h.

#define OEMLCDPIDTableAddr   0x255

Definition at line 627 of file initdef.h.

#define OEMLCDPOSEnable   0x0004

Definition at line 646 of file initdef.h.

#define OEMLCDPtr_1Addr   0x249

Definition at line 621 of file initdef.h.

#define OEMLCDPtr_2Addr   0x24B

Definition at line 622 of file initdef.h.

#define OEMLVDSPIDTableSize   4

Definition at line 634 of file initdef.h.

#define OEMTVDelayEnable   0x0200

Definition at line 648 of file initdef.h.

#define OEMTVEnable   0x0100

Definition at line 647 of file initdef.h.

#define OEMTVFilterEnable   0x1000

Definition at line 651 of file initdef.h.

#define OEMTVFlickerEnable   0x0400

Definition at line 649 of file initdef.h.

#define OEMTVPhaseEnable   0x0800

Definition at line 650 of file initdef.h.

#define OEMTVPtrAddr   0x241

Definition at line 617 of file initdef.h.

#define OEMUtilIDCodeAddr   0x237

Definition at line 615 of file initdef.h.

#define offset_Zurac   0x210 /* TW: Trumpion Zurac data pointer */

Definition at line 574 of file initdef.h.

#define OutputSelectOffset   0xF3

Definition at line 689 of file initdef.h.

#define PALFilterTableAddr   0x247

Definition at line 620 of file initdef.h.

#define PALHT   1728

Definition at line 499 of file initdef.h.

#define PALVT   625

Definition at line 500 of file initdef.h.

#define Panel300_1024x600   0x06

Definition at line 391 of file initdef.h.

#define Panel300_1024x768   0x02

Definition at line 387 of file initdef.h.

#define Panel300_1152x768   0x07

Definition at line 392 of file initdef.h.

#define Panel300_1280x1024   0x03

Definition at line 388 of file initdef.h.

#define Panel300_1280x768   0x0a

Definition at line 393 of file initdef.h.

#define Panel300_1280x960   0x04

Definition at line 389 of file initdef.h.

#define Panel300_640x480   0x05

Definition at line 390 of file initdef.h.

#define Panel300_800x600   0x01 /* CR36 */

Definition at line 386 of file initdef.h.

#define Panel300_Barco1366   0x10

Definition at line 395 of file initdef.h.

#define Panel300_Custom   0x0f

Definition at line 394 of file initdef.h.

#define Panel310_1024x600   0x05

Definition at line 401 of file initdef.h.

#define Panel310_1024x768   0x02

Definition at line 398 of file initdef.h.

#define Panel310_1152x768   0x08 /* LVDS only */

Definition at line 404 of file initdef.h.

#define Panel310_1152x864   0x06

Definition at line 402 of file initdef.h.

#define Panel310_1280x1024   0x03

Definition at line 399 of file initdef.h.

#define Panel310_1280x768   0x0a

Definition at line 406 of file initdef.h.

#define Panel310_1280x960   0x07

Definition at line 403 of file initdef.h.

#define Panel310_1400x1050   0x09

Definition at line 405 of file initdef.h.

#define Panel310_1600x1200   0x0b

Definition at line 407 of file initdef.h.

#define Panel310_320x240_1   0x0e /* xSTN - This is fake, can be any */

Definition at line 410 of file initdef.h.

#define Panel310_320x240_2   0x0c /* xSTN */

Definition at line 408 of file initdef.h.

#define Panel310_320x240_3   0x0d /* xSTN */

Definition at line 409 of file initdef.h.

#define Panel310_640x480   0x04

Definition at line 400 of file initdef.h.

#define Panel310_800x600   0x01

Definition at line 397 of file initdef.h.

#define Panel310_Custom   0x0f

Definition at line 411 of file initdef.h.

#define Panel661_1024x600   0x05

Definition at line 417 of file initdef.h.

#define Panel661_1024x768   0x02

Definition at line 414 of file initdef.h.

#define Panel661_1152x864   0x06

Definition at line 418 of file initdef.h.

#define Panel661_1280x1024   0x03

Definition at line 415 of file initdef.h.

#define Panel661_1280x720   0x0e

Definition at line 426 of file initdef.h.

#define Panel661_1280x768   0x0a

Definition at line 422 of file initdef.h.

#define Panel661_1280x800   0x0c

Definition at line 424 of file initdef.h.

#define Panel661_1280x854   0x08

Definition at line 420 of file initdef.h.

#define Panel661_1280x960   0x07

Definition at line 419 of file initdef.h.

#define Panel661_1400x1050   0x09

Definition at line 421 of file initdef.h.

#define Panel661_1600x1200   0x0b

Definition at line 423 of file initdef.h.

#define Panel661_1680x1050   0x0d

Definition at line 425 of file initdef.h.

#define Panel661_640x480   0x04

Definition at line 416 of file initdef.h.

#define Panel661_800x600   0x01

Definition at line 413 of file initdef.h.

#define Panel661_Custom   0x0f

Definition at line 427 of file initdef.h.

#define Panel_1024x600   0x05

Definition at line 433 of file initdef.h.

#define Panel_1024x768   0x02 /* MUST match BIOS values from 0-e */

Definition at line 430 of file initdef.h.

#define Panel_1152x768   0x08 /* LVDS only */

Definition at line 436 of file initdef.h.

#define Panel_1152x864   0x06

Definition at line 434 of file initdef.h.

#define Panel_1280x1024   0x03

Definition at line 431 of file initdef.h.

#define Panel_1280x720   0x0e /* 661etc */

Definition at line 442 of file initdef.h.

#define Panel_1280x768   0x0a /* 30xB/C and LVDS only (BIOS: all) */

Definition at line 438 of file initdef.h.

#define Panel_1280x768_2   0x15 /* 30xLV */

Definition at line 449 of file initdef.h.

#define Panel_1280x768_3   0x16 /* (unused) */

Definition at line 450 of file initdef.h.

#define Panel_1280x800   0x0c /* 661etc (TMDS) */

Definition at line 440 of file initdef.h.

#define Panel_1280x800_2   0x17 /* 30xLV */

Definition at line 451 of file initdef.h.

#define Panel_1280x854   0x19 /* 661etc */

Definition at line 453 of file initdef.h.

#define Panel_1280x960   0x07

Definition at line 435 of file initdef.h.

#define Panel_1400x1050   0x09

Definition at line 437 of file initdef.h.

#define Panel_1600x1200   0x0b

Definition at line 439 of file initdef.h.

#define Panel_1680x1050   0x0d /* 661etc */

Definition at line 441 of file initdef.h.

#define Panel_320x240_1   0x10 /* SiS 550 xSTN */

Definition at line 444 of file initdef.h.

#define Panel_320x240_2   0x13 /* SiS 550 xSTN */

Definition at line 447 of file initdef.h.

#define Panel_320x240_3   0x14 /* SiS 550 xSTN */

Definition at line 448 of file initdef.h.

#define Panel_640x480   0x04

Definition at line 432 of file initdef.h.

#define Panel_800x600   0x01 /* Unified values */

Definition at line 429 of file initdef.h.

#define Panel_848x480   0x12

Definition at line 446 of file initdef.h.

#define Panel_856x480   0x18

Definition at line 452 of file initdef.h.

#define Panel_Barco1366   0x11

Definition at line 445 of file initdef.h.

#define Panel_Custom   0x0f /* MUST BE 0x0f (for DVI DDC detection) */

Definition at line 443 of file initdef.h.

#define PhaseTableAddr   0x243

Definition at line 618 of file initdef.h.

#define PhaseTableSize   4

Definition at line 630 of file initdef.h.

#define PRIMARY_VGA   0 /* 1: SiS is primary vga 0:SiS is secondary vga */

Definition at line 612 of file initdef.h.

#define ProgrammingCRT2   0x0001

Definition at line 183 of file initdef.h.

#define RGBSenseDataOffset   0xBD

Definition at line 686 of file initdef.h.

#define ScreenOffsetPtrOffset   VBIOSTablePointerStart+0x08

Definition at line 696 of file initdef.h.

#define SetCRT2ToAVIDEO   0x0004

Definition at line 112 of file initdef.h.

#define SetCRT2ToCHYPbPr   SetCRT2ToHiVision /* for Chrontel */

Definition at line 118 of file initdef.h.

#define SetCRT2ToHiVision   0x0080 /* for SiS bridge */

Definition at line 117 of file initdef.h.

#define SetCRT2ToLCD   0x0020

Definition at line 115 of file initdef.h.

#define SetCRT2ToLCDA   0x8000

Definition at line 130 of file initdef.h.

#define SetCRT2ToRAMDAC   0x0040

Definition at line 116 of file initdef.h.

#define SetCRT2ToSCART   0x0010

Definition at line 114 of file initdef.h.

#define SetCRT2ToSVIDEO   0x0008

Definition at line 113 of file initdef.h.

Definition at line 133 of file initdef.h.

#define SetCRT2ToTVNoHiVision   (SetCRT2ToYPbPr525750 | SetCRT2ToSCART | SetCRT2ToSVIDEO | SetCRT2ToAVIDEO)

Definition at line 135 of file initdef.h.

#define SetCRT2ToTVNoYPbPrHiVision   (SetCRT2ToSCART | SetCRT2ToSVIDEO | SetCRT2ToAVIDEO)

Definition at line 134 of file initdef.h.

#define SetCRT2ToYPbPr525750   0x0800

Definition at line 125 of file initdef.h.

#define SetDispDevSwitch   0x0800

Definition at line 124 of file initdef.h.

#define SetDispDevSwitchFlag   0x0020

Definition at line 189 of file initdef.h.

#define SetDOSMode   0x0080

Definition at line 191 of file initdef.h.

#define SetInSlaveMode   0x0200

Definition at line 121 of file initdef.h.

#define SetNotSimuMode   0x0400

Definition at line 122 of file initdef.h.

#define SetNotSimuTVMode   SetNotSimuMode

Definition at line 123 of file initdef.h.

#define SetNTSCTV   0x0000 /* CR 31 */

Definition at line 119 of file initdef.h.

#define SetPALTV   0x0100 /* Deprecated here, now in TVMode */

Definition at line 120 of file initdef.h.

#define SetSCARTOutput   0x01

Definition at line 560 of file initdef.h.

#define SetSimuScanMode   0x0001 /* CR 30 */

Definition at line 110 of file initdef.h.

#define SetToLCDA   0x02 /* LCD channel A (301C/302B/30x(E)LV and 650+LVDS only) */

Definition at line 305 of file initdef.h.

#define SF_760LFB   0x8000 /* 76x: We have LFB */

Definition at line 228 of file initdef.h.

#define SF_760UMA   0x4000 /* 76x: We have UMA */

Definition at line 227 of file initdef.h.

#define SF_Is651   0x0001

Definition at line 219 of file initdef.h.

#define SF_Is652   0x0004

Definition at line 221 of file initdef.h.

#define SF_IsM650   0x0002

Definition at line 220 of file initdef.h.

#define SF_IsM652   0x0008

Definition at line 222 of file initdef.h.

#define SF_IsM653   0x0010

Definition at line 223 of file initdef.h.

#define SF_IsM661   0x0020

Definition at line 224 of file initdef.h.

#define SF_IsM741   0x0040

Definition at line 225 of file initdef.h.

#define SF_IsM760   0x0080

Definition at line 226 of file initdef.h.

#define SIS_CRT2_PORT_04   0x04 - 0x30

Definition at line 568 of file initdef.h.

#define SIS_CRT2_PORT_10   0x10 - 0x30

Definition at line 569 of file initdef.h.

#define SIS_CRT2_PORT_12   0x12 - 0x30

Definition at line 570 of file initdef.h.

#define SIS_CRT2_PORT_14   0x14 - 0x30

Definition at line 571 of file initdef.h.

#define SIS_RI_1024x576   17

Definition at line 473 of file initdef.h.

#define SIS_RI_1024x600   25

Definition at line 481 of file initdef.h.

#define SIS_RI_1024x768   8

Definition at line 464 of file initdef.h.

#define SIS_RI_1152x768   26

Definition at line 482 of file initdef.h.

#define SIS_RI_1152x864   22 /* Up to here SiS conforming */

Definition at line 478 of file initdef.h.

#define SIS_RI_1280x1024   9

Definition at line 465 of file initdef.h.

#define SIS_RI_1280x720   18

Definition at line 474 of file initdef.h.

#define SIS_RI_1280x768   20

Definition at line 476 of file initdef.h.

#define SIS_RI_1280x800   30

Definition at line 486 of file initdef.h.

#define SIS_RI_1280x854   34

Definition at line 490 of file initdef.h.

#define SIS_RI_1280x960   15

Definition at line 471 of file initdef.h.

#define SIS_RI_1360x1024   28

Definition at line 484 of file initdef.h.

#define SIS_RI_1360x768   24

Definition at line 480 of file initdef.h.

#define SIS_RI_1400x1050   21

Definition at line 477 of file initdef.h.

#define SIS_RI_1600x1200   10

Definition at line 466 of file initdef.h.

#define SIS_RI_1680x1050   29

Definition at line 485 of file initdef.h.

#define SIS_RI_1920x1080   31

Definition at line 487 of file initdef.h.

#define SIS_RI_1920x1440   11

Definition at line 467 of file initdef.h.

#define SIS_RI_2048x1536   12

Definition at line 468 of file initdef.h.

#define SIS_RI_320x200   0

Definition at line 456 of file initdef.h.

#define SIS_RI_320x240   1

Definition at line 457 of file initdef.h.

#define SIS_RI_320x400   2

Definition at line 458 of file initdef.h.

#define SIS_RI_400x300   3

Definition at line 459 of file initdef.h.

#define SIS_RI_512x384   4

Definition at line 460 of file initdef.h.

#define SIS_RI_640x400   5

Definition at line 461 of file initdef.h.

#define SIS_RI_640x480   6

Definition at line 462 of file initdef.h.

#define SIS_RI_720x480   13

Definition at line 469 of file initdef.h.

#define SIS_RI_720x576   14

Definition at line 470 of file initdef.h.

#define SIS_RI_768x576   27

Definition at line 483 of file initdef.h.

#define SIS_RI_800x480   16

Definition at line 472 of file initdef.h.

#define SIS_RI_800x600   7

Definition at line 463 of file initdef.h.

#define SIS_RI_848x480   23

Definition at line 479 of file initdef.h.

#define SIS_RI_856x480   19

Definition at line 475 of file initdef.h.

#define SIS_RI_960x540   32

Definition at line 488 of file initdef.h.

#define SIS_RI_960x600   33

Definition at line 489 of file initdef.h.

#define SIS_VIDEO_CAPTURE   0x00 - 0x30

Definition at line 566 of file initdef.h.

#define SIS_VIDEO_PLAYBACK   0x02 - 0x30

Definition at line 567 of file initdef.h.

#define SISGETROMW (   x)    (ROMAddr[(x)] | (ROMAddr[(x)+1] << 8))

Definition at line 74 of file initdef.h.

#define SoftDRAMType   0x80

Definition at line 660 of file initdef.h.

#define SoftSetting_OFFSET   0x52

Definition at line 661 of file initdef.h.

#define SoftSettingAddr   0x52

Definition at line 592 of file initdef.h.

#define SoftTVType   0x40

Definition at line 591 of file initdef.h.

#define SR07_OFFSET   0x7C

Definition at line 662 of file initdef.h.

#define SR15_OFFSET   0x7D

Definition at line 663 of file initdef.h.

#define SR16_OFFSET   0x81

Definition at line 664 of file initdef.h.

#define SR17_OFFSET   0x85

Definition at line 665 of file initdef.h.

#define SR19_OFFSET   0x8D

Definition at line 666 of file initdef.h.

#define SR1F_OFFSET   0x99

Definition at line 667 of file initdef.h.

#define SR21_OFFSET   0x9A

Definition at line 668 of file initdef.h.

#define SR22_OFFSET   0x9B

Definition at line 669 of file initdef.h.

#define SR23_OFFSET   0x9C

Definition at line 670 of file initdef.h.

#define SR24_OFFSET   0x9D

Definition at line 671 of file initdef.h.

#define SR25_1_OFFSET   0xF6

Definition at line 678 of file initdef.h.

#define SR25_OFFSET   0x9E

Definition at line 672 of file initdef.h.

#define SR31_OFFSET   0x9F

Definition at line 673 of file initdef.h.

#define SR32_OFFSET   0xA0

Definition at line 674 of file initdef.h.

#define SR33_OFFSET   0xA1

Definition at line 675 of file initdef.h.

#define StandTablePtrOffset   VBIOSTablePointerStart+0x02

Definition at line 693 of file initdef.h.

#define StHiTextTVHT   1000

Definition at line 503 of file initdef.h.

#define StHiTextTVVT   1126

Definition at line 504 of file initdef.h.

#define StHiTVHT   892

Definition at line 501 of file initdef.h.

#define StHiTVVT   1126

Definition at line 502 of file initdef.h.

#define StStructSize   0x06

Definition at line 564 of file initdef.h.

#define Support64048060Hz   0x0800 /* Special for 640x480 LCD */

Definition at line 167 of file initdef.h.

#define SupportCHTV   0x0800

Definition at line 166 of file initdef.h.

#define SupportHiVision   0x0010

Definition at line 168 of file initdef.h.

#define SupportLCD   0x0020

Definition at line 170 of file initdef.h.

#define SupportRAMDAC2   0x0040 /* All (<= 100Mhz) */

Definition at line 171 of file initdef.h.

#define SupportRAMDAC2_135   0x0100 /* All except DH (<= 135Mhz) */

Definition at line 172 of file initdef.h.

#define SupportRAMDAC2_162   0x0200 /* B, C (<= 162Mhz) */

Definition at line 173 of file initdef.h.

#define SupportRAMDAC2_202   0x0400 /* C (<= 202Mhz) */

Definition at line 174 of file initdef.h.

#define SupportTV   0x0008

Definition at line 164 of file initdef.h.

#define SupportTV1024   0x0800

Definition at line 165 of file initdef.h.

#define SupportYPbPr750p   0x1000

Definition at line 169 of file initdef.h.

#define SwitchCRT2   0x0002

Definition at line 111 of file initdef.h.

#define SyncNN   0xc000

Definition at line 180 of file initdef.h.

#define SyncNP   0x8000

Definition at line 179 of file initdef.h.

#define SyncPN   0x4000

Definition at line 178 of file initdef.h.

#define SyncPP   0x0000

Definition at line 176 of file initdef.h.

#define TVAntiFlickPtrOffset   VBIOSTablePointerStart+0x12

Definition at line 700 of file initdef.h.

#define TVAspect169   0x4000

Definition at line 208 of file initdef.h.

#define TVAspect43   0x2000

Definition at line 207 of file initdef.h.

#define TVAspect43LB   0x8000

Definition at line 209 of file initdef.h.

#define TVCLKBASE_300   0x21 /* Indices on TV clocks in VCLKData table (300) */

Definition at line 548 of file initdef.h.

#define TVCLKBASE_315   0x3a /* Indices on TV clocks in (VB)VCLKData table (315) */

Definition at line 549 of file initdef.h.

#define TVDataLen   16

Definition at line 582 of file initdef.h.

#define TVDelayPtr1Offset   VBIOSTablePointerStart+0x14

Definition at line 701 of file initdef.h.

#define TVEdgePtr1Offset   VBIOSTablePointerStart+0x24

Definition at line 705 of file initdef.h.

#define TVOverScan   0x10

Definition at line 244 of file initdef.h.

#define TVOverScanShift   4

Definition at line 245 of file initdef.h.

#define TVPhaseIncrPtr1Offset   VBIOSTablePointerStart+0x16

Definition at line 702 of file initdef.h.

#define TVRPLLDIV2XO   0x0400 /* prev 0x1000 */

Definition at line 204 of file initdef.h.

#define TVSet525p1024   0x1000 /* TW */

Definition at line 206 of file initdef.h.

#define TVSetCHOverScan   0x0010

Definition at line 198 of file initdef.h.

#define TVSetHiVision   0x0100 /* new 0x80; = 1080i, software-wise identical */

Definition at line 202 of file initdef.h.

#define TVSetNTSC1024   0x0800 /* new 0x100, prev. 0x2000 */

Definition at line 205 of file initdef.h.

#define TVSetNTSCJ   0x0002

Definition at line 195 of file initdef.h.

#define TVSetPAL   0x0001

Definition at line 194 of file initdef.h.

#define TVSetPALM   0x0004

Definition at line 196 of file initdef.h.

#define TVSetPALN   0x0008

Definition at line 197 of file initdef.h.

#define TVSetTVSimuMode   0x0200 /* new 0x200, prev. 0x800 */

Definition at line 203 of file initdef.h.

#define TVSetYPbPr525i   0x0020 /* new 0x10 */

Definition at line 199 of file initdef.h.

#define TVSetYPbPr525p   0x0040 /* new 0x20 */

Definition at line 200 of file initdef.h.

#define TVSetYPbPr750p   0x0080 /* new 0x40 */

Definition at line 201 of file initdef.h.

#define TVVCLK   0x01 /* Index relative to TVCLKBASE */

Definition at line 551 of file initdef.h.

#define TVVCLKDIV2   0x00 /* Index relative to TVCLKBASE */

Definition at line 550 of file initdef.h.

#define TVYFilterPtr1Offset   VBIOSTablePointerStart+0x18

Definition at line 703 of file initdef.h.

#define VB310Data_1_2_Offset   0xB6

Definition at line 681 of file initdef.h.

#define VB310Data_4_10_Offset   0xBB

Definition at line 684 of file initdef.h.

#define VB310Data_4_D_Offset   0xB7

Definition at line 682 of file initdef.h.

#define VB310Data_4_E_Offset   0xB8

Definition at line 683 of file initdef.h.

#define VB_LCDHIndex   3

Definition at line 641 of file initdef.h.

#define VB_LCDTableIndex   2

Definition at line 640 of file initdef.h.

#define VB_LCDVIndex   4

Definition at line 642 of file initdef.h.

#define VB_ModeID   0

Definition at line 638 of file initdef.h.

#define VB_NoLCD   0x8000

Definition at line 87 of file initdef.h.

#define VB_SIS301   0x0001

Definition at line 77 of file initdef.h.

#define VB_SIS301B   0x0002

Definition at line 78 of file initdef.h.

#define VB_SIS301C   0x0040

Definition at line 83 of file initdef.h.

#define VB_SIS301LV   0x0008

Definition at line 80 of file initdef.h.

#define VB_SIS302B   0x0004

Definition at line 79 of file initdef.h.

#define VB_SIS302ELV   0x0020

Definition at line 82 of file initdef.h.

#define VB_SIS302LV   0x0010

Definition at line 81 of file initdef.h.

#define VB_SIS307LV   0x0100

Definition at line 85 of file initdef.h.

#define VB_SIS307T   0x0080

Definition at line 84 of file initdef.h.

#define VB_SIS30xB   (VB_SIS301B | VB_SIS301C | VB_SIS302B | VB_SIS307T)

Definition at line 88 of file initdef.h.

#define VB_SIS30xBLV   (VB_SIS30xB | VB_SISLVDS)

Definition at line 92 of file initdef.h.

#define VB_SIS30xC   (VB_SIS301C | VB_SIS307T)

Definition at line 89 of file initdef.h.

#define VB_SIS30xCLV   (VB_SIS30xC | VB_SIS302ELV | VB_SIS307LV)

Definition at line 93 of file initdef.h.

#define VB_SISDUALLINK   (VB_SIS302LV | VB_SIS302ELV | VB_SIS307T | VB_SIS307LV)

Definition at line 105 of file initdef.h.

#define VB_SISEMI   (VB_SIS302LV | VB_SIS302ELV | VB_SIS307LV)

Definition at line 103 of file initdef.h.

#define VB_SISHIVISION   (VB_SIS301 | VB_SIS301B | VB_SIS302B)

Definition at line 98 of file initdef.h.

#define VB_SISLCDA   (VB_SIS302B | VB_SIS301C | VB_SIS307T | VB_SISLVDS)

Definition at line 95 of file initdef.h.

#define VB_SISLVDS   (VB_SIS301LV | VB_SIS302LV | VB_SIS302ELV | VB_SIS307LV)

Definition at line 91 of file initdef.h.

#define VB_SISPART4OVERFLOW   (VB_SIS301C | VB_SIS307T | VB_SIS302LV | VB_SIS302ELV | VB_SIS307LV)

Definition at line 101 of file initdef.h.

#define VB_SISPART4SCALER   (VB_SIS301C | VB_SIS307T | VB_SIS302ELV | VB_SIS307LV)

Definition at line 97 of file initdef.h.

#define VB_SISPOWER   (VB_SIS301C | VB_SIS307T | VB_SIS302LV | VB_SIS302ELV | VB_SIS307LV)

Definition at line 104 of file initdef.h.

#define VB_SISPWD   (VB_SIS301C | VB_SIS307T | VB_SISLVDS)

Definition at line 102 of file initdef.h.

#define VB_SISRAMDAC202   (VB_SIS301C | VB_SIS307T)

Definition at line 107 of file initdef.h.

#define VB_SISTAP4SCALER   (VB_SIS301C | VB_SIS307T | VB_SIS302ELV | VB_SIS307LV)

Definition at line 100 of file initdef.h.

#define VB_SISTMDS   (VB_SIS301 | VB_SIS301B | VB_SIS301C | VB_SIS302B | VB_SIS307T)

Definition at line 90 of file initdef.h.

#define VB_SISTMDSLCDA   (VB_SIS301C | VB_SIS307T)

Definition at line 96 of file initdef.h.

#define VB_SISVB   (VB_SIS301 | VB_SIS30xBLV)

Definition at line 94 of file initdef.h.

#define VB_SISVGA2   VB_SISTMDS

Definition at line 106 of file initdef.h.

#define VB_SISYPBPR   (VB_SIS301C | VB_SIS307T | VB_SIS301LV | VB_SIS302LV | VB_SIS302ELV | VB_SIS307LV)

Definition at line 99 of file initdef.h.

#define VB_TVTableIndex   1

Definition at line 639 of file initdef.h.

#define VB_UMC   0x4000

Definition at line 86 of file initdef.h.

#define VBIOSTablePointerStart   0x100

Definition at line 692 of file initdef.h.

#define VBModeIDTableAddr   0x239

Definition at line 616 of file initdef.h.

#define VBModeStructSize   5

Definition at line 629 of file initdef.h.

#define VCLK100_300   0x43 /* Index in VCLKData table (300) */

Definition at line 516 of file initdef.h.

#define VCLK100_315   0x46

Definition at line 525 of file initdef.h.

#define VCLK108_2_300   0x14 /* Index in VCLKData table (300) */

Definition at line 513 of file initdef.h.

#define VCLK108_2_315   0x19

Definition at line 521 of file initdef.h.

#define VCLK108_3_300   0x42 /* Index in VCLKData table (300) */

Definition at line 515 of file initdef.h.

#define VCLK108_3_315   0x45

Definition at line 524 of file initdef.h.

#define VCLK121_315   0x5d

Definition at line 529 of file initdef.h.

#define VCLK130_315   0x72

Definition at line 530 of file initdef.h.

#define VCLK162_315   0x5e

Definition at line 523 of file initdef.h.

#define VCLK28   0x00 /* Index in VCLKData table (300 and 315) */

Definition at line 510 of file initdef.h.

#define VCLK34_300   0x3d /* Index in VCLKData table (300) */

Definition at line 517 of file initdef.h.

#define VCLK34_315   0x55

Definition at line 526 of file initdef.h.

#define VCLK40   0x04 /* Index in VCLKData table (300 and 315) */

Definition at line 511 of file initdef.h.

#define VCLK65_300   0x09 /* Index in VCLKData table (300) */

Definition at line 512 of file initdef.h.

#define VCLK65_315   0x0b /* Indices in (VB)VCLKData table (315) */

Definition at line 520 of file initdef.h.

#define VCLK68_315   0x0d

Definition at line 527 of file initdef.h.

#define VCLK81_300   0x3f /* Index in VCLKData table (300) */

Definition at line 514 of file initdef.h.

#define VCLK81_315   0x5b

Definition at line 522 of file initdef.h.

#define VCLK_1024x576   0x51

Definition at line 542 of file initdef.h.

#define VCLK_1152x864   0x64

Definition at line 543 of file initdef.h.

#define VCLK_1280x720   0x5f

Definition at line 531 of file initdef.h.

#define VCLK_1280x720_2   0x63

Definition at line 535 of file initdef.h.

#define VCLK_1280x768_2   0x60

Definition at line 532 of file initdef.h.

#define VCLK_1280x768_3   0x61 /* (unused?) */

Definition at line 533 of file initdef.h.

#define VCLK_1280x800_315   0x6c

Definition at line 545 of file initdef.h.

#define VCLK_1280x800_315_2   0x5c

Definition at line 528 of file initdef.h.

#define VCLK_1280x854   0x76

Definition at line 546 of file initdef.h.

#define VCLK_1360x768   0x58

Definition at line 544 of file initdef.h.

#define VCLK_720x480   0x67

Definition at line 536 of file initdef.h.

#define VCLK_720x576   0x68

Definition at line 537 of file initdef.h.

#define VCLK_768x576   0x68

Definition at line 538 of file initdef.h.

#define VCLK_800x480   0x65

Definition at line 541 of file initdef.h.

#define VCLK_848x480   0x65

Definition at line 539 of file initdef.h.

#define VCLK_856x480   0x66

Definition at line 540 of file initdef.h.

#define VCLK_CUSTOM_300   0x47

Definition at line 518 of file initdef.h.

#define VCLK_CUSTOM_315   0x62

Definition at line 534 of file initdef.h.

#define VCLKDataPtrOffset   VBIOSTablePointerStart+0x0A

Definition at line 697 of file initdef.h.

#define VideoSenseDataOffset   0xC1

Definition at line 688 of file initdef.h.

#define YCSenseDataOffset   0xBF

Definition at line 687 of file initdef.h.

#define YPbPr525i   0x0004

Definition at line 214 of file initdef.h.

#define YPbPr525p   0x0001

Definition at line 212 of file initdef.h.

#define YPbPr750p   0x0002

Definition at line 213 of file initdef.h.

#define YPbPr750pVCLK   0x25 /* Index relative to TVCLKBASE; was 0x0f NOT relative */

Definition at line 556 of file initdef.h.

#define YPbPrHiVision   0x0008

Definition at line 215 of file initdef.h.

#define YPbPrModeMask   (YPbPr750p | YPbPr525p | YPbPr525i | YPbPrHiVision)

Definition at line 216 of file initdef.h.