/linux/drivers/gpu/drm/sun4i/ |
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()
|
/linux/drivers/gpu/drm/i915/display/ |
A D | intel_vrr.c | 110 adjusted_mode->crtc_htotal * info->monitor_range.max_vfreq); in intel_vrr_compute_config() 112 (adjusted_mode->crtc_htotal * info->monitor_range.min_vfreq); in intel_vrr_compute_config()
|
A D | vlv_dsi.c | 1173 adjusted_mode->crtc_htotal = hactive + hfp + hsync + hbp; in bxt_dsi_get_pipe_config() 1177 adjusted_mode->crtc_hblank_end = adjusted_mode->crtc_htotal; in bxt_dsi_get_pipe_config() 1200 hbp_sw = adjusted_mode_sw->crtc_htotal - in bxt_dsi_get_pipe_config() 1237 if (adjusted_mode->crtc_htotal == crtc_htotal_sw) in bxt_dsi_get_pipe_config() 1238 adjusted_mode->crtc_htotal = adjusted_mode_sw->crtc_htotal; in bxt_dsi_get_pipe_config() 1308 hbp = adjusted_mode->crtc_htotal - adjusted_mode->crtc_hsync_end; in set_dsi_timings() 1489 …txbyteclkhs(adjusted_mode->crtc_htotal, bpp, intel_dsi->lane_count, intel_dsi->burst_mode_ratio) +… in intel_dsi_prepare() 1492 …txbyteclkhs(adjusted_mode->crtc_vtotal * adjusted_mode->crtc_htotal, bpp, intel_dsi->lane_count, i… in intel_dsi_prepare()
|
A D | intel_crtc.c | 361 if (!adjusted_mode->crtc_htotal) in intel_usecs_to_scanlines() 365 1000 * adjusted_mode->crtc_htotal); in intel_usecs_to_scanlines()
|
A D | icl_dsi.c | 904 htotal = DIV_ROUND_UP(adjusted_mode->crtc_htotal * mul, div); in gen11_dsi_set_transcoder_timings() 911 hback_porch = (adjusted_mode->crtc_htotal - in gen11_dsi_set_transcoder_timings() 1499 adjusted_mode->crtc_htotal = in gen11_dsi_get_timings() 1500 DIV_ROUND_UP(adjusted_mode->crtc_htotal * mul, div); in gen11_dsi_get_timings() 1512 adjusted_mode->crtc_htotal *= 2; in gen11_dsi_get_timings() 1515 adjusted_mode->crtc_hblank_end = adjusted_mode->crtc_htotal; in gen11_dsi_get_timings()
|
A D | intel_display.c | 3498 mode->htotal = timings->crtc_htotal; in intel_mode_from_crtc_timings() 3546 pipe_mode->crtc_htotal /= 2; in intel_crtc_readout_derived_state() 3565 pipe_mode->crtc_htotal = (pipe_mode->crtc_htotal - overlap) * n; in intel_crtc_readout_derived_state() 3607 pipe_mode->crtc_htotal /= 2; in intel_crtc_compute_config() 3620 pipe_mode->crtc_htotal = (pipe_mode->crtc_htotal - overlap) * n; in intel_crtc_compute_config() 3868 vsyncshift = (adjusted_mode->crtc_htotal - 1) / 2; in intel_set_transcoder_timings() 3871 adjusted_mode->crtc_htotal / 2; in intel_set_transcoder_timings() 3873 vsyncshift += adjusted_mode->crtc_htotal; in intel_set_transcoder_timings() 6565 mode->crtc_hsync_end, mode->crtc_htotal, in intel_dump_crtc_timings() 7615 PIPE_CONF_CHECK_I(hw.pipe_mode.crtc_htotal); in intel_pipe_config_compare() [all …]
|
A D | dvo_ns2501.c | 582 adjusted_mode->crtc_htotal, in ns2501_mode_set()
|
/linux/drivers/gpu/drm/udl/ |
A D | udl_modeset.c | 153 xds = mode->crtc_htotal - mode->crtc_hsync_start; in udl_set_vid_cmds() 168 mode->crtc_htotal - 1); in udl_set_vid_cmds()
|
/linux/drivers/gpu/drm/mxsfb/ |
A D | mxsfb_kms.c | 299 VDCTRL2_SET_HSYNC_PERIOD(m->crtc_htotal), in mxsfb_crtc_mode_set_nofb() 302 writel(SET_HOR_WAIT_CNT(m->crtc_htotal - m->crtc_hsync_start) | in mxsfb_crtc_mode_set_nofb()
|
/linux/drivers/gpu/drm/ |
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()
|
/linux/drivers/gpu/drm/gma500/ |
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()
|
A D | oaktrail_hdmi.c | 169 new_crtc_htotal = (mode->crtc_htotal - 1) * 200 * 1000 / mode->clock; in htotal_calculate() 335 …REG_WRITE(PCH_HTOTAL_B, (adjusted_mode->crtc_hdisplay - 1) | ((adjusted_mode->crtc_htotal - 1) << … in oaktrail_crtc_hdmi_mode_set()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_encoders.c | 195 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank; in amdgpu_panel_mode_fixup()
|
/linux/include/drm/ |
A D | drm_modes.h | 301 u16 crtc_htotal; member
|
/linux/drivers/gpu/drm/armada/ |
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/drivers/gpu/drm/kmb/ |
A D | kmb_crtc.c | 86 m->crtc_htotal - m->crtc_hsync_end, in kmb_crtc_set_mode()
|
/linux/drivers/gpu/drm/arm/ |
A D | hdlcd_crtc.c | 139 vm.hback_porch = m->crtc_htotal - m->crtc_hsync_end; in hdlcd_crtc_mode_set_nofb()
|
/linux/drivers/gpu/drm/exynos/ |
A D | exynos5433_drm_decon.c | 203 m->crtc_hsync_end = m->crtc_htotal - 92; in decon_commit() 246 m->crtc_htotal - m->crtc_hsync_end - 1) | in decon_commit()
|
/linux/drivers/gpu/drm/radeon/ |
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()
|
A D | radeon_encoders.c | 354 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank; in radeon_panel_mode_fixup()
|
A D | rs690.c | 351 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/drivers/gpu/drm/tiny/ |
A D | arcpgu.c | 157 ENCODE_PGU_XY(m->crtc_htotal, m->crtc_vtotal)); in arc_pgu_mode_set()
|
/linux/drivers/gpu/drm/i915/ |
A D | intel_pm.c | 1178 htotal = pipe_mode->crtc_htotal; in g4x_compute_wm() 1686 htotal = pipe_mode->crtc_htotal; in vlv_compute_wm_level() 2280 int htotal = pipe_mode->crtc_htotal; in i965_update_wm() 2445 int htotal = pipe_mode->crtc_htotal; in i9xx_update_wm() 2591 crtc_state->hw.pipe_mode.crtc_htotal, in ilk_compute_pri_wm() 2619 crtc_state->hw.pipe_mode.crtc_htotal, in ilk_compute_spr_wm() 2644 crtc_state->hw.pipe_mode.crtc_htotal, in ilk_compute_cur_wm() 5343 u32 crtc_htotal; in intel_get_linetime_us() local 5354 crtc_htotal = crtc_state->hw.pipe_mode.crtc_htotal; in intel_get_linetime_us() 5526 crtc_state->hw.pipe_mode.crtc_htotal, in skl_compute_plane_wm() [all …]
|
/linux/drivers/gpu/drm/atmel-hlcdc/ |
A D | atmel_hlcdc_crtc.c | 86 vm.hback_porch = adj->crtc_htotal - adj->crtc_hsync_end; in atmel_hlcdc_crtc_mode_set_nofb()
|
/linux/drivers/gpu/drm/ingenic/ |
A D | ingenic-drm-drv.c | 203 hds = mode->crtc_htotal - mode->crtc_hsync_start; in ingenic_drm_crtc_update_timings() 693 mode->crtc_htotal = mode->htotal * 3 - mode->hdisplay * 2; in ingenic_drm_encoder_atomic_check()
|