Lines Matching refs:vdispend
668 int yres, vdispend, vsyncstart, vsyncend, vtotal;
707 vdispend = var->yres;
708 vsyncstart = vdispend + var->lower_margin;
713 vdispend *= 2;
718 vdispend = (vdispend + 1) / 2;
723 yres = vdispend;
728 vdispend /= 2;
731 vdispend -= 1;
781 if (vdispend & 256)
785 if ((vdispend + 1) & 256)
789 if (vdispend & 512)
797 if ((vdispend + 1) & 512)
810 dev_dbg(info->device, "CRT12: %d\n", vdispend & 0xff);
811 vga_wcrt(regbase, VGA_CRTC_V_DISP_END, vdispend & 0xff);
813 dev_dbg(info->device, "CRT15: %d\n", (vdispend + 1) & 0xff);
814 vga_wcrt(regbase, VGA_CRTC_V_BLANK_START, (vdispend + 1) & 0xff);
1228 if (vdispend & 1024)