Lines Matching refs:vdispend
666 int yres, vdispend, vsyncstart, vsyncend, vtotal;
705 vdispend = var->yres;
706 vsyncstart = vdispend + var->lower_margin;
711 vdispend *= 2;
716 vdispend = (vdispend + 1) / 2;
721 yres = vdispend;
726 vdispend /= 2;
729 vdispend -= 1;
779 if (vdispend & 256)
783 if ((vdispend + 1) & 256)
787 if (vdispend & 512)
795 if ((vdispend + 1) & 512)
808 dev_dbg(info->device, "CRT12: %d\n", vdispend & 0xff);
809 vga_wcrt(regbase, VGA_CRTC_V_DISP_END, vdispend & 0xff);
811 dev_dbg(info->device, "CRT15: %d\n", (vdispend + 1) & 0xff);
812 vga_wcrt(regbase, VGA_CRTC_V_BLANK_START, (vdispend + 1) & 0xff);
1226 if (vdispend & 1024)