| /linux-6.15/drivers/gpu/drm/sun4i/ |
| H A D | sun4i_tcon.c | 406 start_delay = start_delay * mode->crtc_htotal * 149; in sun4i_tcon0_mode_set_cpu() 457 bp = mode->crtc_htotal - mode->crtc_hsync_start; in sun4i_tcon0_mode_set_lvds() 459 mode->crtc_htotal, bp); in sun4i_tcon0_mode_set_lvds() 539 bp = mode->crtc_htotal - mode->crtc_hsync_start; in sun4i_tcon0_mode_set_rgb() 541 mode->crtc_htotal, bp); in sun4i_tcon0_mode_set_rgb() 545 SUN4I_TCON0_BASIC1_H_TOTAL(mode->crtc_htotal) | in sun4i_tcon0_mode_set_rgb() 641 bp = mode->crtc_htotal - mode->crtc_hsync_start; in sun4i_tcon1_mode_set() 645 SUN4I_TCON1_BASIC3_H_TOTAL(mode->crtc_htotal) | in sun4i_tcon1_mode_set()
|
| /linux-6.15/drivers/gpu/drm/i915/display/ |
| H A D | intel_vrr.c | 191 adjusted_mode->crtc_clock * 1000 / adjusted_mode->crtc_htotal; in is_cmrr_frac_required() 215 crtc_state->cmrr.cmrr_n = mul_u32_u32(desired_refresh_rate * adjusted_mode->crtc_htotal, in cmrr_get_vtotal() 257 adjusted_mode->crtc_htotal * info->monitor_range.max_vfreq); in intel_vrr_compute_config() 259 (adjusted_mode->crtc_htotal * info->monitor_range.min_vfreq); in intel_vrr_compute_config()
|
| H A D | intel_vblank.c | 93 htotal = mode->crtc_htotal; in i915_get_vblank_counter() 139 u32 htotal = mode->crtc_htotal; in intel_crtc_scanlines_since_frame_timestamp() 347 htotal = mode->crtc_htotal; in i915_get_crtc_scanoutpos()
|
| H A D | vlv_dsi.c | 1093 adjusted_mode->crtc_htotal = hactive + hfp + hsync + hbp; in bxt_dsi_get_pipe_config() 1097 adjusted_mode->crtc_hblank_end = adjusted_mode->crtc_htotal; in bxt_dsi_get_pipe_config() 1120 hbp_sw = adjusted_mode_sw->crtc_htotal - in bxt_dsi_get_pipe_config() 1157 if (adjusted_mode->crtc_htotal == crtc_htotal_sw) in bxt_dsi_get_pipe_config() 1158 adjusted_mode->crtc_htotal = adjusted_mode_sw->crtc_htotal; in bxt_dsi_get_pipe_config() 1232 hbp = adjusted_mode->crtc_htotal - adjusted_mode->crtc_hsync_end; in set_dsi_timings() 1409 …txbyteclkhs(adjusted_mode->crtc_htotal, bpp, intel_dsi->lane_count, intel_dsi->burst_mode_ratio) +… in intel_dsi_prepare() 1412 …txbyteclkhs(adjusted_mode->crtc_vtotal * adjusted_mode->crtc_htotal, bpp, intel_dsi->lane_count, i… in intel_dsi_prepare()
|
| H A D | intel_crtc.c | 483 if (!adjusted_mode->crtc_htotal) in intel_usecs_to_scanlines() 487 1000 * adjusted_mode->crtc_htotal); in intel_usecs_to_scanlines() 497 return DIV_ROUND_UP_ULL(mul_u32_u32(scanlines, adjusted_mode->crtc_htotal * 1000), in intel_scanlines_to_usecs()
|
| H A D | icl_dsi.c | 879 htotal = DIV_ROUND_UP(adjusted_mode->crtc_htotal * mul, div); in gen11_dsi_set_transcoder_timings() 886 hback_porch = (adjusted_mode->crtc_htotal - in gen11_dsi_set_transcoder_timings() 1482 adjusted_mode->crtc_htotal = in gen11_dsi_get_timings() 1483 DIV_ROUND_UP(adjusted_mode->crtc_htotal * mul, div); in gen11_dsi_get_timings() 1495 adjusted_mode->crtc_htotal *= 2; in gen11_dsi_get_timings() 1498 adjusted_mode->crtc_hblank_end = adjusted_mode->crtc_htotal; in gen11_dsi_get_timings()
|
| H A D | intel_display.c | 2212 mode->htotal = timings->crtc_htotal; in intel_mode_from_crtc_timings() 2256 mode->crtc_htotal /= num_pipes; in intel_joiner_adjust_timings() 2279 mode->crtc_htotal = (mode->crtc_htotal - overlap) * n; in intel_splitter_adjust_timings() 2667 vsyncshift = (adjusted_mode->crtc_htotal - 1) / 2; in intel_set_transcoder_timings() 2670 adjusted_mode->crtc_htotal / 2; in intel_set_transcoder_timings() 2672 vsyncshift += adjusted_mode->crtc_htotal; in intel_set_transcoder_timings() 2698 HTOTAL(adjusted_mode->crtc_htotal - 1)); in intel_set_transcoder_timings() 2817 adjusted_mode->crtc_htotal = REG_FIELD_GET(HTOTAL_MASK, tmp) + 1; in intel_get_transcoder_timings() 4125 linetime_wm = DIV_ROUND_CLOSEST(pipe_mode->crtc_htotal * 1000 * 8, in hsw_linetime_wm() 4159 linetime_wm = DIV_ROUND_UP(pipe_mode->crtc_htotal * 1000 * 8, in skl_linetime_wm() [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/pm/ |
| H A D | amdgpu_dpm_internal.c | 63 amdgpu_crtc->hw_mode.crtc_htotal * in amdgpu_dpm_get_vblank_time()
|
| /linux-6.15/drivers/gpu/drm/udl/ |
| H A D | udl_modeset.c | 151 u16 reg01 = mode->crtc_htotal - mode->crtc_hsync_start; in udl_set_display_mode() 155 u16 reg09 = mode->crtc_htotal - 1; in udl_set_display_mode()
|
| /linux-6.15/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_encoders.c | 195 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank; in amdgpu_panel_mode_fixup()
|
| /linux-6.15/drivers/gpu/drm/mxsfb/ |
| H A D | mxsfb_kms.c | 139 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.15/drivers/gpu/drm/gma500/ |
| H A D | oaktrail_crtc.c | 447 ((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()
|
| H A D | oaktrail_hdmi.c | 172 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()
|
| /linux-6.15/drivers/gpu/drm/ |
| H A D | drm_vblank.c | 628 int frame_size = mode->crtc_htotal * mode->crtc_vtotal; in drm_calc_timestamping_constants() 635 linedur_ns = div_u64((u64) mode->crtc_htotal * 1000000, dotclock); in drm_calc_timestamping_constants() 654 crtc->base.id, mode->crtc_htotal, in drm_calc_timestamping_constants() 781 delta_ns = div_s64(1000000LL * (vpos * mode->crtc_htotal + hpos), in drm_crtc_vblank_helper_get_vblank_timestamp_internal()
|
| /linux-6.15/drivers/gpu/drm/kmb/ |
| H A D | kmb_crtc.c | 85 m->crtc_htotal - m->crtc_hsync_end, in kmb_crtc_set_mode()
|
| /linux-6.15/drivers/gpu/drm/armada/ |
| H A D | armada_crtc.c | 342 lm = adj->crtc_htotal - adj->crtc_hsync_end; in armada_drm_crtc_mode_set_nofb() 360 adj->crtc_htotal; in armada_drm_crtc_mode_set_nofb() 367 val -= adj->crtc_htotal / 2; in armada_drm_crtc_mode_set_nofb()
|
| /linux-6.15/drivers/gpu/drm/mgag200/ |
| H A D | mgag200_mode.c | 215 htotal = mode->crtc_htotal / 8 - 1; in mgag200_set_mode_regs() 591 mode->crtc_hsync_end > 4096 || mode->crtc_htotal > 4096 || in mgag200_crtc_helper_mode_valid()
|
| /linux-6.15/include/drm/ |
| H A D | drm_modes.h | 326 u16 crtc_htotal; member
|
| /linux-6.15/drivers/gpu/drm/arm/ |
| H A D | hdlcd_crtc.c | 138 vm.hback_porch = m->crtc_htotal - m->crtc_hsync_end; in hdlcd_crtc_mode_set_nofb()
|
| /linux-6.15/drivers/gpu/drm/radeon/ |
| H A D | radeon_encoders.c | 357 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank; in radeon_panel_mode_fixup()
|
| H A D | radeon_legacy_crtc.c | 84 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()
|
| /linux-6.15/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-6.15/drivers/gpu/drm/exynos/ |
| H A D | exynos5433_drm_decon.c | 205 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.15/drivers/gpu/drm/loongson/ |
| H A D | lsdc_crtc.c | 224 (mode->crtc_htotal << 16) | mode->crtc_hdisplay); in lsdc_crtc0_set_mode() 242 (mode->crtc_htotal << 16) | mode->crtc_hdisplay); in lsdc_crtc1_set_mode()
|
| /linux-6.15/drivers/gpu/drm/ast/ |
| H A D | ast_mode.c | 223 temp = (mode->crtc_htotal >> 3) - 5; in ast_set_crtc_reg() 761 adjusted_mode->crtc_htotal = vmode->ht; in ast_crtc_helper_atomic_check()
|