Lines Matching refs:hdisplay
887 int hdisplay, hsyncstart, hsyncend, htotal; in mga_crtc_mode_set() local
1010 hdisplay = mode->hdisplay / 8 - 1; in mga_crtc_mode_set()
1035 WREG_CRT(1, hdisplay); in mga_crtc_mode_set()
1036 WREG_CRT(2, hdisplay); in mga_crtc_mode_set()
1074 ((hdisplay & 0x100) >> 7) | in mga_crtc_mode_set()
1575 active_area = mode->hdisplay * mode->vdisplay; in mga_vga_calculate_mode_bandwidth()
1598 if (mode->hdisplay > 1600) in mga_vga_mode_valid()
1606 if (mode->hdisplay > 1920) in mga_vga_mode_valid()
1615 if (mode->hdisplay > 1280) in mga_vga_mode_valid()
1636 if ((mode->hdisplay % 8) != 0 || (mode->hsync_start % 8) != 0 || in mga_vga_mode_valid()
1654 if ((mode->hdisplay * mode->vdisplay * (bpp/8)) > mdev->mc.vram_size) { in mga_vga_mode_valid()