VCLKIndex 2477 drivers/video/fbdev/sis/init301.c unsigned short CRT2Index, VCLKIndex = 0, VCLKIndexGEN = 0, VCLKIndexGENCRT = 0; VCLKIndex 2502 drivers/video/fbdev/sis/init301.c VCLKIndex = SiS_Pr->PanelVCLKIdx300; VCLKIndex 2504 drivers/video/fbdev/sis/init301.c VCLKIndex = VCLKIndexGEN; VCLKIndex 2507 drivers/video/fbdev/sis/init301.c VCLKIndex = SiS_Pr->PanelVCLKIdx315; VCLKIndex 2511 drivers/video/fbdev/sis/init301.c case SIS_RI_720x480: VCLKIndex = VCLK_720x480; break; VCLKIndex 2512 drivers/video/fbdev/sis/init301.c case SIS_RI_720x576: VCLKIndex = VCLK_720x576; break; VCLKIndex 2513 drivers/video/fbdev/sis/init301.c case SIS_RI_768x576: VCLKIndex = VCLK_768x576; break; VCLKIndex 2514 drivers/video/fbdev/sis/init301.c case SIS_RI_848x480: VCLKIndex = VCLK_848x480; break; VCLKIndex 2515 drivers/video/fbdev/sis/init301.c case SIS_RI_856x480: VCLKIndex = VCLK_856x480; break; VCLKIndex 2516 drivers/video/fbdev/sis/init301.c case SIS_RI_800x480: VCLKIndex = VCLK_800x480; break; VCLKIndex 2517 drivers/video/fbdev/sis/init301.c case SIS_RI_1024x576: VCLKIndex = VCLK_1024x576; break; VCLKIndex 2518 drivers/video/fbdev/sis/init301.c case SIS_RI_1152x864: VCLKIndex = VCLK_1152x864; break; VCLKIndex 2519 drivers/video/fbdev/sis/init301.c case SIS_RI_1280x720: VCLKIndex = VCLK_1280x720; break; VCLKIndex 2520 drivers/video/fbdev/sis/init301.c case SIS_RI_1360x768: VCLKIndex = VCLK_1360x768; break; VCLKIndex 2521 drivers/video/fbdev/sis/init301.c default: VCLKIndex = VCLKIndexGEN; VCLKIndex 2526 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_CRT2CRTC == 1) VCLKIndex = 0x42; VCLKIndex 2528 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_CRT2CRTC == 1) VCLKIndex = 0x00; VCLKIndex 2532 drivers/video/fbdev/sis/init301.c if(VCLKIndex == 0) VCLKIndex = 0x41; VCLKIndex 2533 drivers/video/fbdev/sis/init301.c if(VCLKIndex == 1) VCLKIndex = 0x43; VCLKIndex 2534 drivers/video/fbdev/sis/init301.c if(VCLKIndex == 4) VCLKIndex = 0x44; VCLKIndex 2542 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVRPLLDIV2XO) VCLKIndex = HiTVVCLKDIV2; VCLKIndex 2543 drivers/video/fbdev/sis/init301.c else VCLKIndex = HiTVVCLK; VCLKIndex 2544 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVSetTVSimuMode) VCLKIndex = HiTVSimuVCLK; VCLKIndex 2545 drivers/video/fbdev/sis/init301.c } else if(SiS_Pr->SiS_TVMode & TVSetYPbPr750p) VCLKIndex = YPbPr750pVCLK; VCLKIndex 2546 drivers/video/fbdev/sis/init301.c else if(SiS_Pr->SiS_TVMode & TVSetYPbPr525p) VCLKIndex = TVVCLKDIV2; VCLKIndex 2547 drivers/video/fbdev/sis/init301.c else if(SiS_Pr->SiS_TVMode & TVRPLLDIV2XO) VCLKIndex = TVVCLKDIV2; VCLKIndex 2548 drivers/video/fbdev/sis/init301.c else VCLKIndex = TVVCLK; VCLKIndex 2550 drivers/video/fbdev/sis/init301.c if(SiS_Pr->ChipType < SIS_315H) VCLKIndex += TVCLKBASE_300; VCLKIndex 2551 drivers/video/fbdev/sis/init301.c else VCLKIndex += TVCLKBASE_315; VCLKIndex 2555 drivers/video/fbdev/sis/init301.c VCLKIndex = VCLKIndexGENCRT; VCLKIndex 2560 drivers/video/fbdev/sis/init301.c if(VCLKIndex == 0x14) VCLKIndex = 0x34; VCLKIndex 2563 drivers/video/fbdev/sis/init301.c if(VCLKIndex == 0x17) VCLKIndex = 0x45; VCLKIndex 2570 drivers/video/fbdev/sis/init301.c VCLKIndex = VCLKIndexGENCRT; VCLKIndex 2575 drivers/video/fbdev/sis/init301.c if(VCLKIndex == 0x1b) VCLKIndex = 0x48; VCLKIndex 2583 drivers/video/fbdev/sis/init301.c VCLKIndex = CRT2Index; VCLKIndex 2589 drivers/video/fbdev/sis/init301.c VCLKIndex &= 0x1f; VCLKIndex 2617 drivers/video/fbdev/sis/init301.c VCLKIndex = CHTVVCLKPtr[VCLKIndex]; VCLKIndex 2622 drivers/video/fbdev/sis/init301.c VCLKIndex = SiS_Pr->PanelVCLKIdx300; VCLKIndex 2624 drivers/video/fbdev/sis/init301.c VCLKIndex = SiS_Pr->PanelVCLKIdx315; VCLKIndex 2629 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_CustomT == CUT_BARCO1366) VCLKIndex = 0x44; VCLKIndex 2634 drivers/video/fbdev/sis/init301.c VCLKIndex = VCLK34_300; VCLKIndex 2637 drivers/video/fbdev/sis/init301.c VCLKIndex = VCLK34_315; VCLKIndex 2645 drivers/video/fbdev/sis/init301.c VCLKIndex = VCLKIndexGENCRT; VCLKIndex 2650 drivers/video/fbdev/sis/init301.c if(VCLKIndex == 0x14) VCLKIndex = 0x2e; VCLKIndex 2658 drivers/video/fbdev/sis/init301.c VCLKIndex = VCLKIndexGENCRT; VCLKIndex 2663 drivers/video/fbdev/sis/init301.c if(VCLKIndex == 0x1b) VCLKIndex = 0x48; VCLKIndex 2667 drivers/video/fbdev/sis/init301.c if(VCLKIndex == 0x0b) VCLKIndex = 0x40; /* 1024x768-70 */ VCLKIndex 2668 drivers/video/fbdev/sis/init301.c if(VCLKIndex == 0x0d) VCLKIndex = 0x41; /* 1024x768-75 */ VCLKIndex 2678 drivers/video/fbdev/sis/init301.c return VCLKIndex;