Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/gpu/drm/sun4i/
Dsun4i_tcon.c324 start_delay = start_delay * mode->crtc_htotal * 149; in sun4i_tcon0_mode_set_cpu()
367 bp = mode->crtc_htotal - mode->crtc_hsync_start; in sun4i_tcon0_mode_set_lvds()
369 mode->crtc_htotal, bp); in sun4i_tcon0_mode_set_lvds()
440 bp = mode->crtc_htotal - mode->crtc_hsync_start; in sun4i_tcon0_mode_set_rgb()
442 mode->crtc_htotal, bp); in sun4i_tcon0_mode_set_rgb()
446 SUN4I_TCON0_BASIC1_H_TOTAL(mode->crtc_htotal) | in sun4i_tcon0_mode_set_rgb()
533 bp = mode->crtc_htotal - mode->crtc_hsync_start; in sun4i_tcon1_mode_set()
537 SUN4I_TCON1_BASIC3_H_TOTAL(mode->crtc_htotal) | in sun4i_tcon1_mode_set()
/Linux-v4.19/drivers/gpu/drm/i915/
Dvlv_dsi.c1167 adjusted_mode->crtc_htotal = hactive + hfp + hsync + hbp; in bxt_dsi_get_pipe_config()
1171 adjusted_mode->crtc_hblank_end = adjusted_mode->crtc_htotal; in bxt_dsi_get_pipe_config()
1194 hbp_sw = adjusted_mode_sw->crtc_htotal - in bxt_dsi_get_pipe_config()
1231 if (adjusted_mode->crtc_htotal == crtc_htotal_sw) in bxt_dsi_get_pipe_config()
1232 adjusted_mode->crtc_htotal = adjusted_mode_sw->crtc_htotal; in bxt_dsi_get_pipe_config()
1329 hbp = adjusted_mode->crtc_htotal - adjusted_mode->crtc_hsync_end; in set_dsi_timings()
1507 txbyteclkhs(adjusted_mode->crtc_htotal, bpp, in intel_dsi_prepare()
1513 adjusted_mode->crtc_htotal, in intel_dsi_prepare()
Dintel_pm.c1126 htotal = adjusted_mode->crtc_htotal; in g4x_compute_wm()
1619 htotal = adjusted_mode->crtc_htotal; in vlv_compute_wm_level()
2207 int htotal = adjusted_mode->crtc_htotal; in i965_update_wm()
2363 int htotal = adjusted_mode->crtc_htotal; in i9xx_update_wm()
2506 cstate->base.adjusted_mode.crtc_htotal, in ilk_compute_pri_wm()
2531 cstate->base.adjusted_mode.crtc_htotal, in ilk_compute_spr_wm()
2553 cstate->base.adjusted_mode.crtc_htotal, in ilk_compute_cur_wm()
2790 linetime = DIV_ROUND_CLOSEST(adjusted_mode->crtc_htotal * 1000 * 8, in hsw_compute_linetime_wm()
2792 ips_linetime = DIV_ROUND_CLOSEST(adjusted_mode->crtc_htotal * 1000 * 8, in hsw_compute_linetime_wm()
4441 uint32_t crtc_htotal; in intel_get_linetime_us() local
[all …]
Ddvo_ns2501.c581 adjusted_mode->crtc_htotal, in ns2501_mode_set()
/Linux-v4.19/drivers/gpu/drm/mxsfb/
Dmxsfb_crtc.c263 VDCTRL2_SET_HSYNC_PERIOD(m->crtc_htotal), in mxsfb_crtc_mode_set_nofb()
266 writel(SET_HOR_WAIT_CNT(m->crtc_htotal - m->crtc_hsync_start) | in mxsfb_crtc_mode_set_nofb()
/Linux-v4.19/drivers/gpu/drm/udl/
Dudl_modeset.c170 xds = mode->crtc_htotal - mode->crtc_hsync_start; in udl_set_vid_cmds()
185 mode->crtc_htotal - 1); in udl_set_vid_cmds()
/Linux-v4.19/drivers/gpu/drm/armada/
Darmada_crtc.c268 lm = adj->crtc_htotal - adj->crtc_hsync_end; in armada_drm_crtc_mode_set_nofb()
276 adj->crtc_hsync_end, adj->crtc_htotal, in armada_drm_crtc_mode_set_nofb()
299 adj->crtc_htotal; in armada_drm_crtc_mode_set_nofb()
306 val -= adj->crtc_htotal / 2; in armada_drm_crtc_mode_set_nofb()
/Linux-v4.19/drivers/gpu/drm/gma500/
Doaktrail_hdmi.c162 htotal = (mode->crtc_hdisplay - 1) | ((mode->crtc_htotal - 1) << 16); in htotal_calculate()
168 new_crtc_htotal = (mode->crtc_htotal - 1) * 200 * 1000 / mode->clock; in htotal_calculate()
334 …REG_WRITE(PCH_HTOTAL_B, (adjusted_mode->crtc_hdisplay - 1) | ((adjusted_mode->crtc_htotal - 1) << … in oaktrail_crtc_hdmi_mode_set()
Doaktrail_crtc.c451 ((adjusted_mode->crtc_htotal - 1) << 16), i); in oaktrail_crtc_mode_set()
470 ((adjusted_mode->crtc_htotal - 1) << 16), i); in oaktrail_crtc_mode_set()
Dmdfld_intel_display.c816 ((adjusted_mode->crtc_htotal - 1) << 16)); in mdfld_crtc_mode_set()
833 ((adjusted_mode->crtc_htotal - 1) << 16)); in mdfld_crtc_mode_set()
Dpsb_intel_display.c273 ((adjusted_mode->crtc_htotal - 1) << 16)); in psb_intel_crtc_mode_set()
/Linux-v4.19/drivers/gpu/drm/
Ddrm_vblank.c517 int frame_size = mode->crtc_htotal * mode->crtc_vtotal; in drm_calc_timestamping_constants()
524 linedur_ns = div_u64((u64) mode->crtc_htotal * 1000000, dotclock); in drm_calc_timestamping_constants()
541 crtc->base.id, mode->crtc_htotal, in drm_calc_timestamping_constants()
671 delta_ns = div_s64(1000000LL * (vpos * mode->crtc_htotal + hpos), in drm_calc_vbltimestamp_from_scanoutpos()
Ddrm_modes.c849 p->crtc_htotal = p->htotal; in drm_mode_set_crtcinfo()
900 p->crtc_hblank_end = max(p->crtc_hsync_end, p->crtc_htotal); in drm_mode_set_crtcinfo()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_encoders.c178 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank; in amdgpu_panel_mode_fixup()
/Linux-v4.19/include/drm/
Ddrm_modes.h362 int crtc_htotal; member
/Linux-v4.19/drivers/gpu/drm/arc/
Darcpgu_crtc.c88 ENCODE_PGU_XY(m->crtc_htotal, m->crtc_vtotal)); in arc_pgu_crtc_mode_set_nofb()
/Linux-v4.19/drivers/gpu/drm/arm/
Dhdlcd_crtc.c137 vm.hback_porch = m->crtc_htotal - m->crtc_hsync_end; in hdlcd_crtc_mode_set_nofb()
/Linux-v4.19/drivers/gpu/drm/exynos/
Dexynos5433_drm_decon.c203 m->crtc_hsync_end = m->crtc_htotal - 92; in decon_commit()
246 m->crtc_htotal - m->crtc_hsync_end - 1) | in decon_commit()
/Linux-v4.19/drivers/gpu/drm/radeon/
Dradeon_legacy_crtc.c81 fp_crtc_h_total_disp = ((((mode->crtc_htotal / 8) - 1) & 0x3ff) in radeon_legacy_rmx_mode_set()
619 crtc_h_total_disp = ((((mode->crtc_htotal / 8) - 1) & 0x3ff) in radeon_set_crtc_timing()
Dradeon_encoders.c356 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank; in radeon_panel_mode_fixup()
Drs690.c349 a.full = dfixed_const(crtc->base.mode.crtc_htotal); in rs690_crtc_bandwidth_compute()
357 a.full = dfixed_const(crtc->base.mode.crtc_htotal); in rs690_crtc_bandwidth_compute()
/Linux-v4.19/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_crtc.c88 vm.hback_porch = adj->crtc_htotal - adj->crtc_hsync_end; in atmel_hlcdc_crtc_mode_set_nofb()
/Linux-v4.19/drivers/gpu/drm/nouveau/dispnv04/
Dcrtc.c243 int horizTotal = (mode->crtc_htotal >> 3) - 5; in nv_crtc_mode_set_vga()
245 int horizBlankEnd = (mode->crtc_htotal >> 3) - 1; in nv_crtc_mode_set_vga()
/Linux-v4.19/drivers/gpu/drm/ast/
Dast_mode.c183 adjusted_mode->crtc_htotal = vbios_mode->enh_table->ht; in ast_get_vbios_mode_info()
287 temp = (mode->crtc_htotal >> 3) - 5; in ast_set_crtc_reg()
/Linux-v4.19/drivers/gpu/drm/nouveau/dispnv50/
Dhead.c240 m->h.active = mode->crtc_htotal; in nv50_head_atomic_check_mode()

12