Lines Matching defs:VDisplay

350 SiS_GetModeID(int VGAEngine, unsigned int VBFlags, int HDisplay, int VDisplay,
358 if(VDisplay == 200) ModeIndex = ModeIndex_320x200[Depth];
359 else if(VDisplay == 240) {
368 if(VDisplay == 300) ModeIndex = ModeIndex_400x300[Depth];
373 if(VDisplay == 384) ModeIndex = ModeIndex_512x384[Depth];
377 if(VDisplay == 480) ModeIndex = ModeIndex_640x480[Depth];
378 else if(VDisplay == 400) ModeIndex = ModeIndex_640x400[Depth];
381 if(VDisplay == 480) ModeIndex = ModeIndex_720x480[Depth];
382 else if(VDisplay == 576) ModeIndex = ModeIndex_720x576[Depth];
385 if(VDisplay == 576) ModeIndex = ModeIndex_768x576[Depth];
388 if(VDisplay == 600) ModeIndex = ModeIndex_800x600[Depth];
389 else if(VDisplay == 480) ModeIndex = ModeIndex_800x480[Depth];
392 if(VDisplay == 480) ModeIndex = ModeIndex_848x480[Depth];
395 if(VDisplay == 480) ModeIndex = ModeIndex_856x480[Depth];
399 if(VDisplay == 540) ModeIndex = ModeIndex_960x540[Depth];
400 else if(VDisplay == 600) ModeIndex = ModeIndex_960x600[Depth];
404 if(VDisplay == 576) ModeIndex = ModeIndex_1024x576[Depth];
405 else if(VDisplay == 768) ModeIndex = ModeIndex_1024x768[Depth];
407 if(VDisplay == 600) ModeIndex = ModeIndex_1024x600[Depth];
411 if(VDisplay == 864) ModeIndex = ModeIndex_1152x864[Depth];
413 if(VDisplay == 768) ModeIndex = ModeIndex_1152x768[Depth];
417 switch(VDisplay) {
447 if(VDisplay == 768) ModeIndex = ModeIndex_1360x768[Depth];
449 if(VDisplay == 1024) ModeIndex = ModeIndex_300_1360x1024[Depth];
454 if(VDisplay == 1050) {
460 if(VDisplay == 1200) ModeIndex = ModeIndex_1600x1200[Depth];
464 if(VDisplay == 1050) ModeIndex = ModeIndex_1680x1050[Depth];
468 if(VDisplay == 1440) ModeIndex = ModeIndex_1920x1440[Depth];
470 if(VDisplay == 1080) ModeIndex = ModeIndex_1920x1080[Depth];
474 if(VDisplay == 1536) {
488 SiS_GetModeID_LCD(int VGAEngine, unsigned int VBFlags, int HDisplay, int VDisplay,
500 if(VDisplay == 200) {
502 } else if(VDisplay == 240) {
513 if(VDisplay == 300) ModeIndex = ModeIndex_400x300[Depth];
521 if(VDisplay == 384) {
529 if(VDisplay == 480) ModeIndex = ModeIndex_640x480[Depth];
530 else if(VDisplay == 400) {
536 if(VDisplay == 600) ModeIndex = ModeIndex_800x600[Depth];
540 if(VDisplay == 480) ModeIndex = ModeIndex_848x480[Depth];
545 if(VDisplay == 480) ModeIndex = ModeIndex_856x480[Depth];
549 if(VDisplay == 768) ModeIndex = ModeIndex_1024x768[Depth];
551 if((VDisplay == 600) && (LCDheight == 600)) {
558 if((VDisplay == 768) && (LCDheight == 768)) {
564 if(VDisplay == 1024) ModeIndex = ModeIndex_1280x1024[Depth];
566 if((VDisplay == 768) && (LCDheight == 768)) {
574 if(VDisplay == 1024) ModeIndex = ModeIndex_300_1360x1024[Depth];
578 if(VDisplay == 768) ModeIndex = ModeIndex_1360x768[Depth];
583 if(VDisplay == 1050) ModeIndex = ModeIndex_1400x1050[Depth];
588 if(VDisplay == 1200) ModeIndex = ModeIndex_1600x1200[Depth];
598 if(VDisplay == 200) ModeIndex = ModeIndex_320x200[Depth];
599 else if(VDisplay == 240) ModeIndex = ModeIndex_320x240[Depth];
603 if(VDisplay == 300) ModeIndex = ModeIndex_400x300[Depth];
608 if(VDisplay == 384) ModeIndex = ModeIndex_512x384[Depth];
612 if(VDisplay == 480) ModeIndex = ModeIndex_640x480[Depth];
613 else if(VDisplay == 400) ModeIndex = ModeIndex_640x400[Depth];
617 if(VDisplay == 480) ModeIndex = ModeIndex_720x480[Depth];
618 else if(VDisplay == 576) ModeIndex = ModeIndex_720x576[Depth];
623 if(VDisplay == 576) ModeIndex = ModeIndex_768x576[Depth];
627 if(VDisplay == 600) ModeIndex = ModeIndex_800x600[Depth];
629 if(VDisplay == 480) ModeIndex = ModeIndex_800x480[Depth];
634 if(VDisplay == 480) ModeIndex = ModeIndex_848x480[Depth];
639 if(VDisplay == 480) ModeIndex = ModeIndex_856x480[Depth];
644 if(VDisplay == 540) ModeIndex = ModeIndex_960x540[Depth];
645 else if(VDisplay == 600) ModeIndex = ModeIndex_960x600[Depth];
649 if(VDisplay == 768) ModeIndex = ModeIndex_1024x768[Depth];
651 if(VDisplay == 576) ModeIndex = ModeIndex_1024x576[Depth];
656 if(VDisplay == 864) ModeIndex = ModeIndex_1152x864[Depth];
660 switch(VDisplay) {
690 if(VDisplay == 768) ModeIndex = ModeIndex_1360x768[Depth];
696 if(VDisplay == 1050) ModeIndex = ModeIndex_1400x1050[Depth];
703 if(VDisplay == 1200) ModeIndex = ModeIndex_1600x1200[Depth];
711 if(VDisplay == 1050) ModeIndex = ModeIndex_1680x1050[Depth];
718 if(VDisplay == 1440) ModeIndex = ModeIndex_1920x1440[Depth];
725 if(VDisplay == 1536) ModeIndex = ModeIndex_310_2048x1536[Depth];
737 SiS_GetModeID_TV(int VGAEngine, unsigned int VBFlags, int HDisplay, int VDisplay, int Depth,
748 if(VDisplay == 384) ModeIndex = ModeIndex_512x384[Depth];
752 if(VDisplay == 480) ModeIndex = ModeIndex_640x480[Depth];
753 else if(VDisplay == 400) ModeIndex = ModeIndex_640x400[Depth];
756 if(VDisplay == 600) ModeIndex = ModeIndex_800x600[Depth];
760 if(VDisplay == 768) ModeIndex = ModeIndex_1024x768[Depth];
770 if(VDisplay == 200) ModeIndex = ModeIndex_320x200[Depth];
771 else if(VDisplay == 240) ModeIndex = ModeIndex_320x240[Depth];
774 if(VDisplay == 300) ModeIndex = ModeIndex_400x300[Depth];
781 if(VDisplay == 384) ModeIndex = ModeIndex_512x384[Depth];
786 if(VDisplay == 480) ModeIndex = ModeIndex_640x480[Depth];
787 else if(VDisplay == 400) ModeIndex = ModeIndex_640x400[Depth];
791 if(VDisplay == 480) {
793 } else if(VDisplay == 576) {
800 if(VDisplay == 576) ModeIndex = ModeIndex_768x576[Depth];
804 if(VDisplay == 600) ModeIndex = ModeIndex_800x600[Depth];
805 else if(VDisplay == 480) ModeIndex = ModeIndex_800x480[Depth];
810 if(VDisplay == 600) {
812 } else if(VDisplay == 540) {
822 if(VDisplay == 768) {
824 } else if(VDisplay == 576) {
830 if(VDisplay == 720) {
835 } else if(VDisplay == 1024) {
848 SiS_GetModeID_VGA2(int VGAEngine, unsigned int VBFlags, int HDisplay, int VDisplay, int Depth,
858 if(VDisplay == 1200) {
864 if(VDisplay == 1050) {
871 return SiS_GetModeID(VGAEngine, 0, HDisplay, VDisplay, Depth, FALSE, 0, 0);
4190 current->VDisplay = VDE + 1;
4196 current->VDisplay = E;