/netbsd-src/sys/external/bsd/drm2/dist/drm/ |
H A D | drm_modes.c | 294 drm_mode->vsync_start = drm_mode->vdisplay + CVT_MIN_V_PORCH; in drm_cvt_mode() 295 drm_mode->vsync_end = drm_mode->vsync_start + vsync; in drm_cvt_mode() 326 drm_mode->vsync_start = drm_mode->vdisplay + CVT_RB_VFPORCH; in drm_cvt_mode() 327 drm_mode->vsync_end = drm_mode->vsync_start + vsync; in drm_cvt_mode() 525 drm_mode->vsync_start = vdisplay_rnd + vodd_front_porch_lines; in drm_gtf_mode_complex() 526 drm_mode->vsync_end = drm_mode->vsync_start + V_SYNC_RQD; in drm_gtf_mode_complex() 607 dmode->vsync_start = dmode->vdisplay + vm->vfront_porch; in drm_display_mode_from_videomode() 608 dmode->vsync_end = dmode->vsync_start + vm->vsync_len; in drm_display_mode_from_videomode() 648 vm->vfront_porch = dmode->vsync_start - dmode->vdisplay; in drm_display_mode_to_videomode() 649 vm->vsync_len = dmode->vsync_end - dmode->vsync_start; in drm_display_mode_to_videomode() [all …]
|
/netbsd-src/sys/dev/ic/ |
H A D | igsfb_subr.c | 486 int vsync_start, hsync_start, vsync_end, hsync_end; in igsfb_set_mode() local 519 ((mode->vsync_start & 0x400) >> 8) | in igsfb_set_mode() 520 ((mode->vsync_start & 0x400) >> 7) | in igsfb_set_mode() 555 vblank_start = uimin(mode->vsync_start, mode->vdisplay); in igsfb_set_mode() 558 vsync_start = mode->vsync_start; in igsfb_set_mode() 569 ((vsync_start & 0x200) >> 2) | in igsfb_set_mode() 574 ((vsync_start & 0x100) >> 6) | in igsfb_set_mode() 588 igs_crtc_write(iot, ioh, 0x10, vsync_start & 0xff); in igsfb_set_mode()
|
H A D | vga_raster.c | 939 | ((mode->vsync_start & 0x100) >> 6) in vga_setup_regs() 940 | (((mode->vsync_start - 1) & 0x100) >> 5) in vga_setup_regs() 944 | ((mode->vsync_start & 0x200) >> 2); in vga_setup_regs() 946 regs->crtc[9] = (((mode->vsync_start - 1) & 0x200) >> 4) | 0x40; in vga_setup_regs() 955 regs->crtc[16] = mode->vsync_start & 0xff; in vga_setup_regs() 960 regs->crtc[21] = (mode->vsync_start - 1) & 0xff; in vga_setup_regs()
|
/netbsd-src/usr.sbin/grfconfig/ |
H A D | grfconfig.c | 179 gv->vsync_start = atoi(cps[10]); in main() 203 (gv->vsync_start == 0) || in main() 265 gv->vsync_start *= 2; in main() 276 gv->vsync_start /= 2; in main() 381 gv->vsync_start, in print_modeline()
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
H A D | amdgpu_encoders.c | 177 unsigned vover = native_mode->vsync_start - native_mode->vdisplay; in amdgpu_panel_mode_fixup() 179 unsigned vsync_width = native_mode->vsync_end - native_mode->vsync_start; in amdgpu_panel_mode_fixup() 192 adjusted_mode->vsync_start = native_mode->vdisplay + vover; in amdgpu_panel_mode_fixup() 193 adjusted_mode->vsync_end = adjusted_mode->vsync_start + vsync_width; in amdgpu_panel_mode_fixup()
|
/netbsd-src/sys/external/bsd/drm2/dist/include/drm/ |
H A D | drm_modes.h | 141 .vsync_start = (vss), .vsync_end = (vse), .vtotal = (vt), \ 157 .htotal = (hd), .vdisplay = (vd), .vsync_start = (vd), \ 290 int vsync_start; member 446 (m)->vdisplay, (m)->vsync_start, (m)->vsync_end, (m)->vtotal, \
|
/netbsd-src/sys/arch/arm/iomd/ |
H A D | vidc20config.c | 493 vidcvideo_write(VIDC_VSWR, vm->vsync_end - vm->vsync_start - 1); in vidcvideo_setmode() 494 vidcvideo_write(VIDC_VBSR, vm->vtotal - vm->vsync_start - 1); in vidcvideo_setmode() 495 vidcvideo_write(VIDC_VDSR, vm->vtotal - vm->vsync_start - 1); in vidcvideo_setmode() 497 vm->vtotal - vm->vsync_start + vm->vdisplay - 1); in vidcvideo_setmode() 499 vm->vtotal - vm->vsync_start + vm->vdisplay - 1); in vidcvideo_setmode() 655 vidc_currentmode.timings.vsync_start; in vidcvideo_updatecursor()
|
/netbsd-src/sys/dev/videomode/ |
H A D | vesagtf.c | 623 vmp->vsync_start = v_lines + v_odd_front_porch_lines; in vesagtf_mode_params() 624 vmp->vsync_end = vmp->vsync_start + params->vsync_rqd; in vesagtf_mode_params() 679 vmp->vdisplay, vmp->vsync_start, vmp->vsync_end, vmp->vtotal);
|
H A D | videomode.h | 40 int vsync_start; member
|
H A D | edid.c | 281 edid->edid_modes[i].vsync_start, in edid_print() 411 vmp->vsync_start = vactive + vsyncoff; in edid_det_timing() 412 vmp->vsync_end = vmp->vsync_start + vsyncwid; in edid_det_timing()
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/radeon/ |
H A D | radeon_encoders.c | 338 unsigned vover = native_mode->vsync_start - native_mode->vdisplay; in radeon_panel_mode_fixup() 340 unsigned vsync_width = native_mode->vsync_end - native_mode->vsync_start; in radeon_panel_mode_fixup() 355 adjusted_mode->vsync_start = native_mode->vdisplay + vover; in radeon_panel_mode_fixup() 356 adjusted_mode->vsync_end = adjusted_mode->vsync_start + vsync_width; in radeon_panel_mode_fixup()
|
/netbsd-src/sys/arch/arm/rockchip/ |
H A D | rk_vop.c | 315 uint32_t vtotal, vsync_start; in rk_vop_plane_atomic_update() local 336 vsync_start = mode->vsync_start; in rk_vop_plane_atomic_update() 338 __SHIFTIN(dst->y1 + vtotal - vsync_start, WIN0_DSP_YST); in rk_vop_plane_atomic_update() 473 const u_int vsync_len = adjusted_mode->vsync_end - adjusted_mode->vsync_start; in rk_vop_crtc_atomic_enable() 475 const u_int vfront_porch = adjusted_mode->vsync_start - adjusted_mode->vdisplay; in rk_vop_crtc_atomic_enable()
|
/netbsd-src/sys/arch/amiga/dev/ |
H A D | grf_ul.c | 386 ba->data = md->vsync_stop - md->vsync_start; in ul_load_mon() 387 ba->data = md->vtotal - md->vsync_start - 1; in ul_load_mon() 388 ba->data = md->vblank_start + md->vtotal - md->vsync_start - 1; in ul_load_mon() 595 vm->vsync_start = md->vsync_start; in ul_getvmode()
|
H A D | grfioctl.h | 94 u_short vsync_start; member
|
/netbsd-src/sys/arch/atari/dev/ |
H A D | grfabs_et.c | 538 regs->crt[CRT_ID_START_VER_RETR] = mode->vsync_start; in et_loadmode() 558 ((mode->vsync_start & 0x100) ? 0x04 : 0x00) | in et_loadmode() 562 ((mode->vsync_start & 0x200) ? 0x80 : 0x00); in et_loadmode() 568 ((mode->vsync_start & 0x400) ? 0x08 : 0x00) | in et_loadmode()
|
H A D | grfioctl.h | 103 u_short vsync_start; member
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/display/ |
H A D | intel_tv.c | 1023 mode->vsync_start = mode->vdisplay + in intel_tv_mode_to_mode() 1025 mode->vsync_end = mode->vsync_start + in intel_tv_mode_to_mode() 1030 mode->vsync_start = mode->vdisplay + in intel_tv_mode_to_mode() 1033 mode->vsync_end = mode->vsync_start + in intel_tv_mode_to_mode() 1074 int vsync_start = mode->vsync_start - mode->vdisplay + bottom_margin; in intel_tv_scale_mode_vert() local 1082 mode->vsync_start = vdisplay + vsync_start * new_vtotal / mode->vtotal; in intel_tv_scale_mode_vert()
|
H A D | icl_dsi.c | 806 u16 vtotal, vactive, vsync_start, vsync_end, vsync_shift; in gen11_dsi_set_transcoder_timings() local 831 vsync_start = adjusted_mode->crtc_vsync_start; in gen11_dsi_set_transcoder_timings() 894 if (vsync_end < vsync_start || vsync_end > vtotal) in gen11_dsi_set_transcoder_timings() 897 if (vsync_start < vactive) in gen11_dsi_set_transcoder_timings() 904 (vsync_start - 1) | ((vsync_end - 1) << 16)); in gen11_dsi_set_transcoder_timings()
|
H A D | intel_sdvo.c | 849 v_sync_len = mode->vsync_end - mode->vsync_start; in intel_sdvo_get_dtd_from_mode() 852 v_sync_offset = mode->vsync_start - mode->vdisplay; in intel_sdvo_get_dtd_from_mode() 902 mode.vsync_start = mode.vdisplay; in intel_sdvo_get_mode_from_dtd() 903 mode.vsync_start += (dtd->part2.v_sync_off_width >> 4) & 0xf; in intel_sdvo_get_mode_from_dtd() 904 mode.vsync_start += (dtd->part2.sync_off_width_high & 0x0c) << 2; in intel_sdvo_get_mode_from_dtd() 905 mode.vsync_start += dtd->part2.v_sync_off_high & 0xc0; in intel_sdvo_get_mode_from_dtd() 906 mode.vsync_end = mode.vsync_start + in intel_sdvo_get_mode_from_dtd()
|
H A D | intel_crt.c | 715 u32 vsync_start = (vsync & 0xffff) + 1; in intel_crt_load_detect() local 717 vblank_start = vsync_start; in intel_crt_load_detect()
|
/netbsd-src/sys/arch/arm/sunxi/ |
H A D | sunxi_tcon.c | 558 mode.vsync_start = lcd_vt - lcd_vbp; in sunxi_tcon0_set_video() 559 mode.vsync_end = lcd_vspw + mode.vsync_start; in sunxi_tcon0_set_video() 736 const u_int vspw = mode->vsync_end - mode->vsync_start; in sunxi_tcon1_set_videomode() 737 const u_int vbp = mode->vtotal - mode->vsync_start; in sunxi_tcon1_set_videomode()
|
H A D | sunxi_hdmi.c | 844 const u_int vfp = mode->vsync_start - mode->vdisplay; in sunxi_hdmi_set_videomode() 845 const u_int vspw = mode->vsync_end - mode->vsync_start; in sunxi_hdmi_set_videomode() 846 const u_int vbp = mode->vtotal - mode->vsync_start; in sunxi_hdmi_set_videomode()
|
/netbsd-src/sys/dev/pci/ |
H A D | machfb.c | 933 int vtotal, vdisplay, vsync_start, vsync_end; in mach64_get_mode() local 966 vsync_start = (vsync_end & 0x07ff) + 1; in mach64_get_mode() 967 vsync_end = ((vsync_end & 0x1f0000) >> 16) + vsync_start; in mach64_get_mode() 992 hsync_start, hsync_end, htotal, vsync_start, vsync_end, vtotal, in mach64_get_mode() 1003 mode->vsync_start = vsync_start; in mach64_get_mode() 1081 ((mode->vsync_end - mode->vsync_start) << 16) | in mach64_calc_crtcregs() 1082 (mode->vsync_start - 1); in mach64_calc_crtcregs()
|
/netbsd-src/sys/external/bsd/drm/dist/shared-core/ |
H A D | drm_mode.h | 88 uint16_t vdisplay, vsync_start, vsync_end, vtotal, vscan; member
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/ |
H A D | nouveau_dispnv04_tvnv17.c | 285 mode->vsync_start = output_mode->vsync_start; in nv17_tv_get_hd_modes() 549 output_mode->vsync_start - 1; in nv17_tv_mode_set()
|