Lines Matching refs:vdispend
663 int yres, vdispend, vsyncstart, vsyncend, vtotal;
702 vdispend = var->yres;
703 vsyncstart = vdispend + var->lower_margin;
708 vdispend *= 2;
713 vdispend = (vdispend + 1) / 2;
718 yres = vdispend;
723 vdispend /= 2;
726 vdispend -= 1;
776 if (vdispend & 256)
780 if ((vdispend + 1) & 256)
784 if (vdispend & 512)
792 if ((vdispend + 1) & 512)
805 dev_dbg(info->device, "CRT12: %d\n", vdispend & 0xff);
806 vga_wcrt(regbase, VGA_CRTC_V_DISP_END, vdispend & 0xff);
808 dev_dbg(info->device, "CRT15: %d\n", (vdispend + 1) & 0xff);
809 vga_wcrt(regbase, VGA_CRTC_V_BLANK_START, (vdispend + 1) & 0xff);
1222 if (vdispend & 1024)