Searched refs:vdispend (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/tiny/ |
D | cirrus.c | 203 int vtotal, vdispend; in cirrus_mode_set() local 212 vdispend = mode->vdisplay; in cirrus_mode_set() 214 vdispend -= 1; in cirrus_mode_set() 228 wreg_crt(cirrus, VGA_CRTC_V_DISP_END, vdispend & 0xff); in cirrus_mode_set() 231 if ((vdispend + 1) & 512) in cirrus_mode_set() 241 if (vdispend & 0x100) in cirrus_mode_set() 243 if ((vdispend + 1) & 0x100) in cirrus_mode_set() 247 if (vdispend & 0x200) in cirrus_mode_set()
|
/linux-6.12.1/drivers/gpu/drm/mgag200/ |
D | mgag200_mode.c | 208 unsigned int vdispend, vsyncstr, vsyncend, vtotal, vblkstr, vblkend; in mgag200_set_mode_regs() local 222 vdispend = mode->crtc_vdisplay - 1; in mgag200_set_mode_regs() 229 linecomp = vdispend; in mgag200_set_mode_regs() 252 ((vdispend & 0x400) >> 8) | in mgag200_set_mode_regs() 266 ((vdispend & 0x100) >> 7) | in mgag200_set_mode_regs() 271 ((vdispend & 0x200) >> 3) | in mgag200_set_mode_regs() 277 WREG_CRT(0x12, vdispend & 0xff); in mgag200_set_mode_regs()
|
/linux-6.12.1/drivers/video/fbdev/ |
D | cirrusfb.c | 668 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 …]
|
D | tridentfb.c | 1135 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()
|