Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/drivers/gpu/drm/sun4i/
H A Dsun4i_tcon.c409 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()
/OK3568_Linux_fs/u-boot/drivers/video/drm/
H A Drockchip_display_helper.c122 p->crtc_htotal = p->htotal; in drm_mode_set_crtcinfo()
173 p->crtc_hblank_end = max(p->crtc_hsync_end, p->crtc_htotal); in drm_mode_set_crtcinfo()
H A Drockchip_vop.c170 u16 hact_st = mode->crtc_htotal - mode->crtc_hsync_start; in vop_post_config()
244 u16 htotal = mode->crtc_htotal; in rockchip_vop_init()
245 u16 hact_st = mode->crtc_htotal - mode->crtc_hsync_start; in rockchip_vop_init()
713 dsp_stx = crtc_x + mode->crtc_htotal - mode->crtc_hsync_start; in rockchip_vop_set_plane()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/display/
H A Dvlv_dsi.c1153 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) +… in intel_dsi_prepare()
1472 …txbyteclkhs(adjusted_mode->crtc_vtotal * adjusted_mode->crtc_htotal, bpp, intel_dsi->lane_count, i… in intel_dsi_prepare()
H A Dicl_dsi.c857 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()
H A Ddvo_ns2501.c582 adjusted_mode->crtc_htotal, in ns2501_mode_set()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/udl/
H A Dudl_modeset.c155 xds = mode->crtc_htotal - mode->crtc_hsync_start; in udl_set_vid_cmds()
170 mode->crtc_htotal - 1); in udl_set_vid_cmds()
/OK3568_Linux_fs/u-boot/include/
H A Ddrm_modes.h203 int crtc_htotal; member
/OK3568_Linux_fs/kernel/drivers/gpu/drm/mxsfb/
H A Dmxsfb_kms.c301 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A Ddrm_vblank.c619 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/gma500/
H A Doaktrail_crtc.c443 ((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()
H A Doaktrail_hdmi.c169 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()
H A Dmdfld_intel_display.c774 ((adjusted_mode->crtc_htotal - 1) << 16)); in mdfld_crtc_mode_set()
791 ((adjusted_mode->crtc_htotal - 1) << 16)); in mdfld_crtc_mode_set()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/arc/
H A Darcpgu_crtc.c83 ENCODE_PGU_XY(m->crtc_htotal, m->crtc_vtotal)); in arc_pgu_crtc_mode_set_nofb()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/armada/
H A Darmada_crtc.c342 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()
/OK3568_Linux_fs/kernel/include/drm/
H A Ddrm_modes.h298 u16 crtc_htotal; member
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_encoders.c195 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank; in amdgpu_panel_mode_fixup()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/arm/
H A Dhdlcd_crtc.c139 vm.hback_porch = m->crtc_htotal - m->crtc_hsync_end; in hdlcd_crtc_mode_set_nofb()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/exynos/
H A Dexynos5433_drm_decon.c204 m->crtc_hsync_end = m->crtc_htotal - 92; in decon_commit()
247 m->crtc_htotal - m->crtc_hsync_end - 1) | in decon_commit()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/
H A Dradeon_legacy_crtc.c84 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()
H A Dradeon_encoders.c360 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/
H A Dintel_pm.c1167 htotal = adjusted_mode->crtc_htotal; in g4x_compute_wm()
1675 htotal = adjusted_mode->crtc_htotal; in vlv_compute_wm_level()
2269 int htotal = adjusted_mode->crtc_htotal; in i965_update_wm()
2429 int htotal = adjusted_mode->crtc_htotal; in i9xx_update_wm()
2576 crtc_state->hw.adjusted_mode.crtc_htotal, in ilk_compute_pri_wm()
2604 crtc_state->hw.adjusted_mode.crtc_htotal, in ilk_compute_spr_wm()
2629 crtc_state->hw.adjusted_mode.crtc_htotal, in ilk_compute_cur_wm()
5085 u32 crtc_htotal; in intel_get_linetime_us() local
5096 crtc_htotal = crtc_state->hw.adjusted_mode.crtc_htotal; in intel_get_linetime_us()
5097 linetime_us = div_fixed16(crtc_htotal * 1000, pixel_rate); in intel_get_linetime_us()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/bridge/
H A Dsii902x.c551 buf[4] = adj->crtc_htotal; in sii902x_bridge_mode_set()
552 buf[5] = adj->crtc_htotal >> 8; in sii902x_bridge_mode_set()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_crtc.c86 vm.hback_porch = adj->crtc_htotal - adj->crtc_hsync_end; in atmel_hlcdc_crtc_mode_set_nofb()

123