Searched refs:vdispend (Results 1 – 4 of 4) sorted by relevance
| /drivers/gpu/drm/tiny/ |
| A D | cirrus-qemu.c | 158 int vtotal, vdispend; in cirrus_mode_set() local 167 vdispend = mode->vdisplay; in cirrus_mode_set() 169 vdispend -= 1; in cirrus_mode_set() 183 wreg_crt(cirrus, VGA_CRTC_V_DISP_END, vdispend & 0xff); in cirrus_mode_set() 186 if ((vdispend + 1) & 512) in cirrus_mode_set() 196 if (vdispend & 0x100) in cirrus_mode_set() 198 if ((vdispend + 1) & 0x100) in cirrus_mode_set() 202 if (vdispend & 0x200) in cirrus_mode_set()
|
| /drivers/gpu/drm/mgag200/ |
| A D | mgag200_mode.c | 194 unsigned int vdispend, vsyncstr, vsyncend, vtotal, vblkstr, vblkend; in mgag200_set_mode_regs() local 208 vdispend = mode->crtc_vdisplay - 1; in mgag200_set_mode_regs() 215 linecomp = vdispend; in mgag200_set_mode_regs() 238 ((vdispend & 0x400) >> 8) | in mgag200_set_mode_regs() 252 ((vdispend & 0x100) >> 7) | in mgag200_set_mode_regs() 257 ((vdispend & 0x200) >> 3) | in mgag200_set_mode_regs() 263 WREG_CRT(0x12, vdispend & 0xff); in mgag200_set_mode_regs()
|
| /drivers/video/fbdev/ |
| A D | cirrusfb.c | 707 vdispend = var->yres; 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() 789 if (vdispend & 512) in cirrusfb_set_par_foo() 797 if ((vdispend + 1) & 512) in cirrusfb_set_par_foo() [all …]
|
| A 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()
|
Completed in 17 milliseconds