Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/tiny/
Dcirrus.c203 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-v6.6/drivers/video/fbdev/
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 …]
Dtridentfb.c1136 u32 vtotal, vdispend, vsyncstart, vsyncend, vblankstart, vblankend; in tridentfb_set_par() local
1151 vdispend = var->yres - 1; in tridentfb_set_par()
1155 vblankstart = vdispend + 1; in tridentfb_set_par()
1160 vdispend /= 2; in tridentfb_set_par()
1198 write3X4(par, VGA_CRTC_V_DISP_END, vdispend & 0xFF); in tridentfb_set_par()
1216 if (vdispend & 0x100) tmp |= 0x02; in tridentfb_set_par()
1221 if (vdispend & 0x200) tmp |= 0x40; in tridentfb_set_par()
1230 if (vdispend & 0x400) tmp |= 0x10; in tridentfb_set_par()