Lines Matching refs:vdisplay
788 int vdisplay, vsyncstart, vsyncend, vtotal; in mga_crtc_mode_set() local
915 vdisplay = mode->vdisplay - 1; in mga_crtc_mode_set()
938 ((vdisplay & 0x100) >> 7) | in mga_crtc_mode_set()
940 ((vdisplay & 0x100) >> 5) | in mga_crtc_mode_set()
941 ((vdisplay & 0x100) >> 4) | /* linecomp */ in mga_crtc_mode_set()
943 ((vdisplay & 0x200) >> 3) | in mga_crtc_mode_set()
945 WREG_CRT(9, ((vdisplay & 0x200) >> 4) | in mga_crtc_mode_set()
946 ((vdisplay & 0x200) >> 3)); in mga_crtc_mode_set()
955 WREG_CRT(18, vdisplay & 0xFF); in mga_crtc_mode_set()
958 WREG_CRT(21, vdisplay & 0xFF); in mga_crtc_mode_set()
961 WREG_CRT(24, vdisplay & 0xFF); in mga_crtc_mode_set()
974 ((vdisplay & 0x400) >> 8) | in mga_crtc_mode_set()
975 ((vdisplay & 0xc00) >> 7) | in mga_crtc_mode_set()
977 ((vdisplay & 0x400) >> 3); in mga_crtc_mode_set()
1468 active_area = mode->hdisplay * mode->vdisplay; in mga_vga_calculate_mode_bandwidth()
1493 if (mode->vdisplay > 1200) in mga_vga_mode_valid()
1501 if (mode->vdisplay > 1200) in mga_vga_mode_valid()
1510 if (mode->vdisplay > 1024) in mga_vga_mode_valid()
1547 if ((mode->hdisplay * mode->vdisplay * (bpp/8)) > mdev->mc.vram_size) { in mga_vga_mode_valid()