Lines Matching refs:SiS_Pr

492     	temp = SiS_HandleDDC(&ivideo->SiS_Pr, ivideo->vbflags, ivideo->sisvga_engine,   in sisfb_handle_ddc()
508 temp = SiS_HandleDDC(&ivideo->SiS_Pr, ivideo->vbflags, ivideo->sisvga_engine, in sisfb_handle_ddc()
542 if(sisfb_gettotalfrommode(&ivideo->SiS_Pr, &ivideo->sishw_ext, in sisfb_verify_rate()
580 if(ivideo->SiS_Pr.SiS_CustomT != CUT_PANEL848) { in sisfb_validate_mode()
604 ivideo->SiS_Pr.SiS_CustomT, xres, yres) < 0x14) { in sisfb_validate_mode()
864 setSISIDXREG(SISCR, ivideo->SiS_Pr.SiS_MyCR63, 0xbf, cr63); in sisfb_myblank()
879 SiS_SiS30xBLOn(&ivideo->SiS_Pr, &ivideo->sishw_ext); in sisfb_myblank()
881 SiS_SiS30xBLOff(&ivideo->SiS_Pr, &ivideo->sishw_ext); in sisfb_myblank()
886 SiS_Chrontel701xBLOn(&ivideo->SiS_Pr,&ivideo->sishw_ext); in sisfb_myblank()
888 SiS_Chrontel701xBLOff(&ivideo->SiS_Pr); in sisfb_myblank()
1082 if(SiSSetMode(&ivideo->SiS_Pr, &ivideo->sishw_ext, ivideo->mode_no) == 0) {
1876 var->pixclock = (u32) (1000000000 / sisfb_mode_rate_to_dclock(&ivideo->SiS_Pr,
1880 sisfb_mode_rate_to_ddata(&ivideo->SiS_Pr, &ivideo->sishw_ext,
2076 x.sisfb_scalelcd = ivideo->SiS_Pr.UsePanelScaler;
2077 x.sisfb_specialtiming = ivideo->SiS_Pr.SiS_CustomT;
2078 x.sisfb_haveemi = ivideo->SiS_Pr.HaveEMI ? 1 : 0;
2079 x.sisfb_haveemilcd = ivideo->SiS_Pr.HaveEMILCD ? 1 : 0;
2080 x.sisfb_emi30 = ivideo->SiS_Pr.EMI_30;
2081 x.sisfb_emi31 = ivideo->SiS_Pr.EMI_31;
2082 x.sisfb_emi32 = ivideo->SiS_Pr.EMI_32;
2083 x.sisfb_emi33 = ivideo->SiS_Pr.EMI_33;
2567 old = SiS_ReadDDC1Bit(&ivideo->SiS_Pr);
2569 if(old != SiS_ReadDDC1Bit(&ivideo->SiS_Pr)) break;
2591 inSISIDXREG(SISCR,ivideo->SiS_Pr.SiS_MyCR63,CR63);
2593 andSISIDXREG(SISCR,ivideo->SiS_Pr.SiS_MyCR63,0xBF);
2630 temp = SiS_HandleDDC(&ivideo->SiS_Pr, ivideo->vbflags, ivideo->sisvga_engine, 0, 0, NULL);
2644 setSISIDXREG(SISCR,ivideo->SiS_Pr.SiS_MyCR63,0xBF,CR63);
2665 SiS_DDC2Delay(&ivideo->SiS_Pr, 0x1500);
2675 SiS_DDC2Delay(&ivideo->SiS_Pr, 0x1000);
2727 SiS_DDC2Delay(&ivideo->SiS_Pr, 0x2000);
2764 SiS_DDC2Delay(&ivideo->SiS_Pr, 0x2000);
2821 ivideo->SiS_Pr.SiS_IF_DEF_CH70xx = 1; /* Chrontel 700x */
2822 …SiS_SetChrontelGPIO(&ivideo->SiS_Pr, 0x9c); /* Set general purpose IO for Chrontel communication */
2823 SiS_DDC2Delay(&ivideo->SiS_Pr, 1000);
2824 temp1 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x25);
2826 temp2 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x0e);
2828 SiS_SetCH700x(&ivideo->SiS_Pr, 0x0b0e);
2829 SiS_DDC2Delay(&ivideo->SiS_Pr, 300);
2831 temp2 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x25);
2836 temp1 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x0e);
2839 SiS_SetCH700x(&ivideo->SiS_Pr, 0x0B0E);
2840 SiS_DDC2Delay(&ivideo->SiS_Pr, 300);
2844 SiS_SetCH700x(&ivideo->SiS_Pr, 0x0110);
2845 SiS_DDC2Delay(&ivideo->SiS_Pr, 0x96);
2846 SiS_SetCH700x(&ivideo->SiS_Pr, 0x0010);
2847 SiS_DDC2Delay(&ivideo->SiS_Pr, 0x96);
2848 temp1 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x10);
2852 SiS_DDC2Delay(&ivideo->SiS_Pr, 0x96);
2874 SiS_SetCH70xxANDOR(&ivideo->SiS_Pr, 0x010E,0xF8);
2878 SiS_SetCH70xxANDOR(&ivideo->SiS_Pr, 0x010E,0xF8);
2882 SiS_SetChrontelGPIO(&ivideo->SiS_Pr, 0x00);
2888 ivideo->SiS_Pr.SiS_IF_DEF_CH70xx = 2; /* Chrontel 7019 */
2889 temp1 = SiS_GetCH701x(&ivideo->SiS_Pr, 0x49);
2890 SiS_SetCH701x(&ivideo->SiS_Pr, 0x2049);
2891 SiS_DDC2Delay(&ivideo->SiS_Pr, 0x96);
2892 temp2 = SiS_GetCH701x(&ivideo->SiS_Pr, 0x20);
2894 SiS_SetCH701x(&ivideo->SiS_Pr, (temp2 << 8) | 0x20);
2895 SiS_DDC2Delay(&ivideo->SiS_Pr, 0x96);
2897 SiS_SetCH701x(&ivideo->SiS_Pr, (temp2 << 8) | 0x20);
2898 SiS_DDC2Delay(&ivideo->SiS_Pr, 0x96);
2899 temp2 = SiS_GetCH701x(&ivideo->SiS_Pr, 0x20);
2900 SiS_SetCH701x(&ivideo->SiS_Pr, (temp1 << 8) | 0x49);
3340 SiS_SetEnableDstn(&ivideo->SiS_Pr, FALSE);
3341 SiS_SetEnableFstn(&ivideo->SiS_Pr, FALSE);
3420 SiS_SetEnableDstn(&ivideo->SiS_Pr, ivideo->sisfb_dstn);
3421 SiS_SetEnableFstn(&ivideo->SiS_Pr, ivideo->sisfb_fstn);
3456 ivideo->SiS_Pr.SiS_UseOEM = ivideo->sisfb_useoem;
3501 SiS_SetCH700x(&ivideo->SiS_Pr, (((x & 0xff) << 8) | 0x0a));
3502 SiS_SetCH70xxANDOR(&ivideo->SiS_Pr, (((x & 0x0100) << 1) | 0x08),0xFD);
3558 SiS_SetCH700x(&ivideo->SiS_Pr, (((y & 0xff) << 8) | 0x0b));
3559 SiS_SetCH70xxANDOR(&ivideo->SiS_Pr, ((y & 0x0100) | 0x08),0xFE);
3633 setSISIDXREG(SISCR, ivideo->SiS_Pr.SiS_MyCR63, ~0x40, reg);
3663 ivideo->tvx = SiS_GetCH700x(&ivideo->SiS_Pr, 0x0a);
3664 ivideo->tvx |= (((SiS_GetCH700x(&ivideo->SiS_Pr, 0x08) & 0x02) >> 1) << 8);
3665 ivideo->tvy = SiS_GetCH700x(&ivideo->SiS_Pr, 0x0b);
3666 ivideo->tvy |= ((SiS_GetCH700x(&ivideo->SiS_Pr, 0x08) & 0x01) << 8);
4379 ivideo->SiS_Pr.UsePanelScaler = sisfb_scalelcd;
4380 ivideo->SiS_Pr.CenterScreen = -1;
4381 ivideo->SiS_Pr.SiS_CustomT = sisfb_specialtiming;
4382 ivideo->SiS_Pr.LVDSHL = sisfb_lvdshl;
4384 ivideo->SiS_Pr.SiS_Backup70xx = 0xff;
4385 ivideo->SiS_Pr.SiS_CHOverScan = -1;
4386 ivideo->SiS_Pr.SiS_ChSW = FALSE;
4387 ivideo->SiS_Pr.SiS_UseLCDA = FALSE;
4388 ivideo->SiS_Pr.HaveEMI = FALSE;
4389 ivideo->SiS_Pr.HaveEMILCD = FALSE;
4390 ivideo->SiS_Pr.OverruleEMI = FALSE;
4391 ivideo->SiS_Pr.SiS_SensibleSR11 = FALSE;
4392 ivideo->SiS_Pr.SiS_MyCR63 = 0x63;
4393 ivideo->SiS_Pr.PDC = -1;
4394 ivideo->SiS_Pr.PDCA = -1;
4397 ivideo->SiS_Pr.SiS_MyCR63 = 0x53;
4399 ivideo->SiS_Pr.SiS_SensibleSR11 = TRUE;
4458 ivideo->SiS_Pr.RelIO = pci_resource_start(pdev, 2) + 0x30;
4459 ivideo->sishw_ext.ulIOAddress = ivideo->vga_base = ivideo->SiS_Pr.RelIO;
4469 SiSRegInit(&ivideo->SiS_Pr, ivideo->sishw_ext.ulIOAddress);
4478 ivideo->SiS_Pr.SiS_ChSW = TRUE;
4551 if(ivideo->SiS_Pr.SiS_CustomT == CUT_NONE) {
4590 ivideo->SiS_Pr.SiS_CustomT = mycustomttable[i].SpecialID;
4651 ivideo->SiS_Pr.PDC = sisfb_pdc;
4655 if(sisfb_pdca != 0xff) ivideo->SiS_Pr.PDCA = sisfb_pdca & 0x1f;
4725 ivideo->newrom = SiSDetermineROMLayout661(&ivideo->SiS_Pr, &ivideo->sishw_ext);
4791 if(ivideo->SiS_Pr.SiS_CustomT == CUT_BARCO1366) {
4793 } else if(ivideo->SiS_Pr.SiS_CustomT == CUT_PANEL848) {
4810 if(ivideo->SiS_Pr.PDC == -1) {
4812 ivideo->SiS_Pr.PDC = ivideo->detectedpdc;
4817 if((ivideo->SiS_Pr.PDC != -1) && (ivideo->SiS_Pr.PDC != ivideo->detectedpdc)) {
4819 ivideo->SiS_Pr.PDC);
4833 ivideo->SiS_Pr.SiS_UseLCDA = TRUE;
4862 if(ivideo->SiS_Pr.PDC == -1) {
4864 ivideo->SiS_Pr.PDC = ivideo->detectedpdc;
4867 if(ivideo->SiS_Pr.PDCA == -1) {
4869 ivideo->SiS_Pr.PDCA = ivideo->detectedpdca;
4886 inSISIDXREG(SISPART4,0x30,ivideo->SiS_Pr.EMI_30);
4887 inSISIDXREG(SISPART4,0x31,ivideo->SiS_Pr.EMI_31);
4888 inSISIDXREG(SISPART4,0x32,ivideo->SiS_Pr.EMI_32);
4889 inSISIDXREG(SISPART4,0x33,ivideo->SiS_Pr.EMI_33);
4890 ivideo->SiS_Pr.HaveEMI = TRUE;
4892 ivideo->SiS_Pr.HaveEMILCD = TRUE;
4899 if((ivideo->SiS_Pr.PDC != -1) && (ivideo->SiS_Pr.PDC != ivideo->detectedpdc)) {
4901 ivideo->SiS_Pr.PDC);
4903 if((ivideo->SiS_Pr.PDCA != -1) && (ivideo->SiS_Pr.PDCA != ivideo->detectedpdca)) {
4905 ivideo->SiS_Pr.PDCA);
4983 if(SiSSetMode(&ivideo->SiS_Pr, &ivideo->sishw_ext, ivideo->mode_no) == 0) {
5037 sisfb_mode_rate_to_dclock(&ivideo->SiS_Pr, &ivideo->sishw_ext,
5040 if(sisfb_mode_rate_to_ddata(&ivideo->SiS_Pr, &ivideo->sishw_ext,