| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_vrr.c | 191 pixel_clock_per_line * FIXED_POINT_PRECISION / adjusted_mode->crtc_vtotal; in is_cmrr_frac_required() 256 crtc_state->vrr.vmax = crtc_state->hw.adjusted_mode.crtc_vtotal; in intel_vrr_compute_fixed_rr_timings() 289 return intel_vrr_hw_value(crtc_state, crtc_state->hw.adjusted_mode.crtc_vtotal); in intel_vrr_fixed_rr_hw_vtotal() 339 return crtc_state->hw.adjusted_mode.crtc_vtotal; in intel_vrr_compute_vmin() 351 vmax = max_t(int, vmax, adjusted_mode->crtc_vtotal); in intel_vrr_compute_vmax() 457 (crtc_state->hw.adjusted_mode.crtc_vtotal - in intel_vrr_compute_config() 460 (crtc_state->hw.adjusted_mode.crtc_vtotal - in intel_vrr_compute_config() 563 adjusted_mode->crtc_vtotal - crtc_state->vrr.guardband; in intel_vrr_compute_guardband() 1101 crtc_state->hw.adjusted_mode.crtc_vtotal = in intel_vrr_get_config() 1142 crtc_state->hw.adjusted_mode.crtc_vtotal - in intel_vrr_get_config()
|
| H A D | intel_alpm.c | 249 int first_sdp_position = adjusted_mode->crtc_vtotal - in intel_alpm_lobf_min_guardband() 270 int vblank = adjusted_mode->crtc_vtotal - adjusted_mode->crtc_vdisplay; in intel_alpm_lobf_is_window1_sufficient() 312 first_sdp_position = adjusted_mode->crtc_vtotal - adjusted_mode->crtc_vsync_start; in intel_alpm_lobf_compute_config_late()
|
| H A D | intel_display.c | 2242 mode->vtotal = timings->crtc_vtotal; in intel_mode_from_crtc_timings() 2677 u32 crtc_vdisplay, crtc_vtotal, crtc_vblank_start, crtc_vblank_end; in intel_set_transcoder_timings() local 2685 crtc_vtotal = adjusted_mode->crtc_vtotal; in intel_set_transcoder_timings() 2691 crtc_vtotal -= 1; in intel_set_transcoder_timings() 2744 crtc_vtotal = 1; in intel_set_transcoder_timings() 2748 VTOTAL(crtc_vtotal - 1)); in intel_set_transcoder_timings() 2764 VTOTAL(crtc_vtotal - 1)); in intel_set_transcoder_timings() 2785 u32 crtc_vdisplay, crtc_vtotal, crtc_vblank_start, crtc_vblank_end; in intel_set_transcoder_timings_lrr() local 2790 crtc_vtotal = adjusted_mode->crtc_vtotal; in intel_set_transcoder_timings_lrr() 2796 crtc_vtotal -= 1; in intel_set_transcoder_timings_lrr() [all …]
|
| H A D | dvo_ns2501.c | 589 adjusted_mode->crtc_vtotal); in ns2501_mode_set()
|
| /linux/drivers/gpu/drm/sun4i/ |
| H A D | sun4i_tcon.c | 405 start_delay = (mode->crtc_vtotal - mode->crtc_vdisplay - 10 - 1); in sun4i_tcon0_mode_set_cpu() 470 bp = mode->crtc_vtotal - mode->crtc_vsync_start; in sun4i_tcon0_mode_set_lvds() 472 mode->crtc_vtotal, bp); in sun4i_tcon0_mode_set_lvds() 476 SUN4I_TCON0_BASIC2_V_TOTAL(mode->crtc_vtotal * 2) | in sun4i_tcon0_mode_set_lvds() 552 bp = mode->crtc_vtotal - mode->crtc_vsync_start; in sun4i_tcon0_mode_set_rgb() 554 mode->crtc_vtotal, bp); in sun4i_tcon0_mode_set_rgb() 558 SUN4I_TCON0_BASIC2_V_TOTAL(mode->crtc_vtotal * 2) | in sun4i_tcon0_mode_set_rgb() 648 bp = mode->crtc_vtotal - mode->crtc_vsync_start; in sun4i_tcon1_mode_set() 650 mode->crtc_vtotal, bp); in sun4i_tcon1_mode_set()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_modes.c | 1362 p->crtc_vtotal = p->vtotal; in drm_mode_set_crtcinfo() 1369 p->crtc_vtotal /= 2; in drm_mode_set_crtcinfo() 1378 p->crtc_vtotal *= 2; in drm_mode_set_crtcinfo() 1387 p->crtc_vtotal *= p->vscan; in drm_mode_set_crtcinfo() 1397 p->crtc_vdisplay += p->crtc_vtotal; in drm_mode_set_crtcinfo() 1398 p->crtc_vsync_start += p->crtc_vtotal; in drm_mode_set_crtcinfo() 1399 p->crtc_vsync_end += p->crtc_vtotal; in drm_mode_set_crtcinfo() 1400 p->crtc_vtotal += p->crtc_vtotal; in drm_mode_set_crtcinfo() 1406 p->crtc_vblank_end = max(p->crtc_vsync_end, p->crtc_vtotal); in drm_mode_set_crtcinfo()
|
| H A D | drm_vblank.c | 643 int frame_size = mode->crtc_htotal * mode->crtc_vtotal; in drm_calc_timestamping_constants() 670 mode->crtc_vtotal, mode->crtc_vdisplay); in drm_calc_timestamping_constants() 1032 mode->crtc_vtotal); in drm_crtc_next_vblank_start()
|
| /linux/drivers/gpu/drm/loongson/ |
| H A D | lsdc_crtc.c | 228 (mode->crtc_vtotal << 16) | mode->crtc_vdisplay); in lsdc_crtc0_set_mode() 246 (mode->crtc_vtotal << 16) | mode->crtc_vdisplay); in lsdc_crtc1_set_mode() 913 vbp = mode->crtc_vtotal - mode->crtc_vsync_end; in lsdc_crtc_get_scanout_position() 919 vfp_end = mode->crtc_vtotal; in lsdc_crtc_get_scanout_position()
|
| /linux/drivers/gpu/drm/renesas/rcar-du/ |
| H A D | rcar_du_crtc.c | 316 rcar_du_crtc_write(rcrtc, VDSR, mode->crtc_vtotal - in rcar_du_crtc_set_display_timing() 318 rcar_du_crtc_write(rcrtc, VDER, mode->crtc_vtotal - in rcar_du_crtc_set_display_timing() 321 rcar_du_crtc_write(rcrtc, VSPR, mode->crtc_vtotal - in rcar_du_crtc_set_display_timing() 324 rcar_du_crtc_write(rcrtc, VCR, mode->crtc_vtotal - 1); in rcar_du_crtc_set_display_timing()
|
| /linux/drivers/gpu/drm/udl/ |
| H A D | udl_modeset.c | 154 u16 reg05 = mode->crtc_vtotal - mode->crtc_vsync_start; in udl_set_display_mode() 160 u16 reg11 = mode->crtc_vtotal; in udl_set_display_mode()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_encoders.c | 199 adjusted_mode->crtc_vtotal = adjusted_mode->crtc_vdisplay + vblank; in amdgpu_panel_mode_fixup()
|
| /linux/drivers/gpu/drm/kmb/ |
| H A D | kmb_crtc.c | 82 m->crtc_vtotal - m->crtc_vsync_end, in kmb_crtc_set_mode()
|
| H A D | kmb_dsi.c | 1368 mode->crtc_vtotal - mode->crtc_vsync_end; in kmb_dsi_mode_set() 1381 data_rate = ((((u32)mode->crtc_vtotal * (u32)mode->crtc_htotal) * in kmb_dsi_mode_set()
|
| /linux/drivers/gpu/drm/mgag200/ |
| H A D | mgag200_mode.c | 235 vtotal = mode->crtc_vtotal - 2; in mgag200_set_mode_regs() 604 mode->crtc_vsync_end > 4096 || mode->crtc_vtotal > 4096) { in mgag200_crtc_helper_mode_valid()
|
| /linux/include/drm/ |
| H A D | drm_modes.h | 333 u16 crtc_vtotal; member
|
| /linux/drivers/gpu/drm/gma500/ |
| H A D | oaktrail_hdmi.c | 334 REG_WRITE(vtot_reg, (adjusted_mode->crtc_vdisplay - 1) | ((adjusted_mode->crtc_vtotal - 1) << 16)); in oaktrail_crtc_hdmi_mode_set() 342 …REG_WRITE(PCH_VTOTAL_B, (adjusted_mode->crtc_vdisplay - 1) | ((adjusted_mode->crtc_vtotal - 1) << … in oaktrail_crtc_hdmi_mode_set()
|
| H A D | psb_intel_display.c | 275 ((adjusted_mode->crtc_vtotal - 1) << 16)); in psb_intel_crtc_mode_set()
|
| H A D | cdv_intel_display.c | 791 ((adjusted_mode->crtc_vtotal - 1) << 16)); in cdv_intel_crtc_mode_set()
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_encoders.c | 361 adjusted_mode->crtc_vtotal = adjusted_mode->crtc_vdisplay + vblank; in radeon_panel_mode_fixup()
|
| /linux/drivers/gpu/drm/tiny/ |
| H A D | arcpgu.c | 162 ENCODE_PGU_XY(m->crtc_htotal, m->crtc_vtotal)); in arc_pgu_mode_set()
|
| /linux/drivers/gpu/drm/ast/ |
| H A D | ast_mode.c | 298 temp = (mode->crtc_vtotal) - 2; in ast_set_crtc_reg() 803 adjusted_mode->crtc_vtotal = vmode->vt; in ast_crtc_helper_atomic_check()
|
| /linux/drivers/gpu/drm/armada/ |
| H A D | armada_crtc.c | 345 tm = adj->crtc_vtotal - adj->crtc_vsync_end; in armada_drm_crtc_mode_set_nofb() 360 dcrtc->v[1].spu_v_h_total = adj->crtc_vtotal << 16 | in armada_drm_crtc_mode_set_nofb()
|
| /linux/drivers/gpu/drm/atmel-hlcdc/ |
| H A D | atmel_hlcdc_crtc.c | 108 vm.vback_porch = adj->crtc_vtotal - adj->crtc_vsync_end; in atmel_hlcdc_crtc_mode_set_nofb()
|
| /linux/drivers/gpu/drm/msm/disp/mdp5/ |
| H A D | mdp5_crtc.c | 440 vbp = mode->crtc_vtotal - mode->crtc_vsync_end; in mdp5_crtc_get_scanout_position() 453 vfp_end = mode->crtc_vtotal; in mdp5_crtc_get_scanout_position()
|
| /linux/drivers/gpu/drm/nouveau/dispnv04/ |
| H A D | crtc.c | 254 int vertTotal = mode->crtc_vtotal - 2; in nv_crtc_mode_set_vga() 256 int vertBlankEnd = mode->crtc_vtotal - 1; in nv_crtc_mode_set_vga()
|