Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/sun4i/
Dsun4i_tcon.c408 start_delay = (mode->crtc_vtotal - mode->crtc_vdisplay - 10 - 1); in sun4i_tcon0_mode_set_cpu()
468 bp = mode->crtc_vtotal - mode->crtc_vsync_start; in sun4i_tcon0_mode_set_lvds()
470 mode->crtc_vtotal, bp); in sun4i_tcon0_mode_set_lvds()
474 SUN4I_TCON0_BASIC2_V_TOTAL(mode->crtc_vtotal * 2) | in sun4i_tcon0_mode_set_lvds()
545 bp = mode->crtc_vtotal - mode->crtc_vsync_start; in sun4i_tcon0_mode_set_rgb()
547 mode->crtc_vtotal, bp); in sun4i_tcon0_mode_set_rgb()
551 SUN4I_TCON0_BASIC2_V_TOTAL(mode->crtc_vtotal * 2) | in sun4i_tcon0_mode_set_rgb()
641 bp = mode->crtc_vtotal - mode->crtc_vsync_start; in sun4i_tcon1_mode_set()
643 mode->crtc_vtotal, bp); in sun4i_tcon1_mode_set()
/drivers/gpu/drm/
Ddrm_modes.c828 p->crtc_vtotal = p->vtotal; in drm_mode_set_crtcinfo()
835 p->crtc_vtotal /= 2; in drm_mode_set_crtcinfo()
844 p->crtc_vtotal *= 2; in drm_mode_set_crtcinfo()
853 p->crtc_vtotal *= p->vscan; in drm_mode_set_crtcinfo()
863 p->crtc_vdisplay += p->crtc_vtotal; in drm_mode_set_crtcinfo()
864 p->crtc_vsync_start += p->crtc_vtotal; in drm_mode_set_crtcinfo()
865 p->crtc_vsync_end += p->crtc_vtotal; in drm_mode_set_crtcinfo()
866 p->crtc_vtotal += p->crtc_vtotal; in drm_mode_set_crtcinfo()
872 p->crtc_vblank_end = max(p->crtc_vsync_end, p->crtc_vtotal); in drm_mode_set_crtcinfo()
Ddrm_vblank.c619 int frame_size = mode->crtc_htotal * mode->crtc_vtotal; in drm_calc_timestamping_constants()
646 mode->crtc_vtotal, mode->crtc_vdisplay); in drm_calc_timestamping_constants()
/drivers/gpu/drm/udl/
Dudl_modeset.c162 yds = mode->crtc_vtotal - mode->crtc_vsync_start; in udl_set_vid_cmds()
183 yec = mode->crtc_vtotal; in udl_set_vid_cmds()
/drivers/gpu/drm/rcar-du/
Drcar_du_crtc.c315 rcar_du_crtc_write(rcrtc, VDSR, mode->crtc_vtotal - in rcar_du_crtc_set_display_timing()
317 rcar_du_crtc_write(rcrtc, VDER, mode->crtc_vtotal - in rcar_du_crtc_set_display_timing()
320 rcar_du_crtc_write(rcrtc, VSPR, mode->crtc_vtotal - in rcar_du_crtc_set_display_timing()
323 rcar_du_crtc_write(rcrtc, VCR, mode->crtc_vtotal - 1); in rcar_du_crtc_set_display_timing()
/drivers/gpu/drm/mxsfb/
Dmxsfb_kms.c296 writel(m->crtc_vtotal, mxsfb->base + LCDC_VDCTRL1); in mxsfb_crtc_mode_set_nofb()
305 SET_VERT_WAIT_CNT(m->crtc_vtotal - m->crtc_vsync_start), in mxsfb_crtc_mode_set_nofb()
/drivers/gpu/drm/arc/
Darcpgu_crtc.c83 ENCODE_PGU_XY(m->crtc_htotal, m->crtc_vtotal)); in arc_pgu_crtc_mode_set_nofb()
/drivers/gpu/drm/gma500/
Doaktrail_crtc.c445 ((adjusted_mode->crtc_vtotal - 1) << 16), i); in oaktrail_crtc_mode_set()
464 ((adjusted_mode->crtc_vtotal - 1) << 16), i); in oaktrail_crtc_mode_set()
Doaktrail_hdmi.c330 REG_WRITE(vtot_reg, (adjusted_mode->crtc_vdisplay - 1) | ((adjusted_mode->crtc_vtotal - 1) << 16)); in oaktrail_crtc_hdmi_mode_set()
338 …REG_WRITE(PCH_VTOTAL_B, (adjusted_mode->crtc_vdisplay - 1) | ((adjusted_mode->crtc_vtotal - 1) << … in oaktrail_crtc_hdmi_mode_set()
Dmdfld_intel_display.c776 ((adjusted_mode->crtc_vtotal - 1) << 16)); in mdfld_crtc_mode_set()
793 ((adjusted_mode->crtc_vtotal - 1) << 16)); in mdfld_crtc_mode_set()
Dpsb_intel_display.c268 ((adjusted_mode->crtc_vtotal - 1) << 16)); in psb_intel_crtc_mode_set()
/drivers/gpu/drm/i915/display/
Dvlv_dsi.c1120 adjusted_mode->crtc_vtotal = in bxt_dsi_get_pipe_config()
1162 adjusted_mode->crtc_vblank_end = adjusted_mode->crtc_vtotal; in bxt_dsi_get_pipe_config()
1301 vbp = adjusted_mode->crtc_vtotal - adjusted_mode->crtc_vsync_end; in set_dsi_timings()
1324 adjusted_mode->crtc_vtotal); in set_dsi_timings()
1472 …txbyteclkhs(adjusted_mode->crtc_vtotal * adjusted_mode->crtc_htotal, bpp, intel_dsi->lane_count, i… in intel_dsi_prepare()
Ddvo_ns2501.c589 adjusted_mode->crtc_vtotal); in ns2501_mode_set()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_encoders.c199 adjusted_mode->crtc_vtotal = adjusted_mode->crtc_vdisplay + vblank; in amdgpu_panel_mode_fixup()
/drivers/gpu/drm/arm/
Dhdlcd_crtc.c136 vm.vback_porch = m->crtc_vtotal - m->crtc_vsync_end; in hdlcd_crtc_mode_set_nofb()
/drivers/gpu/drm/bridge/cadence/
Dcdns-mhdp8546-core.c1813 msa_v0 = mode->crtc_vtotal - mode->crtc_vsync_start; in cdns_mhdp_configure_video()
1815 CDNS_DP_MSAV0_V_TOTAL(mode->crtc_vtotal) | in cdns_mhdp_configure_video()
1827 mode->crtc_vtotal % 2 == 0) in cdns_mhdp_configure_video()
1846 dp_vertical_1 = CDNS_DP_V1_VTOTAL(mode->crtc_vtotal); in cdns_mhdp_configure_video()
1848 mode->crtc_vtotal % 2 == 0) in cdns_mhdp_configure_video()
/drivers/gpu/drm/vc4/
Dvc4_hdmi.c525 VC4_SET_FIELD(mode->crtc_vtotal - mode->crtc_vsync_end + in vc4_hdmi_set_timings()
529 VC4_SET_FIELD(mode->crtc_vtotal - in vc4_hdmi_set_timings()
570 VC4_SET_FIELD(mode->crtc_vtotal - mode->crtc_vsync_end + in vc5_hdmi_set_timings()
574 VC4_SET_FIELD(mode->crtc_vtotal - in vc5_hdmi_set_timings()
Dvc4_crtc.c349 VC4_SET_FIELD(mode->crtc_vtotal - mode->crtc_vsync_end + in vc4_crtc_config_pv()
361 VC4_SET_FIELD(mode->crtc_vtotal - in vc4_crtc_config_pv()
/drivers/gpu/drm/radeon/
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()
Dradeon_encoders.c364 adjusted_mode->crtc_vtotal = adjusted_mode->crtc_vdisplay + vblank; in radeon_panel_mode_fixup()
/drivers/gpu/drm/armada/
Darmada_crtc.c344 tm = adj->crtc_vtotal - adj->crtc_vsync_end; in armada_drm_crtc_mode_set_nofb()
359 dcrtc->v[1].spu_v_h_total = adj->crtc_vtotal << 16 | in armada_drm_crtc_mode_set_nofb()
/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_crtc.c83 vm.vback_porch = adj->crtc_vtotal - adj->crtc_vsync_end; in atmel_hlcdc_crtc_mode_set_nofb()
/drivers/gpu/drm/ast/
Dast_mode.c192 adjusted_mode->crtc_vtotal = vbios_mode->enh_table->vt; in ast_get_vbios_mode_info()
356 temp = (mode->crtc_vtotal) - 2; in ast_set_crtc_reg()
/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_crtc.c438 vbp = mode->crtc_vtotal - mode->crtc_vsync_end; in mdp5_crtc_get_scanout_position()
451 vfp_end = mode->crtc_vtotal; in mdp5_crtc_get_scanout_position()
/drivers/gpu/drm/nouveau/dispnv04/
Dcrtc.c254 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()

12