/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_vblank.c | 89 htotal = mode->crtc_htotal; in i915_get_vblank_counter() 137 u32 htotal = mode->crtc_htotal; in intel_crtc_scanlines_since_frame_timestamp() 278 htotal = mode->crtc_htotal; in i915_get_crtc_scanoutpos()
|
H A D | intel_vrr.c | 118 adjusted_mode->crtc_htotal * info->monitor_range.max_vfreq); in intel_vrr_compute_config() 120 (adjusted_mode->crtc_htotal * info->monitor_range.min_vfreq); in intel_vrr_compute_config()
|
H A D | vlv_dsi.c | 1085 adjusted_mode->crtc_htotal = hactive + hfp + hsync + hbp; in bxt_dsi_get_pipe_config() 1089 adjusted_mode->crtc_hblank_end = adjusted_mode->crtc_htotal; in bxt_dsi_get_pipe_config() 1112 hbp_sw = adjusted_mode_sw->crtc_htotal - in bxt_dsi_get_pipe_config() 1149 if (adjusted_mode->crtc_htotal == crtc_htotal_sw) in bxt_dsi_get_pipe_config() 1150 adjusted_mode->crtc_htotal = adjusted_mode_sw->crtc_htotal; in bxt_dsi_get_pipe_config() 1224 hbp = adjusted_mode->crtc_htotal - adjusted_mode->crtc_hsync_end; in set_dsi_timings() 1402 txbyteclkhs(adjusted_mode->crtc_htotal, bpp, intel_dsi->lane_count, intel_dsi->burst_mode_ratio) + 1); in intel_dsi_prepare() 1405 txbyteclkhs(adjusted_mode->crtc_vtotal * adjusted_mode->crtc_htotal, bpp, intel_dsi->lane_count, intel_dsi->burst_mode_ratio) + 1); in intel_dsi_prepare()
|
H A D | icl_dsi.c | 870 htotal = DIV_ROUND_UP(adjusted_mode->crtc_htotal * mul, div); in gen11_dsi_set_transcoder_timings() 877 hback_porch = (adjusted_mode->crtc_htotal - in gen11_dsi_set_transcoder_timings() 1464 adjusted_mode->crtc_htotal = in gen11_dsi_get_timings() 1465 DIV_ROUND_UP(adjusted_mode->crtc_htotal * mul, div); in gen11_dsi_get_timings() 1477 adjusted_mode->crtc_htotal *= 2; in gen11_dsi_get_timings() 1480 adjusted_mode->crtc_hblank_end = adjusted_mode->crtc_htotal; in gen11_dsi_get_timings()
|
H A D | intel_crtc.c | 454 if (!adjusted_mode->crtc_htotal) in intel_usecs_to_scanlines() 458 1000 * adjusted_mode->crtc_htotal); in intel_usecs_to_scanlines()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/ |
H A D | sun4i_tcon.c | 409 start_delay = start_delay * mode->crtc_htotal * 149; in sun4i_tcon0_mode_set_cpu() 455 bp = mode->crtc_htotal - mode->crtc_hsync_start; in sun4i_tcon0_mode_set_lvds() 457 mode->crtc_htotal, bp); in sun4i_tcon0_mode_set_lvds() 532 bp = mode->crtc_htotal - mode->crtc_hsync_start; in sun4i_tcon0_mode_set_rgb() 534 mode->crtc_htotal, bp); in sun4i_tcon0_mode_set_rgb() 538 SUN4I_TCON0_BASIC1_H_TOTAL(mode->crtc_htotal) | in sun4i_tcon0_mode_set_rgb() 634 bp = mode->crtc_htotal - mode->crtc_hsync_start; in sun4i_tcon1_mode_set() 638 SUN4I_TCON1_BASIC3_H_TOTAL(mode->crtc_htotal) | in sun4i_tcon1_mode_set()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | vlv_dsi.c | 1153 adjusted_mode->crtc_htotal = hactive + hfp + hsync + hbp; in bxt_dsi_get_pipe_config() 1157 adjusted_mode->crtc_hblank_end = adjusted_mode->crtc_htotal; in bxt_dsi_get_pipe_config() 1180 hbp_sw = adjusted_mode_sw->crtc_htotal - in bxt_dsi_get_pipe_config() 1217 if (adjusted_mode->crtc_htotal == crtc_htotal_sw) in bxt_dsi_get_pipe_config() 1218 adjusted_mode->crtc_htotal = adjusted_mode_sw->crtc_htotal; in bxt_dsi_get_pipe_config() 1288 hbp = adjusted_mode->crtc_htotal - adjusted_mode->crtc_hsync_end; in set_dsi_timings() 1469 txbyteclkhs(adjusted_mode->crtc_htotal, bpp, intel_dsi->lane_count, intel_dsi->burst_mode_ratio) + 1); in intel_dsi_prepare() 1472 txbyteclkhs(adjusted_mode->crtc_vtotal * adjusted_mode->crtc_htotal, bpp, intel_dsi->lane_count, intel_dsi->burst_mode_ratio) + 1); in intel_dsi_prepare()
|
H A D | icl_dsi.c | 857 htotal = DIV_ROUND_UP(adjusted_mode->crtc_htotal * mul, div); in gen11_dsi_set_transcoder_timings() 864 hback_porch = (adjusted_mode->crtc_htotal - in gen11_dsi_set_transcoder_timings() 1406 adjusted_mode->crtc_htotal = in gen11_dsi_get_timings() 1407 DIV_ROUND_UP(adjusted_mode->crtc_htotal * mul, div); in gen11_dsi_get_timings() 1419 adjusted_mode->crtc_htotal *= 2; in gen11_dsi_get_timings() 1422 adjusted_mode->crtc_hblank_end = adjusted_mode->crtc_htotal; in gen11_dsi_get_timings()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/mxsfb/ |
H A D | mxsfb_kms.c | 301 VDCTRL2_SET_HSYNC_PERIOD(m->crtc_htotal), in mxsfb_crtc_mode_set_nofb() 304 writel(SET_HOR_WAIT_CNT(m->crtc_htotal - m->crtc_hsync_start) | in mxsfb_crtc_mode_set_nofb()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/udl/ |
H A D | udl_modeset.c | 155 xds = mode->crtc_htotal - mode->crtc_hsync_start; in udl_set_vid_cmds() 170 mode->crtc_htotal - 1); in udl_set_vid_cmds()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/arc/ |
H A D | arcpgu_crtc.c | 83 ENCODE_PGU_XY(m->crtc_htotal, m->crtc_vtotal)); in arc_pgu_crtc_mode_set_nofb()
|
/kernel/linux/linux-5.10/include/drm/ |
H A D | drm_modes.h | 189 * @crtc_htotal: hardware mode horizontal total size 298 u16 crtc_htotal; member
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_vblank.c | 619 int frame_size = mode->crtc_htotal * mode->crtc_vtotal; in drm_calc_timestamping_constants() 626 linedur_ns = div_u64((u64) mode->crtc_htotal * 1000000, dotclock); in drm_calc_timestamping_constants() 645 crtc->base.id, mode->crtc_htotal, in drm_calc_timestamping_constants() 773 delta_ns = div_s64(1000000LL * (vpos * mode->crtc_htotal + hpos), in drm_crtc_vblank_helper_get_vblank_timestamp_internal()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_vblank.c | 625 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
H A D | oaktrail_crtc.c | 443 ((adjusted_mode->crtc_htotal - 1) << 16), i); in oaktrail_crtc_mode_set() 462 ((adjusted_mode->crtc_htotal - 1) << 16), i); in oaktrail_crtc_mode_set()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/ |
H A D | hdlcd_crtc.c | 139 vm.hback_porch = m->crtc_htotal - m->crtc_hsync_end; in hdlcd_crtc_mode_set_nofb()
|
/kernel/linux/linux-6.6/include/drm/ |
H A D | drm_modes.h | 214 * @crtc_htotal: hardware mode horizontal total size 326 u16 crtc_htotal; member
|
/kernel/linux/linux-6.6/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()
|