Lines Matching refs:SiS_SetReg
1116 SiS_SetReg(SISCR, 0x13, (HDisplay1 & 0xFF)); in sisfb_set_pitch()
1123 SiS_SetReg(SISPART1, 0x07, (HDisplay2 & 0xFF)); in sisfb_set_pitch()
1169 SiS_SetReg(SISSR, IND_SIS_PASSWORD, SIS_PASSWORD); in sisfb_set_mode()
1178 SiS_SetReg(SISSR, IND_SIS_PASSWORD, SIS_PASSWORD); in sisfb_set_mode()
1310 SiS_SetReg(SISSR, IND_SIS_PASSWORD, SIS_PASSWORD); in sisfb_set_base_CRT1()
1312 SiS_SetReg(SISCR, 0x0D, base & 0xFF); in sisfb_set_base_CRT1()
1313 SiS_SetReg(SISCR, 0x0C, (base >> 8) & 0xFF); in sisfb_set_base_CRT1()
1314 SiS_SetReg(SISSR, 0x0D, (base >> 16) & 0xFF); in sisfb_set_base_CRT1()
1325 SiS_SetReg(SISPART1, 0x06, (base & 0xFF)); in sisfb_set_base_CRT2()
1326 SiS_SetReg(SISPART1, 0x05, ((base >> 8) & 0xFF)); in sisfb_set_base_CRT2()
1327 SiS_SetReg(SISPART1, 0x04, ((base >> 16) & 0xFF)); in sisfb_set_base_CRT2()
2210 SiS_SetReg(SISSR, 0x00, 0x01); in sisfb_sense_crt1()
2211 SiS_SetReg(SISSR, 0x00, 0x03); in sisfb_sense_crt1()
2222 SiS_SetReg(SISCR, 0x57, 0x4a); in sisfb_sense_crt1()
2224 SiS_SetReg(SISCR, 0x57, 0x5f); in sisfb_sense_crt1()
2262 SiS_SetReg(SISSR, 0x1F, sr1F); in sisfb_sense_crt1()
2345 SiS_SetReg(SISCR, 0x36, paneltype); in SiS_SenseLCD()
2361 SiS_SetReg(SISPART4, 0x11, (type & 0x00ff)); in SISDoSense()
2373 SiS_SetReg(SISPART4, 0x11, 0x00); in SISDoSense()
2447 SiS_SetReg(SISPART2, 0x00, ((backupP2_00 | 0x1c) & 0xfc)); in SiS_Sense30x()
2451 SiS_SetReg(SISPART2, 0x4d, (backupP2_4d & ~0x10)); in SiS_Sense30x()
2479 SiS_SetReg(SISPART2, 0x4d, (backupP2_4d | 0x10)); in SiS_Sense30x()
2487 SiS_SetReg(SISPART2, 0x4d, backupP2_4d); in SiS_Sense30x()
2507 SiS_SetReg(SISPART2, 0x00, backupP2_00); in SiS_Sense30x()
2508 SiS_SetReg(SISPART4, 0x0d, backupP4_0d); in SiS_Sense30x()
2509 SiS_SetReg(SISSR, 0x1e, backupSR_1e); in SiS_Sense30x()
2516 SiS_SetReg(SISPART2, 0x00, biosflag); in SiS_Sense30x()
2521 SiS_SetReg(SISPART2, 0x00, backupP2_00); in SiS_Sense30x()
2821 SiS_SetReg(SISSR, IND_SIS_TURBOQUEUE_SET, tq_state); in sisfb_engine_init()
2823 SiS_SetReg(SISSR, IND_SIS_TURBOQUEUE_ADR, (u8)(tqueue_pos & 0xff)); in sisfb_engine_init()
2860 SiS_SetReg(SISSR, IND_SIS_CMDQUEUE_THRESHOLD, COMMAND_QUEUE_THRESHOLD); in sisfb_engine_init()
2861 SiS_SetReg(SISSR, IND_SIS_CMDQUEUE_SET, SIS_CMD_QUEUE_RESET); in sisfb_engine_init()
2873 SiS_SetReg(SISSR, IND_SIS_CMDQUEUE_SET, (temp | SIS_VRAM_CMDQUEUE_ENABLE)); in sisfb_engine_init()
2890 SiS_SetReg(SISSR, IND_SIS_CMDQUEUE_SET, SIS_CMD_QUEUE_RESET); in sisfb_engine_init()
2899 SiS_SetReg(SISSR, IND_SIS_CMDQUEUE_SET, temp); in sisfb_engine_init()
3514 SiS_SetReg(SISSR, 0x05, 0x86); in sisfb_pre_setmode()
3644 SiS_SetReg(SISCR, 0x30, cr30); in sisfb_pre_setmode()
3645 SiS_SetReg(SISCR, 0x33, cr33); in sisfb_pre_setmode()
3655 SiS_SetReg(SISCR, tvregnum, cr38); in sisfb_pre_setmode()
3657 SiS_SetReg(SISCR, 0x31, cr31); in sisfb_pre_setmode()
3676 SiS_SetReg(SISSR, 0x3e, tmpreg); in sisfb_fixup_SR11()
3706 SiS_SetReg(SISSR, 0x05, 0x86); in sisfb_set_TVxposoffset()
3735 SiS_SetReg(SISPART2, 0x1f, p2_1f); in sisfb_set_TVxposoffset()
3739 SiS_SetReg(SISPART2, 0x43, p2_43); in sisfb_set_TVxposoffset()
3764 SiS_SetReg(SISSR, 0x05, 0x86); in sisfb_set_TVyposoffset()
3788 SiS_SetReg(SISPART2, 0x01, p2_01); in sisfb_set_TVyposoffset()
3789 SiS_SetReg(SISPART2, 0x02, p2_02); in sisfb_set_TVyposoffset()
3806 SiS_SetReg(SISSR, 0x05, 0x86); in sisfb_post_setmode()
4183 SiS_SetReg(SISSR, 0x13, 0x00); in sisfb_post_300_buswidth()
4184 SiS_SetReg(SISSR, 0x14, 0xBF); in sisfb_post_300_buswidth()
4278 SiS_SetReg(SISSR, 0x13, SiS_DRAMType[k][4]); in sisfb_post_300_rwtest()
4279 SiS_SetReg(SISSR, 0x14, sr14); in sisfb_post_300_rwtest()
4344 SiS_SetReg(SISSR, 0x05, 0x86); in sisfb_post_sis300()
4374 SiS_SetReg(SISSR, 0x28, v1); in sisfb_post_sis300()
4375 SiS_SetReg(SISSR, 0x29, v2); in sisfb_post_sis300()
4376 SiS_SetReg(SISSR, 0x2a, v3); in sisfb_post_sis300()
4377 SiS_SetReg(SISSR, 0x2e, v4); in sisfb_post_sis300()
4378 SiS_SetReg(SISSR, 0x2f, v5); in sisfb_post_sis300()
4379 SiS_SetReg(SISSR, 0x30, v6); in sisfb_post_sis300()
4384 SiS_SetReg(SISSR, 0x07, v1); /* DAC speed */ in sisfb_post_sis300()
4386 SiS_SetReg(SISSR, 0x11, 0x0f); /* DDC, power save */ in sisfb_post_sis300()
4403 SiS_SetReg(SISSR, 0x15, v1); /* Ram type (assuming 0, BIOS 0xa5 step 8) */ in sisfb_post_sis300()
4404 SiS_SetReg(SISSR, 0x16, v2); in sisfb_post_sis300()
4405 SiS_SetReg(SISSR, 0x17, v3); in sisfb_post_sis300()
4406 SiS_SetReg(SISSR, 0x18, v4); in sisfb_post_sis300()
4407 SiS_SetReg(SISSR, 0x19, v5); in sisfb_post_sis300()
4408 SiS_SetReg(SISSR, 0x1a, v6); in sisfb_post_sis300()
4409 SiS_SetReg(SISSR, 0x1b, v7); in sisfb_post_sis300()
4410 SiS_SetReg(SISSR, 0x1c, v8); /* ---- */ in sisfb_post_sis300()
4421 SiS_SetReg(SISSR, 0x1f, v1); in sisfb_post_sis300()
4422 SiS_SetReg(SISSR, 0x20, 0xa4); /* linear & relocated io & disable a0000 */ in sisfb_post_sis300()
4429 SiS_SetReg(SISSR, 0x23, v1); in sisfb_post_sis300()
4430 SiS_SetReg(SISSR, 0x24, v2); in sisfb_post_sis300()
4431 SiS_SetReg(SISSR, 0x25, v3); in sisfb_post_sis300()
4432 SiS_SetReg(SISSR, 0x21, 0x84); in sisfb_post_sis300()
4433 SiS_SetReg(SISSR, 0x22, 0x00); in sisfb_post_sis300()
4434 SiS_SetReg(SISCR, 0x37, 0x00); in sisfb_post_sis300()
4436 SiS_SetReg(SISPART1, 0x00, 0x00); in sisfb_post_sis300()
4442 SiS_SetReg(SISPART1, 0x02, v1); in sisfb_post_sis300()
4449 SiS_SetReg(SISCR, 0x37, 0x02); in sisfb_post_sis300()
4450 SiS_SetReg(SISPART2, 0x00, 0x1c); in sisfb_post_sis300()
4457 SiS_SetReg(SISPART4, 0x0d, v4); in sisfb_post_sis300()
4458 SiS_SetReg(SISPART4, 0x0e, v5); in sisfb_post_sis300()
4459 SiS_SetReg(SISPART4, 0x10, v6); in sisfb_post_sis300()
4460 SiS_SetReg(SISPART4, 0x0f, 0x3f); in sisfb_post_sis300()
4466 SiS_SetReg(SISPART4, 0x23, reg); in sisfb_post_sis300()
4471 SiS_SetReg(SISSR, 0x32, v2); in sisfb_post_sis300()
4477 SiS_SetReg(SISCR, 0x35, reg); in sisfb_post_sis300()
4478 SiS_SetReg(SISCR, 0x83, 0x00); in sisfb_post_sis300()
4481 SiS_SetReg(SISSR, 0x13, 0x28); /* ? */ in sisfb_post_sis300()
4483 SiS_SetReg(SISSR, 0x14, reg); in sisfb_post_sis300()
4496 SiS_SetReg(SISSR, 0x13, 0x28); /* ? */ in sisfb_post_sis300()
4497 SiS_SetReg(SISSR, 0x14, 0x47); /* 8MB, 64bit default */ in sisfb_post_sis300()
4515 SiS_SetReg(SISSR, 0x21, v1); in sisfb_post_sis300()
4516 SiS_SetReg(SISSR, 0x22, v2); in sisfb_post_sis300()
4529 SiS_SetReg(SISSR, 0x05, 0x86); in sisfb_post_sis300()
4535 SiS_SetReg(SISCR, 0x34, 0x2e); in sisfb_post_sis300()
4659 SiS_SetReg(SISSR, 0x13, 0x35); in sisfb_post_xgi_ramsize()
4660 SiS_SetReg(SISSR, 0x14, 0x41); in sisfb_post_xgi_ramsize()
4666 SiS_SetReg(SISSR, 0x15, 0x00); in sisfb_post_xgi_ramsize()
4668 SiS_SetReg(SISSR, 0x1c, 0x00); in sisfb_post_xgi_ramsize()
4676 SiS_SetReg(SISSR, 0x13, 0xb1); in sisfb_post_xgi_ramsize()
4677 SiS_SetReg(SISSR, 0x14, 0x52); in sisfb_post_xgi_ramsize()
4683 SiS_SetReg(SISSR, 0x13, 0x31); in sisfb_post_xgi_ramsize()
4684 SiS_SetReg(SISSR, 0x14, 0x42); in sisfb_post_xgi_ramsize()
4690 SiS_SetReg(SISSR, 0x13, 0xb1); in sisfb_post_xgi_ramsize()
4691 SiS_SetReg(SISSR, 0x14, 0x41); in sisfb_post_xgi_ramsize()
4697 SiS_SetReg(SISSR, 0x13, 0x31); in sisfb_post_xgi_ramsize()
4700 SiS_SetReg(SISSR, 0x13, 0xb1); in sisfb_post_xgi_ramsize()
4701 SiS_SetReg(SISSR, 0x14, 0x41); in sisfb_post_xgi_ramsize()
4707 SiS_SetReg(SISSR, 0x13, 0x31); in sisfb_post_xgi_ramsize()
4708 SiS_SetReg(SISSR, 0x14, 0x31); in sisfb_post_xgi_ramsize()
4714 SiS_SetReg(SISSR, 0x13, 0xb1); in sisfb_post_xgi_ramsize()
4715 SiS_SetReg(SISSR, 0x14, 0x30); in sisfb_post_xgi_ramsize()
4721 SiS_SetReg(SISSR, 0x13, 0x31); in sisfb_post_xgi_ramsize()
4736 SiS_SetReg(SISSR, 0x13, 0xa1); in sisfb_post_xgi_ramsize()
4737 SiS_SetReg(SISSR, 0x14, 0x44); in sisfb_post_xgi_ramsize()
4743 SiS_SetReg(SISSR, 0x13, 0x21); in sisfb_post_xgi_ramsize()
4744 SiS_SetReg(SISSR, 0x14, 0x34); in sisfb_post_xgi_ramsize()
4749 SiS_SetReg(SISSR, 0x13, 0xa1); in sisfb_post_xgi_ramsize()
4750 SiS_SetReg(SISSR, 0x14, 0x40); in sisfb_post_xgi_ramsize()
4755 SiS_SetReg(SISSR, 0x13, 0x21); in sisfb_post_xgi_ramsize()
4756 SiS_SetReg(SISSR, 0x14, 0x30); in sisfb_post_xgi_ramsize()
4759 SiS_SetReg(SISSR, 0x13, 0xa1); in sisfb_post_xgi_ramsize()
4760 SiS_SetReg(SISSR, 0x14, 0x4c); in sisfb_post_xgi_ramsize()
4767 SiS_SetReg(SISSR, 0x14, 0x48); in sisfb_post_xgi_ramsize()
4773 SiS_SetReg(SISSR, 0x13, 0x21); in sisfb_post_xgi_ramsize()
4774 SiS_SetReg(SISSR, 0x14, 0x3c); in sisfb_post_xgi_ramsize()
4781 SiS_SetReg(SISSR, 0x14, 0x38); in sisfb_post_xgi_ramsize()
4792 SiS_SetReg(SISSR, 0x13, 0xa1); in sisfb_post_xgi_ramsize()
4793 SiS_SetReg(SISSR, 0x14, 0x52); in sisfb_post_xgi_ramsize()
4799 SiS_SetReg(SISSR, 0x13, 0x21); in sisfb_post_xgi_ramsize()
4800 SiS_SetReg(SISSR, 0x14, 0x42); in sisfb_post_xgi_ramsize()
4803 SiS_SetReg(SISSR, 0x13, 0xa1); in sisfb_post_xgi_ramsize()
4804 SiS_SetReg(SISSR, 0x14, 0x5a); in sisfb_post_xgi_ramsize()
4810 SiS_SetReg(SISSR, 0x13, 0x21); in sisfb_post_xgi_ramsize()
4811 SiS_SetReg(SISSR, 0x14, 0x4a); in sisfb_post_xgi_ramsize()
4903 SiS_SetReg(SISSR, 0x28, v1); in sisfb_post_xgi_setclocks()
4904 SiS_SetReg(SISSR, 0x29, v2); in sisfb_post_xgi_setclocks()
4905 SiS_SetReg(SISSR, 0x2a, v3); in sisfb_post_xgi_setclocks()
4916 SiS_SetReg(SISSR, 0x2e, v1); in sisfb_post_xgi_setclocks()
4917 SiS_SetReg(SISSR, 0x2f, v2); in sisfb_post_xgi_setclocks()
4918 SiS_SetReg(SISSR, 0x30, v3); in sisfb_post_xgi_setclocks()
4930 SiS_SetReg(SISSR, 0x28, 0x64); in sisfb_post_xgi_ddr2_mrs_default()
4931 SiS_SetReg(SISSR, 0x29, 0x63); in sisfb_post_xgi_ddr2_mrs_default()
4933 SiS_SetReg(SISSR, 0x18, 0x00); in sisfb_post_xgi_ddr2_mrs_default()
4934 SiS_SetReg(SISSR, 0x19, 0x20); in sisfb_post_xgi_ddr2_mrs_default()
4935 SiS_SetReg(SISSR, 0x16, 0x00); in sisfb_post_xgi_ddr2_mrs_default()
4936 SiS_SetReg(SISSR, 0x16, 0x80); in sisfb_post_xgi_ddr2_mrs_default()
4937 SiS_SetReg(SISSR, 0x18, 0xc5); in sisfb_post_xgi_ddr2_mrs_default()
4938 SiS_SetReg(SISSR, 0x19, 0x23); in sisfb_post_xgi_ddr2_mrs_default()
4939 SiS_SetReg(SISSR, 0x16, 0x00); in sisfb_post_xgi_ddr2_mrs_default()
4940 SiS_SetReg(SISSR, 0x16, 0x80); in sisfb_post_xgi_ddr2_mrs_default()
4942 SiS_SetReg(SISCR, 0x97, 0x11); in sisfb_post_xgi_ddr2_mrs_default()
4945 SiS_SetReg(SISSR, 0x18, 0xc5); in sisfb_post_xgi_ddr2_mrs_default()
4946 SiS_SetReg(SISSR, 0x19, 0x23); in sisfb_post_xgi_ddr2_mrs_default()
4947 SiS_SetReg(SISSR, 0x16, 0x00); in sisfb_post_xgi_ddr2_mrs_default()
4948 SiS_SetReg(SISSR, 0x16, 0x80); in sisfb_post_xgi_ddr2_mrs_default()
4950 SiS_SetReg(SISSR, 0x1b, 0x04); in sisfb_post_xgi_ddr2_mrs_default()
4952 SiS_SetReg(SISSR, 0x1b, 0x00); in sisfb_post_xgi_ddr2_mrs_default()
4958 SiS_SetReg(SISSR, 0x18, v1); in sisfb_post_xgi_ddr2_mrs_default()
4959 SiS_SetReg(SISSR, 0x19, 0x06); in sisfb_post_xgi_ddr2_mrs_default()
4960 SiS_SetReg(SISSR, 0x16, 0x04); in sisfb_post_xgi_ddr2_mrs_default()
4961 SiS_SetReg(SISSR, 0x16, 0x84); in sisfb_post_xgi_ddr2_mrs_default()
4969 SiS_SetReg(SISCR, 0x97, 0x11); in sisfb_post_xgi_ddr2_mrs_xg21()
4972 SiS_SetReg(SISSR, 0x18, 0x00); /* EMRS2 */ in sisfb_post_xgi_ddr2_mrs_xg21()
4973 SiS_SetReg(SISSR, 0x19, 0x80); in sisfb_post_xgi_ddr2_mrs_xg21()
4974 SiS_SetReg(SISSR, 0x16, 0x05); in sisfb_post_xgi_ddr2_mrs_xg21()
4975 SiS_SetReg(SISSR, 0x16, 0x85); in sisfb_post_xgi_ddr2_mrs_xg21()
4977 SiS_SetReg(SISSR, 0x18, 0x00); /* EMRS3 */ in sisfb_post_xgi_ddr2_mrs_xg21()
4978 SiS_SetReg(SISSR, 0x19, 0xc0); in sisfb_post_xgi_ddr2_mrs_xg21()
4979 SiS_SetReg(SISSR, 0x16, 0x05); in sisfb_post_xgi_ddr2_mrs_xg21()
4980 SiS_SetReg(SISSR, 0x16, 0x85); in sisfb_post_xgi_ddr2_mrs_xg21()
4982 SiS_SetReg(SISSR, 0x18, 0x00); /* EMRS1 */ in sisfb_post_xgi_ddr2_mrs_xg21()
4983 SiS_SetReg(SISSR, 0x19, 0x40); in sisfb_post_xgi_ddr2_mrs_xg21()
4984 SiS_SetReg(SISSR, 0x16, 0x05); in sisfb_post_xgi_ddr2_mrs_xg21()
4985 SiS_SetReg(SISSR, 0x16, 0x85); in sisfb_post_xgi_ddr2_mrs_xg21()
4987 SiS_SetReg(SISSR, 0x18, 0x42); /* MRS1 */ in sisfb_post_xgi_ddr2_mrs_xg21()
4988 SiS_SetReg(SISSR, 0x19, 0x02); in sisfb_post_xgi_ddr2_mrs_xg21()
4989 SiS_SetReg(SISSR, 0x16, 0x05); in sisfb_post_xgi_ddr2_mrs_xg21()
4990 SiS_SetReg(SISSR, 0x16, 0x85); in sisfb_post_xgi_ddr2_mrs_xg21()
4993 SiS_SetReg(SISSR, 0x1b, 0x04); in sisfb_post_xgi_ddr2_mrs_xg21()
4996 SiS_SetReg(SISSR, 0x1b, 0x00); in sisfb_post_xgi_ddr2_mrs_xg21()
4999 SiS_SetReg(SISSR, 0x18, 0x42); /* MRS1 */ in sisfb_post_xgi_ddr2_mrs_xg21()
5000 SiS_SetReg(SISSR, 0x19, 0x00); in sisfb_post_xgi_ddr2_mrs_xg21()
5001 SiS_SetReg(SISSR, 0x16, 0x05); in sisfb_post_xgi_ddr2_mrs_xg21()
5002 SiS_SetReg(SISSR, 0x16, 0x85); in sisfb_post_xgi_ddr2_mrs_xg21()
5022 SiS_SetReg(SISCR, 0xb0, 0x80); /* DDR2 dual frequency mode */ in sisfb_post_xgi_ddr2()
5023 SiS_SetReg(SISCR, 0x82, 0x77); in sisfb_post_xgi_ddr2()
5024 SiS_SetReg(SISCR, 0x86, 0x00); in sisfb_post_xgi_ddr2()
5026 SiS_SetReg(SISCR, 0x86, 0x88); in sisfb_post_xgi_ddr2()
5034 SiS_SetReg(SISCR, 0x86, v1); in sisfb_post_xgi_ddr2()
5035 SiS_SetReg(SISCR, 0x82, 0x77); in sisfb_post_xgi_ddr2()
5036 SiS_SetReg(SISCR, 0x85, 0x00); in sisfb_post_xgi_ddr2()
5038 SiS_SetReg(SISCR, 0x85, 0x88); in sisfb_post_xgi_ddr2()
5040 SiS_SetReg(SISCR, 0x85, v2); in sisfb_post_xgi_ddr2()
5041 SiS_SetReg(SISCR, 0x82, v3); in sisfb_post_xgi_ddr2()
5042 SiS_SetReg(SISCR, 0x98, 0x01); in sisfb_post_xgi_ddr2()
5043 SiS_SetReg(SISCR, 0x9a, 0x02); in sisfb_post_xgi_ddr2()
5070 SiS_SetReg(SISCR, 0x97, v1); in sisfb_post_xgi_ramtype()
5163 SiS_SetReg(SISSR, 0x05, 0x86); in sisfb_post_xgi()
5171 SiS_SetReg(SISSR, 0x06 + i, 0x00); in sisfb_post_xgi()
5174 SiS_SetReg(SISSR, 0x31 + i, 0x00); in sisfb_post_xgi()
5177 SiS_SetReg(SISCR, 0x30 + i, 0x00); in sisfb_post_xgi()
5185 SiS_SetReg(SISSR, 0x23 + i, ptr[i]); in sisfb_post_xgi()
5193 SiS_SetReg(SISSR, 0x21 + i, ptr[i]); in sisfb_post_xgi()
5201 SiS_SetReg(SISSR, 0x07, v1); in sisfb_post_xgi()
5202 SiS_SetReg(SISSR, 0x11, 0x0f); in sisfb_post_xgi()
5203 SiS_SetReg(SISSR, 0x1f, v2); in sisfb_post_xgi()
5205 SiS_SetReg(SISSR, 0x20, 0x80 | 0x20 | 0x04); in sisfb_post_xgi()
5206 SiS_SetReg(SISSR, 0x27, 0x74); in sisfb_post_xgi()
5213 SiS_SetReg(SISSR, 0x31 + i, ptr[i]); in sisfb_post_xgi()
5220 SiS_SetReg(SISCR, 0x7d, 0xfe); in sisfb_post_xgi()
5221 SiS_SetReg(SISCR, 0x7e, 0x0f); in sisfb_post_xgi()
5235 SiS_SetReg(SISSR, 0x36, 0x70); in sisfb_post_xgi()
5237 SiS_SetReg(SISVID, 0x00, 0x86); in sisfb_post_xgi()
5238 SiS_SetReg(SISVID, 0x32, 0x00); in sisfb_post_xgi()
5239 SiS_SetReg(SISVID, 0x30, 0x00); in sisfb_post_xgi()
5240 SiS_SetReg(SISVID, 0x32, 0x01); in sisfb_post_xgi()
5241 SiS_SetReg(SISVID, 0x30, 0x00); in sisfb_post_xgi()
5245 SiS_SetReg(SISPART1, 0x2f, 0x01); in sisfb_post_xgi()
5246 SiS_SetReg(SISPART1, 0x00, 0x00); in sisfb_post_xgi()
5247 SiS_SetReg(SISPART1, 0x02, bios[0x7e]); in sisfb_post_xgi()
5248 SiS_SetReg(SISPART1, 0x2e, 0x08); in sisfb_post_xgi()
5254 SiS_SetReg(SISPART2, 0x00, 0x1c); in sisfb_post_xgi()
5255 SiS_SetReg(SISPART4, 0x0d, bios[0x7f]); in sisfb_post_xgi()
5256 SiS_SetReg(SISPART4, 0x0e, bios[0x80]); in sisfb_post_xgi()
5257 SiS_SetReg(SISPART4, 0x10, bios[0x81]); in sisfb_post_xgi()
5264 SiS_SetReg(SISPART4, 0x23, reg); in sisfb_post_xgi()
5312 SiS_SetReg(SISSR, 0x22, v1); in sisfb_post_xgi()
5336 SiS_SetReg(SISSR, 0x27, v1); in sisfb_post_xgi()
5349 SiS_SetReg(SISCR, 0x48, v1); in sisfb_post_xgi()
5356 SiS_SetReg(SISCR, 0x70, bios[0x4fc]); in sisfb_post_xgi()
5358 SiS_SetReg(SISCR, 0x74, 0xd0); in sisfb_post_xgi()
5367 SiS_SetReg(SISCR, 0x77, v1); in sisfb_post_xgi()
5392 SiS_SetReg(SISCR, 0x6d, v1); in sisfb_post_xgi()
5399 SiS_SetReg(SISCR, 0x68 + i, ptr[j + regb]); in sisfb_post_xgi()
5423 SiS_SetReg(SISCR, rega, reg); in sisfb_post_xgi()
5452 SiS_SetReg(SISCR, 0x6f, reg); in sisfb_post_xgi()
5465 SiS_SetReg(SISCR, 0x80 + i, ptr[j + regb]); in sisfb_post_xgi()
5482 SiS_SetReg(SISCR, 0x89, reg); in sisfb_post_xgi()
5495 SiS_SetReg(SISCR, 0x45, v1 & 0x0f); in sisfb_post_xgi()
5496 SiS_SetReg(SISCR, 0x99, (v1 >> 4) & 0x07); in sisfb_post_xgi()
5498 SiS_SetReg(SISCR, 0x41, v2); in sisfb_post_xgi()
5505 SiS_SetReg(SISCR, 0x90 + i, ptr[j + regb]); in sisfb_post_xgi()
5508 SiS_SetReg(SISCR, 0x59, v3); in sisfb_post_xgi()
5515 SiS_SetReg(SISCR, 0xc3 + i, ptr[j + regb]); in sisfb_post_xgi()
5523 SiS_SetReg(SISCR, 0x8a + i, ptr[j + regb]); in sisfb_post_xgi()
5526 SiS_SetReg(SISCR, 0xcf, v4); in sisfb_post_xgi()
5528 SiS_SetReg(SISCR, 0x83, 0x09); in sisfb_post_xgi()
5529 SiS_SetReg(SISCR, 0x87, 0x00); in sisfb_post_xgi()
5534 SiS_SetReg(SISCR, 0x8c, 0x87); in sisfb_post_xgi()
5539 SiS_SetReg(SISSR, 0x17, 0x80); /* DDR2 */ in sisfb_post_xgi()
5541 SiS_SetReg(SISSR, 0x17, 0x00); /* DDR1 */ in sisfb_post_xgi()
5542 SiS_SetReg(SISSR, 0x1a, 0x87); in sisfb_post_xgi()
5545 SiS_SetReg(SISSR, 0x15, 0x00); in sisfb_post_xgi()
5546 SiS_SetReg(SISSR, 0x1c, 0x00); in sisfb_post_xgi()
5561 SiS_SetReg(SISCR, 0x82, v1); in sisfb_post_xgi()
5562 SiS_SetReg(SISCR, 0x85, v2); in sisfb_post_xgi()
5563 SiS_SetReg(SISCR, 0x86, v3); in sisfb_post_xgi()
5565 SiS_SetReg(SISCR, 0x82, 0x88); in sisfb_post_xgi()
5566 SiS_SetReg(SISCR, 0x86, 0x00); in sisfb_post_xgi()
5568 SiS_SetReg(SISCR, 0x86, 0x88); in sisfb_post_xgi()
5570 SiS_SetReg(SISCR, 0x86, bios[regb + 0x168]); in sisfb_post_xgi()
5571 SiS_SetReg(SISCR, 0x82, 0x77); in sisfb_post_xgi()
5572 SiS_SetReg(SISCR, 0x85, 0x00); in sisfb_post_xgi()
5574 SiS_SetReg(SISCR, 0x85, 0x88); in sisfb_post_xgi()
5576 SiS_SetReg(SISCR, 0x85, bios[regb + 0x160]); in sisfb_post_xgi()
5577 SiS_SetReg(SISCR, 0x82, bios[regb + 0x158]); in sisfb_post_xgi()
5580 SiS_SetReg(SISCR, 0x97, 0x00); in sisfb_post_xgi()
5582 SiS_SetReg(SISCR, 0x98, 0x01); in sisfb_post_xgi()
5583 SiS_SetReg(SISCR, 0x9a, 0x02); in sisfb_post_xgi()
5585 SiS_SetReg(SISSR, 0x18, 0x01); in sisfb_post_xgi()
5588 SiS_SetReg(SISSR, 0x19, 0x40); in sisfb_post_xgi()
5590 SiS_SetReg(SISSR, 0x19, 0x20); in sisfb_post_xgi()
5592 SiS_SetReg(SISSR, 0x16, 0x00); in sisfb_post_xgi()
5593 SiS_SetReg(SISSR, 0x16, 0x80); in sisfb_post_xgi()
5598 SiS_SetReg(SISSR, 0x18, 0x00); in sisfb_post_xgi()
5601 SiS_SetReg(SISSR, 0x19, 0x40); in sisfb_post_xgi()
5603 SiS_SetReg(SISSR, 0x19, 0x20); in sisfb_post_xgi()
5608 SiS_SetReg(SISSR, 0x16, 0x00); in sisfb_post_xgi()
5609 SiS_SetReg(SISSR, 0x16, 0x80); in sisfb_post_xgi()
5620 SiS_SetReg(SISSR, 0x18, v1); in sisfb_post_xgi()
5621 SiS_SetReg(SISSR, 0x19, ((ivideo->chip == XGI_20) ? 0x02 : 0x01)); in sisfb_post_xgi()
5622 SiS_SetReg(SISSR, 0x16, v2); in sisfb_post_xgi()
5623 SiS_SetReg(SISSR, 0x16, v3); in sisfb_post_xgi()
5625 SiS_SetReg(SISSR, 0x1b, 0x03); in sisfb_post_xgi()
5627 SiS_SetReg(SISSR, 0x18, v1); in sisfb_post_xgi()
5628 SiS_SetReg(SISSR, 0x19, 0x00); in sisfb_post_xgi()
5629 SiS_SetReg(SISSR, 0x16, v4); in sisfb_post_xgi()
5630 SiS_SetReg(SISSR, 0x16, v5); in sisfb_post_xgi()
5631 SiS_SetReg(SISSR, 0x1b, 0x00); in sisfb_post_xgi()
5641 SiS_SetReg(SISCR, 0x82, bios[regb + 0x158]); in sisfb_post_xgi()
5642 SiS_SetReg(SISCR, 0x85, bios[regb + 0x160]); in sisfb_post_xgi()
5643 SiS_SetReg(SISCR, 0x86, bios[regb + 0x168]); in sisfb_post_xgi()
5645 SiS_SetReg(SISCR, 0x82, 0x88); in sisfb_post_xgi()
5646 SiS_SetReg(SISCR, 0x86, 0x00); in sisfb_post_xgi()
5648 SiS_SetReg(SISCR, 0x86, 0x88); in sisfb_post_xgi()
5649 SiS_SetReg(SISCR, 0x82, 0x77); in sisfb_post_xgi()
5650 SiS_SetReg(SISCR, 0x85, 0x00); in sisfb_post_xgi()
5652 SiS_SetReg(SISCR, 0x85, 0x88); in sisfb_post_xgi()
5659 SiS_SetReg(SISCR, 0x85, v1); in sisfb_post_xgi()
5660 SiS_SetReg(SISCR, 0x82, v2); in sisfb_post_xgi()
5663 SiS_SetReg(SISCR, 0x97, 0x11); in sisfb_post_xgi()
5666 SiS_SetReg(SISCR, 0x98, 0x01); in sisfb_post_xgi()
5668 SiS_SetReg(SISCR, 0x98, 0x03); in sisfb_post_xgi()
5670 SiS_SetReg(SISCR, 0x9a, 0x02); in sisfb_post_xgi()
5673 SiS_SetReg(SISSR, 0x18, 0x01); in sisfb_post_xgi()
5675 SiS_SetReg(SISSR, 0x18, 0x00); in sisfb_post_xgi()
5677 SiS_SetReg(SISSR, 0x19, 0x40); in sisfb_post_xgi()
5678 SiS_SetReg(SISSR, 0x16, 0x00); in sisfb_post_xgi()
5679 SiS_SetReg(SISSR, 0x16, 0x80); in sisfb_post_xgi()
5684 SiS_SetReg(SISSR, 0x18, 0x00); in sisfb_post_xgi()
5685 SiS_SetReg(SISSR, 0x19, 0x40); in sisfb_post_xgi()
5686 SiS_SetReg(SISSR, 0x16, 0x00); in sisfb_post_xgi()
5687 SiS_SetReg(SISSR, 0x16, 0x80); in sisfb_post_xgi()
5694 SiS_SetReg(SISSR, 0x18, v1); in sisfb_post_xgi()
5695 SiS_SetReg(SISSR, 0x19, 0x01); in sisfb_post_xgi()
5697 SiS_SetReg(SISSR, 0x16, bios[0x53e]); in sisfb_post_xgi()
5698 SiS_SetReg(SISSR, 0x16, bios[0x53f]); in sisfb_post_xgi()
5700 SiS_SetReg(SISSR, 0x16, 0x05); in sisfb_post_xgi()
5701 SiS_SetReg(SISSR, 0x16, 0x85); in sisfb_post_xgi()
5705 SiS_SetReg(SISSR, 0x1b, 0x01); in sisfb_post_xgi()
5707 SiS_SetReg(SISSR, 0x1b, 0x03); in sisfb_post_xgi()
5710 SiS_SetReg(SISSR, 0x18, v1); in sisfb_post_xgi()
5711 SiS_SetReg(SISSR, 0x19, 0x00); in sisfb_post_xgi()
5713 SiS_SetReg(SISSR, 0x16, bios[0x540]); in sisfb_post_xgi()
5714 SiS_SetReg(SISSR, 0x16, bios[0x541]); in sisfb_post_xgi()
5716 SiS_SetReg(SISSR, 0x16, 0x05); in sisfb_post_xgi()
5717 SiS_SetReg(SISSR, 0x16, 0x85); in sisfb_post_xgi()
5719 SiS_SetReg(SISSR, 0x1b, 0x00); in sisfb_post_xgi()
5727 SiS_SetReg(SISSR, 0x1b, v1); in sisfb_post_xgi()
5739 SiS_SetReg(SISSR, 0x13, bios[regb + 0xe0]); in sisfb_post_xgi()
5740 SiS_SetReg(SISSR, 0x14, bios[regb + 0xe0 + 8]); in sisfb_post_xgi()
5753 SiS_SetReg(SISSR, 0x05, 0x86); in sisfb_post_xgi()
5801 SiS_SetReg(SISSR, 0x05, 0x86); in sisfb_post_xgi()
5807 SiS_SetReg(SISCR, 0x34, 0x2e); in sisfb_post_xgi()
6054 SiS_SetReg(SISSR, 0x05, 0x86); in sisfb_probe()
6062 SiS_SetReg(SISCR, i, 0x00); in sisfb_probe()