Home
last modified time | relevance | path

Searched refs:crtc_htotal (Results 1 – 25 of 60) sorted by relevance

123

/linux-6.3-rc2/drivers/gpu/drm/i915/display/
A Dintel_vblank.c88 htotal = mode->crtc_htotal; in i915_get_vblank_counter()
136 u32 htotal = mode->crtc_htotal; in intel_crtc_scanlines_since_frame_timestamp()
277 htotal = mode->crtc_htotal; in i915_get_crtc_scanoutpos()
A Dintel_vrr.c121 adjusted_mode->crtc_htotal * info->monitor_range.max_vfreq); in intel_vrr_compute_config()
123 (adjusted_mode->crtc_htotal * info->monitor_range.min_vfreq); in intel_vrr_compute_config()
A Dvlv_dsi.c1179 adjusted_mode->crtc_htotal = hactive + hfp + hsync + hbp; in bxt_dsi_get_pipe_config()
1183 adjusted_mode->crtc_hblank_end = adjusted_mode->crtc_htotal; in bxt_dsi_get_pipe_config()
1206 hbp_sw = adjusted_mode_sw->crtc_htotal - in bxt_dsi_get_pipe_config()
1243 if (adjusted_mode->crtc_htotal == crtc_htotal_sw) in bxt_dsi_get_pipe_config()
1244 adjusted_mode->crtc_htotal = adjusted_mode_sw->crtc_htotal; in bxt_dsi_get_pipe_config()
1318 hbp = adjusted_mode->crtc_htotal - adjusted_mode->crtc_hsync_end; in set_dsi_timings()
1499 …txbyteclkhs(adjusted_mode->crtc_htotal, bpp, intel_dsi->lane_count, intel_dsi->burst_mode_ratio) +… in intel_dsi_prepare()
1502 …txbyteclkhs(adjusted_mode->crtc_vtotal * adjusted_mode->crtc_htotal, bpp, intel_dsi->lane_count, i… in intel_dsi_prepare()
A Dintel_crtc.c447 if (!adjusted_mode->crtc_htotal) in intel_usecs_to_scanlines()
451 1000 * adjusted_mode->crtc_htotal); in intel_usecs_to_scanlines()
A Dicl_dsi.c913 htotal = DIV_ROUND_UP(adjusted_mode->crtc_htotal * mul, div); in gen11_dsi_set_transcoder_timings()
920 hback_porch = (adjusted_mode->crtc_htotal - in gen11_dsi_set_transcoder_timings()
1507 adjusted_mode->crtc_htotal = in gen11_dsi_get_timings()
1508 DIV_ROUND_UP(adjusted_mode->crtc_htotal * mul, div); in gen11_dsi_get_timings()
1520 adjusted_mode->crtc_htotal *= 2; in gen11_dsi_get_timings()
1523 adjusted_mode->crtc_hblank_end = adjusted_mode->crtc_htotal; in gen11_dsi_get_timings()
A Dintel_crtc_state_dump.c21 mode->crtc_hsync_end, mode->crtc_htotal, in intel_dump_crtc_timings()
A Dskl_watermark.c1673 u32 crtc_htotal; in intel_get_linetime_us() local
1684 crtc_htotal = crtc_state->hw.pipe_mode.crtc_htotal; in intel_get_linetime_us()
1685 linetime_us = div_fixed16(crtc_htotal * 1000, pixel_rate); in intel_get_linetime_us()
1852 crtc_state->hw.pipe_mode.crtc_htotal, in skl_compute_plane_wm()
1859 if ((wp->cpp * crtc_state->hw.pipe_mode.crtc_htotal / in skl_compute_plane_wm()
/linux-6.3-rc2/drivers/gpu/drm/sun4i/
A Dsun4i_tcon.c410 start_delay = start_delay * mode->crtc_htotal * 149; in sun4i_tcon0_mode_set_cpu()
456 bp = mode->crtc_htotal - mode->crtc_hsync_start; in sun4i_tcon0_mode_set_lvds()
458 mode->crtc_htotal, bp); in sun4i_tcon0_mode_set_lvds()
533 bp = mode->crtc_htotal - mode->crtc_hsync_start; in sun4i_tcon0_mode_set_rgb()
535 mode->crtc_htotal, bp); in sun4i_tcon0_mode_set_rgb()
539 SUN4I_TCON0_BASIC1_H_TOTAL(mode->crtc_htotal) | in sun4i_tcon0_mode_set_rgb()
635 bp = mode->crtc_htotal - mode->crtc_hsync_start; in sun4i_tcon1_mode_set()
639 SUN4I_TCON1_BASIC3_H_TOTAL(mode->crtc_htotal) | in sun4i_tcon1_mode_set()
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/
A Damdgpu_dpm_internal.c63 amdgpu_crtc->hw_mode.crtc_htotal * in amdgpu_dpm_get_vblank_time()
/linux-6.3-rc2/drivers/gpu/drm/udl/
A Dudl_modeset.c150 u16 reg01 = mode->crtc_htotal - mode->crtc_hsync_start; in udl_set_display_mode()
154 u16 reg09 = mode->crtc_htotal - 1; in udl_set_display_mode()
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_encoders.c194 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank; in amdgpu_panel_mode_fixup()
/linux-6.3-rc2/drivers/gpu/drm/mxsfb/
A Dmxsfb_kms.c139 VDCTRL2_SET_HSYNC_PERIOD(m->crtc_htotal), in mxsfb_set_mode()
142 writel(SET_HOR_WAIT_CNT(m->crtc_htotal - m->crtc_hsync_start) | in mxsfb_set_mode()
/linux-6.3-rc2/drivers/gpu/drm/gma500/
A Doaktrail_crtc.c447 ((adjusted_mode->crtc_htotal - 1) << 16), i); in oaktrail_crtc_mode_set()
466 ((adjusted_mode->crtc_htotal - 1) << 16), i); in oaktrail_crtc_mode_set()
A Doaktrail_hdmi.c172 new_crtc_htotal = (mode->crtc_htotal - 1) * 200 * 1000 / mode->clock; in htotal_calculate()
338 …REG_WRITE(PCH_HTOTAL_B, (adjusted_mode->crtc_hdisplay - 1) | ((adjusted_mode->crtc_htotal - 1) << … in oaktrail_crtc_hdmi_mode_set()
A Dpsb_intel_display.c268 ((adjusted_mode->crtc_htotal - 1) << 16)); in psb_intel_crtc_mode_set()
/linux-6.3-rc2/drivers/gpu/drm/
A Ddrm_vblank.c625 int frame_size = mode->crtc_htotal * mode->crtc_vtotal; in drm_calc_timestamping_constants()
632 linedur_ns = div_u64((u64) mode->crtc_htotal * 1000000, dotclock); in drm_calc_timestamping_constants()
651 crtc->base.id, mode->crtc_htotal, in drm_calc_timestamping_constants()
779 delta_ns = div_s64(1000000LL * (vpos * mode->crtc_htotal + hpos), in drm_crtc_vblank_helper_get_vblank_timestamp_internal()
/linux-6.3-rc2/drivers/gpu/drm/kmb/
A Dkmb_crtc.c85 m->crtc_htotal - m->crtc_hsync_end, in kmb_crtc_set_mode()
/linux-6.3-rc2/drivers/gpu/drm/armada/
A Darmada_crtc.c341 lm = adj->crtc_htotal - adj->crtc_hsync_end; in armada_drm_crtc_mode_set_nofb()
359 adj->crtc_htotal; in armada_drm_crtc_mode_set_nofb()
366 val -= adj->crtc_htotal / 2; in armada_drm_crtc_mode_set_nofb()
/linux-6.3-rc2/include/drm/
A Ddrm_modes.h326 u16 crtc_htotal; member
/linux-6.3-rc2/drivers/gpu/drm/arm/
A Dhdlcd_crtc.c138 vm.hback_porch = m->crtc_htotal - m->crtc_hsync_end; in hdlcd_crtc_mode_set_nofb()
/linux-6.3-rc2/drivers/gpu/drm/radeon/
A Dradeon_encoders.c353 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank; in radeon_panel_mode_fixup()
A Dradeon_legacy_crtc.c84 fp_crtc_h_total_disp = ((((mode->crtc_htotal / 8) - 1) & 0x3ff) in radeon_legacy_rmx_mode_set()
622 crtc_h_total_disp = ((((mode->crtc_htotal / 8) - 1) & 0x3ff) in radeon_set_crtc_timing()
A Drs690.c351 a.full = dfixed_const(crtc->base.mode.crtc_htotal); in rs690_crtc_bandwidth_compute()
359 a.full = dfixed_const(crtc->base.mode.crtc_htotal); in rs690_crtc_bandwidth_compute()
/linux-6.3-rc2/drivers/gpu/drm/exynos/
A Dexynos5433_drm_decon.c205 m->crtc_hsync_end = m->crtc_htotal - 92; in decon_commit()
248 m->crtc_htotal - m->crtc_hsync_end - 1) | in decon_commit()
/linux-6.3-rc2/drivers/gpu/drm/tiny/
A Darcpgu.c160 ENCODE_PGU_XY(m->crtc_htotal, m->crtc_vtotal)); in arc_pgu_mode_set()

Completed in 46 milliseconds

123