Lines Matching refs:VDisplay

341 SiS_GetModeID(int VGAEngine, unsigned int VBFlags, int HDisplay, int VDisplay,  in SiS_GetModeID()  argument
349 if(VDisplay == 200) ModeIndex = ModeIndex_320x200[Depth]; in SiS_GetModeID()
350 else if(VDisplay == 240) { in SiS_GetModeID()
359 if(VDisplay == 300) ModeIndex = ModeIndex_400x300[Depth]; in SiS_GetModeID()
364 if(VDisplay == 384) ModeIndex = ModeIndex_512x384[Depth]; in SiS_GetModeID()
368 if(VDisplay == 480) ModeIndex = ModeIndex_640x480[Depth]; in SiS_GetModeID()
369 else if(VDisplay == 400) ModeIndex = ModeIndex_640x400[Depth]; in SiS_GetModeID()
372 if(VDisplay == 480) ModeIndex = ModeIndex_720x480[Depth]; in SiS_GetModeID()
373 else if(VDisplay == 576) ModeIndex = ModeIndex_720x576[Depth]; in SiS_GetModeID()
376 if(VDisplay == 576) ModeIndex = ModeIndex_768x576[Depth]; in SiS_GetModeID()
379 if(VDisplay == 600) ModeIndex = ModeIndex_800x600[Depth]; in SiS_GetModeID()
380 else if(VDisplay == 480) ModeIndex = ModeIndex_800x480[Depth]; in SiS_GetModeID()
383 if(VDisplay == 480) ModeIndex = ModeIndex_848x480[Depth]; in SiS_GetModeID()
386 if(VDisplay == 480) ModeIndex = ModeIndex_856x480[Depth]; in SiS_GetModeID()
390 if(VDisplay == 540) ModeIndex = ModeIndex_960x540[Depth]; in SiS_GetModeID()
391 else if(VDisplay == 600) ModeIndex = ModeIndex_960x600[Depth]; in SiS_GetModeID()
395 if(VDisplay == 576) ModeIndex = ModeIndex_1024x576[Depth]; in SiS_GetModeID()
396 else if(VDisplay == 768) ModeIndex = ModeIndex_1024x768[Depth]; in SiS_GetModeID()
398 if(VDisplay == 600) ModeIndex = ModeIndex_1024x600[Depth]; in SiS_GetModeID()
402 if(VDisplay == 864) ModeIndex = ModeIndex_1152x864[Depth]; in SiS_GetModeID()
404 if(VDisplay == 768) ModeIndex = ModeIndex_1152x768[Depth]; in SiS_GetModeID()
408 switch(VDisplay) { in SiS_GetModeID()
438 if(VDisplay == 768) ModeIndex = ModeIndex_1360x768[Depth]; in SiS_GetModeID()
440 if(VDisplay == 1024) ModeIndex = ModeIndex_300_1360x1024[Depth]; in SiS_GetModeID()
445 if(VDisplay == 1050) { in SiS_GetModeID()
451 if(VDisplay == 1200) ModeIndex = ModeIndex_1600x1200[Depth]; in SiS_GetModeID()
455 if(VDisplay == 1050) ModeIndex = ModeIndex_1680x1050[Depth]; in SiS_GetModeID()
459 if(VDisplay == 1440) ModeIndex = ModeIndex_1920x1440[Depth]; in SiS_GetModeID()
461 if(VDisplay == 1080) ModeIndex = ModeIndex_1920x1080[Depth]; in SiS_GetModeID()
465 if(VDisplay == 1536) { in SiS_GetModeID()
479 SiS_GetModeID_LCD(int VGAEngine, unsigned int VBFlags, int HDisplay, int VDisplay, in SiS_GetModeID_LCD() argument
491 if(VDisplay == 200) { in SiS_GetModeID_LCD()
493 } else if(VDisplay == 240) { in SiS_GetModeID_LCD()
504 if(VDisplay == 300) ModeIndex = ModeIndex_400x300[Depth]; in SiS_GetModeID_LCD()
512 if(VDisplay == 384) { in SiS_GetModeID_LCD()
520 if(VDisplay == 480) ModeIndex = ModeIndex_640x480[Depth]; in SiS_GetModeID_LCD()
521 else if(VDisplay == 400) { in SiS_GetModeID_LCD()
527 if(VDisplay == 600) ModeIndex = ModeIndex_800x600[Depth]; in SiS_GetModeID_LCD()
531 if(VDisplay == 480) ModeIndex = ModeIndex_848x480[Depth]; in SiS_GetModeID_LCD()
536 if(VDisplay == 480) ModeIndex = ModeIndex_856x480[Depth]; in SiS_GetModeID_LCD()
540 if(VDisplay == 768) ModeIndex = ModeIndex_1024x768[Depth]; in SiS_GetModeID_LCD()
542 if((VDisplay == 600) && (LCDheight == 600)) { in SiS_GetModeID_LCD()
549 if((VDisplay == 768) && (LCDheight == 768)) { in SiS_GetModeID_LCD()
555 if(VDisplay == 1024) ModeIndex = ModeIndex_1280x1024[Depth]; in SiS_GetModeID_LCD()
557 if((VDisplay == 768) && (LCDheight == 768)) { in SiS_GetModeID_LCD()
565 if(VDisplay == 1024) ModeIndex = ModeIndex_300_1360x1024[Depth]; in SiS_GetModeID_LCD()
569 if(VDisplay == 768) ModeIndex = ModeIndex_1360x768[Depth]; in SiS_GetModeID_LCD()
574 if(VDisplay == 1050) ModeIndex = ModeIndex_1400x1050[Depth]; in SiS_GetModeID_LCD()
579 if(VDisplay == 1200) ModeIndex = ModeIndex_1600x1200[Depth]; in SiS_GetModeID_LCD()
589 if(VDisplay == 200) ModeIndex = ModeIndex_320x200[Depth]; in SiS_GetModeID_LCD()
590 else if(VDisplay == 240) ModeIndex = ModeIndex_320x240[Depth]; in SiS_GetModeID_LCD()
594 if(VDisplay == 300) ModeIndex = ModeIndex_400x300[Depth]; in SiS_GetModeID_LCD()
599 if(VDisplay == 384) ModeIndex = ModeIndex_512x384[Depth]; in SiS_GetModeID_LCD()
603 if(VDisplay == 480) ModeIndex = ModeIndex_640x480[Depth]; in SiS_GetModeID_LCD()
604 else if(VDisplay == 400) ModeIndex = ModeIndex_640x400[Depth]; in SiS_GetModeID_LCD()
608 if(VDisplay == 480) ModeIndex = ModeIndex_720x480[Depth]; in SiS_GetModeID_LCD()
609 else if(VDisplay == 576) ModeIndex = ModeIndex_720x576[Depth]; in SiS_GetModeID_LCD()
614 if(VDisplay == 576) ModeIndex = ModeIndex_768x576[Depth]; in SiS_GetModeID_LCD()
618 if(VDisplay == 600) ModeIndex = ModeIndex_800x600[Depth]; in SiS_GetModeID_LCD()
620 if(VDisplay == 480) ModeIndex = ModeIndex_800x480[Depth]; in SiS_GetModeID_LCD()
625 if(VDisplay == 480) ModeIndex = ModeIndex_848x480[Depth]; in SiS_GetModeID_LCD()
630 if(VDisplay == 480) ModeIndex = ModeIndex_856x480[Depth]; in SiS_GetModeID_LCD()
635 if(VDisplay == 540) ModeIndex = ModeIndex_960x540[Depth]; in SiS_GetModeID_LCD()
636 else if(VDisplay == 600) ModeIndex = ModeIndex_960x600[Depth]; in SiS_GetModeID_LCD()
640 if(VDisplay == 768) ModeIndex = ModeIndex_1024x768[Depth]; in SiS_GetModeID_LCD()
642 if(VDisplay == 576) ModeIndex = ModeIndex_1024x576[Depth]; in SiS_GetModeID_LCD()
647 if(VDisplay == 864) ModeIndex = ModeIndex_1152x864[Depth]; in SiS_GetModeID_LCD()
651 switch(VDisplay) { in SiS_GetModeID_LCD()
682 if(VDisplay == 768) ModeIndex = ModeIndex_1360x768[Depth]; in SiS_GetModeID_LCD()
688 if(VDisplay == 1050) ModeIndex = ModeIndex_1400x1050[Depth]; in SiS_GetModeID_LCD()
695 if(VDisplay == 1200) ModeIndex = ModeIndex_1600x1200[Depth]; in SiS_GetModeID_LCD()
703 if(VDisplay == 1050) ModeIndex = ModeIndex_1680x1050[Depth]; in SiS_GetModeID_LCD()
710 if(VDisplay == 1440) ModeIndex = ModeIndex_1920x1440[Depth]; in SiS_GetModeID_LCD()
717 if(VDisplay == 1536) ModeIndex = ModeIndex_310_2048x1536[Depth]; in SiS_GetModeID_LCD()
729 SiS_GetModeID_TV(int VGAEngine, unsigned int VBFlags, int HDisplay, int VDisplay, int Depth, in SiS_GetModeID_TV() argument
740 if(VDisplay == 384) ModeIndex = ModeIndex_512x384[Depth]; in SiS_GetModeID_TV()
744 if(VDisplay == 480) ModeIndex = ModeIndex_640x480[Depth]; in SiS_GetModeID_TV()
745 else if(VDisplay == 400) ModeIndex = ModeIndex_640x400[Depth]; in SiS_GetModeID_TV()
748 if(VDisplay == 600) ModeIndex = ModeIndex_800x600[Depth]; in SiS_GetModeID_TV()
752 if(VDisplay == 768) ModeIndex = ModeIndex_1024x768[Depth]; in SiS_GetModeID_TV()
762 if(VDisplay == 200) ModeIndex = ModeIndex_320x200[Depth]; in SiS_GetModeID_TV()
763 else if(VDisplay == 240) ModeIndex = ModeIndex_320x240[Depth]; in SiS_GetModeID_TV()
766 if(VDisplay == 300) ModeIndex = ModeIndex_400x300[Depth]; in SiS_GetModeID_TV()
772 if(VDisplay == 384) ModeIndex = ModeIndex_512x384[Depth]; in SiS_GetModeID_TV()
776 if(VDisplay == 480) ModeIndex = ModeIndex_640x480[Depth]; in SiS_GetModeID_TV()
777 else if(VDisplay == 400) ModeIndex = ModeIndex_640x400[Depth]; in SiS_GetModeID_TV()
781 if(VDisplay == 480) { in SiS_GetModeID_TV()
783 } else if(VDisplay == 576) { in SiS_GetModeID_TV()
794 if(VDisplay == 576) ModeIndex = ModeIndex_768x576[Depth]; in SiS_GetModeID_TV()
799 if(VDisplay == 600) ModeIndex = ModeIndex_800x600[Depth]; in SiS_GetModeID_TV()
800 else if(VDisplay == 480) { in SiS_GetModeID_TV()
808 if(VDisplay == 600) { in SiS_GetModeID_TV()
816 if(VDisplay == 768) { in SiS_GetModeID_TV()
820 } else if(VDisplay == 576) { in SiS_GetModeID_TV()
830 if(VDisplay == 720) { in SiS_GetModeID_TV()
835 } else if(VDisplay == 1024) { in SiS_GetModeID_TV()
848 SiS_GetModeID_VGA2(int VGAEngine, unsigned int VBFlags, int HDisplay, int VDisplay, int Depth, in SiS_GetModeID_VGA2() argument
858 if(VDisplay == 1200) { in SiS_GetModeID_VGA2()
864 if(VDisplay == 1050) { in SiS_GetModeID_VGA2()
871 return SiS_GetModeID(VGAEngine, 0, HDisplay, VDisplay, Depth, false, 0, 0); in SiS_GetModeID_VGA2()