Searched refs:P3c4 (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/drivers/staging/xgifb/
H A Dvb_init.c38 data = xgifb_reg_get(pVBInfo->P3c4, 0x39) & 0x02; XGINew_GetXG20DRAMType()
40 data = (xgifb_reg_get(pVBInfo->P3c4, 0x3A) & XGINew_GetXG20DRAMType()
44 temp = xgifb_reg_get(pVBInfo->P3c4, 0x3B); XGINew_GetXG20DRAMType()
75 static void XGINew_DDR1x_MRS_340(unsigned long P3c4, XGINew_DDR1x_MRS_340() argument
78 xgifb_reg_set(P3c4, 0x18, 0x01); XGINew_DDR1x_MRS_340()
79 xgifb_reg_set(P3c4, 0x19, 0x20); XGINew_DDR1x_MRS_340()
80 xgifb_reg_set(P3c4, 0x16, 0x00); XGINew_DDR1x_MRS_340()
81 xgifb_reg_set(P3c4, 0x16, 0x80); XGINew_DDR1x_MRS_340()
84 xgifb_reg_set(P3c4, 0x18, 0x00); XGINew_DDR1x_MRS_340()
85 xgifb_reg_set(P3c4, 0x19, 0x20); XGINew_DDR1x_MRS_340()
86 xgifb_reg_set(P3c4, 0x16, 0x00); XGINew_DDR1x_MRS_340()
87 xgifb_reg_set(P3c4, 0x16, 0x80); XGINew_DDR1x_MRS_340()
90 xgifb_reg_set(P3c4, 0x18, pVBInfo->SR18[pVBInfo->ram_type]); /* SR18 */ XGINew_DDR1x_MRS_340()
91 xgifb_reg_set(P3c4, 0x19, 0x01); XGINew_DDR1x_MRS_340()
92 xgifb_reg_set(P3c4, 0x16, 0x03); XGINew_DDR1x_MRS_340()
93 xgifb_reg_set(P3c4, 0x16, 0x83); XGINew_DDR1x_MRS_340()
95 xgifb_reg_set(P3c4, 0x1B, 0x03); XGINew_DDR1x_MRS_340()
97 xgifb_reg_set(P3c4, 0x18, pVBInfo->SR18[pVBInfo->ram_type]); /* SR18 */ XGINew_DDR1x_MRS_340()
98 xgifb_reg_set(P3c4, 0x19, 0x00); XGINew_DDR1x_MRS_340()
99 xgifb_reg_set(P3c4, 0x16, 0x03); XGINew_DDR1x_MRS_340()
100 xgifb_reg_set(P3c4, 0x16, 0x83); XGINew_DDR1x_MRS_340()
101 xgifb_reg_set(P3c4, 0x1B, 0x00); XGINew_DDR1x_MRS_340()
106 xgifb_reg_set(pVBInfo->P3c4, XGINew_SetMemoryClock()
109 xgifb_reg_set(pVBInfo->P3c4, XGINew_SetMemoryClock()
112 xgifb_reg_set(pVBInfo->P3c4, XGINew_SetMemoryClock()
116 xgifb_reg_set(pVBInfo->P3c4, XGINew_SetMemoryClock()
119 xgifb_reg_set(pVBInfo->P3c4, XGINew_SetMemoryClock()
122 xgifb_reg_set(pVBInfo->P3c4, XGINew_SetMemoryClock()
129 unsigned long P3c4, struct vb_device_info *pVBInfo) XGINew_DDRII_Bootup_XG27()
131 unsigned long P3d4 = P3c4 + 0x10; XGINew_DDRII_Bootup_XG27()
141 xgifb_reg_set(P3c4, 0x18, 0x00); /* Set SR18 */ /* EMRS2 */ XGINew_DDRII_Bootup_XG27()
142 xgifb_reg_set(P3c4, 0x19, 0x80); /* Set SR19 */ XGINew_DDRII_Bootup_XG27()
143 xgifb_reg_set(P3c4, 0x16, 0x20); /* Set SR16 */ XGINew_DDRII_Bootup_XG27()
145 xgifb_reg_set(P3c4, 0x16, 0xA0); /* Set SR16 */ XGINew_DDRII_Bootup_XG27()
148 xgifb_reg_set(P3c4, 0x18, 0x00); /* Set SR18 */ /* EMRS3 */ XGINew_DDRII_Bootup_XG27()
149 xgifb_reg_set(P3c4, 0x19, 0xC0); /* Set SR19 */ XGINew_DDRII_Bootup_XG27()
150 xgifb_reg_set(P3c4, 0x16, 0x20); /* Set SR16 */ XGINew_DDRII_Bootup_XG27()
152 xgifb_reg_set(P3c4, 0x16, 0xA0); /* Set SR16 */ XGINew_DDRII_Bootup_XG27()
155 xgifb_reg_set(P3c4, 0x18, 0x00); /* Set SR18 */ /* EMRS1 */ XGINew_DDRII_Bootup_XG27()
156 xgifb_reg_set(P3c4, 0x19, 0x40); /* Set SR19 */ XGINew_DDRII_Bootup_XG27()
157 xgifb_reg_set(P3c4, 0x16, 0x20); /* Set SR16 */ XGINew_DDRII_Bootup_XG27()
159 xgifb_reg_set(P3c4, 0x16, 0xA0); /* Set SR16 */ XGINew_DDRII_Bootup_XG27()
162 xgifb_reg_set(P3c4, 0x18, 0x42); /* Set SR18 */ /* MRS, DLL Enable */ XGINew_DDRII_Bootup_XG27()
163 xgifb_reg_set(P3c4, 0x19, 0x0A); /* Set SR19 */ XGINew_DDRII_Bootup_XG27()
164 xgifb_reg_set(P3c4, 0x16, 0x00); /* Set SR16 */ XGINew_DDRII_Bootup_XG27()
166 xgifb_reg_set(P3c4, 0x16, 0x00); /* Set SR16 */ XGINew_DDRII_Bootup_XG27()
167 xgifb_reg_set(P3c4, 0x16, 0x80); /* Set SR16 */ XGINew_DDRII_Bootup_XG27()
169 xgifb_reg_set(P3c4, 0x1B, 0x04); /* Set SR1B */ XGINew_DDRII_Bootup_XG27()
171 xgifb_reg_set(P3c4, 0x1B, 0x00); /* Set SR1B */ XGINew_DDRII_Bootup_XG27()
173 xgifb_reg_set(P3c4, 0x18, 0x42); /* Set SR18 */ /* MRS, DLL Reset */ XGINew_DDRII_Bootup_XG27()
174 xgifb_reg_set(P3c4, 0x19, 0x08); /* Set SR19 */ XGINew_DDRII_Bootup_XG27()
175 xgifb_reg_set(P3c4, 0x16, 0x00); /* Set SR16 */ XGINew_DDRII_Bootup_XG27()
178 xgifb_reg_set(P3c4, 0x16, 0x83); /* Set SR16 */ XGINew_DDRII_Bootup_XG27()
181 xgifb_reg_set(P3c4, 0x18, 0x80); /* Set SR18 */ /* MRS, ODT */ XGINew_DDRII_Bootup_XG27()
182 xgifb_reg_set(P3c4, 0x19, 0x46); /* Set SR19 */ XGINew_DDRII_Bootup_XG27()
183 xgifb_reg_set(P3c4, 0x16, 0x20); /* Set SR16 */ XGINew_DDRII_Bootup_XG27()
185 xgifb_reg_set(P3c4, 0x16, 0xA0); /* Set SR16 */ XGINew_DDRII_Bootup_XG27()
188 xgifb_reg_set(P3c4, 0x18, 0x00); /* Set SR18 */ /* EMRS */ XGINew_DDRII_Bootup_XG27()
189 xgifb_reg_set(P3c4, 0x19, 0x40); /* Set SR19 */ XGINew_DDRII_Bootup_XG27()
190 xgifb_reg_set(P3c4, 0x16, 0x20); /* Set SR16 */ XGINew_DDRII_Bootup_XG27()
192 xgifb_reg_set(P3c4, 0x16, 0xA0); /* Set SR16 */ XGINew_DDRII_Bootup_XG27()
196 xgifb_reg_set(P3c4, 0x1B, 0x04); XGINew_DDRII_Bootup_XG27()
202 unsigned long P3c4, struct vb_device_info *pVBInfo) XGINew_DDR2_MRS_XG20()
204 unsigned long P3d4 = P3c4 + 0x10; XGINew_DDR2_MRS_XG20()
212 xgifb_reg_set(P3c4, 0x18, 0x00); /* EMRS2 */ XGINew_DDR2_MRS_XG20()
213 xgifb_reg_set(P3c4, 0x19, 0x80); XGINew_DDR2_MRS_XG20()
214 xgifb_reg_set(P3c4, 0x16, 0x05); XGINew_DDR2_MRS_XG20()
215 xgifb_reg_set(P3c4, 0x16, 0x85); XGINew_DDR2_MRS_XG20()
217 xgifb_reg_set(P3c4, 0x18, 0x00); /* EMRS3 */ XGINew_DDR2_MRS_XG20()
218 xgifb_reg_set(P3c4, 0x19, 0xC0); XGINew_DDR2_MRS_XG20()
219 xgifb_reg_set(P3c4, 0x16, 0x05); XGINew_DDR2_MRS_XG20()
220 xgifb_reg_set(P3c4, 0x16, 0x85); XGINew_DDR2_MRS_XG20()
222 xgifb_reg_set(P3c4, 0x18, 0x00); /* EMRS1 */ XGINew_DDR2_MRS_XG20()
223 xgifb_reg_set(P3c4, 0x19, 0x40); XGINew_DDR2_MRS_XG20()
224 xgifb_reg_set(P3c4, 0x16, 0x05); XGINew_DDR2_MRS_XG20()
225 xgifb_reg_set(P3c4, 0x16, 0x85); XGINew_DDR2_MRS_XG20()
227 xgifb_reg_set(P3c4, 0x18, 0x42); /* MRS1 */ XGINew_DDR2_MRS_XG20()
228 xgifb_reg_set(P3c4, 0x19, 0x02); XGINew_DDR2_MRS_XG20()
229 xgifb_reg_set(P3c4, 0x16, 0x05); XGINew_DDR2_MRS_XG20()
230 xgifb_reg_set(P3c4, 0x16, 0x85); XGINew_DDR2_MRS_XG20()
233 xgifb_reg_set(P3c4, 0x1B, 0x04); /* SR1B */ XGINew_DDR2_MRS_XG20()
235 xgifb_reg_set(P3c4, 0x1B, 0x00); /* SR1B */ XGINew_DDR2_MRS_XG20()
238 xgifb_reg_set(P3c4, 0x18, 0x42); /* MRS1 */ XGINew_DDR2_MRS_XG20()
239 xgifb_reg_set(P3c4, 0x19, 0x00); XGINew_DDR2_MRS_XG20()
240 xgifb_reg_set(P3c4, 0x16, 0x05); XGINew_DDR2_MRS_XG20()
241 xgifb_reg_set(P3c4, 0x16, 0x85); XGINew_DDR2_MRS_XG20()
246 static void XGINew_DDR1x_MRS_XG20(unsigned long P3c4, XGINew_DDR1x_MRS_XG20() argument
249 xgifb_reg_set(P3c4, 0x18, 0x01); XGINew_DDR1x_MRS_XG20()
250 xgifb_reg_set(P3c4, 0x19, 0x40); XGINew_DDR1x_MRS_XG20()
251 xgifb_reg_set(P3c4, 0x16, 0x00); XGINew_DDR1x_MRS_XG20()
252 xgifb_reg_set(P3c4, 0x16, 0x80); XGINew_DDR1x_MRS_XG20()
255 xgifb_reg_set(P3c4, 0x18, 0x00); XGINew_DDR1x_MRS_XG20()
256 xgifb_reg_set(P3c4, 0x19, 0x40); XGINew_DDR1x_MRS_XG20()
257 xgifb_reg_set(P3c4, 0x16, 0x00); XGINew_DDR1x_MRS_XG20()
258 xgifb_reg_set(P3c4, 0x16, 0x80); XGINew_DDR1x_MRS_XG20()
260 xgifb_reg_set(P3c4, 0x18, pVBInfo->SR18[pVBInfo->ram_type]); /* SR18 */ XGINew_DDR1x_MRS_XG20()
261 xgifb_reg_set(P3c4, 0x19, 0x01); XGINew_DDR1x_MRS_XG20()
262 xgifb_reg_set(P3c4, 0x16, 0x03); XGINew_DDR1x_MRS_XG20()
263 xgifb_reg_set(P3c4, 0x16, 0x83); XGINew_DDR1x_MRS_XG20()
265 xgifb_reg_set(P3c4, 0x1B, 0x03); XGINew_DDR1x_MRS_XG20()
267 xgifb_reg_set(P3c4, 0x18, pVBInfo->SR18[pVBInfo->ram_type]); /* SR18 */ XGINew_DDR1x_MRS_XG20()
268 xgifb_reg_set(P3c4, 0x19, 0x00); XGINew_DDR1x_MRS_XG20()
269 xgifb_reg_set(P3c4, 0x16, 0x03); XGINew_DDR1x_MRS_XG20()
270 xgifb_reg_set(P3c4, 0x16, 0x83); XGINew_DDR1x_MRS_XG20()
271 xgifb_reg_set(P3c4, 0x1B, 0x00); XGINew_DDR1x_MRS_XG20()
278 unsigned long P3d4 = Port, P3c4 = Port - 0x10; XGINew_DDR1x_DefaultRegister() local
295 XGINew_DDR1x_MRS_XG20(P3c4, pVBInfo); XGINew_DDR1x_DefaultRegister()
347 XGINew_DDR1x_MRS_340(P3c4, pVBInfo); XGINew_DDR1x_DefaultRegister()
355 unsigned long P3d4 = Port, P3c4 = Port - 0x10; XGINew_DDR2_DefaultRegister() local
383 XGINew_DDRII_Bootup_XG27(HwDeviceExtension, P3c4, pVBInfo); XGINew_DDR2_DefaultRegister()
385 XGINew_DDR2_MRS_XG20(HwDeviceExtension, P3c4, pVBInfo); XGINew_DDR2_DefaultRegister()
408 unsigned long P3d4 = Port, P3c4 = Port - 0x10; XGINew_SetDRAMDefaultRegister340() local
483 xgifb_reg_set(P3c4, 0x17, 0x80); /* SR17 DDRII */ XGINew_SetDRAMDefaultRegister340()
485 xgifb_reg_set(P3c4, 0x17, 0x02); /* SR17 DDRII */ XGINew_SetDRAMDefaultRegister340()
488 xgifb_reg_set(P3c4, 0x17, 0x00); /* SR17 DDR */ XGINew_SetDRAMDefaultRegister340()
490 xgifb_reg_set(P3c4, 0x1A, 0x87); /* SR1A */ XGINew_SetDRAMDefaultRegister340()
499 xgifb_reg_set(P3c4, 0x1B, 0x03); /* SR1B */ XGINew_SetDRAMDefaultRegister340()
512 data = xgifb_reg_get(pVBInfo->P3c4, 0x13); XGINew_SetDRAMSize20Reg()
532 xgifb_reg_set(pVBInfo->P3c4, XGINew_SetDRAMSize20Reg()
534 (xgifb_reg_get(pVBInfo->P3c4, 0x14) & 0x0F) | XGINew_SetDRAMSize20Reg()
577 data = xgifb_reg_get(pVBInfo->P3c4, 0x39); XGINew_CheckFrequence()
603 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0xB1); XGINew_CheckChannel()
604 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x52); XGINew_CheckChannel()
613 xgifb_reg_set(pVBInfo->P3c4, XGINew_CheckChannel()
616 xgifb_reg_set(pVBInfo->P3c4, XGINew_CheckChannel()
632 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0xB1); XGINew_CheckChannel()
633 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x41); XGINew_CheckChannel()
638 xgifb_reg_set(pVBInfo->P3c4, XGINew_CheckChannel()
649 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0xB1); XGINew_CheckChannel()
651 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x41); XGINew_CheckChannel()
660 xgifb_reg_set(pVBInfo->P3c4, XGINew_CheckChannel()
664 xgifb_reg_set(pVBInfo->P3c4, XGINew_CheckChannel()
680 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0xB1); XGINew_CheckChannel()
682 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x30); XGINew_CheckChannel()
689 xgifb_reg_set(pVBInfo->P3c4, XGINew_CheckChannel()
700 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x51); /* 32Mx16 bit*/ XGINew_CheckChannel()
713 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0xA1); XGINew_CheckChannel()
714 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x44); XGINew_CheckChannel()
719 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0x21); XGINew_CheckChannel()
720 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x34); XGINew_CheckChannel()
725 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0xA1); XGINew_CheckChannel()
726 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x40); XGINew_CheckChannel()
730 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0x21); XGINew_CheckChannel()
731 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x30); XGINew_CheckChannel()
735 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0xA1); XGINew_CheckChannel()
736 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x52); XGINew_CheckChannel()
740 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0x21); XGINew_CheckChannel()
741 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x42); XGINew_CheckChannel()
751 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0xA1); XGINew_CheckChannel()
752 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x4C); XGINew_CheckChannel()
758 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x48); XGINew_CheckChannel()
763 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0x21); XGINew_CheckChannel()
764 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x3C); XGINew_CheckChannel()
770 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x38); XGINew_CheckChannel()
775 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0xA1); XGINew_CheckChannel()
776 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x5A); XGINew_CheckChannel()
780 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0x21); XGINew_CheckChannel()
781 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x4A); XGINew_CheckChannel()
794 xgifb_reg_set(pVBInfo->P3c4, 0x15, 0x00); /* noninterleaving */ XGINew_DDRSizing340()
795 xgifb_reg_set(pVBInfo->P3c4, 0x1C, 0x00); /* nontiling */ XGINew_DDRSizing340()
810 xgifb_reg_and_or(pVBInfo->P3c4, 0x13, 0x80, dram_table[i][1]); XGINew_DDRSizing340()
839 data = xgifb_reg_get(pVBInfo->P3c4, 0x21); XGINew_SetDRAMSize_340()
841 xgifb_reg_set(pVBInfo->P3c4, 0x21, (unsigned short) (data & 0xDF)); XGINew_SetDRAMSize_340()
845 data = xgifb_reg_get(pVBInfo->P3c4, 0x21); XGINew_SetDRAMSize_340()
847 xgifb_reg_set(pVBInfo->P3c4, 0x21, (unsigned short) (data | 0x20)); XGINew_SetDRAMSize_340()
1206 xgifb_reg_set(pVBInfo->P3c4, 0x05, 0x86); XGIInitNew()
1218 xgifb_reg_set(pVBInfo->P3c4, i, 0); XGIInitNew()
1221 xgifb_reg_set(pVBInfo->P3c4, i, 0); XGIInitNew()
1224 xgifb_reg_set(pVBInfo->P3c4, i, 0); XGIInitNew()
1228 xgifb_reg_set(pVBInfo->P3c4, 0x3B, 0xC0); XGIInitNew()
1237 xgifb_reg_set(pVBInfo->P3c4, 0x07, XGI330_SR07); XGIInitNew()
1239 xgifb_reg_set(pVBInfo->P3c4, 0x40, XG27_SR40); XGIInitNew()
1240 xgifb_reg_set(pVBInfo->P3c4, 0x41, XG27_SR41); XGIInitNew()
1242 xgifb_reg_set(pVBInfo->P3c4, 0x11, 0x0F); XGIInitNew()
1243 xgifb_reg_set(pVBInfo->P3c4, 0x1F, XGI330_SR1F); XGIInitNew()
1245 xgifb_reg_set(pVBInfo->P3c4, 0x20, 0xA0); XGIInitNew()
1247 xgifb_reg_set(pVBInfo->P3c4, 0x36, 0x70); XGIInitNew()
1249 xgifb_reg_set(pVBInfo->P3c4, 0x36, XG27_SR36); XGIInitNew()
1279 xgifb_reg_set(pVBInfo->P3c4, 0x23, XGI330_SR23); XGIInitNew()
1280 xgifb_reg_set(pVBInfo->P3c4, 0x24, XGI330_SR24); XGIInitNew()
1281 xgifb_reg_set(pVBInfo->P3c4, 0x25, 0); XGIInitNew()
1298 xgifb_reg_set(pVBInfo->P3c4, 0x27, 0x1F); XGIInitNew()
1303 xgifb_reg_set(pVBInfo->P3c4, XGIInitNew()
1306 xgifb_reg_set(pVBInfo->P3c4, XGIInitNew()
1310 xgifb_reg_set(pVBInfo->P3c4, 0x31, XGI330_SR31); XGIInitNew()
1311 xgifb_reg_set(pVBInfo->P3c4, 0x32, XGI330_SR32); XGIInitNew()
1313 xgifb_reg_set(pVBInfo->P3c4, 0x33, XGI330_SR33); XGIInitNew()
1358 xgifb_reg_set(pVBInfo->P3c4, 0x22, 0xfa); XGIInitNew()
1359 xgifb_reg_set(pVBInfo->P3c4, 0x21, 0xa3); XGIInitNew()
127 XGINew_DDRII_Bootup_XG27( struct xgi_hw_device_info *HwDeviceExtension, unsigned long P3c4, struct vb_device_info *pVBInfo) XGINew_DDRII_Bootup_XG27() argument
201 XGINew_DDR2_MRS_XG20(struct xgi_hw_device_info *HwDeviceExtension, unsigned long P3c4, struct vb_device_info *pVBInfo) XGINew_DDR2_MRS_XG20() argument
H A Dvb_setmode.c59 temp = xgifb_reg_get(pVBInfo->P3c4, 0x3B); InitTo330Pointer()
71 xgifb_reg_set(pVBInfo->P3c4, 0x00, 0x03); /* Set SR0 */ XGI_SetSeqRegs()
77 xgifb_reg_set(pVBInfo->P3c4, i+1, SRdata); /* Set SR 1 2 3 4 */ XGI_SetSeqRegs()
153 xgifb_reg_set(pVBInfo->P3c4, i, 0x00); /* Clear SR0A-SR0E */ XGI_ClearExt1Regs()
159 xgifb_reg_and_or(pVBInfo->P3c4, 0x31, ~0x30, 0x20); XGI_SetDefaultVCLK()
160 xgifb_reg_set(pVBInfo->P3c4, 0x2B, XGI_VCLKData[0].SR2B); XGI_SetDefaultVCLK()
161 xgifb_reg_set(pVBInfo->P3c4, 0x2C, XGI_VCLKData[0].SR2C); XGI_SetDefaultVCLK()
163 xgifb_reg_and_or(pVBInfo->P3c4, 0x31, ~0x30, 0x10); XGI_SetDefaultVCLK()
164 xgifb_reg_set(pVBInfo->P3c4, 0x2B, XGI_VCLKData[1].SR2B); XGI_SetDefaultVCLK()
165 xgifb_reg_set(pVBInfo->P3c4, 0x2C, XGI_VCLKData[1].SR2C); XGI_SetDefaultVCLK()
167 xgifb_reg_and(pVBInfo->P3c4, 0x31, ~0x30); XGI_SetDefaultVCLK()
282 xgifb_reg_set(pVBInfo->P3c4, (unsigned short) (i + 6), data); XGI_SetCRT1Timing_H()
285 j = xgifb_reg_get(pVBInfo->P3c4, 0x0e); XGI_SetCRT1Timing_H()
290 xgifb_reg_set(pVBInfo->P3c4, 0x0e, data); XGI_SetCRT1Timing_H()
302 data = xgifb_reg_get(pVBInfo->P3c4, 0x0c); XGI_SetCRT1Timing_H()
304 xgifb_reg_set(pVBInfo->P3c4, 0x0c, data); XGI_SetCRT1Timing_H()
310 data = xgifb_reg_get(pVBInfo->P3c4, 0x0e); XGI_SetCRT1Timing_H()
316 xgifb_reg_and_or(pVBInfo->P3c4, 0x0e, ~0xE0, data); XGI_SetCRT1Timing_H()
341 j = xgifb_reg_get(pVBInfo->P3c4, 0x0a); XGI_SetCRT1Timing_V()
346 xgifb_reg_set(pVBInfo->P3c4, 0x0a, data); XGI_SetCRT1Timing_V()
412 xgifb_reg_set(pVBInfo->P3c4, 0x2E, Tempax); XGI_SetXG21CRTC()
441 xgifb_reg_set(pVBInfo->P3c4, 0x2F, Tempax); XGI_SetXG21CRTC()
442 xgifb_reg_and_or(pVBInfo->P3c4, 0x30, 0xE3, 00); XGI_SetXG21CRTC()
448 xgifb_reg_or(pVBInfo->P3c4, 0x33, Tempax); /* SR33[0]->VRS[0] */ XGI_SetXG21CRTC()
455 xgifb_reg_set(pVBInfo->P3c4, 0x34, Tempcx); /* SR34[8:1]->VRS */ XGI_SetXG21CRTC()
494 xgifb_reg_set(pVBInfo->P3c4, 0x3F, Tempax); XGI_SetXG21CRTC()
507 xgifb_reg_set(pVBInfo->P3c4, 0x2E, Tempax); XGI_SetXG27CRTC()
537 xgifb_reg_set(pVBInfo->P3c4, 0x2F, Tempax); XGI_SetXG27CRTC()
538 xgifb_reg_and_or(pVBInfo->P3c4, 0x30, 0xE3, 00); XGI_SetXG27CRTC()
543 xgifb_reg_set(pVBInfo->P3c4, 0x34, Tempax); XGI_SetXG27CRTC()
552 xgifb_reg_and_or(pVBInfo->P3c4, 0x35, ~0x01, Tempax); XGI_SetXG27CRTC()
578 xgifb_reg_and_or(pVBInfo->P3c4, 0x3F, ~0xFC, Tempax); XGI_SetXG27CRTC()
581 xgifb_reg_and_or(pVBInfo->P3c4, 0x35, ~0x07, Tempax); XGI_SetXG27CRTC()
592 xgifb_reg_and_or(pVBInfo->P3c4, 0x06, ~0xc0, temp & 0x80); XGI_SetXG27FPBits()
594 xgifb_reg_and_or(pVBInfo->P3c4, 0x09, ~0xc0, temp | 0x80); XGI_SetXG27FPBits()
623 xgifb_reg_or(pVBInfo->P3c4, 0x06, 0x40); xgifb_set_lcd()
624 xgifb_reg_or(pVBInfo->P3c4, 0x09, 0x40); xgifb_set_lcd()
628 xgifb_reg_or(pVBInfo->P3c4, 0x1E, 0x01); /* Negative blank polarity */ xgifb_set_lcd()
630 xgifb_reg_and(pVBInfo->P3c4, 0x30, ~0x20); /* Hsync polarity */ xgifb_set_lcd()
631 xgifb_reg_and(pVBInfo->P3c4, 0x35, ~0x80); /* Vsync polarity */ xgifb_set_lcd()
636 xgifb_reg_or(pVBInfo->P3c4, 0x30, 0x20); xgifb_set_lcd()
639 xgifb_reg_or(pVBInfo->P3c4, 0x35, 0x80); xgifb_set_lcd()
797 i = xgifb_reg_get(pVBInfo->P3c4, 0x0E); XGI_SetCRT1Offset()
800 xgifb_reg_set(pVBInfo->P3c4, 0x0E, i); XGI_SetCRT1Offset()
824 xgifb_reg_set(pVBInfo->P3c4, 0x10, ah); XGI_SetCRT1Offset()
890 data = xgifb_reg_get(pVBInfo->P3c4, 0x31) & 0xCF; XGI_SetCRT1VCLK()
891 xgifb_reg_set(pVBInfo->P3c4, 0x31, data); XGI_SetCRT1VCLK()
893 xgifb_reg_set(pVBInfo->P3c4, 0x2B, data); XGI_SetCRT1VCLK()
895 xgifb_reg_set(pVBInfo->P3c4, 0x2C, data); XGI_SetCRT1VCLK()
896 xgifb_reg_set(pVBInfo->P3c4, 0x2D, 0x01); XGI_SetCRT1VCLK()
899 data = xgifb_reg_get(pVBInfo->P3c4, 0x31) & 0xCF; XGI_SetCRT1VCLK()
900 xgifb_reg_set(pVBInfo->P3c4, 0x31, data); XGI_SetCRT1VCLK()
901 xgifb_reg_set(pVBInfo->P3c4, 0x2B, XGI_VCLKData[index].SR2B); XGI_SetCRT1VCLK()
902 xgifb_reg_set(pVBInfo->P3c4, 0x2C, XGI_VCLKData[index].SR2C); XGI_SetCRT1VCLK()
903 xgifb_reg_set(pVBInfo->P3c4, 0x2D, 0x01); XGI_SetCRT1VCLK()
909 data = xgifb_reg_get(pVBInfo->P3c4, 0x2B); XGI_SetCRT1VCLK()
910 xgifb_reg_set(pVBInfo->P3c4, 0x2B, data); XGI_SetCRT1VCLK()
911 data = xgifb_reg_get(pVBInfo->P3c4, 0x2C); XGI_SetCRT1VCLK()
918 xgifb_reg_set(pVBInfo->P3c4, 0x2C, data); XGI_SetCRT1VCLK()
930 xgifb_reg_and_or(pVBInfo->P3c4, 0x06, ~0x40, temp); XGI_SetXG21FPBits()
932 xgifb_reg_and_or(pVBInfo->P3c4, 0x09, ~0xc0, temp | 0x80); XGI_SetXG21FPBits()
941 data = xgifb_reg_get(pVBInfo->P3c4, 0x3D); XGI_SetCRT1FIFO()
943 xgifb_reg_set(pVBInfo->P3c4, 0x3D, data); /* diable auto-threshold */ XGI_SetCRT1FIFO()
945 xgifb_reg_set(pVBInfo->P3c4, 0x08, 0x34); XGI_SetCRT1FIFO()
946 data = xgifb_reg_get(pVBInfo->P3c4, 0x09); XGI_SetCRT1FIFO()
948 xgifb_reg_set(pVBInfo->P3c4, 0x09, data | 0x30); XGI_SetCRT1FIFO()
949 data = xgifb_reg_get(pVBInfo->P3c4, 0x3D); XGI_SetCRT1FIFO()
951 xgifb_reg_set(pVBInfo->P3c4, 0x3D, data); XGI_SetCRT1FIFO()
970 data = xgifb_reg_get(pVBInfo->P3c4, 0x32); XGI_SetVCLKState()
978 xgifb_reg_set(pVBInfo->P3c4, 0x32, data); XGI_SetVCLKState()
981 data = xgifb_reg_get(pVBInfo->P3c4, 0x1F); XGI_SetVCLKState()
985 xgifb_reg_set(pVBInfo->P3c4, 0x1F, data); XGI_SetVCLKState()
990 xgifb_reg_and_or(pVBInfo->P3c4, 0x07, 0xFC, data2); XGI_SetVCLKState()
992 xgifb_reg_and_or(pVBInfo->P3c4, 0x40, 0xFC, data2 & 0x03); XGI_SetVCLKState()
1008 xgifb_reg_and_or(pVBInfo->P3c4, 0x1F, 0x3F, 0x00); XGI_SetCRT1ModeRegs()
1021 xgifb_reg_and_or(pVBInfo->P3c4, 0x06, ~0x3F, data2); XGI_SetCRT1ModeRegs()
1037 xgifb_reg_and_or(pVBInfo->P3c4, 0x01, 0xF7, 0x08); XGI_SetCRT1ModeRegs()
1044 xgifb_reg_and_or(pVBInfo->P3c4, 0x0F, ~0x48, data2); XGI_SetCRT1ModeRegs()
1048 xgifb_reg_and_or(pVBInfo->P3c4, 0x21, 0x1F, data); XGI_SetCRT1ModeRegs()
1759 xgifb_reg_set(pVBInfo->P3c4, 0x2e, di_0); XGI_SetCRT2ECLK()
1760 xgifb_reg_set(pVBInfo->P3c4, 0x2f, di_1); XGI_SetCRT2ECLK()
1762 xgifb_reg_set(pVBInfo->P3c4, 0x2b, di_0); XGI_SetCRT2ECLK()
1763 xgifb_reg_set(pVBInfo->P3c4, 0x2c, di_1); XGI_SetCRT2ECLK()
1776 temp = xgifb_reg_get(pVBInfo->P3c4, 0x01); XGI_UpdateModeInfo()
2307 xgifb_reg_and_or(pVBInfo->P3c4, 0x01, 0xDF, 0x00); XGI_DisplayOn()
2377 xgifb_reg_and_or(pVBInfo->P3c4, 0x01, 0xDF, 0x20); XGI_DisplayOff()
4179 xgifb_reg_and_or(pVBInfo->P3c4, 0x1E, 0xFF, 0x20); XGINew_EnableCRT2()
4254 xgifb_reg_and_or(pVBInfo->P3c4, 0x35, ~0x80, temp & 0x80); xgifb_set_lvds()
4256 xgifb_reg_and_or(pVBInfo->P3c4, 0x30, ~0x20, (temp & 0x40) >> 1); xgifb_set_lvds()
4312 xgifb_reg_or(pVBInfo->P3c4, 0x1, 0x1); xgifb_set_lvds()
4316 xgifb_reg_and_or(pVBInfo->P3c4, 0x0B, ~0x03, (value & 0x300) >> 8); xgifb_set_lvds()
4321 xgifb_reg_and_or(pVBInfo->P3c4, 0x0B, ~0x30, (value & 0x300) >> 4); xgifb_set_lvds()
4326 xgifb_reg_and_or(pVBInfo->P3c4, 0x0C, ~0x03, (value & 0xC0) >> 6); xgifb_set_lvds()
4332 xgifb_reg_and_or(pVBInfo->P3c4, 0x0B, ~0xC0, (value & 0x300) >> 2); xgifb_set_lvds()
4337 xgifb_reg_and_or(pVBInfo->P3c4, 0x2F, ~0x03, (value & 0x300) >> 8); xgifb_set_lvds()
4338 xgifb_reg_set(pVBInfo->P3c4, 0x2E, (value & 0xFF)); xgifb_set_lvds()
4342 xgifb_reg_and_or(pVBInfo->P3c4, 0x0C, ~0x04, (value & 0x20) >> 3); xgifb_set_lvds()
4347 xgifb_reg_and_or(pVBInfo->P3c4, 0x2F, ~0xFC, value << 2); xgifb_set_lvds()
4351 xgifb_reg_and_or(pVBInfo->P3c4, 0x0A, ~0x01, (value & 0x400) >> 10); xgifb_set_lvds()
4358 xgifb_reg_and_or(pVBInfo->P3c4, 0x0A, ~0x04, (value & 0x400) >> 8); xgifb_set_lvds()
4365 xgifb_reg_and_or(pVBInfo->P3c4, 0x0A, ~0x10, (value & 0x100) >> 4); xgifb_set_lvds()
4370 xgifb_reg_and_or(pVBInfo->P3c4, 0x0A, ~0x08, (value & 0x400) >> 7); xgifb_set_lvds()
4377 xgifb_reg_and_or(pVBInfo->P3c4, 0x35, ~0x07, xgifb_set_lvds()
4379 xgifb_reg_set(pVBInfo->P3c4, 0x34, value & 0xFF); xgifb_set_lvds()
4382 xgifb_reg_and_or(pVBInfo->P3c4, 0x3F, ~0x03, xgifb_set_lvds()
4384 xgifb_reg_set(pVBInfo->P3c4, 0x34, (value >> 1) & 0xFF); xgifb_set_lvds()
4390 xgifb_reg_and_or(pVBInfo->P3c4, 0x0A, ~0x20, (value & 0x10) << 1); xgifb_set_lvds()
4395 xgifb_reg_and_or(pVBInfo->P3c4, 0x3F, ~0xFC, xgifb_set_lvds()
4399 xgifb_reg_and_or(pVBInfo->P3c4, 0x3F, ~0xFC, xgifb_set_lvds()
4404 xgifb_reg_and_or(pVBInfo->P3c4, 0x31, ~0x30, value); xgifb_set_lvds()
4405 xgifb_reg_set(pVBInfo->P3c4, xgifb_set_lvds()
4407 xgifb_reg_set(pVBInfo->P3c4, xgifb_set_lvds()
4483 xgifb_reg_and(pVBInfo->P3c4, 0x32, 0xdf); XGI_DisableBridge()
4515 xgifb_reg_and(pVBInfo->P3c4, 0x32, 0xDF); XGI_DisableBridge()
4696 i = xgifb_reg_get(pVBInfo->P3c4, 0x1F); XGI_LongWait()
5226 xgifb_reg_set(pVBInfo->P3c4, 0x05, 0x86); XGI_SenseCRT1()
5233 SR31 = xgifb_reg_get(pVBInfo->P3c4, 0x31); XGI_SenseCRT1()
5235 SR01 = xgifb_reg_get(pVBInfo->P3c4, 0x01); XGI_SenseCRT1()
5237 xgifb_reg_set(pVBInfo->P3c4, 0x01, (unsigned char) (SR01 & 0xDF)); XGI_SenseCRT1()
5243 SR1F = xgifb_reg_get(pVBInfo->P3c4, 0x1F); XGI_SenseCRT1()
5244 xgifb_reg_set(pVBInfo->P3c4, 0x1F, (unsigned char) (SR1F | 0x04)); XGI_SenseCRT1()
5246 SR07 = xgifb_reg_get(pVBInfo->P3c4, 0x07); XGI_SenseCRT1()
5247 xgifb_reg_set(pVBInfo->P3c4, 0x07, (unsigned char) (SR07 & 0xFB)); XGI_SenseCRT1()
5248 SR06 = xgifb_reg_get(pVBInfo->P3c4, 0x06); XGI_SenseCRT1()
5249 xgifb_reg_set(pVBInfo->P3c4, 0x06, (unsigned char) (SR06 & 0xC3)); XGI_SenseCRT1()
5265 xgifb_reg_set(pVBInfo->P3c4, (unsigned short) (i - 3), XGI_SenseCRT1()
5268 xgifb_reg_set(pVBInfo->P3c4, 0x0E, (unsigned char) (CRTCData[16] XGI_SenseCRT1()
5271 xgifb_reg_set(pVBInfo->P3c4, 0x31, 0x00); XGI_SenseCRT1()
5272 xgifb_reg_set(pVBInfo->P3c4, 0x2B, 0x1B); XGI_SenseCRT1()
5273 xgifb_reg_set(pVBInfo->P3c4, 0x2C, 0xE1); XGI_SenseCRT1()
5296 xgifb_reg_set(pVBInfo->P3c4, 0x01, SR01); XGI_SenseCRT1()
5298 xgifb_reg_set(pVBInfo->P3c4, 0x31, SR31); XGI_SenseCRT1()
5302 xgifb_reg_set(pVBInfo->P3c4, 0x1F, (unsigned char) SR1F); XGI_SenseCRT1()
5319 tempah = xgifb_reg_get(pVBInfo->P3c4, 0x32); XGI_EnableBridge()
5325 xgifb_reg_set(pVBInfo->P3c4, 0x32, tempah); XGI_EnableBridge()
5326 xgifb_reg_or(pVBInfo->P3c4, 0x1E, 0x20); XGI_EnableBridge()
5487 xgifb_reg_set(pVBInfo->P3c4, 0x05, 0x86); XGISetModeNew()
H A Dvb_struct.h127 unsigned long P3c4, P3d4, P3c0, P3ce, P3c2, P3cc; member in struct:vb_device_info
H A DXGI_main.h21 #define XGISR (xgifb_info->dev_info.P3c4)
H A DXGI_main_26.c209 XGI_Pr->P3c4 = BaseAddr + 0x14; XGIRegInit()

Completed in 194 milliseconds