apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 1 | #ifndef _VB_STRUCT_ |
| 2 | #define _VB_STRUCT_ |
| 3 | |
| 4 | #ifdef _INITNEW_ |
| 5 | #define EXTERN |
| 6 | #else |
| 7 | #define EXTERN extern |
| 8 | #endif |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 13 | struct XGI_PanelDelayTblStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 14 | { |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 15 | unsigned char timer[2]; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 16 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 17 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 18 | struct XGI_LCDDataStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 19 | { |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 20 | unsigned short RVBHCMAX; |
| 21 | unsigned short RVBHCFACT; |
| 22 | unsigned short VGAHT; |
| 23 | unsigned short VGAVT; |
| 24 | unsigned short LCDHT; |
| 25 | unsigned short LCDVT; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 26 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 27 | |
| 28 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 29 | struct XGI_LVDSCRT1HDataStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 30 | { |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 31 | unsigned char Reg[8]; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 32 | }; |
| 33 | |
| 34 | struct XGI_LVDSCRT1VDataStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 35 | { |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 36 | unsigned char Reg[7]; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 37 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 38 | |
| 39 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 40 | struct XGI_TVDataStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 41 | { |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 42 | unsigned short RVBHCMAX; |
| 43 | unsigned short RVBHCFACT; |
| 44 | unsigned short VGAHT; |
| 45 | unsigned short VGAVT; |
| 46 | unsigned short TVHDE; |
| 47 | unsigned short TVVDE; |
| 48 | unsigned short RVBHRS; |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 49 | unsigned char FlickerMode; |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 50 | unsigned short HALFRVBHRS; |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 51 | unsigned char RY1COE; |
| 52 | unsigned char RY2COE; |
| 53 | unsigned char RY3COE; |
| 54 | unsigned char RY4COE; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 55 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 56 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 57 | struct XGI_LVDSDataStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 58 | { |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 59 | unsigned short VGAHT; |
| 60 | unsigned short VGAVT; |
| 61 | unsigned short LCDHT; |
| 62 | unsigned short LCDVT; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 63 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 64 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 65 | struct XGI_LVDSDesStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 66 | { |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 67 | unsigned short LCDHDES; |
| 68 | unsigned short LCDVDES; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 69 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 70 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 71 | struct XGI_LVDSCRT1DataStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 72 | { |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 73 | unsigned char CR[15]; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 74 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 75 | |
| 76 | /*add for LCDA*/ |
| 77 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 78 | struct XGI_StStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 79 | { |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 80 | unsigned char St_ModeID; |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 81 | unsigned short St_ModeFlag; |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 82 | unsigned char St_StTableIndex; |
| 83 | unsigned char St_CRT2CRTC; |
| 84 | unsigned char St_CRT2CRTC2; |
| 85 | unsigned char St_ResInfo; |
| 86 | unsigned char VB_StTVFlickerIndex; |
| 87 | unsigned char VB_StTVEdgeIndex; |
| 88 | unsigned char VB_StTVYFilterIndex; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 89 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 90 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 91 | struct XGI_StandTableStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 92 | { |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 93 | unsigned char CRT_COLS; |
| 94 | unsigned char ROWS; |
| 95 | unsigned char CHAR_HEIGHT; |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 96 | unsigned short CRT_LEN; |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 97 | unsigned char SR[4]; |
| 98 | unsigned char MISC; |
| 99 | unsigned char CRTC[0x19]; |
| 100 | unsigned char ATTR[0x14]; |
| 101 | unsigned char GRC[9]; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 102 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 103 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 104 | struct XGI_ExtStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 105 | { |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 106 | unsigned char Ext_ModeID; |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 107 | unsigned short Ext_ModeFlag; |
| 108 | unsigned short Ext_ModeInfo; |
| 109 | unsigned short Ext_Point; |
| 110 | unsigned short Ext_VESAID; |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 111 | unsigned char Ext_VESAMEMSize; |
| 112 | unsigned char Ext_RESINFO; |
| 113 | unsigned char VB_ExtTVFlickerIndex; |
| 114 | unsigned char VB_ExtTVEdgeIndex; |
| 115 | unsigned char VB_ExtTVYFilterIndex; |
| 116 | unsigned char REFindex; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 117 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 118 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 119 | struct XGI_Ext2Struct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 120 | { |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 121 | unsigned short Ext_InfoFlag; |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 122 | unsigned char Ext_CRT1CRTC; |
| 123 | unsigned char Ext_CRTVCLK; |
| 124 | unsigned char Ext_CRT2CRTC; |
| 125 | unsigned char Ext_CRT2CRTC2; |
| 126 | unsigned char ModeID; |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 127 | unsigned short XRes; |
| 128 | unsigned short YRes; |
| 129 | /* unsigned short ROM_OFFSET; */ |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 130 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 131 | |
| 132 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 133 | struct XGI_MCLKDataStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 134 | { |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 135 | unsigned char SR28, SR29, SR2A; |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 136 | unsigned short CLOCK; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 137 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 138 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 139 | struct XGI_ECLKDataStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 140 | { |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 141 | unsigned char SR2E, SR2F, SR30; |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 142 | unsigned short CLOCK; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 143 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 144 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 145 | struct XGI_VCLKDataStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 146 | { |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 147 | unsigned char SR2B, SR2C; |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 148 | unsigned short CLOCK; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 149 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 150 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 151 | struct XGI_VBVCLKDataStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 152 | { |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 153 | unsigned char Part4_A, Part4_B; |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 154 | unsigned short CLOCK; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 155 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 156 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 157 | struct XGI_StResInfoStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 158 | { |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 159 | unsigned short HTotal; |
| 160 | unsigned short VTotal; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 161 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 162 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 163 | struct XGI_ModeResInfoStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 164 | { |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 165 | unsigned short HTotal; |
| 166 | unsigned short VTotal; |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 167 | unsigned char XChar; |
| 168 | unsigned char YChar; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 169 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 170 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 171 | struct XGI_LCDNBDesStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 172 | { |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 173 | unsigned char NB[12]; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 174 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 175 | /*add for new UNIVGABIOS*/ |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 176 | struct XGI_LCDDesStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 177 | { |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 178 | unsigned short LCDHDES; |
| 179 | unsigned short LCDHRS; |
| 180 | unsigned short LCDVDES; |
| 181 | unsigned short LCDVRS; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 182 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 183 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 184 | struct XGI_LCDDataTablStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 185 | { |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 186 | unsigned char PANELID; |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 187 | unsigned short MASK; |
| 188 | unsigned short CAP; |
| 189 | unsigned short DATAPTR; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 190 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 191 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 192 | struct XGI_TVTablDataStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 193 | { |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 194 | unsigned short MASK; |
| 195 | unsigned short CAP; |
| 196 | unsigned short DATAPTR; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 197 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 198 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 199 | struct XGI330_LCDDataDesStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 200 | { |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 201 | unsigned short LCDHDES; |
| 202 | unsigned short LCDHRS; |
| 203 | unsigned short LCDVDES; |
| 204 | unsigned short LCDVRS; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 205 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 206 | |
| 207 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 208 | struct XGI330_LVDSDataStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 209 | { |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 210 | unsigned short VGAHT; |
| 211 | unsigned short VGAVT; |
| 212 | unsigned short LCDHT; |
| 213 | unsigned short LCDVT; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 214 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 215 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 216 | struct XGI330_LCDDataDesStruct2 |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 217 | { |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 218 | unsigned short LCDHDES; |
| 219 | unsigned short LCDHRS; |
| 220 | unsigned short LCDVDES; |
| 221 | unsigned short LCDVRS; |
| 222 | unsigned short LCDHSync; |
| 223 | unsigned short LCDVSync; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 224 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 225 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 226 | struct XGI330_LCDDataStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 227 | { |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 228 | unsigned short RVBHCMAX; |
| 229 | unsigned short RVBHCFACT; |
| 230 | unsigned short VGAHT; |
| 231 | unsigned short VGAVT; |
| 232 | unsigned short LCDHT; |
| 233 | unsigned short LCDVT; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 234 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 235 | |
| 236 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 237 | struct XGI330_TVDataStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 238 | { |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 239 | unsigned short RVBHCMAX; |
| 240 | unsigned short RVBHCFACT; |
| 241 | unsigned short VGAHT; |
| 242 | unsigned short VGAVT; |
| 243 | unsigned short TVHDE; |
| 244 | unsigned short TVVDE; |
| 245 | unsigned short RVBHRS; |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 246 | unsigned char FlickerMode; |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 247 | unsigned short HALFRVBHRS; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 248 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 249 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 250 | struct XGI330_LCDDataTablStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 251 | { |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 252 | unsigned char PANELID; |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 253 | unsigned short MASK; |
| 254 | unsigned short CAP; |
| 255 | unsigned short DATAPTR; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 256 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 257 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 258 | struct XGI330_TVDataTablStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 259 | { |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 260 | unsigned short MASK; |
| 261 | unsigned short CAP; |
| 262 | unsigned short DATAPTR; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 263 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 264 | |
| 265 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 266 | struct XGI330_CHTVDataStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 267 | { |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 268 | unsigned short VGAHT; |
| 269 | unsigned short VGAVT; |
| 270 | unsigned short LCDHT; |
| 271 | unsigned short LCDVT; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 272 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 273 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 274 | struct XGI_TimingHStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 275 | { |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 276 | unsigned char data[8]; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 277 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 278 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 279 | struct XGI_TimingVStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 280 | { |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 281 | unsigned char data[7]; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 282 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 283 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 284 | struct XGI_CH7007TV_TimingHStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 285 | { |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 286 | unsigned char data[10]; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 287 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 288 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 289 | struct XGI_CH7007TV_TimingVStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 290 | { |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 291 | unsigned char data[10]; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 292 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 293 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 294 | struct XGI_XG21CRT1Struct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 295 | { |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 296 | unsigned char ModeID, CR02, CR03, CR15, CR16; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 297 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 298 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 299 | struct XGI330_CHTVRegDataStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 300 | { |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 301 | unsigned char Reg[16]; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 302 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 303 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 304 | struct XGI330_LCDCapStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 305 | { |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 306 | unsigned char LCD_ID; |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 307 | unsigned short LCD_Capability; |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 308 | unsigned char LCD_SetFlag; |
| 309 | unsigned char LCD_DelayCompensation; |
| 310 | unsigned char LCD_HSyncWidth; |
| 311 | unsigned char LCD_VSyncWidth; |
| 312 | unsigned char LCD_VCLK; |
| 313 | unsigned char LCDA_VCLKData1; |
| 314 | unsigned char LCDA_VCLKData2; |
| 315 | unsigned char LCUCHAR_VCLKData1; |
| 316 | unsigned char LCUCHAR_VCLKData2; |
| 317 | unsigned char PSC_S1; |
| 318 | unsigned char PSC_S2; |
| 319 | unsigned char PSC_S3; |
| 320 | unsigned char PSC_S4; |
| 321 | unsigned char PSC_S5; |
| 322 | unsigned char PWD_2B; |
| 323 | unsigned char PWD_2C; |
| 324 | unsigned char PWD_2D; |
| 325 | unsigned char PWD_2E; |
| 326 | unsigned char PWD_2F; |
| 327 | unsigned char Spectrum_31; |
| 328 | unsigned char Spectrum_32; |
| 329 | unsigned char Spectrum_33; |
| 330 | unsigned char Spectrum_34; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 331 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 332 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 333 | struct XGI21_LVDSCapStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 334 | { |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 335 | unsigned short LVDS_Capability; |
| 336 | unsigned short LVDSHT; |
| 337 | unsigned short LVDSVT; |
| 338 | unsigned short LVDSHDE; |
| 339 | unsigned short LVDSVDE; |
| 340 | unsigned short LVDSHFP; |
| 341 | unsigned short LVDSVFP; |
| 342 | unsigned short LVDSHSYNC; |
| 343 | unsigned short LVDSVSYNC; |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 344 | unsigned char VCLKData1; |
| 345 | unsigned char VCLKData2; |
| 346 | unsigned char PSC_S1; |
| 347 | unsigned char PSC_S2; |
| 348 | unsigned char PSC_S3; |
| 349 | unsigned char PSC_S4; |
| 350 | unsigned char PSC_S5; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 351 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 352 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 353 | struct XGI_CRT1TableStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 354 | { |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 355 | unsigned char CR[16]; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 356 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 357 | |
| 358 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 359 | struct XGI330_VCLKDataStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 360 | { |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 361 | unsigned char SR2B, SR2C; |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 362 | unsigned short CLOCK; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 363 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 364 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 365 | struct XGI301C_Tap4TimingStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 366 | { |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 367 | unsigned short DE; |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 368 | unsigned char Reg[64]; /* C0-FF */ |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 369 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 370 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 371 | struct XGI_New_StandTableStruct |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 372 | { |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 373 | unsigned char CRT_COLS; |
| 374 | unsigned char ROWS; |
| 375 | unsigned char CHAR_HEIGHT; |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 376 | unsigned short CRT_LEN; |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 377 | unsigned char SR[4]; |
| 378 | unsigned char MISC; |
| 379 | unsigned char CRTC[0x19]; |
| 380 | unsigned char ATTR[0x14]; |
| 381 | unsigned char GRC[9]; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 382 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 383 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 384 | struct vb_device_info |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 385 | { |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 386 | unsigned char ISXPDOS; |
| 387 | unsigned long P3c4,P3d4,P3c0,P3ce,P3c2,P3cc; |
| 388 | unsigned long P3ca,P3c6,P3c7,P3c8,P3c9,P3da; |
| 389 | unsigned long Part0Port,Part1Port,Part2Port; |
| 390 | unsigned long Part3Port,Part4Port,Part5Port; |
| 391 | unsigned short RVBHCFACT,RVBHCMAX,RVBHRS; |
| 392 | unsigned short VGAVT,VGAHT,VGAVDE,VGAHDE; |
| 393 | unsigned short VT,HT,VDE,HDE; |
| 394 | unsigned short LCDHRS,LCDVRS,LCDHDES,LCDVDES; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 395 | |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 396 | unsigned short ModeType; |
| 397 | unsigned short IF_DEF_LVDS,IF_DEF_TRUMPION,IF_DEF_DSTN;/* ,IF_DEF_FSTN; add for dstn */ |
| 398 | unsigned short IF_DEF_CRT2Monitor,IF_DEF_VideoCapture; |
| 399 | unsigned short IF_DEF_LCDA,IF_DEF_CH7017,IF_DEF_YPbPr,IF_DEF_ScaleLCD,IF_DEF_OEMUtil,IF_DEF_PWD; |
| 400 | unsigned short IF_DEF_ExpLink; |
| 401 | unsigned short IF_DEF_CH7005,IF_DEF_HiVision; |
| 402 | unsigned short IF_DEF_CH7007; /* Billy 2007/05/03 */ |
| 403 | unsigned short LCDResInfo,LCDTypeInfo, VBType;/*301b*/ |
| 404 | unsigned short VBInfo,TVInfo,LCDInfo, Set_VGAType; |
| 405 | unsigned short VBExtInfo;/*301lv*/ |
| 406 | unsigned short SetFlag; |
| 407 | unsigned short NewFlickerMode; |
| 408 | unsigned short SelectCRT2Rate; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 409 | |
Bill Pemberton | 274afb7 | 2010-06-17 13:10:43 -0400 | [diff] [blame] | 410 | unsigned char *ROMAddr; |
| 411 | unsigned char *FBAddr; |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 412 | unsigned long BaseAddr; |
| 413 | unsigned long RelIO; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 414 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 415 | unsigned char (*CR6B)[4]; |
| 416 | unsigned char (*CR6E)[4]; |
| 417 | unsigned char (*CR6F)[32]; |
| 418 | unsigned char (*CR89)[2]; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 419 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 420 | unsigned char (*SR15)[8]; |
| 421 | unsigned char (*CR40)[8]; |
| 422 | |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 423 | unsigned char *pSoftSetting; |
| 424 | unsigned char *pOutputSelect; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 425 | |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 426 | unsigned short *pRGBSenseData; |
| 427 | unsigned short *pRGBSenseData2; /*301b*/ |
| 428 | unsigned short *pVideoSenseData; |
| 429 | unsigned short *pVideoSenseData2; |
| 430 | unsigned short *pYCSenseData; |
| 431 | unsigned short *pYCSenseData2; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 432 | |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 433 | unsigned char *pSR07; |
| 434 | unsigned char *CR49; |
| 435 | unsigned char *pSR1F; |
| 436 | unsigned char *AGPReg; |
| 437 | unsigned char *SR16; |
| 438 | unsigned char *pSR21; |
| 439 | unsigned char *pSR22; |
| 440 | unsigned char *pSR23; |
| 441 | unsigned char *pSR24; |
| 442 | unsigned char *SR25; |
| 443 | unsigned char *pSR31; |
| 444 | unsigned char *pSR32; |
| 445 | unsigned char *pSR33; |
| 446 | unsigned char *pSR36; /* alan 12/07/2006 */ |
| 447 | unsigned char *pCRCF; |
| 448 | unsigned char *pCRD0; /* alan 12/07/2006 */ |
| 449 | unsigned char *pCRDE; /* alan 12/07/2006 */ |
| 450 | unsigned char *pCR8F; /* alan 12/07/2006 */ |
| 451 | unsigned char *pSR40; /* alan 12/07/2006 */ |
| 452 | unsigned char *pSR41; /* alan 12/07/2006 */ |
| 453 | unsigned char *pDVOSetting; |
| 454 | unsigned char *pCR2E; |
| 455 | unsigned char *pCR2F; |
| 456 | unsigned char *pCR46; |
| 457 | unsigned char *pCR47; |
| 458 | unsigned char *pCRT2Data_1_2; |
| 459 | unsigned char *pCRT2Data_4_D; |
| 460 | unsigned char *pCRT2Data_4_E; |
| 461 | unsigned char *pCRT2Data_4_10; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 462 | struct XGI_MCLKDataStruct *MCLKData; |
| 463 | struct XGI_ECLKDataStruct *ECLKData; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 464 | |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 465 | unsigned char *XGI_TVDelayList; |
| 466 | unsigned char *XGI_TVDelayList2; |
| 467 | unsigned char *CHTVVCLKUNTSC; |
| 468 | unsigned char *CHTVVCLKONTSC; |
| 469 | unsigned char *CHTVVCLKUPAL; |
| 470 | unsigned char *CHTVVCLKOPAL; |
| 471 | unsigned char *NTSCTiming; |
| 472 | unsigned char *PALTiming; |
| 473 | unsigned char *HiTVExtTiming; |
| 474 | unsigned char *HiTVSt1Timing; |
| 475 | unsigned char *HiTVSt2Timing; |
| 476 | unsigned char *HiTVTextTiming; |
| 477 | unsigned char *YPbPr750pTiming; |
| 478 | unsigned char *YPbPr525pTiming; |
| 479 | unsigned char *YPbPr525iTiming; |
| 480 | unsigned char *HiTVGroup3Data; |
| 481 | unsigned char *HiTVGroup3Simu; |
| 482 | unsigned char *HiTVGroup3Text; |
| 483 | unsigned char *Ren525pGroup3; |
| 484 | unsigned char *Ren750pGroup3; |
| 485 | unsigned char *ScreenOffset; |
| 486 | unsigned char *pXGINew_DRAMTypeDefinition; |
| 487 | unsigned char *pXGINew_I2CDefinition ; |
| 488 | unsigned char *pXGINew_CR97 ; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 489 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 490 | struct XGI330_LCDCapStruct *LCDCapList; |
| 491 | struct XGI21_LVDSCapStruct *XG21_LVDSCapList; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 492 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 493 | struct XGI_TimingHStruct *TimingH; |
| 494 | struct XGI_TimingVStruct *TimingV; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 495 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 496 | struct XGI_StStruct *SModeIDTable; |
| 497 | struct XGI_StandTableStruct *StandTable; |
| 498 | struct XGI_ExtStruct *EModeIDTable; |
| 499 | struct XGI_Ext2Struct *RefIndex; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 500 | /* XGINew_CRT1TableStruct *CRT1Table; */ |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 501 | struct XGI_CRT1TableStruct *XGINEWUB_CRT1Table; |
| 502 | struct XGI_VCLKDataStruct *VCLKData; |
| 503 | struct XGI_VBVCLKDataStruct *VBVCLKData; |
| 504 | struct XGI_StResInfoStruct *StResInfo; |
| 505 | struct XGI_ModeResInfoStruct *ModeResInfo; |
| 506 | struct XGI_XG21CRT1Struct *UpdateCRT1; |
| 507 | }; /* _struct vb_device_info */ |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 508 | |
| 509 | |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 510 | struct TimingInfo |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 511 | { |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 512 | unsigned short Horizontal_ACTIVE; |
| 513 | unsigned short Horizontal_FP; |
| 514 | unsigned short Horizontal_SYNC; |
| 515 | unsigned short Horizontal_BP; |
| 516 | unsigned short Vertical_ACTIVE; |
| 517 | unsigned short Vertical_FP; |
| 518 | unsigned short Vertical_SYNC; |
| 519 | unsigned short Vertical_BP; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 520 | double DCLK; |
Bill Pemberton | 108afbf | 2010-06-17 13:10:47 -0400 | [diff] [blame] | 521 | unsigned char FrameRate; |
| 522 | unsigned char Interlace; |
Bill Pemberton | 82d6eb5 | 2010-06-17 13:10:46 -0400 | [diff] [blame] | 523 | unsigned short Margin; |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 524 | }; |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 525 | |
| 526 | #define _VB_STRUCT_ |
| 527 | #endif /* _VB_STRUCT_ */ |