Lines Matching refs:vdisplay
928 int vdisplay, vsyncstart, vsyncend, vtotal; in mga_crtc_mode_set() local
1061 vdisplay = mode->vdisplay - 1; in mga_crtc_mode_set()
1084 ((vdisplay & 0x100) >> 7) | in mga_crtc_mode_set()
1086 ((vdisplay & 0x100) >> 5) | in mga_crtc_mode_set()
1087 ((vdisplay & 0x100) >> 4) | /* linecomp */ in mga_crtc_mode_set()
1089 ((vdisplay & 0x200) >> 3) | in mga_crtc_mode_set()
1091 WREG_CRT(9, ((vdisplay & 0x200) >> 4) | in mga_crtc_mode_set()
1092 ((vdisplay & 0x200) >> 3)); in mga_crtc_mode_set()
1101 WREG_CRT(18, vdisplay & 0xFF); in mga_crtc_mode_set()
1104 WREG_CRT(21, vdisplay & 0xFF); in mga_crtc_mode_set()
1107 WREG_CRT(24, vdisplay & 0xFF); in mga_crtc_mode_set()
1120 ((vdisplay & 0x400) >> 8) | in mga_crtc_mode_set()
1121 ((vdisplay & 0xc00) >> 7) | in mga_crtc_mode_set()
1123 ((vdisplay & 0x400) >> 3); in mga_crtc_mode_set()
1575 active_area = mode->hdisplay * mode->vdisplay; in mga_vga_calculate_mode_bandwidth()
1600 if (mode->vdisplay > 1200) in mga_vga_mode_valid()
1608 if (mode->vdisplay > 1200) in mga_vga_mode_valid()
1621 if (mode->vdisplay > 1024) in mga_vga_mode_valid()
1658 if ((mode->hdisplay * mode->vdisplay * (bpp/8)) > mdev->mc.vram_size) { in mga_vga_mode_valid()