Lines Matching refs:VCLKIndex
2476 unsigned short CRT2Index, VCLKIndex = 0, VCLKIndexGEN = 0, VCLKIndexGENCRT = 0; in SiS_GetVCLK2Ptr() local
2501 VCLKIndex = SiS_Pr->PanelVCLKIdx300; in SiS_GetVCLK2Ptr()
2503 VCLKIndex = VCLKIndexGEN; in SiS_GetVCLK2Ptr()
2506 VCLKIndex = SiS_Pr->PanelVCLKIdx315; in SiS_GetVCLK2Ptr()
2510 case SIS_RI_720x480: VCLKIndex = VCLK_720x480; break; in SiS_GetVCLK2Ptr()
2511 case SIS_RI_720x576: VCLKIndex = VCLK_720x576; break; in SiS_GetVCLK2Ptr()
2512 case SIS_RI_768x576: VCLKIndex = VCLK_768x576; break; in SiS_GetVCLK2Ptr()
2513 case SIS_RI_848x480: VCLKIndex = VCLK_848x480; break; in SiS_GetVCLK2Ptr()
2514 case SIS_RI_856x480: VCLKIndex = VCLK_856x480; break; in SiS_GetVCLK2Ptr()
2515 case SIS_RI_800x480: VCLKIndex = VCLK_800x480; break; in SiS_GetVCLK2Ptr()
2516 case SIS_RI_1024x576: VCLKIndex = VCLK_1024x576; break; in SiS_GetVCLK2Ptr()
2517 case SIS_RI_1152x864: VCLKIndex = VCLK_1152x864; break; in SiS_GetVCLK2Ptr()
2518 case SIS_RI_1280x720: VCLKIndex = VCLK_1280x720; break; in SiS_GetVCLK2Ptr()
2519 case SIS_RI_1360x768: VCLKIndex = VCLK_1360x768; break; in SiS_GetVCLK2Ptr()
2520 default: VCLKIndex = VCLKIndexGEN; in SiS_GetVCLK2Ptr()
2525 if(SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_CRT2CRTC == 1) VCLKIndex = 0x42; in SiS_GetVCLK2Ptr()
2527 if(SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_CRT2CRTC == 1) VCLKIndex = 0x00; in SiS_GetVCLK2Ptr()
2531 if(VCLKIndex == 0) VCLKIndex = 0x41; in SiS_GetVCLK2Ptr()
2532 if(VCLKIndex == 1) VCLKIndex = 0x43; in SiS_GetVCLK2Ptr()
2533 if(VCLKIndex == 4) VCLKIndex = 0x44; in SiS_GetVCLK2Ptr()
2541 if(SiS_Pr->SiS_TVMode & TVRPLLDIV2XO) VCLKIndex = HiTVVCLKDIV2; in SiS_GetVCLK2Ptr()
2542 else VCLKIndex = HiTVVCLK; in SiS_GetVCLK2Ptr()
2543 if(SiS_Pr->SiS_TVMode & TVSetTVSimuMode) VCLKIndex = HiTVSimuVCLK; in SiS_GetVCLK2Ptr()
2544 } else if(SiS_Pr->SiS_TVMode & TVSetYPbPr750p) VCLKIndex = YPbPr750pVCLK; in SiS_GetVCLK2Ptr()
2545 else if(SiS_Pr->SiS_TVMode & TVSetYPbPr525p) VCLKIndex = TVVCLKDIV2; in SiS_GetVCLK2Ptr()
2546 else if(SiS_Pr->SiS_TVMode & TVRPLLDIV2XO) VCLKIndex = TVVCLKDIV2; in SiS_GetVCLK2Ptr()
2547 else VCLKIndex = TVVCLK; in SiS_GetVCLK2Ptr()
2549 if(SiS_Pr->ChipType < SIS_315H) VCLKIndex += TVCLKBASE_300; in SiS_GetVCLK2Ptr()
2550 else VCLKIndex += TVCLKBASE_315; in SiS_GetVCLK2Ptr()
2554 VCLKIndex = VCLKIndexGENCRT; in SiS_GetVCLK2Ptr()
2559 if(VCLKIndex == 0x14) VCLKIndex = 0x34; in SiS_GetVCLK2Ptr()
2562 if(VCLKIndex == 0x17) VCLKIndex = 0x45; in SiS_GetVCLK2Ptr()
2569 VCLKIndex = VCLKIndexGENCRT; in SiS_GetVCLK2Ptr()
2574 if(VCLKIndex == 0x1b) VCLKIndex = 0x48; in SiS_GetVCLK2Ptr()
2582 VCLKIndex = CRT2Index; in SiS_GetVCLK2Ptr()
2588 VCLKIndex &= 0x1f; in SiS_GetVCLK2Ptr()
2616 VCLKIndex = CHTVVCLKPtr[VCLKIndex]; in SiS_GetVCLK2Ptr()
2621 VCLKIndex = SiS_Pr->PanelVCLKIdx300; in SiS_GetVCLK2Ptr()
2623 VCLKIndex = SiS_Pr->PanelVCLKIdx315; in SiS_GetVCLK2Ptr()
2628 if(SiS_Pr->SiS_CustomT == CUT_BARCO1366) VCLKIndex = 0x44; in SiS_GetVCLK2Ptr()
2633 VCLKIndex = VCLK34_300; in SiS_GetVCLK2Ptr()
2636 VCLKIndex = VCLK34_315; in SiS_GetVCLK2Ptr()
2644 VCLKIndex = VCLKIndexGENCRT; in SiS_GetVCLK2Ptr()
2649 if(VCLKIndex == 0x14) VCLKIndex = 0x2e; in SiS_GetVCLK2Ptr()
2657 VCLKIndex = VCLKIndexGENCRT; in SiS_GetVCLK2Ptr()
2662 if(VCLKIndex == 0x1b) VCLKIndex = 0x48; in SiS_GetVCLK2Ptr()
2666 if(VCLKIndex == 0x0b) VCLKIndex = 0x40; /* 1024x768-70 */ in SiS_GetVCLK2Ptr()
2667 if(VCLKIndex == 0x0d) VCLKIndex = 0x41; /* 1024x768-75 */ in SiS_GetVCLK2Ptr()
2677 return VCLKIndex; in SiS_GetVCLK2Ptr()