Home
last modified time | relevance | path

Searched refs:crtc_vtotal (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/gpu/drm/sun4i/
H A Dsun4i_tcon.c405 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 Ddrm_modes.c1362 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()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_encoders.c199 adjusted_mode->crtc_vtotal = adjusted_mode->crtc_vdisplay + vblank; in amdgpu_panel_mode_fixup()
H A Damdgpu_display.c1691 vtotal = mode->crtc_vtotal; in amdgpu_display_get_crtc_scanoutpos()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_display.c2191 mode->vtotal = timings->crtc_vtotal; in intel_mode_from_crtc_timings()
2626 u32 crtc_vdisplay, crtc_vtotal, crtc_vblank_start, crtc_vblank_end; in intel_set_transcoder_timings() local
2634 crtc_vtotal = adjusted_mode->crtc_vtotal; in intel_set_transcoder_timings()
2640 crtc_vtotal -= 1; in intel_set_transcoder_timings()
2693 crtc_vtotal = 1; in intel_set_transcoder_timings()
2697 VTOTAL(crtc_vtotal - 1)); in intel_set_transcoder_timings()
2713 VTOTAL(crtc_vtotal - 1)); in intel_set_transcoder_timings()
2734 u32 crtc_vdisplay, crtc_vtotal, crtc_vblank_start, crtc_vblank_end; in intel_set_transcoder_timings_lrr() local
2739 crtc_vtotal = adjusted_mode->crtc_vtotal; in intel_set_transcoder_timings_lrr()
2745 crtc_vtotal -= 1; in intel_set_transcoder_timings_lrr()
[all …]
H A Dintel_psr.c1389 adjusted_mode->crtc_vtotal - adjusted_mode->crtc_vdisplay - 1) { in intel_psr_entry_setup_frames()
/linux/drivers/gpu/drm/kmb/
H A Dkmb_crtc.c82 m->crtc_vtotal - m->crtc_vsync_end, in kmb_crtc_set_mode()
/linux/drivers/gpu/drm/mgag200/
H A Dmgag200_mode.c235 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 Ddrm_modes.h333 u16 crtc_vtotal; member
/linux/drivers/gpu/drm/radeon/
H A Dradeon_encoders.c361 adjusted_mode->crtc_vtotal = adjusted_mode->crtc_vdisplay + vblank; in radeon_panel_mode_fixup()
H A Dradeon_legacy_crtc.c98 fp_crtc_v_total_disp = (((mode->crtc_vtotal - 1) & 0xffff) in radeon_legacy_rmx_mode_set()
637 crtc_v_total_disp = (((mode->crtc_vtotal - 1) & 0xffff) in radeon_set_crtc_timing()
H A Dradeon_atombios.c1816 mode->crtc_vtotal = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_V_Total); in radeon_atom_get_tv_timings()
1841 mode->crtc_vtotal -= 1; in radeon_atom_get_tv_timings()
1858 mode->crtc_vtotal = le16_to_cpu(dtd_timings->usVActive) + in radeon_atom_get_tv_timings()
H A Datombios_crtc.c365 args.usV_Total = cpu_to_le16(mode->crtc_vtotal); in atombios_crtc_set_timing()
/linux/drivers/gpu/drm/bridge/cadence/
H A Dcdns-mhdp8546-core.c1811 msa_v0 = mode->crtc_vtotal - mode->crtc_vsync_start; in cdns_mhdp_configure_video()
1813 CDNS_DP_MSAV0_V_TOTAL(mode->crtc_vtotal) | in cdns_mhdp_configure_video()
1825 mode->crtc_vtotal % 2 == 0) in cdns_mhdp_configure_video()
1844 dp_vertical_1 = CDNS_DP_V1_VTOTAL(mode->crtc_vtotal); in cdns_mhdp_configure_video()
1846 mode->crtc_vtotal % 2 == 0) in cdns_mhdp_configure_video()
/linux/drivers/gpu/drm/ast/
H A Dast_mode.c298 temp = (mode->crtc_vtotal) - 2; in ast_set_crtc_reg()
796 adjusted_mode->crtc_vtotal = vmode->vt; in ast_crtc_helper_atomic_check()
/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop2.c1557 u16 vtotal = mode->crtc_vtotal; in vop2_post_config()
1561 u16 vact_st = mode->crtc_vtotal - mode->crtc_vsync_start; in vop2_post_config()
1627 u16 vtotal = mode->crtc_vtotal; in vop2_crtc_atomic_enable()
1629 u16 vact_st = mode->crtc_vtotal - mode->crtc_vsync_start; in vop2_crtc_atomic_enable()
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_crtc.c287 vbp = mode->crtc_vtotal - mode->crtc_vsync_end; in dpu_crtc_get_scanout_position()
299 vfp_end = mode->crtc_vtotal; in dpu_crtc_get_scanout_position()
/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Dhead.c303 m->v.active = mode->crtc_vtotal; in nv50_head_atomic_check_mode()
/linux/drivers/gpu/drm/arm/display/komeda/d71/
H A Dd71_component.c1184 vback_porch = mode->crtc_vtotal - mode->crtc_vsync_end; in d71_timing_ctrlr_update()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c6757 timing_out->v_total = mode_in->crtc_vtotal; in fill_stream_properties_from_drm_display_mode()
6843 dst_mode->crtc_vtotal = src_mode->crtc_vtotal; in copy_crtc_timing_for_drm_display_mode()