Lines Matching refs:SiS_SetReg

1117 		SiS_SetReg(SISCR, 0x13, (HDisplay1 & 0xFF));  in sisfb_set_pitch()
1124 SiS_SetReg(SISPART1, 0x07, (HDisplay2 & 0xFF)); in sisfb_set_pitch()
1170 SiS_SetReg(SISSR, IND_SIS_PASSWORD, SIS_PASSWORD); in sisfb_set_mode()
1179 SiS_SetReg(SISSR, IND_SIS_PASSWORD, SIS_PASSWORD); in sisfb_set_mode()
1311 SiS_SetReg(SISSR, IND_SIS_PASSWORD, SIS_PASSWORD); in sisfb_set_base_CRT1()
1313 SiS_SetReg(SISCR, 0x0D, base & 0xFF); in sisfb_set_base_CRT1()
1314 SiS_SetReg(SISCR, 0x0C, (base >> 8) & 0xFF); in sisfb_set_base_CRT1()
1315 SiS_SetReg(SISSR, 0x0D, (base >> 16) & 0xFF); in sisfb_set_base_CRT1()
1326 SiS_SetReg(SISPART1, 0x06, (base & 0xFF)); in sisfb_set_base_CRT2()
1327 SiS_SetReg(SISPART1, 0x05, ((base >> 8) & 0xFF)); in sisfb_set_base_CRT2()
1328 SiS_SetReg(SISPART1, 0x04, ((base >> 16) & 0xFF)); in sisfb_set_base_CRT2()
2219 SiS_SetReg(SISSR, 0x00, 0x01); in sisfb_sense_crt1()
2220 SiS_SetReg(SISSR, 0x00, 0x03); in sisfb_sense_crt1()
2231 SiS_SetReg(SISCR, 0x57, 0x4a); in sisfb_sense_crt1()
2233 SiS_SetReg(SISCR, 0x57, 0x5f); in sisfb_sense_crt1()
2268 SiS_SetReg(SISSR, 0x1F, sr1F); in sisfb_sense_crt1()
2352 SiS_SetReg(SISCR, 0x36, paneltype); in SiS_SenseLCD()
2369 SiS_SetReg(SISPART4, 0x11, (type & 0x00ff)); in SISDoSense()
2380 SiS_SetReg(SISPART4, 0x11, 0x00); in SISDoSense()
2453 SiS_SetReg(SISPART2, 0x00, ((backupP2_00 | 0x1c) & 0xfc)); in SiS_Sense30x()
2457 SiS_SetReg(SISPART2, 0x4d, (backupP2_4d & ~0x10)); in SiS_Sense30x()
2485 SiS_SetReg(SISPART2, 0x4d, (backupP2_4d | 0x10)); in SiS_Sense30x()
2493 SiS_SetReg(SISPART2, 0x4d, backupP2_4d); in SiS_Sense30x()
2513 SiS_SetReg(SISPART2, 0x00, backupP2_00); in SiS_Sense30x()
2514 SiS_SetReg(SISPART4, 0x0d, backupP4_0d); in SiS_Sense30x()
2515 SiS_SetReg(SISSR, 0x1e, backupSR_1e); in SiS_Sense30x()
2522 SiS_SetReg(SISPART2, 0x00, biosflag); in SiS_Sense30x()
2527 SiS_SetReg(SISPART2, 0x00, backupP2_00); in SiS_Sense30x()
2829 SiS_SetReg(SISSR, IND_SIS_TURBOQUEUE_SET, tq_state); in sisfb_engine_init()
2831 SiS_SetReg(SISSR, IND_SIS_TURBOQUEUE_ADR, (u8)(tqueue_pos & 0xff)); in sisfb_engine_init()
2868 SiS_SetReg(SISSR, IND_SIS_CMDQUEUE_THRESHOLD, COMMAND_QUEUE_THRESHOLD); in sisfb_engine_init()
2869 SiS_SetReg(SISSR, IND_SIS_CMDQUEUE_SET, SIS_CMD_QUEUE_RESET); in sisfb_engine_init()
2881 SiS_SetReg(SISSR, IND_SIS_CMDQUEUE_SET, (temp | SIS_VRAM_CMDQUEUE_ENABLE)); in sisfb_engine_init()
2898 SiS_SetReg(SISSR, IND_SIS_CMDQUEUE_SET, SIS_CMD_QUEUE_RESET); in sisfb_engine_init()
2907 SiS_SetReg(SISSR, IND_SIS_CMDQUEUE_SET, temp); in sisfb_engine_init()
3527 SiS_SetReg(SISSR, 0x05, 0x86); in sisfb_pre_setmode()
3657 SiS_SetReg(SISCR, 0x30, cr30); in sisfb_pre_setmode()
3658 SiS_SetReg(SISCR, 0x33, cr33); in sisfb_pre_setmode()
3668 SiS_SetReg(SISCR, tvregnum, cr38); in sisfb_pre_setmode()
3670 SiS_SetReg(SISCR, 0x31, cr31); in sisfb_pre_setmode()
3689 SiS_SetReg(SISSR, 0x3e, tmpreg); in sisfb_fixup_SR11()
3719 SiS_SetReg(SISSR, 0x05, 0x86); in sisfb_set_TVxposoffset()
3748 SiS_SetReg(SISPART2, 0x1f, p2_1f); in sisfb_set_TVxposoffset()
3752 SiS_SetReg(SISPART2, 0x43, p2_43); in sisfb_set_TVxposoffset()
3777 SiS_SetReg(SISSR, 0x05, 0x86); in sisfb_set_TVyposoffset()
3801 SiS_SetReg(SISPART2, 0x01, p2_01); in sisfb_set_TVyposoffset()
3802 SiS_SetReg(SISPART2, 0x02, p2_02); in sisfb_set_TVyposoffset()
3819 SiS_SetReg(SISSR, 0x05, 0x86); in sisfb_post_setmode()
4199 SiS_SetReg(SISSR, 0x13, 0x00); in sisfb_post_300_buswidth()
4200 SiS_SetReg(SISSR, 0x14, 0xBF); in sisfb_post_300_buswidth()
4291 SiS_SetReg(SISSR, 0x13, SiS_DRAMType[k][4]); in sisfb_post_300_rwtest()
4292 SiS_SetReg(SISSR, 0x14, sr14); in sisfb_post_300_rwtest()
4359 SiS_SetReg(SISSR, 0x05, 0x86); in sisfb_post_sis300()
4389 SiS_SetReg(SISSR, 0x28, v1); in sisfb_post_sis300()
4390 SiS_SetReg(SISSR, 0x29, v2); in sisfb_post_sis300()
4391 SiS_SetReg(SISSR, 0x2a, v3); in sisfb_post_sis300()
4392 SiS_SetReg(SISSR, 0x2e, v4); in sisfb_post_sis300()
4393 SiS_SetReg(SISSR, 0x2f, v5); in sisfb_post_sis300()
4394 SiS_SetReg(SISSR, 0x30, v6); in sisfb_post_sis300()
4399 SiS_SetReg(SISSR, 0x07, v1); /* DAC speed */ in sisfb_post_sis300()
4401 SiS_SetReg(SISSR, 0x11, 0x0f); /* DDC, power save */ in sisfb_post_sis300()
4418 SiS_SetReg(SISSR, 0x15, v1); /* Ram type (assuming 0, BIOS 0xa5 step 8) */ in sisfb_post_sis300()
4419 SiS_SetReg(SISSR, 0x16, v2); in sisfb_post_sis300()
4420 SiS_SetReg(SISSR, 0x17, v3); in sisfb_post_sis300()
4421 SiS_SetReg(SISSR, 0x18, v4); in sisfb_post_sis300()
4422 SiS_SetReg(SISSR, 0x19, v5); in sisfb_post_sis300()
4423 SiS_SetReg(SISSR, 0x1a, v6); in sisfb_post_sis300()
4424 SiS_SetReg(SISSR, 0x1b, v7); in sisfb_post_sis300()
4425 SiS_SetReg(SISSR, 0x1c, v8); /* ---- */ in sisfb_post_sis300()
4436 SiS_SetReg(SISSR, 0x1f, v1); in sisfb_post_sis300()
4437 SiS_SetReg(SISSR, 0x20, 0xa4); /* linear & relocated io & disable a0000 */ in sisfb_post_sis300()
4444 SiS_SetReg(SISSR, 0x23, v1); in sisfb_post_sis300()
4445 SiS_SetReg(SISSR, 0x24, v2); in sisfb_post_sis300()
4446 SiS_SetReg(SISSR, 0x25, v3); in sisfb_post_sis300()
4447 SiS_SetReg(SISSR, 0x21, 0x84); in sisfb_post_sis300()
4448 SiS_SetReg(SISSR, 0x22, 0x00); in sisfb_post_sis300()
4449 SiS_SetReg(SISCR, 0x37, 0x00); in sisfb_post_sis300()
4451 SiS_SetReg(SISPART1, 0x00, 0x00); in sisfb_post_sis300()
4457 SiS_SetReg(SISPART1, 0x02, v1); in sisfb_post_sis300()
4464 SiS_SetReg(SISCR, 0x37, 0x02); in sisfb_post_sis300()
4465 SiS_SetReg(SISPART2, 0x00, 0x1c); in sisfb_post_sis300()
4472 SiS_SetReg(SISPART4, 0x0d, v4); in sisfb_post_sis300()
4473 SiS_SetReg(SISPART4, 0x0e, v5); in sisfb_post_sis300()
4474 SiS_SetReg(SISPART4, 0x10, v6); in sisfb_post_sis300()
4475 SiS_SetReg(SISPART4, 0x0f, 0x3f); in sisfb_post_sis300()
4481 SiS_SetReg(SISPART4, 0x23, reg); in sisfb_post_sis300()
4486 SiS_SetReg(SISSR, 0x32, v2); in sisfb_post_sis300()
4492 SiS_SetReg(SISCR, 0x35, reg); in sisfb_post_sis300()
4493 SiS_SetReg(SISCR, 0x83, 0x00); in sisfb_post_sis300()
4496 SiS_SetReg(SISSR, 0x13, 0x28); /* ? */ in sisfb_post_sis300()
4498 SiS_SetReg(SISSR, 0x14, reg); in sisfb_post_sis300()
4511 SiS_SetReg(SISSR, 0x13, 0x28); /* ? */ in sisfb_post_sis300()
4512 SiS_SetReg(SISSR, 0x14, 0x47); /* 8MB, 64bit default */ in sisfb_post_sis300()
4530 SiS_SetReg(SISSR, 0x21, v1); in sisfb_post_sis300()
4531 SiS_SetReg(SISSR, 0x22, v2); in sisfb_post_sis300()
4544 SiS_SetReg(SISSR, 0x05, 0x86); in sisfb_post_sis300()
4550 SiS_SetReg(SISCR, 0x34, 0x2e); in sisfb_post_sis300()
4678 SiS_SetReg(SISSR, 0x13, 0x35); in sisfb_post_xgi_ramsize()
4679 SiS_SetReg(SISSR, 0x14, 0x41); in sisfb_post_xgi_ramsize()
4685 SiS_SetReg(SISSR, 0x15, 0x00); in sisfb_post_xgi_ramsize()
4687 SiS_SetReg(SISSR, 0x1c, 0x00); in sisfb_post_xgi_ramsize()
4695 SiS_SetReg(SISSR, 0x13, 0xb1); in sisfb_post_xgi_ramsize()
4696 SiS_SetReg(SISSR, 0x14, 0x52); in sisfb_post_xgi_ramsize()
4702 SiS_SetReg(SISSR, 0x13, 0x31); in sisfb_post_xgi_ramsize()
4703 SiS_SetReg(SISSR, 0x14, 0x42); in sisfb_post_xgi_ramsize()
4709 SiS_SetReg(SISSR, 0x13, 0xb1); in sisfb_post_xgi_ramsize()
4710 SiS_SetReg(SISSR, 0x14, 0x41); in sisfb_post_xgi_ramsize()
4716 SiS_SetReg(SISSR, 0x13, 0x31); in sisfb_post_xgi_ramsize()
4719 SiS_SetReg(SISSR, 0x13, 0xb1); in sisfb_post_xgi_ramsize()
4720 SiS_SetReg(SISSR, 0x14, 0x41); in sisfb_post_xgi_ramsize()
4726 SiS_SetReg(SISSR, 0x13, 0x31); in sisfb_post_xgi_ramsize()
4727 SiS_SetReg(SISSR, 0x14, 0x31); in sisfb_post_xgi_ramsize()
4733 SiS_SetReg(SISSR, 0x13, 0xb1); in sisfb_post_xgi_ramsize()
4734 SiS_SetReg(SISSR, 0x14, 0x30); in sisfb_post_xgi_ramsize()
4740 SiS_SetReg(SISSR, 0x13, 0x31); in sisfb_post_xgi_ramsize()
4755 SiS_SetReg(SISSR, 0x13, 0xa1); in sisfb_post_xgi_ramsize()
4756 SiS_SetReg(SISSR, 0x14, 0x44); in sisfb_post_xgi_ramsize()
4762 SiS_SetReg(SISSR, 0x13, 0x21); in sisfb_post_xgi_ramsize()
4763 SiS_SetReg(SISSR, 0x14, 0x34); in sisfb_post_xgi_ramsize()
4768 SiS_SetReg(SISSR, 0x13, 0xa1); in sisfb_post_xgi_ramsize()
4769 SiS_SetReg(SISSR, 0x14, 0x40); in sisfb_post_xgi_ramsize()
4774 SiS_SetReg(SISSR, 0x13, 0x21); in sisfb_post_xgi_ramsize()
4775 SiS_SetReg(SISSR, 0x14, 0x30); in sisfb_post_xgi_ramsize()
4778 SiS_SetReg(SISSR, 0x13, 0xa1); in sisfb_post_xgi_ramsize()
4779 SiS_SetReg(SISSR, 0x14, 0x4c); in sisfb_post_xgi_ramsize()
4786 SiS_SetReg(SISSR, 0x14, 0x48); in sisfb_post_xgi_ramsize()
4792 SiS_SetReg(SISSR, 0x13, 0x21); in sisfb_post_xgi_ramsize()
4793 SiS_SetReg(SISSR, 0x14, 0x3c); in sisfb_post_xgi_ramsize()
4800 SiS_SetReg(SISSR, 0x14, 0x38); in sisfb_post_xgi_ramsize()
4811 SiS_SetReg(SISSR, 0x13, 0xa1); in sisfb_post_xgi_ramsize()
4812 SiS_SetReg(SISSR, 0x14, 0x52); in sisfb_post_xgi_ramsize()
4818 SiS_SetReg(SISSR, 0x13, 0x21); in sisfb_post_xgi_ramsize()
4819 SiS_SetReg(SISSR, 0x14, 0x42); in sisfb_post_xgi_ramsize()
4822 SiS_SetReg(SISSR, 0x13, 0xa1); in sisfb_post_xgi_ramsize()
4823 SiS_SetReg(SISSR, 0x14, 0x5a); in sisfb_post_xgi_ramsize()
4829 SiS_SetReg(SISSR, 0x13, 0x21); in sisfb_post_xgi_ramsize()
4830 SiS_SetReg(SISSR, 0x14, 0x4a); in sisfb_post_xgi_ramsize()
4923 SiS_SetReg(SISSR, 0x28, v1); in sisfb_post_xgi_setclocks()
4924 SiS_SetReg(SISSR, 0x29, v2); in sisfb_post_xgi_setclocks()
4925 SiS_SetReg(SISSR, 0x2a, v3); in sisfb_post_xgi_setclocks()
4936 SiS_SetReg(SISSR, 0x2e, v1); in sisfb_post_xgi_setclocks()
4937 SiS_SetReg(SISSR, 0x2f, v2); in sisfb_post_xgi_setclocks()
4938 SiS_SetReg(SISSR, 0x30, v3); in sisfb_post_xgi_setclocks()
4950 SiS_SetReg(SISSR, 0x28, 0x64); in sisfb_post_xgi_ddr2_mrs_default()
4951 SiS_SetReg(SISSR, 0x29, 0x63); in sisfb_post_xgi_ddr2_mrs_default()
4953 SiS_SetReg(SISSR, 0x18, 0x00); in sisfb_post_xgi_ddr2_mrs_default()
4954 SiS_SetReg(SISSR, 0x19, 0x20); in sisfb_post_xgi_ddr2_mrs_default()
4955 SiS_SetReg(SISSR, 0x16, 0x00); in sisfb_post_xgi_ddr2_mrs_default()
4956 SiS_SetReg(SISSR, 0x16, 0x80); in sisfb_post_xgi_ddr2_mrs_default()
4957 SiS_SetReg(SISSR, 0x18, 0xc5); in sisfb_post_xgi_ddr2_mrs_default()
4958 SiS_SetReg(SISSR, 0x19, 0x23); in sisfb_post_xgi_ddr2_mrs_default()
4959 SiS_SetReg(SISSR, 0x16, 0x00); in sisfb_post_xgi_ddr2_mrs_default()
4960 SiS_SetReg(SISSR, 0x16, 0x80); in sisfb_post_xgi_ddr2_mrs_default()
4962 SiS_SetReg(SISCR, 0x97, 0x11); in sisfb_post_xgi_ddr2_mrs_default()
4965 SiS_SetReg(SISSR, 0x18, 0xc5); in sisfb_post_xgi_ddr2_mrs_default()
4966 SiS_SetReg(SISSR, 0x19, 0x23); in sisfb_post_xgi_ddr2_mrs_default()
4967 SiS_SetReg(SISSR, 0x16, 0x00); in sisfb_post_xgi_ddr2_mrs_default()
4968 SiS_SetReg(SISSR, 0x16, 0x80); in sisfb_post_xgi_ddr2_mrs_default()
4970 SiS_SetReg(SISSR, 0x1b, 0x04); in sisfb_post_xgi_ddr2_mrs_default()
4972 SiS_SetReg(SISSR, 0x1b, 0x00); in sisfb_post_xgi_ddr2_mrs_default()
4978 SiS_SetReg(SISSR, 0x18, v1); in sisfb_post_xgi_ddr2_mrs_default()
4979 SiS_SetReg(SISSR, 0x19, 0x06); in sisfb_post_xgi_ddr2_mrs_default()
4980 SiS_SetReg(SISSR, 0x16, 0x04); in sisfb_post_xgi_ddr2_mrs_default()
4981 SiS_SetReg(SISSR, 0x16, 0x84); in sisfb_post_xgi_ddr2_mrs_default()
4990 SiS_SetReg(SISCR, 0x97, 0x11); in sisfb_post_xgi_ddr2_mrs_xg21()
4993 SiS_SetReg(SISSR, 0x18, 0x00); /* EMRS2 */ in sisfb_post_xgi_ddr2_mrs_xg21()
4994 SiS_SetReg(SISSR, 0x19, 0x80); in sisfb_post_xgi_ddr2_mrs_xg21()
4995 SiS_SetReg(SISSR, 0x16, 0x05); in sisfb_post_xgi_ddr2_mrs_xg21()
4996 SiS_SetReg(SISSR, 0x16, 0x85); in sisfb_post_xgi_ddr2_mrs_xg21()
4998 SiS_SetReg(SISSR, 0x18, 0x00); /* EMRS3 */ in sisfb_post_xgi_ddr2_mrs_xg21()
4999 SiS_SetReg(SISSR, 0x19, 0xc0); in sisfb_post_xgi_ddr2_mrs_xg21()
5000 SiS_SetReg(SISSR, 0x16, 0x05); in sisfb_post_xgi_ddr2_mrs_xg21()
5001 SiS_SetReg(SISSR, 0x16, 0x85); in sisfb_post_xgi_ddr2_mrs_xg21()
5003 SiS_SetReg(SISSR, 0x18, 0x00); /* EMRS1 */ in sisfb_post_xgi_ddr2_mrs_xg21()
5004 SiS_SetReg(SISSR, 0x19, 0x40); in sisfb_post_xgi_ddr2_mrs_xg21()
5005 SiS_SetReg(SISSR, 0x16, 0x05); in sisfb_post_xgi_ddr2_mrs_xg21()
5006 SiS_SetReg(SISSR, 0x16, 0x85); in sisfb_post_xgi_ddr2_mrs_xg21()
5008 SiS_SetReg(SISSR, 0x18, 0x42); /* MRS1 */ in sisfb_post_xgi_ddr2_mrs_xg21()
5009 SiS_SetReg(SISSR, 0x19, 0x02); in sisfb_post_xgi_ddr2_mrs_xg21()
5010 SiS_SetReg(SISSR, 0x16, 0x05); in sisfb_post_xgi_ddr2_mrs_xg21()
5011 SiS_SetReg(SISSR, 0x16, 0x85); in sisfb_post_xgi_ddr2_mrs_xg21()
5014 SiS_SetReg(SISSR, 0x1b, 0x04); in sisfb_post_xgi_ddr2_mrs_xg21()
5017 SiS_SetReg(SISSR, 0x1b, 0x00); in sisfb_post_xgi_ddr2_mrs_xg21()
5020 SiS_SetReg(SISSR, 0x18, 0x42); /* MRS1 */ in sisfb_post_xgi_ddr2_mrs_xg21()
5021 SiS_SetReg(SISSR, 0x19, 0x00); in sisfb_post_xgi_ddr2_mrs_xg21()
5022 SiS_SetReg(SISSR, 0x16, 0x05); in sisfb_post_xgi_ddr2_mrs_xg21()
5023 SiS_SetReg(SISSR, 0x16, 0x85); in sisfb_post_xgi_ddr2_mrs_xg21()
5045 SiS_SetReg(SISCR, 0xb0, 0x80); /* DDR2 dual frequency mode */ in sisfb_post_xgi_ddr2()
5046 SiS_SetReg(SISCR, 0x82, 0x77); in sisfb_post_xgi_ddr2()
5047 SiS_SetReg(SISCR, 0x86, 0x00); in sisfb_post_xgi_ddr2()
5049 SiS_SetReg(SISCR, 0x86, 0x88); in sisfb_post_xgi_ddr2()
5057 SiS_SetReg(SISCR, 0x86, v1); in sisfb_post_xgi_ddr2()
5058 SiS_SetReg(SISCR, 0x82, 0x77); in sisfb_post_xgi_ddr2()
5059 SiS_SetReg(SISCR, 0x85, 0x00); in sisfb_post_xgi_ddr2()
5061 SiS_SetReg(SISCR, 0x85, 0x88); in sisfb_post_xgi_ddr2()
5063 SiS_SetReg(SISCR, 0x85, v2); in sisfb_post_xgi_ddr2()
5064 SiS_SetReg(SISCR, 0x82, v3); in sisfb_post_xgi_ddr2()
5065 SiS_SetReg(SISCR, 0x98, 0x01); in sisfb_post_xgi_ddr2()
5066 SiS_SetReg(SISCR, 0x9a, 0x02); in sisfb_post_xgi_ddr2()
5094 SiS_SetReg(SISCR, 0x97, v1); in sisfb_post_xgi_ramtype()
5188 SiS_SetReg(SISSR, 0x05, 0x86); in sisfb_post_xgi()
5196 SiS_SetReg(SISSR, 0x06 + i, 0x00); in sisfb_post_xgi()
5199 SiS_SetReg(SISSR, 0x31 + i, 0x00); in sisfb_post_xgi()
5202 SiS_SetReg(SISCR, 0x30 + i, 0x00); in sisfb_post_xgi()
5210 SiS_SetReg(SISSR, 0x23 + i, ptr[i]); in sisfb_post_xgi()
5218 SiS_SetReg(SISSR, 0x21 + i, ptr[i]); in sisfb_post_xgi()
5226 SiS_SetReg(SISSR, 0x07, v1); in sisfb_post_xgi()
5227 SiS_SetReg(SISSR, 0x11, 0x0f); in sisfb_post_xgi()
5228 SiS_SetReg(SISSR, 0x1f, v2); in sisfb_post_xgi()
5230 SiS_SetReg(SISSR, 0x20, 0x80 | 0x20 | 0x04); in sisfb_post_xgi()
5231 SiS_SetReg(SISSR, 0x27, 0x74); in sisfb_post_xgi()
5238 SiS_SetReg(SISSR, 0x31 + i, ptr[i]); in sisfb_post_xgi()
5245 SiS_SetReg(SISCR, 0x7d, 0xfe); in sisfb_post_xgi()
5246 SiS_SetReg(SISCR, 0x7e, 0x0f); in sisfb_post_xgi()
5260 SiS_SetReg(SISSR, 0x36, 0x70); in sisfb_post_xgi()
5262 SiS_SetReg(SISVID, 0x00, 0x86); in sisfb_post_xgi()
5263 SiS_SetReg(SISVID, 0x32, 0x00); in sisfb_post_xgi()
5264 SiS_SetReg(SISVID, 0x30, 0x00); in sisfb_post_xgi()
5265 SiS_SetReg(SISVID, 0x32, 0x01); in sisfb_post_xgi()
5266 SiS_SetReg(SISVID, 0x30, 0x00); in sisfb_post_xgi()
5270 SiS_SetReg(SISPART1, 0x2f, 0x01); in sisfb_post_xgi()
5271 SiS_SetReg(SISPART1, 0x00, 0x00); in sisfb_post_xgi()
5272 SiS_SetReg(SISPART1, 0x02, bios[0x7e]); in sisfb_post_xgi()
5273 SiS_SetReg(SISPART1, 0x2e, 0x08); in sisfb_post_xgi()
5279 SiS_SetReg(SISPART2, 0x00, 0x1c); in sisfb_post_xgi()
5280 SiS_SetReg(SISPART4, 0x0d, bios[0x7f]); in sisfb_post_xgi()
5281 SiS_SetReg(SISPART4, 0x0e, bios[0x80]); in sisfb_post_xgi()
5282 SiS_SetReg(SISPART4, 0x10, bios[0x81]); in sisfb_post_xgi()
5289 SiS_SetReg(SISPART4, 0x23, reg); in sisfb_post_xgi()
5337 SiS_SetReg(SISSR, 0x22, v1); in sisfb_post_xgi()
5361 SiS_SetReg(SISSR, 0x27, v1); in sisfb_post_xgi()
5374 SiS_SetReg(SISCR, 0x48, v1); in sisfb_post_xgi()
5381 SiS_SetReg(SISCR, 0x70, bios[0x4fc]); in sisfb_post_xgi()
5383 SiS_SetReg(SISCR, 0x74, 0xd0); in sisfb_post_xgi()
5392 SiS_SetReg(SISCR, 0x77, v1); in sisfb_post_xgi()
5417 SiS_SetReg(SISCR, 0x6d, v1); in sisfb_post_xgi()
5424 SiS_SetReg(SISCR, 0x68 + i, ptr[j + regb]); in sisfb_post_xgi()
5448 SiS_SetReg(SISCR, rega, reg); in sisfb_post_xgi()
5477 SiS_SetReg(SISCR, 0x6f, reg); in sisfb_post_xgi()
5490 SiS_SetReg(SISCR, 0x80 + i, ptr[j + regb]); in sisfb_post_xgi()
5507 SiS_SetReg(SISCR, 0x89, reg); in sisfb_post_xgi()
5520 SiS_SetReg(SISCR, 0x45, v1 & 0x0f); in sisfb_post_xgi()
5521 SiS_SetReg(SISCR, 0x99, (v1 >> 4) & 0x07); in sisfb_post_xgi()
5523 SiS_SetReg(SISCR, 0x41, v2); in sisfb_post_xgi()
5530 SiS_SetReg(SISCR, 0x90 + i, ptr[j + regb]); in sisfb_post_xgi()
5533 SiS_SetReg(SISCR, 0x59, v3); in sisfb_post_xgi()
5540 SiS_SetReg(SISCR, 0xc3 + i, ptr[j + regb]); in sisfb_post_xgi()
5548 SiS_SetReg(SISCR, 0x8a + i, ptr[j + regb]); in sisfb_post_xgi()
5551 SiS_SetReg(SISCR, 0xcf, v4); in sisfb_post_xgi()
5553 SiS_SetReg(SISCR, 0x83, 0x09); in sisfb_post_xgi()
5554 SiS_SetReg(SISCR, 0x87, 0x00); in sisfb_post_xgi()
5559 SiS_SetReg(SISCR, 0x8c, 0x87); in sisfb_post_xgi()
5564 SiS_SetReg(SISSR, 0x17, 0x80); /* DDR2 */ in sisfb_post_xgi()
5566 SiS_SetReg(SISSR, 0x17, 0x00); /* DDR1 */ in sisfb_post_xgi()
5567 SiS_SetReg(SISSR, 0x1a, 0x87); in sisfb_post_xgi()
5570 SiS_SetReg(SISSR, 0x15, 0x00); in sisfb_post_xgi()
5571 SiS_SetReg(SISSR, 0x1c, 0x00); in sisfb_post_xgi()
5586 SiS_SetReg(SISCR, 0x82, v1); in sisfb_post_xgi()
5587 SiS_SetReg(SISCR, 0x85, v2); in sisfb_post_xgi()
5588 SiS_SetReg(SISCR, 0x86, v3); in sisfb_post_xgi()
5590 SiS_SetReg(SISCR, 0x82, 0x88); in sisfb_post_xgi()
5591 SiS_SetReg(SISCR, 0x86, 0x00); in sisfb_post_xgi()
5593 SiS_SetReg(SISCR, 0x86, 0x88); in sisfb_post_xgi()
5595 SiS_SetReg(SISCR, 0x86, bios[regb + 0x168]); in sisfb_post_xgi()
5596 SiS_SetReg(SISCR, 0x82, 0x77); in sisfb_post_xgi()
5597 SiS_SetReg(SISCR, 0x85, 0x00); in sisfb_post_xgi()
5599 SiS_SetReg(SISCR, 0x85, 0x88); in sisfb_post_xgi()
5601 SiS_SetReg(SISCR, 0x85, bios[regb + 0x160]); in sisfb_post_xgi()
5602 SiS_SetReg(SISCR, 0x82, bios[regb + 0x158]); in sisfb_post_xgi()
5605 SiS_SetReg(SISCR, 0x97, 0x00); in sisfb_post_xgi()
5607 SiS_SetReg(SISCR, 0x98, 0x01); in sisfb_post_xgi()
5608 SiS_SetReg(SISCR, 0x9a, 0x02); in sisfb_post_xgi()
5610 SiS_SetReg(SISSR, 0x18, 0x01); in sisfb_post_xgi()
5613 SiS_SetReg(SISSR, 0x19, 0x40); in sisfb_post_xgi()
5615 SiS_SetReg(SISSR, 0x19, 0x20); in sisfb_post_xgi()
5617 SiS_SetReg(SISSR, 0x16, 0x00); in sisfb_post_xgi()
5618 SiS_SetReg(SISSR, 0x16, 0x80); in sisfb_post_xgi()
5623 SiS_SetReg(SISSR, 0x18, 0x00); in sisfb_post_xgi()
5626 SiS_SetReg(SISSR, 0x19, 0x40); in sisfb_post_xgi()
5628 SiS_SetReg(SISSR, 0x19, 0x20); in sisfb_post_xgi()
5633 SiS_SetReg(SISSR, 0x16, 0x00); in sisfb_post_xgi()
5634 SiS_SetReg(SISSR, 0x16, 0x80); in sisfb_post_xgi()
5645 SiS_SetReg(SISSR, 0x18, v1); in sisfb_post_xgi()
5646 SiS_SetReg(SISSR, 0x19, ((ivideo->chip == XGI_20) ? 0x02 : 0x01)); in sisfb_post_xgi()
5647 SiS_SetReg(SISSR, 0x16, v2); in sisfb_post_xgi()
5648 SiS_SetReg(SISSR, 0x16, v3); in sisfb_post_xgi()
5650 SiS_SetReg(SISSR, 0x1b, 0x03); in sisfb_post_xgi()
5652 SiS_SetReg(SISSR, 0x18, v1); in sisfb_post_xgi()
5653 SiS_SetReg(SISSR, 0x19, 0x00); in sisfb_post_xgi()
5654 SiS_SetReg(SISSR, 0x16, v4); in sisfb_post_xgi()
5655 SiS_SetReg(SISSR, 0x16, v5); in sisfb_post_xgi()
5656 SiS_SetReg(SISSR, 0x1b, 0x00); in sisfb_post_xgi()
5666 SiS_SetReg(SISCR, 0x82, bios[regb + 0x158]); in sisfb_post_xgi()
5667 SiS_SetReg(SISCR, 0x85, bios[regb + 0x160]); in sisfb_post_xgi()
5668 SiS_SetReg(SISCR, 0x86, bios[regb + 0x168]); in sisfb_post_xgi()
5670 SiS_SetReg(SISCR, 0x82, 0x88); in sisfb_post_xgi()
5671 SiS_SetReg(SISCR, 0x86, 0x00); in sisfb_post_xgi()
5673 SiS_SetReg(SISCR, 0x86, 0x88); in sisfb_post_xgi()
5674 SiS_SetReg(SISCR, 0x82, 0x77); in sisfb_post_xgi()
5675 SiS_SetReg(SISCR, 0x85, 0x00); in sisfb_post_xgi()
5677 SiS_SetReg(SISCR, 0x85, 0x88); in sisfb_post_xgi()
5684 SiS_SetReg(SISCR, 0x85, v1); in sisfb_post_xgi()
5685 SiS_SetReg(SISCR, 0x82, v2); in sisfb_post_xgi()
5688 SiS_SetReg(SISCR, 0x97, 0x11); in sisfb_post_xgi()
5691 SiS_SetReg(SISCR, 0x98, 0x01); in sisfb_post_xgi()
5693 SiS_SetReg(SISCR, 0x98, 0x03); in sisfb_post_xgi()
5695 SiS_SetReg(SISCR, 0x9a, 0x02); in sisfb_post_xgi()
5698 SiS_SetReg(SISSR, 0x18, 0x01); in sisfb_post_xgi()
5700 SiS_SetReg(SISSR, 0x18, 0x00); in sisfb_post_xgi()
5702 SiS_SetReg(SISSR, 0x19, 0x40); in sisfb_post_xgi()
5703 SiS_SetReg(SISSR, 0x16, 0x00); in sisfb_post_xgi()
5704 SiS_SetReg(SISSR, 0x16, 0x80); in sisfb_post_xgi()
5709 SiS_SetReg(SISSR, 0x18, 0x00); in sisfb_post_xgi()
5710 SiS_SetReg(SISSR, 0x19, 0x40); in sisfb_post_xgi()
5711 SiS_SetReg(SISSR, 0x16, 0x00); in sisfb_post_xgi()
5712 SiS_SetReg(SISSR, 0x16, 0x80); in sisfb_post_xgi()
5719 SiS_SetReg(SISSR, 0x18, v1); in sisfb_post_xgi()
5720 SiS_SetReg(SISSR, 0x19, 0x01); in sisfb_post_xgi()
5722 SiS_SetReg(SISSR, 0x16, bios[0x53e]); in sisfb_post_xgi()
5723 SiS_SetReg(SISSR, 0x16, bios[0x53f]); in sisfb_post_xgi()
5725 SiS_SetReg(SISSR, 0x16, 0x05); in sisfb_post_xgi()
5726 SiS_SetReg(SISSR, 0x16, 0x85); in sisfb_post_xgi()
5730 SiS_SetReg(SISSR, 0x1b, 0x01); in sisfb_post_xgi()
5732 SiS_SetReg(SISSR, 0x1b, 0x03); in sisfb_post_xgi()
5735 SiS_SetReg(SISSR, 0x18, v1); in sisfb_post_xgi()
5736 SiS_SetReg(SISSR, 0x19, 0x00); in sisfb_post_xgi()
5738 SiS_SetReg(SISSR, 0x16, bios[0x540]); in sisfb_post_xgi()
5739 SiS_SetReg(SISSR, 0x16, bios[0x541]); in sisfb_post_xgi()
5741 SiS_SetReg(SISSR, 0x16, 0x05); in sisfb_post_xgi()
5742 SiS_SetReg(SISSR, 0x16, 0x85); in sisfb_post_xgi()
5744 SiS_SetReg(SISSR, 0x1b, 0x00); in sisfb_post_xgi()
5752 SiS_SetReg(SISSR, 0x1b, v1); in sisfb_post_xgi()
5764 SiS_SetReg(SISSR, 0x13, bios[regb + 0xe0]); in sisfb_post_xgi()
5765 SiS_SetReg(SISSR, 0x14, bios[regb + 0xe0 + 8]); in sisfb_post_xgi()
5778 SiS_SetReg(SISSR, 0x05, 0x86); in sisfb_post_xgi()
5826 SiS_SetReg(SISSR, 0x05, 0x86); in sisfb_post_xgi()
5832 SiS_SetReg(SISCR, 0x34, 0x2e); in sisfb_post_xgi()
6083 SiS_SetReg(SISSR, 0x05, 0x86); in sisfb_probe()
6091 SiS_SetReg(SISCR, i, 0x00); in sisfb_probe()