Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/sun4i/
H A Dsun4i_tcon.c406 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/drivers/gpu/drm/udl/
H A Dudl_modeset.c152 u16 reg01 = mode->crtc_htotal - mode->crtc_hsync_start; in udl_set_display_mode()
156 u16 reg09 = mode->crtc_htotal - 1; in udl_set_display_mode()
/linux/drivers/gpu/drm/i915/display/
H A Dicl_dsi.c906 htotal = DIV_ROUND_UP(adjusted_mode->crtc_htotal * mul, div); in gen11_dsi_set_transcoder_timings()
913 hback_porch = (adjusted_mode->crtc_htotal - in gen11_dsi_set_transcoder_timings()
1516 adjusted_mode->crtc_htotal = in gen11_dsi_get_timings()
1517 DIV_ROUND_UP(adjusted_mode->crtc_htotal * mul, div); in gen11_dsi_get_timings()
1529 adjusted_mode->crtc_htotal *= 2; in gen11_dsi_get_timings()
1532 adjusted_mode->crtc_hblank_end = adjusted_mode->crtc_htotal; in gen11_dsi_get_timings()
H A Dintel_vrr.c189 adjusted_mode->crtc_clock * 1000 / adjusted_mode->crtc_htotal; in is_cmrr_frac_required()
213 crtc_state->cmrr.cmrr_n = mul_u32_u32(desired_refresh_rate * adjusted_mode->crtc_htotal, in cmrr_get_vtotal()
350 (adjusted_mode->crtc_htotal * info->monitor_range.min_vfreq); in intel_vrr_compute_vmax()
H A Dintel_display.c2237 mode->htotal = timings->crtc_htotal; in intel_mode_from_crtc_timings()
2281 mode->crtc_htotal /= num_pipes; in intel_joiner_adjust_timings()
2304 mode->crtc_htotal = (mode->crtc_htotal - overlap) * n; in intel_splitter_adjust_timings()
2695 vsyncshift = (adjusted_mode->crtc_htotal - 1) / 2; in intel_set_transcoder_timings()
2698 adjusted_mode->crtc_htotal / 2; in intel_set_transcoder_timings()
2700 vsyncshift += adjusted_mode->crtc_htotal; in intel_set_transcoder_timings()
2729 HTOTAL(adjusted_mode->crtc_htotal - 1)); in intel_set_transcoder_timings()
2885 adjusted_mode->crtc_htotal = REG_FIELD_GET(HTOTAL_MASK, tmp) + 1; in intel_get_transcoder_timings()
4211 linetime_wm = DIV_ROUND_CLOSEST(pipe_mode->crtc_htotal * 1000 * 8, in hsw_linetime_wm()
4227 linetime_wm = DIV_ROUND_CLOSEST(pipe_mode->crtc_htotal * 1000 * 8, in hsw_ips_linetime_wm()
[all …]
H A Ddvo_ns2501.c582 adjusted_mode->crtc_htotal, in ns2501_mode_set()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_encoders.c195 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank; in amdgpu_panel_mode_fixup()
/linux/drivers/gpu/drm/armada/
H A Darmada_crtc.c343 lm = adj->crtc_htotal - adj->crtc_hsync_end; in armada_drm_crtc_mode_set_nofb()
361 adj->crtc_htotal; in armada_drm_crtc_mode_set_nofb()
368 val -= adj->crtc_htotal / 2; in armada_drm_crtc_mode_set_nofb()
/linux/drivers/gpu/drm/kmb/
H A Dkmb_crtc.c85 m->crtc_htotal - m->crtc_hsync_end, in kmb_crtc_set_mode()
H A Dkmb_dsi.c1374 mode->crtc_htotal - mode->crtc_hsync_end; in kmb_dsi_mode_set()
1381 data_rate = ((((u32)mode->crtc_vtotal * (u32)mode->crtc_htotal) * in kmb_dsi_mode_set()
/linux/drivers/gpu/drm/
H A Ddrm_vblank.c643 int frame_size = mode->crtc_htotal * mode->crtc_vtotal; in drm_calc_timestamping_constants()
650 linedur_ns = div_u64((u64) mode->crtc_htotal * 1000000, dotclock); in drm_calc_timestamping_constants()
669 crtc->base.id, mode->crtc_htotal, in drm_calc_timestamping_constants()
798 delta_ns = div_s64(1000000LL * (vpos * mode->crtc_htotal + hpos), in drm_crtc_vblank_helper_get_vblank_timestamp_internal()
/linux/drivers/gpu/drm/mgag200/
H A Dmgag200_mode.c225 htotal = mode->crtc_htotal / 8 - 1; in mgag200_set_mode_regs()
602 mode->crtc_hsync_end > 4096 || mode->crtc_htotal > 4096 || in mgag200_crtc_helper_mode_valid()
/linux/include/drm/
H A Ddrm_modes.h326 u16 crtc_htotal; member
/linux/drivers/gpu/drm/gma500/
H A Doaktrail_hdmi.c173 new_crtc_htotal = (mode->crtc_htotal - 1) * 200 * 1000 / mode->clock; in htotal_calculate()
339 …REG_WRITE(PCH_HTOTAL_B, (adjusted_mode->crtc_hdisplay - 1) | ((adjusted_mode->crtc_htotal - 1) << … in oaktrail_crtc_hdmi_mode_set()
H A Dpsb_intel_display.c269 ((adjusted_mode->crtc_htotal - 1) << 16)); in psb_intel_crtc_mode_set()
H A Dcdv_intel_display.c785 ((adjusted_mode->crtc_htotal - 1) << 16)); in cdv_intel_crtc_mode_set()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_encoders.c357 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank; in radeon_panel_mode_fixup()
H A Drs690.c351 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()
H A Drv515.c999 a.full = dfixed_const(crtc->base.mode.crtc_htotal); in rv515_crtc_bandwidth_compute()
1007 a.full = dfixed_const(crtc->base.mode.crtc_htotal); in rv515_crtc_bandwidth_compute()
/linux/drivers/gpu/drm/loongson/
H A Dlsdc_crtc.c225 (mode->crtc_htotal << 16) | mode->crtc_hdisplay); in lsdc_crtc0_set_mode()
243 (mode->crtc_htotal << 16) | mode->crtc_hdisplay); in lsdc_crtc1_set_mode()
/linux/drivers/gpu/drm/tiny/
H A Darcpgu.c162 ENCODE_PGU_XY(m->crtc_htotal, m->crtc_vtotal)); in arc_pgu_mode_set()
/linux/drivers/gpu/drm/ast/
H A Dast_mode.c257 temp = (mode->crtc_htotal >> 3) - 5; in ast_set_crtc_reg()
796 adjusted_mode->crtc_htotal = vmode->ht; in ast_crtc_helper_atomic_check()
/linux/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_crtc.c111 vm.hback_porch = adj->crtc_htotal - adj->crtc_hsync_end; in atmel_hlcdc_crtc_mode_set_nofb()
/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Dcrtc.c248 int horizTotal = (mode->crtc_htotal >> 3) - 5; in nv_crtc_mode_set_vga()
250 int horizBlankEnd = (mode->crtc_htotal >> 3) - 1; in nv_crtc_mode_set_vga()
/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Dhead.c298 m->h.active = mode->crtc_htotal; in nv50_head_atomic_check_mode()

12