| /Linux-v5.4/drivers/gpu/drm/sun4i/ |
| D | sun4i_tcon.c | 383 start_delay = start_delay * mode->crtc_htotal * 149; in sun4i_tcon0_mode_set_cpu() 429 bp = mode->crtc_htotal - mode->crtc_hsync_start; in sun4i_tcon0_mode_set_lvds() 431 mode->crtc_htotal, bp); in sun4i_tcon0_mode_set_lvds() 508 bp = mode->crtc_htotal - mode->crtc_hsync_start; in sun4i_tcon0_mode_set_rgb() 510 mode->crtc_htotal, bp); in sun4i_tcon0_mode_set_rgb() 514 SUN4I_TCON0_BASIC1_H_TOTAL(mode->crtc_htotal) | in sun4i_tcon0_mode_set_rgb() 627 bp = mode->crtc_htotal - mode->crtc_hsync_start; in sun4i_tcon1_mode_set() 631 SUN4I_TCON1_BASIC3_H_TOTAL(mode->crtc_htotal) | in sun4i_tcon1_mode_set()
|
| /Linux-v5.4/drivers/gpu/drm/i915/display/ |
| D | vlv_dsi.c | 1106 adjusted_mode->crtc_htotal = hactive + hfp + hsync + hbp; in bxt_dsi_get_pipe_config() 1110 adjusted_mode->crtc_hblank_end = adjusted_mode->crtc_htotal; in bxt_dsi_get_pipe_config() 1133 hbp_sw = adjusted_mode_sw->crtc_htotal - in bxt_dsi_get_pipe_config() 1170 if (adjusted_mode->crtc_htotal == crtc_htotal_sw) in bxt_dsi_get_pipe_config() 1171 adjusted_mode->crtc_htotal = adjusted_mode_sw->crtc_htotal; in bxt_dsi_get_pipe_config() 1241 hbp = adjusted_mode->crtc_htotal - adjusted_mode->crtc_hsync_end; in set_dsi_timings() 1419 txbyteclkhs(adjusted_mode->crtc_htotal, bpp, in intel_dsi_prepare() 1425 adjusted_mode->crtc_htotal, in intel_dsi_prepare()
|
| D | icl_dsi.c | 781 htotal = adjusted_mode->crtc_htotal; in gen11_dsi_set_transcoder_timings() 785 hback_porch = (adjusted_mode->crtc_htotal - in gen11_dsi_set_transcoder_timings() 1226 adjusted_mode->crtc_htotal *= 2; in gen11_dsi_get_timings() 1229 adjusted_mode->crtc_hblank_end = adjusted_mode->crtc_htotal; in gen11_dsi_get_timings()
|
| D | dvo_ns2501.c | 582 adjusted_mode->crtc_htotal, in ns2501_mode_set()
|
| /Linux-v5.4/drivers/gpu/drm/mxsfb/ |
| D | mxsfb_crtc.c | 268 VDCTRL2_SET_HSYNC_PERIOD(m->crtc_htotal), in mxsfb_crtc_mode_set_nofb() 271 writel(SET_HOR_WAIT_CNT(m->crtc_htotal - m->crtc_hsync_start) | in mxsfb_crtc_mode_set_nofb()
|
| /Linux-v5.4/drivers/gpu/drm/udl/ |
| D | udl_modeset.c | 168 xds = mode->crtc_htotal - mode->crtc_hsync_start; in udl_set_vid_cmds() 183 mode->crtc_htotal - 1); in udl_set_vid_cmds()
|
| /Linux-v5.4/drivers/gpu/drm/gma500/ |
| D | oaktrail_hdmi.c | 164 htotal = (mode->crtc_hdisplay - 1) | ((mode->crtc_htotal - 1) << 16); in htotal_calculate() 170 new_crtc_htotal = (mode->crtc_htotal - 1) * 200 * 1000 / mode->clock; in htotal_calculate() 336 …REG_WRITE(PCH_HTOTAL_B, (adjusted_mode->crtc_hdisplay - 1) | ((adjusted_mode->crtc_htotal - 1) << … in oaktrail_crtc_hdmi_mode_set()
|
| D | oaktrail_crtc.c | 441 ((adjusted_mode->crtc_htotal - 1) << 16), i); in oaktrail_crtc_mode_set() 460 ((adjusted_mode->crtc_htotal - 1) << 16), i); in oaktrail_crtc_mode_set()
|
| D | mdfld_intel_display.c | 807 ((adjusted_mode->crtc_htotal - 1) << 16)); in mdfld_crtc_mode_set() 824 ((adjusted_mode->crtc_htotal - 1) << 16)); in mdfld_crtc_mode_set()
|
| D | psb_intel_display.c | 262 ((adjusted_mode->crtc_htotal - 1) << 16)); in psb_intel_crtc_mode_set()
|
| /Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_encoders.c | 179 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank; in amdgpu_panel_mode_fixup()
|
| /Linux-v5.4/include/drm/ |
| D | drm_modes.h | 364 int crtc_htotal; member
|
| /Linux-v5.4/drivers/gpu/drm/arc/ |
| D | arcpgu_crtc.c | 81 ENCODE_PGU_XY(m->crtc_htotal, m->crtc_vtotal)); in arc_pgu_crtc_mode_set_nofb()
|
| /Linux-v5.4/drivers/gpu/drm/ |
| D | drm_vblank.c | 534 int frame_size = mode->crtc_htotal * mode->crtc_vtotal; in drm_calc_timestamping_constants() 541 linedur_ns = div_u64((u64) mode->crtc_htotal * 1000000, dotclock); in drm_calc_timestamping_constants() 558 crtc->base.id, mode->crtc_htotal, in drm_calc_timestamping_constants() 688 delta_ns = div_s64(1000000LL * (vpos * mode->crtc_htotal + hpos), in drm_calc_vbltimestamp_from_scanoutpos()
|
| /Linux-v5.4/drivers/gpu/drm/armada/ |
| 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-v5.4/drivers/gpu/drm/arm/ |
| D | hdlcd_crtc.c | 139 vm.hback_porch = m->crtc_htotal - m->crtc_hsync_end; in hdlcd_crtc_mode_set_nofb()
|
| /Linux-v5.4/drivers/gpu/drm/radeon/ |
| 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()
|
| D | radeon_encoders.c | 359 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank; in radeon_panel_mode_fixup()
|
| 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-v5.4/drivers/gpu/drm/exynos/ |
| 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-v5.4/drivers/gpu/drm/atmel-hlcdc/ |
| D | atmel_hlcdc_crtc.c | 82 vm.hback_porch = adj->crtc_htotal - adj->crtc_hsync_end; in atmel_hlcdc_crtc_mode_set_nofb()
|
| /Linux-v5.4/drivers/gpu/drm/i915/ |
| D | intel_pm.c | 1146 htotal = adjusted_mode->crtc_htotal; in g4x_compute_wm() 1638 htotal = adjusted_mode->crtc_htotal; in vlv_compute_wm_level() 2226 int htotal = adjusted_mode->crtc_htotal; in i965_update_wm() 2382 int htotal = adjusted_mode->crtc_htotal; in i9xx_update_wm() 2526 crtc_state->base.adjusted_mode.crtc_htotal, in ilk_compute_pri_wm() 2554 crtc_state->base.adjusted_mode.crtc_htotal, in ilk_compute_spr_wm() 2579 crtc_state->base.adjusted_mode.crtc_htotal, in ilk_compute_cur_wm() 2815 linetime = DIV_ROUND_CLOSEST(adjusted_mode->crtc_htotal * 1000 * 8, in hsw_compute_linetime_wm() 2817 ips_linetime = DIV_ROUND_CLOSEST(adjusted_mode->crtc_htotal * 1000 * 8, in hsw_compute_linetime_wm() 4599 u32 crtc_htotal; in intel_get_linetime_us() local [all …]
|
| /Linux-v5.4/drivers/gpu/drm/arm/display/komeda/ |
| D | komeda_crtc.c | 410 adjusted_mode->crtc_htotal /= 2; in komeda_crtc_mode_fixup()
|
| /Linux-v5.4/drivers/gpu/drm/ast/ |
| D | ast_mode.c | 188 adjusted_mode->crtc_htotal = vbios_mode->enh_table->ht; in ast_get_vbios_mode_info() 292 temp = (mode->crtc_htotal >> 3) - 5; in ast_set_crtc_reg()
|
| /Linux-v5.4/drivers/gpu/drm/bridge/ |
| D | cdns-dsi.c | 529 tmp = mode->crtc_htotal - in cdns_dsi_mode2cfg() 589 dpi_htotal = mode_valid_check ? mode->htotal : mode->crtc_htotal; in cdns_dsi_adjust_phy_config()
|