Lines Matching refs:SISCR

753 	temp = SiS_GetReg(SISCR, 0x17);  in sisfballowretracecrt1()
858 reg1 = SiS_GetReg(SISCR, 0x20); in sisfb_setupvbblankflags()
859 reg1 = SiS_GetReg(SISCR, 0x1b); in sisfb_setupvbblankflags()
860 reg2 = SiS_GetReg(SISCR, 0x1c); in sisfb_setupvbblankflags()
861 reg3 = SiS_GetReg(SISCR, 0x1d); in sisfb_setupvbblankflags()
932 SiS_SetRegANDOR(SISCR, ivideo->SiS_Pr.SiS_MyCR63, 0xbf, cr63); in sisfb_myblank()
1116 SiS_SetReg(SISCR, 0x13, (HDisplay1 & 0xFF)); in sisfb_set_pitch()
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()
1995 reg = SiS_GetReg(SISCR, 0x79); in sisfb_get_dram_size()
2001 reg = SiS_GetReg(SISCR, 0x79); in sisfb_get_dram_size()
2007 reg = SiS_GetReg(SISCR, 0x78); in sisfb_get_dram_size()
2068 cr32 = SiS_GetReg(SISCR, 0x32); in sisfb_detect_VB_connect()
2152 temp = SiS_GetReg(SISCR, 0x79); in sisfb_detect_VB_connect()
2198 cr63 = SiS_GetReg(SISCR, ivideo->SiS_Pr.SiS_MyCR63); in sisfb_sense_crt1()
2200 SiS_SetRegAND(SISCR, ivideo->SiS_Pr.SiS_MyCR63, 0xBF); in sisfb_sense_crt1()
2204 cr17 = SiS_GetReg(SISCR, 0x17); in sisfb_sense_crt1()
2208 SiS_SetRegOR(SISCR, 0x17, 0x80); in sisfb_sense_crt1()
2220 SiS_SetRegAND(SISCR, 0x32, ~0x20); in sisfb_sense_crt1()
2222 SiS_SetReg(SISCR, 0x57, 0x4a); in sisfb_sense_crt1()
2224 SiS_SetReg(SISCR, 0x57, 0x5f); in sisfb_sense_crt1()
2226 SiS_SetRegOR(SISCR, 0x53, 0x02); in sisfb_sense_crt1()
2234 SiS_SetRegAND(SISCR, 0x53, 0xfd); in sisfb_sense_crt1()
2235 SiS_SetRegAND(SISCR, 0x57, 0x00); in sisfb_sense_crt1()
2254 SiS_SetRegOR(SISCR, 0x32, 0x20); in sisfb_sense_crt1()
2258 SiS_SetRegANDOR(SISCR, ivideo->SiS_Pr.SiS_MyCR63, 0xBF, cr63); in sisfb_sense_crt1()
2261 SiS_SetRegANDOR(SISCR, 0x17, 0x7F, cr17); in sisfb_sense_crt1()
2282 reg = SiS_GetReg(SISCR, 0x32); in SiS_SenseLCD()
2345 SiS_SetReg(SISCR, 0x36, paneltype); in SiS_SenseLCD()
2347 SiS_SetRegANDOR(SISCR, 0x37, 0x0c, cr37); in SiS_SenseLCD()
2348 SiS_SetRegOR(SISCR, 0x32, 0x08); in SiS_SenseLCD()
2458 SiS_SetRegAND(SISCR, 0x32, ~0x14); in SiS_Sense30x()
2464 SiS_SetRegOR(SISCR, 0x32, 0x04); in SiS_Sense30x()
2467 SiS_SetRegOR(SISCR, 0x32, 0x10); in SiS_Sense30x()
2472 SiS_SetRegAND(SISCR, 0x32, 0x3f); in SiS_Sense30x()
2484 SiS_SetRegOR(SISCR, 0x32, 0x80); in SiS_Sense30x()
2490 SiS_SetRegAND(SISCR, 0x32, ~0x03); in SiS_Sense30x()
2495 SiS_SetRegOR(SISCR, 0x32, 0x02); in SiS_Sense30x()
2500 SiS_SetRegOR(SISCR, 0x32, 0x01); in SiS_Sense30x()
2584 SiS_SetRegOR(SISCR, 0x32, 0x02); in SiS_SenseCh()
2585 SiS_SetRegAND(SISCR, 0x32, ~0x05); in SiS_SenseCh()
2589 SiS_SetRegOR(SISCR, 0x32, 0x01); in SiS_SenseCh()
2590 SiS_SetRegAND(SISCR, 0x32, ~0x06); in SiS_SenseCh()
2593 SiS_SetRegAND(SISCR, 0x32, ~0x07); in SiS_SenseCh()
2597 SiS_SetRegAND(SISCR, 0x32, ~0x07); in SiS_SenseCh()
2628 SiS_SetRegOR(SISCR, 0x32, 0x01); in SiS_SenseCh()
2629 SiS_SetRegAND(SISCR, 0x32, ~0x06); in SiS_SenseCh()
2634 SiS_SetRegOR(SISCR, 0x32, 0x02); in SiS_SenseCh()
2635 SiS_SetRegAND(SISCR, 0x32, ~0x05); in SiS_SenseCh()
2639 SiS_SetRegOR(SISCR, 0x32, 0x04); in SiS_SenseCh()
2640 SiS_SetRegAND(SISCR, 0x32, ~0x03); in SiS_SenseCh()
2643 SiS_SetRegAND(SISCR, 0x32, ~0x07); in SiS_SenseCh()
2713 reg = SiS_GetReg(SISCR, 0x37); in sisfb_get_VB_type()
2754 reg = SiS_GetReg(SISCR, 0x38); in sisfb_get_VB_type()
2916 reg = SiS_GetReg(SISCR, 0x36); in sisfb_detect_lcd_type()
2935 SiS_SetRegANDOR(SISCR, 0x36, 0xf0, 0x02); in sisfb_detect_lcd_type()
2936 SiS_SetRegANDOR(SISCR, 0x37, 0xee, 0x01); in sisfb_detect_lcd_type()
2973 tmp = SiS_GetReg(SISCR, 0x30); in sisfb_save_pdc_emi()
3010 tmp = SiS_GetReg(SISCR, 0x30); in sisfb_save_pdc_emi()
3516 cr31 = SiS_GetReg(SISCR, 0x31); in sisfb_pre_setmode()
3525 cr38 = SiS_GetReg(SISCR, 0x38); in sisfb_pre_setmode()
3529 cr38 = SiS_GetReg(SISCR, tvregnum); in sisfb_pre_setmode()
3537 cr38 = SiS_GetReg(SISCR, tvregnum); in sisfb_pre_setmode()
3644 SiS_SetReg(SISCR, 0x30, cr30); in sisfb_pre_setmode()
3645 SiS_SetReg(SISCR, 0x33, cr33); in sisfb_pre_setmode()
3650 SiS_SetRegANDOR(SISCR, 0x35, ~0x10, cr35); /* Leave overscan bit alone */ in sisfb_pre_setmode()
3652 SiS_SetRegANDOR(SISCR, 0x38, 0xf8, cr38); in sisfb_pre_setmode()
3655 SiS_SetReg(SISCR, tvregnum, cr38); in sisfb_pre_setmode()
3657 SiS_SetReg(SISCR, 0x31, cr31); in sisfb_pre_setmode()
3830 SiS_SetRegANDOR(SISCR, 0x17, 0x7f, reg); in sisfb_post_setmode()
3844 SiS_SetRegANDOR(SISCR, ivideo->SiS_Pr.SiS_MyCR63, ~0x40, reg); in sisfb_post_setmode()
4434 SiS_SetReg(SISCR, 0x37, 0x00); in sisfb_post_sis300()
4449 SiS_SetReg(SISCR, 0x37, 0x02); in sisfb_post_sis300()
4477 SiS_SetReg(SISCR, 0x35, reg); in sisfb_post_sis300()
4478 SiS_SetReg(SISCR, 0x83, 0x00); in sisfb_post_sis300()
4535 SiS_SetReg(SISCR, 0x34, 0x2e); in sisfb_post_sis300()
4673 reg = SiS_GetReg(SISCR, 0x97); in sisfb_post_xgi_ramsize()
4726 reg = SiS_GetReg(SISCR, 0x97); in sisfb_post_xgi_ramsize()
4942 SiS_SetReg(SISCR, 0x97, 0x11); in sisfb_post_xgi_ddr2_mrs_default()
4969 SiS_SetReg(SISCR, 0x97, 0x11); 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()
5025 SiS_GetReg(SISCR, 0x86); in sisfb_post_xgi_ddr2()
5026 SiS_SetReg(SISCR, 0x86, 0x88); in sisfb_post_xgi_ddr2()
5027 SiS_GetReg(SISCR, 0x86); 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()
5037 SiS_GetReg(SISCR, 0x85); in sisfb_post_xgi_ddr2()
5038 SiS_SetReg(SISCR, 0x85, 0x88); in sisfb_post_xgi_ddr2()
5039 SiS_GetReg(SISCR, 0x85); 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()
5064 SiS_SetRegAND(SISCR, 0xb4, 0xfd); /* GPIO control */ in sisfb_post_xgi_ramtype()
5065 SiS_SetRegOR(SISCR, 0x4a, 0x80); /* GPIOH EN */ in sisfb_post_xgi_ramtype()
5066 reg = SiS_GetReg(SISCR, 0x48); in sisfb_post_xgi_ramtype()
5067 SiS_SetRegOR(SISCR, 0xb4, 0x02); in sisfb_post_xgi_ramtype()
5070 SiS_SetReg(SISCR, 0x97, v1); in sisfb_post_xgi_ramtype()
5071 reg = SiS_GetReg(SISCR, 0x97); in sisfb_post_xgi_ramtype()
5177 SiS_SetReg(SISCR, 0x30 + i, 0x00); in sisfb_post_xgi()
5220 SiS_SetReg(SISCR, 0x7d, 0xfe); in sisfb_post_xgi()
5221 SiS_SetReg(SISCR, 0x7e, 0x0f); in sisfb_post_xgi()
5224 SiS_SetRegAND(SISCR, 0x58, 0xd7); in sisfb_post_xgi()
5225 reg = SiS_GetReg(SISCR, 0xcb); in sisfb_post_xgi()
5227 SiS_SetRegANDOR(SISCR, 0x58, 0xd7, (reg & 0x10) ? 0x08 : 0x20); /* =0x28 Z7 ? */ in sisfb_post_xgi()
5232 SiS_SetRegANDOR(SISCR, 0x38, 0x1f, reg); in sisfb_post_xgi()
5310 SiS_SetRegANDOR(SISCR, 0x5f, 0xf0, v2); in sisfb_post_xgi()
5319 SiS_SetRegANDOR(SISCR, 0x5f, 0xf1, 0x01); in sisfb_post_xgi()
5326 SiS_SetRegANDOR(SISCR, 0x5f, 0xf1, 0x01); in sisfb_post_xgi()
5333 v2 = SiS_GetReg(SISCR, 0x5f); in sisfb_post_xgi()
5339 SiS_SetRegANDOR(SISCR, 0x5f, 0xf0, bios[0x64]); in sisfb_post_xgi()
5347 SiS_SetRegOR(SISCR, 0x5f, 0x08); in sisfb_post_xgi()
5349 SiS_SetReg(SISCR, 0x48, v1); in sisfb_post_xgi()
5351 SiS_SetRegANDOR(SISCR, 0x47, 0x04, bios[0x4f6] & 0xfb); in sisfb_post_xgi()
5352 SiS_SetRegANDOR(SISCR, 0x49, 0xf0, bios[0x4f8] & 0x0f); in sisfb_post_xgi()
5353 SiS_SetRegANDOR(SISCR, 0x4a, 0x60, bios[0x4f9] & 0x9f); in sisfb_post_xgi()
5354 SiS_SetRegANDOR(SISCR, 0x4b, 0x08, bios[0x4fa] & 0xf7); in sisfb_post_xgi()
5355 SiS_SetRegANDOR(SISCR, 0x4c, 0x80, bios[0x4fb] & 0x7f); in sisfb_post_xgi()
5356 SiS_SetReg(SISCR, 0x70, bios[0x4fc]); in sisfb_post_xgi()
5357 SiS_SetRegANDOR(SISCR, 0x71, 0xf0, bios[0x4fd] & 0x0f); in sisfb_post_xgi()
5358 SiS_SetReg(SISCR, 0x74, 0xd0); in sisfb_post_xgi()
5359 SiS_SetRegANDOR(SISCR, 0x74, 0xcf, bios[0x4fe] & 0x30); in sisfb_post_xgi()
5360 SiS_SetRegANDOR(SISCR, 0x75, 0xe0, bios[0x4ff] & 0x1f); in sisfb_post_xgi()
5361 SiS_SetRegANDOR(SISCR, 0x76, 0xe0, bios[0x500] & 0x1f); 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()
5424 reg = SiS_GetReg(SISCR, rega); in sisfb_post_xgi()
5425 reg = SiS_GetReg(SISCR, rega); in sisfb_post_xgi()
5430 SiS_SetRegAND(SISCR, 0x6e, 0xfc); in sisfb_post_xgi()
5438 SiS_SetRegANDOR(SISCR, 0x6e, 0xfc, i); in sisfb_post_xgi()
5452 SiS_SetReg(SISCR, 0x6f, reg); in sisfb_post_xgi()
5453 reg = SiS_GetReg(SISCR, 0x6f); in sisfb_post_xgi()
5454 reg = SiS_GetReg(SISCR, 0x6f); in sisfb_post_xgi()
5465 SiS_SetReg(SISCR, 0x80 + i, ptr[j + regb]); in sisfb_post_xgi()
5468 SiS_SetRegAND(SISCR, 0x89, 0x8f); in sisfb_post_xgi()
5482 SiS_SetReg(SISCR, 0x89, reg); in sisfb_post_xgi()
5483 reg = SiS_GetReg(SISCR, 0x89); in sisfb_post_xgi()
5484 reg = SiS_GetReg(SISCR, 0x89); 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()
5497 SiS_SetRegOR(SISCR, 0x40, v1 & 0x80); 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()
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()
5567 reg = SiS_GetReg(SISCR, 0x86); in sisfb_post_xgi()
5568 SiS_SetReg(SISCR, 0x86, 0x88); in sisfb_post_xgi()
5569 reg = SiS_GetReg(SISCR, 0x86); 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()
5573 reg = SiS_GetReg(SISCR, 0x85); in sisfb_post_xgi()
5574 SiS_SetReg(SISCR, 0x85, 0x88); in sisfb_post_xgi()
5575 reg = SiS_GetReg(SISCR, 0x85); 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()
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()
5647 reg = SiS_GetReg(SISCR, 0x86); 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()
5651 reg = SiS_GetReg(SISCR, 0x85); in sisfb_post_xgi()
5652 SiS_SetReg(SISCR, 0x85, 0x88); in sisfb_post_xgi()
5653 reg = SiS_GetReg(SISCR, 0x85); 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()
5772 reg = SiS_GetReg(SISCR, i); in sisfb_post_xgi()
5773 printk(KERN_DEBUG "CR%02x(%x) = 0x%02x\n", i, SISCR, reg); in sisfb_post_xgi()
5784 SiS_SetRegOR(SISCR, 0x32, 0x20); in sisfb_post_xgi()
5790 SiS_SetRegOR(SISCR, 0x32, 0x20); in sisfb_post_xgi()
5807 SiS_SetReg(SISCR, 0x34, 0x2e); in sisfb_post_xgi()
5813 reg = SiS_GetReg(SISCR, 0xca); in sisfb_post_xgi()
5814 v1 = SiS_GetReg(SISCR, 0xcc); in sisfb_post_xgi()
6062 SiS_SetReg(SISCR, i, 0x00); in sisfb_probe()
6068 reg = SiS_GetReg(SISCR, 0x34); in sisfb_probe()
6112 SiS_SetRegOR(SISCR, 0x4a, 0x40); /* GPIOG EN */ in sisfb_probe()
6113 reg = SiS_GetReg(SISCR, 0x48); in sisfb_probe()