Lines Matching refs:SISCR
783 temp = SiS_GetReg(SISCR, 0x17); in sisfballowretracecrt1()
888 reg1 = SiS_GetReg(SISCR, 0x20); in sisfb_setupvbblankflags()
889 reg1 = SiS_GetReg(SISCR, 0x1b); in sisfb_setupvbblankflags()
890 reg2 = SiS_GetReg(SISCR, 0x1c); in sisfb_setupvbblankflags()
891 reg3 = SiS_GetReg(SISCR, 0x1d); in sisfb_setupvbblankflags()
962 SiS_SetRegANDOR(SISCR, ivideo->SiS_Pr.SiS_MyCR63, 0xbf, cr63); in sisfb_myblank()
1146 SiS_SetReg(SISCR, 0x13, (HDisplay1 & 0xFF)); in sisfb_set_pitch()
1342 SiS_SetReg(SISCR, 0x0D, base & 0xFF); in sisfb_set_base_CRT1()
1343 SiS_SetReg(SISCR, 0x0C, (base >> 8) & 0xFF); in sisfb_set_base_CRT1()
2021 reg = SiS_GetReg(SISCR, 0x79); in sisfb_get_dram_size()
2027 reg = SiS_GetReg(SISCR, 0x79); in sisfb_get_dram_size()
2033 reg = SiS_GetReg(SISCR, 0x78); in sisfb_get_dram_size()
2094 cr32 = SiS_GetReg(SISCR, 0x32); in sisfb_detect_VB_connect()
2178 temp = SiS_GetReg(SISCR, 0x79); in sisfb_detect_VB_connect()
2222 cr63 = SiS_GetReg(SISCR, ivideo->SiS_Pr.SiS_MyCR63); in sisfb_sense_crt1()
2224 SiS_SetRegAND(SISCR, ivideo->SiS_Pr.SiS_MyCR63, 0xBF); in sisfb_sense_crt1()
2228 cr17 = SiS_GetReg(SISCR, 0x17); in sisfb_sense_crt1()
2231 SiS_SetRegOR(SISCR, 0x17, 0x80); in sisfb_sense_crt1()
2243 SiS_SetRegAND(SISCR, 0x32, ~0x20); in sisfb_sense_crt1()
2245 SiS_SetReg(SISCR, 0x57, 0x4a); in sisfb_sense_crt1()
2247 SiS_SetReg(SISCR, 0x57, 0x5f); in sisfb_sense_crt1()
2249 SiS_SetRegOR(SISCR, 0x53, 0x02); in sisfb_sense_crt1()
2253 SiS_SetRegAND(SISCR, 0x53, 0xfd); in sisfb_sense_crt1()
2254 SiS_SetRegAND(SISCR, 0x57, 0x00); in sisfb_sense_crt1()
2271 SiS_SetRegOR(SISCR, 0x32, 0x20); in sisfb_sense_crt1()
2276 SiS_SetRegANDOR(SISCR, ivideo->SiS_Pr.SiS_MyCR63, 0xBF, cr63); in sisfb_sense_crt1()
2280 SiS_SetRegANDOR(SISCR, 0x17, 0x7F, cr17); in sisfb_sense_crt1()
2302 reg = SiS_GetReg(SISCR, 0x32); in SiS_SenseLCD()
2365 SiS_SetReg(SISCR, 0x36, paneltype); in SiS_SenseLCD()
2367 SiS_SetRegANDOR(SISCR, 0x37, 0x0c, cr37); in SiS_SenseLCD()
2368 SiS_SetRegOR(SISCR, 0x32, 0x08); in SiS_SenseLCD()
2475 SiS_SetRegAND(SISCR, 0x32, ~0x14); in SiS_Sense30x()
2481 SiS_SetRegOR(SISCR, 0x32, 0x04); in SiS_Sense30x()
2484 SiS_SetRegOR(SISCR, 0x32, 0x10); in SiS_Sense30x()
2489 SiS_SetRegAND(SISCR, 0x32, 0x3f); in SiS_Sense30x()
2501 SiS_SetRegOR(SISCR, 0x32, 0x80); in SiS_Sense30x()
2507 SiS_SetRegAND(SISCR, 0x32, ~0x03); in SiS_Sense30x()
2512 SiS_SetRegOR(SISCR, 0x32, 0x02); in SiS_Sense30x()
2517 SiS_SetRegOR(SISCR, 0x32, 0x01); in SiS_Sense30x()
2601 SiS_SetRegOR(SISCR, 0x32, 0x02); in SiS_SenseCh()
2602 SiS_SetRegAND(SISCR, 0x32, ~0x05); in SiS_SenseCh()
2606 SiS_SetRegOR(SISCR, 0x32, 0x01); in SiS_SenseCh()
2607 SiS_SetRegAND(SISCR, 0x32, ~0x06); in SiS_SenseCh()
2610 SiS_SetRegAND(SISCR, 0x32, ~0x07); in SiS_SenseCh()
2614 SiS_SetRegAND(SISCR, 0x32, ~0x07); in SiS_SenseCh()
2645 SiS_SetRegOR(SISCR, 0x32, 0x01); in SiS_SenseCh()
2646 SiS_SetRegAND(SISCR, 0x32, ~0x06); in SiS_SenseCh()
2651 SiS_SetRegOR(SISCR, 0x32, 0x02); in SiS_SenseCh()
2652 SiS_SetRegAND(SISCR, 0x32, ~0x05); in SiS_SenseCh()
2656 SiS_SetRegOR(SISCR, 0x32, 0x04); in SiS_SenseCh()
2657 SiS_SetRegAND(SISCR, 0x32, ~0x03); in SiS_SenseCh()
2660 SiS_SetRegAND(SISCR, 0x32, ~0x07); in SiS_SenseCh()
2730 reg = SiS_GetReg(SISCR, 0x37); in sisfb_get_VB_type()
2771 reg = SiS_GetReg(SISCR, 0x38); in sisfb_get_VB_type()
2933 reg = SiS_GetReg(SISCR, 0x36); in sisfb_detect_lcd_type()
2952 SiS_SetRegANDOR(SISCR, 0x36, 0xf0, 0x02); in sisfb_detect_lcd_type()
2953 SiS_SetRegANDOR(SISCR, 0x37, 0xee, 0x01); in sisfb_detect_lcd_type()
2990 tmp = SiS_GetReg(SISCR, 0x30); in sisfb_save_pdc_emi()
3027 tmp = SiS_GetReg(SISCR, 0x30); in sisfb_save_pdc_emi()
3533 cr31 = SiS_GetReg(SISCR, 0x31); in sisfb_pre_setmode()
3542 cr38 = SiS_GetReg(SISCR, 0x38); in sisfb_pre_setmode()
3546 cr38 = SiS_GetReg(SISCR, tvregnum); in sisfb_pre_setmode()
3554 cr38 = SiS_GetReg(SISCR, tvregnum); in sisfb_pre_setmode()
3661 SiS_SetReg(SISCR, 0x30, cr30); in sisfb_pre_setmode()
3662 SiS_SetReg(SISCR, 0x33, cr33); in sisfb_pre_setmode()
3667 SiS_SetRegANDOR(SISCR, 0x35, ~0x10, cr35); /* Leave overscan bit alone */ in sisfb_pre_setmode()
3669 SiS_SetRegANDOR(SISCR, 0x38, 0xf8, cr38); in sisfb_pre_setmode()
3672 SiS_SetReg(SISCR, tvregnum, cr38); in sisfb_pre_setmode()
3674 SiS_SetReg(SISCR, 0x31, cr31); in sisfb_pre_setmode()
3847 SiS_SetRegANDOR(SISCR, 0x17, 0x7f, reg); in sisfb_post_setmode()
3861 SiS_SetRegANDOR(SISCR, ivideo->SiS_Pr.SiS_MyCR63, ~0x40, reg); in sisfb_post_setmode()
4448 SiS_SetReg(SISCR, 0x37, 0x00); in sisfb_post_sis300()
4463 SiS_SetReg(SISCR, 0x37, 0x02); in sisfb_post_sis300()
4491 SiS_SetReg(SISCR, 0x35, reg); in sisfb_post_sis300()
4492 SiS_SetReg(SISCR, 0x83, 0x00); in sisfb_post_sis300()
4549 SiS_SetReg(SISCR, 0x34, 0x2e); in sisfb_post_sis300()
4687 reg = SiS_GetReg(SISCR, 0x97); in sisfb_post_xgi_ramsize()
4740 reg = SiS_GetReg(SISCR, 0x97); in sisfb_post_xgi_ramsize()
4956 SiS_SetReg(SISCR, 0x97, 0x11); in sisfb_post_xgi_ddr2_mrs_default()
4983 SiS_SetReg(SISCR, 0x97, 0x11); in sisfb_post_xgi_ddr2_mrs_xg21()
5036 SiS_SetReg(SISCR, 0xb0, 0x80); /* DDR2 dual frequency mode */ in sisfb_post_xgi_ddr2()
5037 SiS_SetReg(SISCR, 0x82, 0x77); in sisfb_post_xgi_ddr2()
5038 SiS_SetReg(SISCR, 0x86, 0x00); in sisfb_post_xgi_ddr2()
5039 SiS_GetReg(SISCR, 0x86); in sisfb_post_xgi_ddr2()
5040 SiS_SetReg(SISCR, 0x86, 0x88); in sisfb_post_xgi_ddr2()
5041 SiS_GetReg(SISCR, 0x86); in sisfb_post_xgi_ddr2()
5048 SiS_SetReg(SISCR, 0x86, v1); in sisfb_post_xgi_ddr2()
5049 SiS_SetReg(SISCR, 0x82, 0x77); in sisfb_post_xgi_ddr2()
5050 SiS_SetReg(SISCR, 0x85, 0x00); in sisfb_post_xgi_ddr2()
5051 SiS_GetReg(SISCR, 0x85); in sisfb_post_xgi_ddr2()
5052 SiS_SetReg(SISCR, 0x85, 0x88); in sisfb_post_xgi_ddr2()
5053 SiS_GetReg(SISCR, 0x85); in sisfb_post_xgi_ddr2()
5054 SiS_SetReg(SISCR, 0x85, v2); in sisfb_post_xgi_ddr2()
5055 SiS_SetReg(SISCR, 0x82, v3); in sisfb_post_xgi_ddr2()
5056 SiS_SetReg(SISCR, 0x98, 0x01); in sisfb_post_xgi_ddr2()
5057 SiS_SetReg(SISCR, 0x9a, 0x02); in sisfb_post_xgi_ddr2()
5078 SiS_SetRegAND(SISCR, 0xb4, 0xfd); /* GPIO control */ in sisfb_post_xgi_ramtype()
5079 SiS_SetRegOR(SISCR, 0x4a, 0x80); /* GPIOH EN */ in sisfb_post_xgi_ramtype()
5080 reg = SiS_GetReg(SISCR, 0x48); in sisfb_post_xgi_ramtype()
5081 SiS_SetRegOR(SISCR, 0xb4, 0x02); in sisfb_post_xgi_ramtype()
5084 SiS_SetReg(SISCR, 0x97, v1); in sisfb_post_xgi_ramtype()
5085 reg = SiS_GetReg(SISCR, 0x97); in sisfb_post_xgi_ramtype()
5191 SiS_SetReg(SISCR, 0x30 + i, 0x00); in sisfb_post_xgi()
5234 SiS_SetReg(SISCR, 0x7d, 0xfe); in sisfb_post_xgi()
5235 SiS_SetReg(SISCR, 0x7e, 0x0f); in sisfb_post_xgi()
5238 SiS_SetRegAND(SISCR, 0x58, 0xd7); in sisfb_post_xgi()
5239 reg = SiS_GetReg(SISCR, 0xcb); in sisfb_post_xgi()
5241 SiS_SetRegANDOR(SISCR, 0x58, 0xd7, (reg & 0x10) ? 0x08 : 0x20); /* =0x28 Z7 ? */ in sisfb_post_xgi()
5246 SiS_SetRegANDOR(SISCR, 0x38, 0x1f, reg); in sisfb_post_xgi()
5324 SiS_SetRegANDOR(SISCR, 0x5f, 0xf0, v2); in sisfb_post_xgi()
5333 SiS_SetRegANDOR(SISCR, 0x5f, 0xf1, 0x01); in sisfb_post_xgi()
5340 SiS_SetRegANDOR(SISCR, 0x5f, 0xf1, 0x01); in sisfb_post_xgi()
5347 v2 = SiS_GetReg(SISCR, 0x5f); in sisfb_post_xgi()
5353 SiS_SetRegANDOR(SISCR, 0x5f, 0xf0, bios[0x64]); in sisfb_post_xgi()
5361 SiS_SetRegOR(SISCR, 0x5f, 0x08); in sisfb_post_xgi()
5363 SiS_SetReg(SISCR, 0x48, v1); in sisfb_post_xgi()
5365 SiS_SetRegANDOR(SISCR, 0x47, 0x04, bios[0x4f6] & 0xfb); in sisfb_post_xgi()
5366 SiS_SetRegANDOR(SISCR, 0x49, 0xf0, bios[0x4f8] & 0x0f); in sisfb_post_xgi()
5367 SiS_SetRegANDOR(SISCR, 0x4a, 0x60, bios[0x4f9] & 0x9f); in sisfb_post_xgi()
5368 SiS_SetRegANDOR(SISCR, 0x4b, 0x08, bios[0x4fa] & 0xf7); in sisfb_post_xgi()
5369 SiS_SetRegANDOR(SISCR, 0x4c, 0x80, bios[0x4fb] & 0x7f); in sisfb_post_xgi()
5370 SiS_SetReg(SISCR, 0x70, bios[0x4fc]); in sisfb_post_xgi()
5371 SiS_SetRegANDOR(SISCR, 0x71, 0xf0, bios[0x4fd] & 0x0f); in sisfb_post_xgi()
5372 SiS_SetReg(SISCR, 0x74, 0xd0); in sisfb_post_xgi()
5373 SiS_SetRegANDOR(SISCR, 0x74, 0xcf, bios[0x4fe] & 0x30); in sisfb_post_xgi()
5374 SiS_SetRegANDOR(SISCR, 0x75, 0xe0, bios[0x4ff] & 0x1f); in sisfb_post_xgi()
5375 SiS_SetRegANDOR(SISCR, 0x76, 0xe0, bios[0x500] & 0x1f); in sisfb_post_xgi()
5381 SiS_SetReg(SISCR, 0x77, v1); in sisfb_post_xgi()
5406 SiS_SetReg(SISCR, 0x6d, v1); in sisfb_post_xgi()
5413 SiS_SetReg(SISCR, 0x68 + i, ptr[j + regb]); in sisfb_post_xgi()
5437 SiS_SetReg(SISCR, rega, reg); in sisfb_post_xgi()
5438 reg = SiS_GetReg(SISCR, rega); in sisfb_post_xgi()
5439 reg = SiS_GetReg(SISCR, rega); in sisfb_post_xgi()
5444 SiS_SetRegAND(SISCR, 0x6e, 0xfc); in sisfb_post_xgi()
5452 SiS_SetRegANDOR(SISCR, 0x6e, 0xfc, i); in sisfb_post_xgi()
5466 SiS_SetReg(SISCR, 0x6f, reg); in sisfb_post_xgi()
5467 reg = SiS_GetReg(SISCR, 0x6f); in sisfb_post_xgi()
5468 reg = SiS_GetReg(SISCR, 0x6f); in sisfb_post_xgi()
5479 SiS_SetReg(SISCR, 0x80 + i, ptr[j + regb]); in sisfb_post_xgi()
5482 SiS_SetRegAND(SISCR, 0x89, 0x8f); in sisfb_post_xgi()
5496 SiS_SetReg(SISCR, 0x89, reg); in sisfb_post_xgi()
5497 reg = SiS_GetReg(SISCR, 0x89); in sisfb_post_xgi()
5498 reg = SiS_GetReg(SISCR, 0x89); in sisfb_post_xgi()
5509 SiS_SetReg(SISCR, 0x45, v1 & 0x0f); in sisfb_post_xgi()
5510 SiS_SetReg(SISCR, 0x99, (v1 >> 4) & 0x07); in sisfb_post_xgi()
5511 SiS_SetRegOR(SISCR, 0x40, v1 & 0x80); in sisfb_post_xgi()
5512 SiS_SetReg(SISCR, 0x41, v2); in sisfb_post_xgi()
5519 SiS_SetReg(SISCR, 0x90 + i, ptr[j + regb]); in sisfb_post_xgi()
5522 SiS_SetReg(SISCR, 0x59, v3); in sisfb_post_xgi()
5529 SiS_SetReg(SISCR, 0xc3 + i, ptr[j + regb]); in sisfb_post_xgi()
5537 SiS_SetReg(SISCR, 0x8a + i, ptr[j + regb]); in sisfb_post_xgi()
5540 SiS_SetReg(SISCR, 0xcf, v4); in sisfb_post_xgi()
5542 SiS_SetReg(SISCR, 0x83, 0x09); in sisfb_post_xgi()
5543 SiS_SetReg(SISCR, 0x87, 0x00); in sisfb_post_xgi()
5548 SiS_SetReg(SISCR, 0x8c, 0x87); in sisfb_post_xgi()
5575 SiS_SetReg(SISCR, 0x82, v1); in sisfb_post_xgi()
5576 SiS_SetReg(SISCR, 0x85, v2); in sisfb_post_xgi()
5577 SiS_SetReg(SISCR, 0x86, v3); in sisfb_post_xgi()
5579 SiS_SetReg(SISCR, 0x82, 0x88); in sisfb_post_xgi()
5580 SiS_SetReg(SISCR, 0x86, 0x00); in sisfb_post_xgi()
5581 reg = SiS_GetReg(SISCR, 0x86); in sisfb_post_xgi()
5582 SiS_SetReg(SISCR, 0x86, 0x88); in sisfb_post_xgi()
5583 reg = SiS_GetReg(SISCR, 0x86); in sisfb_post_xgi()
5584 SiS_SetReg(SISCR, 0x86, bios[regb + 0x168]); in sisfb_post_xgi()
5585 SiS_SetReg(SISCR, 0x82, 0x77); in sisfb_post_xgi()
5586 SiS_SetReg(SISCR, 0x85, 0x00); in sisfb_post_xgi()
5587 reg = SiS_GetReg(SISCR, 0x85); in sisfb_post_xgi()
5588 SiS_SetReg(SISCR, 0x85, 0x88); in sisfb_post_xgi()
5589 reg = SiS_GetReg(SISCR, 0x85); in sisfb_post_xgi()
5590 SiS_SetReg(SISCR, 0x85, bios[regb + 0x160]); in sisfb_post_xgi()
5591 SiS_SetReg(SISCR, 0x82, bios[regb + 0x158]); in sisfb_post_xgi()
5594 SiS_SetReg(SISCR, 0x97, 0x00); in sisfb_post_xgi()
5596 SiS_SetReg(SISCR, 0x98, 0x01); in sisfb_post_xgi()
5597 SiS_SetReg(SISCR, 0x9a, 0x02); in sisfb_post_xgi()
5655 SiS_SetReg(SISCR, 0x82, bios[regb + 0x158]); in sisfb_post_xgi()
5656 SiS_SetReg(SISCR, 0x85, bios[regb + 0x160]); in sisfb_post_xgi()
5657 SiS_SetReg(SISCR, 0x86, bios[regb + 0x168]); in sisfb_post_xgi()
5659 SiS_SetReg(SISCR, 0x82, 0x88); in sisfb_post_xgi()
5660 SiS_SetReg(SISCR, 0x86, 0x00); in sisfb_post_xgi()
5661 reg = SiS_GetReg(SISCR, 0x86); in sisfb_post_xgi()
5662 SiS_SetReg(SISCR, 0x86, 0x88); in sisfb_post_xgi()
5663 SiS_SetReg(SISCR, 0x82, 0x77); in sisfb_post_xgi()
5664 SiS_SetReg(SISCR, 0x85, 0x00); in sisfb_post_xgi()
5665 reg = SiS_GetReg(SISCR, 0x85); in sisfb_post_xgi()
5666 SiS_SetReg(SISCR, 0x85, 0x88); in sisfb_post_xgi()
5667 reg = SiS_GetReg(SISCR, 0x85); in sisfb_post_xgi()
5673 SiS_SetReg(SISCR, 0x85, v1); in sisfb_post_xgi()
5674 SiS_SetReg(SISCR, 0x82, v2); in sisfb_post_xgi()
5677 SiS_SetReg(SISCR, 0x97, 0x11); in sisfb_post_xgi()
5680 SiS_SetReg(SISCR, 0x98, 0x01); in sisfb_post_xgi()
5682 SiS_SetReg(SISCR, 0x98, 0x03); in sisfb_post_xgi()
5684 SiS_SetReg(SISCR, 0x9a, 0x02); in sisfb_post_xgi()
5786 reg = SiS_GetReg(SISCR, i); in sisfb_post_xgi()
5787 printk(KERN_DEBUG "CR%02x(%x) = 0x%02x\n", i, SISCR, reg); in sisfb_post_xgi()
5798 SiS_SetRegOR(SISCR, 0x32, 0x20); in sisfb_post_xgi()
5804 SiS_SetRegOR(SISCR, 0x32, 0x20); in sisfb_post_xgi()
5821 SiS_SetReg(SISCR, 0x34, 0x2e); in sisfb_post_xgi()
5827 reg = SiS_GetReg(SISCR, 0xca); in sisfb_post_xgi()
5828 v1 = SiS_GetReg(SISCR, 0xcc); in sisfb_post_xgi()
6078 SiS_SetReg(SISCR, i, 0x00); in sisfb_probe()
6084 reg = SiS_GetReg(SISCR, 0x34); in sisfb_probe()
6128 SiS_SetRegOR(SISCR, 0x4a, 0x40); /* GPIOG EN */ in sisfb_probe()
6129 reg = SiS_GetReg(SISCR, 0x48); in sisfb_probe()