Lines Matching refs:vdisplay
357 unsigned int vdisplay, vsyncstart, vsyncend, vtotal; in mgag200_set_mode_regs() local
369 vdisplay = mode->vdisplay - 1; in mgag200_set_mode_regs()
395 ((vdisplay & 0x400) >> 8) | in mgag200_set_mode_regs()
396 ((vdisplay & 0xc00) >> 7) | in mgag200_set_mode_regs()
398 ((vdisplay & 0x400) >> 3); in mgag200_set_mode_regs()
409 ((vdisplay & 0x100) >> 7) | in mgag200_set_mode_regs()
411 ((vdisplay & 0x100) >> 5) | in mgag200_set_mode_regs()
412 ((vdisplay & 0x100) >> 4) | /* linecomp */ in mgag200_set_mode_regs()
414 ((vdisplay & 0x200) >> 3) | in mgag200_set_mode_regs()
416 WREG_CRT(9, ((vdisplay & 0x200) >> 4) | in mgag200_set_mode_regs()
417 ((vdisplay & 0x200) >> 3)); in mgag200_set_mode_regs()
420 WREG_CRT(18, vdisplay & 0xFF); in mgag200_set_mode_regs()
422 WREG_CRT(21, vdisplay & 0xFF); in mgag200_set_mode_regs()
425 WREG_CRT(24, vdisplay & 0xFF); in mgag200_set_mode_regs()
692 active_area = mode->hdisplay * mode->vdisplay; in mga_vga_calculate_mode_bandwidth()
719 if (mode->vdisplay > 1200) in mga_vga_mode_valid()
727 if (mode->vdisplay > 1200) in mga_vga_mode_valid()
740 if (mode->vdisplay > 1024) in mga_vga_mode_valid()
777 if ((mode->hdisplay * mode->vdisplay * (bpp/8)) > mdev->vram_fb_available) { in mga_vga_mode_valid()