/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_legacy_crtc.c | 101 vsync_wid = mode->crtc_vsync_end - mode->crtc_vsync_start; in radeon_legacy_rmx_mode_set() 105 fp_v_sync_strt_wid = (((mode->crtc_vsync_start - 1) & 0xfff) in radeon_legacy_rmx_mode_set() 183 vsync_wid = mode->crtc_vsync_end - mode->crtc_vsync_start; in radeon_legacy_rmx_mode_set() 187 fp_v_sync_strt_wid = ((((mode->crtc_vsync_start - mode->crtc_vblank_start) & 0xfff) in radeon_legacy_rmx_mode_set() 640 vsync_wid = mode->crtc_vsync_end - mode->crtc_vsync_start; in radeon_set_crtc_timing() 644 crtc_v_sync_strt_wid = (((mode->crtc_vsync_start - 1) & 0xfff) in radeon_set_crtc_timing()
|
H A D | radeon_encoders.c | 361 adjusted_mode->crtc_vsync_start = adjusted_mode->crtc_vdisplay + vover; in radeon_panel_mode_fixup() 362 adjusted_mode->crtc_vsync_end = adjusted_mode->crtc_vsync_start + vsync_width; in radeon_panel_mode_fixup()
|
/openbmc/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_vec.c | 668 if (!(mode->crtc_vsync_start - mode->crtc_vdisplay)) in vc4_vec_encoder_atomic_check() 671 if ((mode->crtc_vsync_end - mode->crtc_vsync_start) != 3) in vc4_vec_encoder_atomic_check() 687 if (!(mode->crtc_vsync_start - mode->crtc_vdisplay)) in vc4_vec_encoder_atomic_check() 690 if ((mode->crtc_vsync_end - mode->crtc_vsync_start) != 3) in vc4_vec_encoder_atomic_check()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_encoders.c | 200 adjusted_mode->crtc_vsync_start = adjusted_mode->crtc_vdisplay + vover; in amdgpu_panel_mode_fixup() 201 adjusted_mode->crtc_vsync_end = adjusted_mode->crtc_vsync_start + vsync_width; in amdgpu_panel_mode_fixup()
|
H A D | atombios_crtc.c | 211 cpu_to_le16(mode->crtc_vsync_start - mode->crtc_vdisplay + amdgpu_crtc->v_border); in amdgpu_atombios_crtc_set_dtd_timing() 213 cpu_to_le16(mode->crtc_vsync_end - mode->crtc_vsync_start); in amdgpu_atombios_crtc_set_dtd_timing()
|
H A D | atombios_encoders.c | 290 && (mode->crtc_vsync_start < (mode->crtc_vdisplay + 2))) in amdgpu_atombios_encoder_mode_fixup() 291 adjusted_mode->crtc_vsync_start = adjusted_mode->crtc_vdisplay + 2; in amdgpu_atombios_encoder_mode_fixup() 294 if (mode->crtc_vsync_start == mode->crtc_vdisplay) in amdgpu_atombios_encoder_mode_fixup() 295 adjusted_mode->crtc_vsync_start++; in amdgpu_atombios_encoder_mode_fixup()
|
/openbmc/linux/drivers/gpu/drm/kmb/ |
H A D | kmb_crtc.c | 81 m->crtc_vsync_start - m->crtc_vdisplay, in kmb_crtc_set_mode() 83 m->crtc_vsync_end - m->crtc_vsync_start, in kmb_crtc_set_mode()
|
/openbmc/linux/drivers/gpu/drm/arm/ |
H A D | hdlcd_crtc.c | 134 vm.vfront_porch = m->crtc_vsync_start - m->crtc_vdisplay; in hdlcd_crtc_mode_set_nofb() 136 vm.vsync_len = m->crtc_vsync_end - m->crtc_vsync_start; in hdlcd_crtc_mode_set_nofb()
|
/openbmc/linux/drivers/gpu/drm/exynos/ |
H A D | exynos5433_drm_decon.c | 206 m->crtc_vsync_start = m->crtc_vdisplay + 1; in decon_commit() 207 m->crtc_vsync_end = m->crtc_vsync_start + 1; in decon_commit() 236 int vfp = m->crtc_vsync_start - m->crtc_vdisplay; in decon_commit() 244 m->crtc_vsync_end - m->crtc_vsync_start - 1); in decon_commit()
|
H A D | exynos7_drm_decon.c | 168 vsync_len = mode->crtc_vsync_end - mode->crtc_vsync_start; in decon_commit() 170 vfpd = mode->crtc_vsync_start - mode->crtc_vdisplay; in decon_commit()
|
/openbmc/linux/drivers/gpu/drm/sun4i/ |
H A D | sun4i_tcon.c | 470 bp = mode->crtc_vtotal - mode->crtc_vsync_start; in sun4i_tcon0_mode_set_lvds() 552 bp = mode->crtc_vtotal - mode->crtc_vsync_start; in sun4i_tcon0_mode_set_rgb() 563 vsync = mode->crtc_vsync_end - mode->crtc_vsync_start; in sun4i_tcon0_mode_set_rgb() 648 bp = mode->crtc_vtotal - mode->crtc_vsync_start; in sun4i_tcon1_mode_set() 676 vsync = mode->crtc_vsync_end - mode->crtc_vsync_start; in sun4i_tcon1_mode_set()
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_panel.c | 494 sync_width = adjusted_mode->crtc_vsync_end - adjusted_mode->crtc_vsync_start; in centre_vertically() 504 adjusted_mode->crtc_vsync_start = adjusted_mode->crtc_vblank_start + sync_pos; in centre_vertically() 505 adjusted_mode->crtc_vsync_end = adjusted_mode->crtc_vsync_start + sync_width; in centre_vertically()
|
H A D | vlv_dsi.c | 1091 adjusted_mode->crtc_vsync_start = vfp + adjusted_mode->crtc_vdisplay; in bxt_dsi_get_pipe_config() 1092 adjusted_mode->crtc_vsync_end = vsync + adjusted_mode->crtc_vsync_start; in bxt_dsi_get_pipe_config() 1235 vfp = adjusted_mode->crtc_vsync_start - adjusted_mode->crtc_vdisplay; in set_dsi_timings() 1236 vsync = adjusted_mode->crtc_vsync_end - adjusted_mode->crtc_vsync_start; in set_dsi_timings()
|
H A D | intel_crtc_state_dump.c | 25 mode->crtc_vsync_start, mode->crtc_vsync_end, mode->crtc_vtotal, in intel_dump_crtc_timings()
|
/openbmc/linux/drivers/gpu/drm/atmel-hlcdc/ |
H A D | atmel_hlcdc_crtc.c | 104 vm.vfront_porch = adj->crtc_vsync_start - adj->crtc_vdisplay; in atmel_hlcdc_crtc_mode_set_nofb() 106 vm.vsync_len = adj->crtc_vsync_end - adj->crtc_vsync_start; in atmel_hlcdc_crtc_mode_set_nofb()
|
/openbmc/linux/drivers/gpu/drm/loongson/ |
H A D | lsdc_crtc.c | 232 (mode->crtc_vsync_end << 16) | mode->crtc_vsync_start | VSYNC_EN); in lsdc_crtc0_set_mode() 250 (mode->crtc_vsync_end << 16) | mode->crtc_vsync_start | VSYNC_EN); in lsdc_crtc1_set_mode() 910 vsw = mode->crtc_vsync_end - mode->crtc_vsync_start; in lsdc_crtc_get_scanout_position()
|
/openbmc/linux/drivers/gpu/drm/udl/ |
H A D | udl_modeset.c | 153 u16 reg05 = mode->crtc_vtotal - mode->crtc_vsync_start; in udl_set_display_mode() 161 u16 reg15 = mode->crtc_vsync_end - mode->crtc_vsync_start; in udl_set_display_mode()
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_modes.c | 1356 p->crtc_vsync_start = p->vsync_start; in drm_mode_set_crtcinfo() 1363 p->crtc_vsync_start /= 2; in drm_mode_set_crtcinfo() 1372 p->crtc_vsync_start *= 2; in drm_mode_set_crtcinfo() 1381 p->crtc_vsync_start *= p->vscan; in drm_mode_set_crtcinfo() 1394 p->crtc_vsync_start += p->crtc_vtotal; in drm_mode_set_crtcinfo() 1401 p->crtc_vblank_start = min(p->crtc_vsync_start, p->crtc_vdisplay); in drm_mode_set_crtcinfo()
|
/openbmc/linux/drivers/gpu/drm/gma500/ |
H A D | oaktrail_crtc.c | 460 (adjusted_mode->crtc_vsync_start - offsetY - 1) | in oaktrail_crtc_mode_set() 475 REG_WRITE_WITH_AUX(map->vsync, (adjusted_mode->crtc_vsync_start - 1) | in oaktrail_crtc_mode_set()
|
H A D | oaktrail_hdmi.c | 335 …REG_WRITE(vsync_reg, (adjusted_mode->crtc_vsync_start - 1) | ((adjusted_mode->crtc_vsync_end - 1) … in oaktrail_crtc_hdmi_mode_set() 343 …REG_WRITE(PCH_VSYNC_B, (adjusted_mode->crtc_vsync_start - 1) | ((adjusted_mode->crtc_vsync_end - 1… in oaktrail_crtc_hdmi_mode_set()
|
/openbmc/linux/drivers/gpu/drm/mxsfb/ |
H A D | mxsfb_kms.c | 109 vsync_pulse_len = m->crtc_vsync_end - m->crtc_vsync_start; in mxsfb_set_mode() 143 SET_VERT_WAIT_CNT(m->crtc_vtotal - m->crtc_vsync_start), in mxsfb_set_mode()
|
/openbmc/linux/include/drm/ |
H A D | drm_modes.h | 331 u16 crtc_vsync_start; member
|
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | head.c | 304 m->v.synce = mode->crtc_vsync_end - mode->crtc_vsync_start - 1; in nv50_head_atomic_check_mode() 305 m->v.blanke = mode->crtc_vblank_end - mode->crtc_vsync_start - 1; in nv50_head_atomic_check_mode()
|
/openbmc/linux/drivers/gpu/drm/tiny/ |
H A D | arcpgu.c | 167 ENCODE_PGU_XY(m->crtc_vsync_start - m->crtc_vdisplay, in arc_pgu_mode_set()
|
/openbmc/linux/drivers/gpu/drm/ingenic/ |
H A D | ingenic-drm-drv.c | 286 vpe = mode->crtc_vsync_end - mode->crtc_vsync_start; in ingenic_drm_crtc_update_timings() 287 vds = mode->crtc_vtotal - mode->crtc_vsync_start; in ingenic_drm_crtc_update_timings() 289 vt = vde + mode->crtc_vsync_start - mode->crtc_vdisplay; in ingenic_drm_crtc_update_timings()
|