Home
last modified time | relevance | path

Searched refs:vdispend (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/gpu/drm/mgag200/
H A Dmgag200_mode.c218 unsigned int vdispend, vsyncstr, vsyncend, vtotal, vblkstr, vblkend; in mgag200_set_mode_regs() local
232 vdispend = mode->crtc_vdisplay - 1; in mgag200_set_mode_regs()
239 linecomp = vdispend; in mgag200_set_mode_regs()
262 ((vdispend & 0x400) >> 8) | in mgag200_set_mode_regs()
276 ((vdispend & 0x100) >> 7) | in mgag200_set_mode_regs()
281 ((vdispend & 0x200) >> 3) | in mgag200_set_mode_regs()
287 WREG_CRT(0x12, vdispend & 0xff); in mgag200_set_mode_regs()
/linux/drivers/video/fbdev/
H A Dcirrusfb.c668 int yres, vdispend, vsyncstart, vsyncend, vtotal; in cirrusfb_set_par_foo() local
707 vdispend = var->yres; in cirrusfb_set_par_foo()
708 vsyncstart = vdispend + var->lower_margin; in cirrusfb_set_par_foo()
713 vdispend *= 2; in cirrusfb_set_par_foo()
718 vdispend = (vdispend + 1) / 2; in cirrusfb_set_par_foo()
723 yres = vdispend; in cirrusfb_set_par_foo()
728 vdispend /= 2; in cirrusfb_set_par_foo()
731 vdispend -= 1; in cirrusfb_set_par_foo()
781 if (vdispend & 256) in cirrusfb_set_par_foo()
785 if ((vdispend + 1) & 256) in cirrusfb_set_par_foo()
[all …]
H A Dtridentfb.c1135 u32 vtotal, vdispend, vsyncstart, vsyncend, vblankstart, vblankend; in tridentfb_set_par() local
1150 vdispend = var->yres - 1; in tridentfb_set_par()
1154 vblankstart = vdispend + 1; in tridentfb_set_par()
1159 vdispend /= 2; in tridentfb_set_par()
1197 write3X4(par, VGA_CRTC_V_DISP_END, vdispend & 0xFF); in tridentfb_set_par()
1215 if (vdispend & 0x100) tmp |= 0x02; in tridentfb_set_par()
1220 if (vdispend & 0x200) tmp |= 0x40; in tridentfb_set_par()
1229 if (vdispend & 0x400) tmp |= 0x10; in tridentfb_set_par()