Home
last modified time | relevance | path

Searched refs:hsync_end (Results 1 – 79 of 79) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/panel/
Dpanel-simple.c376 .hsync_end = 800 + 0 + 255,
401 .hsync_end = 1024 + 156 + 8,
424 .hsync_end = 1280 + 119 + 32,
447 .hsync_end = 1366 + 20 + 70,
471 .hsync_end = 1366 + 40 + 40,
494 .hsync_end = 1366 + 48 + 32,
517 .hsync_end = 1920 + 172 + 80,
545 .hsync_end = 1024 + 160 + 4,
573 .hsync_end = 1366 + 58 + 58,
596 .hsync_end = 1366 + 48 + 32,
[all …]
Dpanel-lg-lg4573.c203 .hsync_end = 480 + 10 + 59,
Dpanel-sharp-lq101r1sx01.c280 .hsync_end = 2560 + 128 + 64,
/linux-4.4.14/drivers/gpu/drm/
Ddrm_modes.c56 mode->hsync_end, mode->htotal, in drm_mode_debug_printmodeline()
283 drm_mode->hsync_end = drm_mode->hdisplay + hblank / 2; in drm_cvt_mode()
284 drm_mode->hsync_start = drm_mode->hsync_end - in drm_cvt_mode()
318 drm_mode->hsync_end = drm_mode->hdisplay + CVT_RB_H_BLANK / 2; in drm_cvt_mode()
319 drm_mode->hsync_start = drm_mode->hsync_end - CVT_RB_H_SYNC; in drm_cvt_mode()
510 drm_mode->hsync_end = drm_mode->hsync_start + hsync; in drm_gtf_mode_complex()
589 dmode->hsync_end = dmode->hsync_start + vm->hsync_len; in drm_display_mode_from_videomode()
590 dmode->htotal = dmode->hsync_end + vm->hback_porch; in drm_display_mode_from_videomode()
630 vm->hsync_len = dmode->hsync_end - dmode->hsync_start; in drm_display_mode_to_videomode()
631 vm->hback_porch = dmode->htotal - dmode->hsync_end; in drm_display_mode_to_videomode()
[all …]
Ddrm_edid.c1504 (mode->hsync_end - mode->hdisplay == 80) && in mode_is_rb()
1505 (mode->hsync_end - mode->hsync_start == 32) && in mode_is_rb()
1766 mode->hsync_end = mode->hsync_end - 1; in drm_mode_std()
1921 mode->hsync_end = mode->hsync_start + hsync_pulse_width; in drm_mode_detailed()
1930 if (mode->hsync_end > mode->htotal) in drm_mode_detailed()
1931 mode->htotal = mode->hsync_end + 1; in drm_mode_detailed()
2092 mode->hsync_end--; in fixup_mode_1366x768()
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_tv.c357 int hsync_end, hblank_start, hblank_end, htotal; member
425 .hsync_end = 64, .hblank_end = 124,
467 .hsync_end = 64, .hblank_end = 124,
510 .hsync_end = 64, .hblank_end = 124,
553 .hsync_end = 64, .hblank_end = 124,
596 .hsync_end = 64, .hblank_end = 128,
641 .hsync_end = 64, .hblank_end = 142,
683 .hsync_end = 64, .hblank_end = 122,
707 .hsync_end = 64, .hblank_end = 139,
731 .hsync_end = 80, .hblank_end = 300,
[all …]
Dintel_dsi_pll.c94 hsync = mode->hsync_end - mode->hsync_start; in dsi_rr_formula()
95 hbp = mode->htotal - mode->hsync_end; in dsi_rr_formula()
Dintel_bios.c94 panel_fixed_mode->hsync_end = panel_fixed_mode->hsync_start + in fill_detail_timing_data()
121 if (panel_fixed_mode->hsync_end > panel_fixed_mode->htotal) in fill_detail_timing_data()
122 panel_fixed_mode->htotal = panel_fixed_mode->hsync_end + 1; in fill_detail_timing_data()
Dintel_sdvo.c831 h_sync_len = mode->hsync_end - mode->hsync_start; in intel_sdvo_get_dtd_from_mode()
880 mode.hsync_end = mode.hsync_start + dtd->part2.h_sync_width; in intel_sdvo_get_mode_from_dtd()
881 mode.hsync_end += (dtd->part2.sync_off_width_high & 0x30) << 4; in intel_sdvo_get_mode_from_dtd()
Dintel_panel.c79 scan->hsync_end == fixed_mode->hsync_end && in intel_find_panel_downclock()
Di915_debugfs.c2794 mode->hsync_end, mode->htotal, in intel_seq_print_mode()
Dintel_display.c7812 mode->hsync_end = pipe_config->base.adjusted_mode.crtc_hsync_end; in intel_mode_from_pipe_config()
10707 mode->hsync_end = ((hsync & 0xffff0000) >> 16) + 1; in intel_crtc_mode_get()
/linux-4.4.14/drivers/gpu/drm/gma500/
Dmdfld_tpo_vid.c47 mode->hsync_end = mode->hsync_start + in tpo_vid_get_config_mode()
65 dev_dbg(dev->dev, "HSE is %d\n", mode->hsync_end); in tpo_vid_get_config_mode()
75 mode->hsync_end = 876; in tpo_vid_get_config_mode()
Dmdfld_tmd_vid.c50 mode->hsync_end = mode->hsync_start + \ in tmd_vid_get_config_mode()
68 dev_dbg(dev->dev, "HSE is %d\n", mode->hsync_end); in tmd_vid_get_config_mode()
78 mode->hsync_end = 490; in tmd_vid_get_config_mode()
Dintel_bios.c166 panel_fixed_mode->hsync_end = panel_fixed_mode->hsync_start + in fill_detail_timing_data()
193 if (panel_fixed_mode->hsync_end > panel_fixed_mode->htotal) in fill_detail_timing_data()
194 panel_fixed_mode->htotal = panel_fixed_mode->hsync_end + 1; in fill_detail_timing_data()
Dmdfld_dsi_dpi.c437 pclk_hsync = mode->hsync_end - mode->hsync_start; in mdfld_dsi_dpi_timing_calculation()
438 pclk_hbp = mode->htotal - mode->hsync_end; in mdfld_dsi_dpi_timing_calculation()
698 adjusted_mode->hsync_end = fixed_mode->hsync_end; in mdfld_dsi_dpi_mode_fixup()
800 ((mode->hsync_end - 1) << 16) | (mode->hsync_start - 1)); in mdfld_set_pipe_timing()
Doaktrail_lvds.c243 mode->hsync_end = mode->hsync_start + \ in oaktrail_lvds_get_configuration_mode()
261 printk(KERN_INFO "HSE is %d\n", mode->hsync_end); in oaktrail_lvds_get_configuration_mode()
Dcdv_intel_lvds.c302 adjusted_mode->hsync_end = panel_fixed_mode->hsync_end; in cdv_intel_lvds_mode_fixup()
Dtc35876x-dsi-lvds.c591 mode->hsync_end = 1400; in tc35876x_get_config_mode()
601 dev_info(&dev->pdev->dev, "HSE = %d\n", mode->hsync_end); in tc35876x_get_config_mode()
Dpsb_intel_lvds.c418 adjusted_mode->hsync_end = panel_fixed_mode->hsync_end; in psb_intel_lvds_mode_fixup()
Dpsb_intel_display.c419 mode->hsync_end = ((hsync & 0xffff0000) >> 16) + 1; in psb_intel_crtc_mode_get()
Dcdv_intel_dp.c880 adjusted_mode->hsync_end = fixed_mode->hsync_end; in cdv_intel_fixed_panel_mode()
Dmdfld_intel_display.c714 adjusted_mode->hsync_end); in mdfld_crtc_mode_set()
Dcdv_intel_display.c963 mode->hsync_end = ((hsync & 0xffff0000) >> 16) + 1; in cdv_intel_crtc_mode_get()
Dpsb_intel_sdvo.c777 mode->hsync_end = mode->hsync_start + dtd->part2.h_sync_width; in psb_intel_sdvo_get_mode_from_dtd()
778 mode->hsync_end += (dtd->part2.sync_off_width_high & 0x30) << 4; in psb_intel_sdvo_get_mode_from_dtd()
/linux-4.4.14/drivers/gpu/drm/omapdrm/
Domap_connector.c53 mode->hsync_end = mode->hsync_start + timings->hsw; in copy_timings_omap_to_drm()
54 mode->htotal = mode->hsync_end + timings->hbp; in copy_timings_omap_to_drm()
84 timings->hsw = mode->hsync_end - mode->hsync_start; in copy_timings_drm_to_omap()
85 timings->hbp = mode->htotal - mode->hsync_end; in copy_timings_drm_to_omap()
248 mode->hsync_end, mode->htotal, in omap_connector_mode_valid()
Domap_crtc.c384 mode->hdisplay, mode->hsync_start, mode->hsync_end, mode->htotal, in omap_crtc_mode_set_nofb()
/linux-4.4.14/drivers/gpu/drm/sti/
Dsti_vtg.c167 tmp = (mode->hsync_end - mode->hsync_start + HDMI_DELAY) << 16; in vtg_set_mode()
182 tmp = (mode->hsync_end - mode->hsync_start) << 16; in vtg_set_mode()
193 tmp = (mode->hsync_end - mode->hsync_start + AWG_DELAY_HD) << 16; in vtg_set_mode()
208 tmp = (mode->hsync_end - mode->hsync_start) << 16; in vtg_set_mode()
Dsti_crtc.c79 mode->hsync_start, mode->hsync_end, in sti_crtc_mode_set()
/linux-4.4.14/drivers/media/platform/xilinx/
Dxilinx-vtc.h27 unsigned int hsync_end; member
Dxilinx-vtc.c212 (config->hsync_end << XVTC_HSYNC_END_SHIFT) | in xvtc_generator_start()
Dxilinx-tpg.c205 config.hsync_end = htotal - 1; in xtpg_s_stream()
/linux-4.4.14/drivers/gpu/drm/tilcdc/
Dtilcdc_crtc.c231 adjusted_mode->hskew = mode->hsync_end - mode->hsync_start; in tilcdc_crtc_mode_fixup()
302 hbp = mode->htotal - mode->hsync_end; in tilcdc_crtc_mode_set()
304 hsw = mode->hsync_end - mode->hsync_start; in tilcdc_crtc_mode_set()
491 hbp = mode->htotal - mode->hsync_end; in tilcdc_crtc_mode_valid()
493 hsw = mode->hsync_end - mode->hsync_start; in tilcdc_crtc_mode_valid()
/linux-4.4.14/include/drm/
Ddrm_modes.h85 .hdisplay = (hd), .hsync_start = (hss), .hsync_end = (hse), \
113 int hsync_end; member
/linux-4.4.14/drivers/gpu/drm/fsl-dcu/
Dfsl_dcu_drm_crtc.c96 hbp = mode->htotal - mode->hsync_end; in fsl_dcu_drm_crtc_mode_set_nofb()
98 hsw = mode->hsync_end - mode->hsync_start; in fsl_dcu_drm_crtc_mode_set_nofb()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_encoders.c156 unsigned hsync_width = native_mode->hsync_end - native_mode->hsync_start; in amdgpu_panel_mode_fixup()
167 adjusted_mode->hsync_end = adjusted_mode->hsync_start + hsync_width; in amdgpu_panel_mode_fixup()
Datombios_encoders.c1942 lvds->native_mode.hsync_end = lvds->native_mode.hsync_start + in amdgpu_atombios_encoder_get_lcd_info()
/linux-4.4.14/drivers/gpu/drm/shmobile/
Dshmob_drm_crtc.c112 value = (((mode->hsync_end - mode->hsync_start) / 8) << 16) /* HSYNW */ in shmob_drm_crtc_setup_geometry()
117 | (((mode->hsync_end - mode->hsync_start) & 7) << 8) in shmob_drm_crtc_setup_geometry()
661 mode->hsync_end = sdev->pdata->panel.mode.hsync_end; in shmob_drm_connector_get_modes()
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_dtv_encoder.c120 mode->hsync_end, mode->htotal, in mdp4_dtv_encoder_mode_set()
147 MDP4_DTV_HSYNC_CTRL_PULSEW(mode->hsync_end - mode->hsync_start) | in mdp4_dtv_encoder_mode_set()
Dmdp4_lcdc_encoder.c286 mode->hsync_end, mode->htotal, in mdp4_lcdc_encoder_mode_set()
313 MDP4_LCDC_HSYNC_CTRL_PULSEW(mode->hsync_end - mode->hsync_start) | in mdp4_lcdc_encoder_mode_set()
Dmdp4_crtc.c263 mode->hsync_end, mode->htotal, in mdp4_crtc_mode_set_nofb()
/linux-4.4.14/drivers/gpu/drm/msm/edp/
Dedp_bridge.c67 mode->hsync_end, mode->htotal, in edp_bridge_mode_set()
Dedp_ctrl.c1310 mode->hsync_end - mode->hsync_start); in msm_edp_ctrl_timing_cfg()
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_encoder.c143 mode->hsync_end, mode->htotal, in mdp5_encoder_mode_set()
204 MDP5_INTF_HSYNC_CTL_PULSEW(mode->hsync_end - mode->hsync_start) | in mdp5_encoder_mode_set()
Dmdp5_cmd_encoder.c210 mode->hsync_end, mode->htotal, in mdp5_cmd_encoder_mode_set()
Dmdp5_crtc.c313 mode->hsync_end, mode->htotal, in mdp5_crtc_mode_set_nofb()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_encoders.c330 unsigned hsync_width = native_mode->hsync_end - native_mode->hsync_start; in radeon_panel_mode_fixup()
343 adjusted_mode->hsync_end = adjusted_mode->hsync_start + hsync_width; in radeon_panel_mode_fixup()
Dradeon_combios.c1267 lvds->native_mode.hsync_end = lvds->native_mode.hsync_start + in radeon_combios_get_lvds_info()
Dradeon_atombios.c1659 lvds->native_mode.hsync_end = lvds->native_mode.hsync_start + in radeon_atombios_get_lvds_info()
/linux-4.4.14/drivers/gpu/drm/vc4/
Dvc4_hdmi.c318 VC4_SET_FIELD(mode->htotal - mode->hsync_end, in vc4_hdmi_encoder_mode_set()
320 VC4_SET_FIELD(mode->hsync_end - mode->hsync_start, in vc4_hdmi_encoder_mode_set()
Dvc4_crtc.c205 VC4_SET_FIELD(mode->htotal - mode->hsync_end, in vc4_crtc_mode_set_nofb()
207 VC4_SET_FIELD(mode->hsync_end - mode->hsync_start, in vc4_crtc_mode_set_nofb()
/linux-4.4.14/drivers/video/fbdev/
Dgbefb.c529 timing->hsync_end = timing->hsync_start + var->hsync_len; in compute_gbe_timing()
565 SET_GBE_FIELD(VT_HSYNC, HSYNC_OFF, val, timing->hsync_end); in gbe_set_timing_info()
992 var->left_margin = timing.htotal - timing.hsync_end; in gbefb_check_var()
996 var->hsync_len = timing.hsync_end - timing.hsync_start; in gbefb_check_var()
Dneofb.c258 int hsync_end = var->xres + var->right_margin + var->hsync_len; in vgaHWInit() local
259 int htotal = (hsync_end + var->left_margin) >> 3; in vgaHWInit()
290 | (((hsync_end >> 3)) & 0x1F); in vgaHWInit()
/linux-4.4.14/drivers/video/fbdev/intelfb/
Dintelfbhw.c1050 u32 hsync_start, hsync_end, hblank_start, hblank_end, htotal, hactive; in intelfbhw_mode_to_hw() local
1178 hsync_end = hsync_start + var->hsync_len; in intelfbhw_mode_to_hw()
1179 htotal = hsync_end + var->left_margin; in intelfbhw_mode_to_hw()
1184 hactive, hsync_start, hsync_end, htotal, hblank_start, in intelfbhw_mode_to_hw()
1207 hsync_end--; in intelfbhw_mode_to_hw()
1208 if (check_overflow(hsync_end, HSYNCEND_MASK, "CRTC hsync_end")) in intelfbhw_mode_to_hw()
1242 *hs = (hsync_start << HSYNCSTART_SHIFT) | (hsync_end << HSYNCEND_SHIFT); in intelfbhw_mode_to_hw()
/linux-4.4.14/include/video/
Dgbe.h297 short hsync_end; /* Horizontal sync end */ member
/linux-4.4.14/drivers/gpu/drm/tegra/
Dsor.c1155 hsw = mode->hsync_end - mode->hsync_start;
1156 hbp = mode->htotal - mode->hsync_end;
1541 hse = mode->hsync_end - mode->hsync_start - 1; in tegra_sor_edp_enable()
1929 pulse_start = h_ref_to_sync + (mode->hsync_end - mode->hsync_start) + in tegra_sor_hdmi_enable()
1930 (mode->htotal - mode->hsync_end) - 10; in tegra_sor_hdmi_enable()
2097 hse = mode->hsync_end - mode->hsync_start - 1; in tegra_sor_hdmi_enable()
2104 hbe = hse + (mode->htotal - mode->hsync_end); in tegra_sor_hdmi_enable()
Dhdmi.c850 h_sync_width = mode->hsync_end - mode->hsync_start; in tegra_hdmi_encoder_enable()
851 h_back_porch = mode->htotal - mode->hsync_end; in tegra_hdmi_encoder_enable()
Ddsi.c562 hsw = (mode->hsync_end - mode->hsync_start) * mul / div; in tegra_dsi_configure()
565 hbp = (mode->htotal - mode->hsync_end) * mul / div; in tegra_dsi_configure()
Ddc.c1077 ((mode->hsync_end - mode->hsync_start) << 0); in tegra_dc_set_timings()
1081 ((mode->htotal - mode->hsync_end) << 0); in tegra_dc_set_timings()
/linux-4.4.14/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_dc.c353 int hback_porch = mode->htotal - mode->hsync_end; in atmel_hlcdc_dc_mode_valid()
354 int hsync_len = mode->hsync_end - mode->hsync_start; in atmel_hlcdc_dc_mode_valid()
/linux-4.4.14/drivers/video/fbdev/vermilion/
Dvermilion.c781 u32 htotal, hactive, hblank_start, hblank_end, hsync_start, hsync_end; in vmlfb_set_par_locked() local
799 hsync_end = hsync_start + var->hsync_len; in vmlfb_set_par_locked()
847 ((hsync_end - 1) << 16) | (hsync_start - 1)); in vmlfb_set_par_locked()
/linux-4.4.14/drivers/gpu/drm/msm/dsi/
Ddsi_manager.c215 mode->hsync_end >>= 1; in dsi_dual_connector_fix_modes()
496 mode->hsync_end, mode->htotal, in dsi_mgr_bridge_mode_set()
Ddsi_host.c716 u32 hs_end = mode->hsync_end - mode->hsync_start; in dsi_timing_setup()
/linux-4.4.14/include/uapi/drm/
Ddrm_mode.h110 __u16 hsync_end; member
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/
Dtvnv17.c275 mode->hsync_end = mode->hsync_start + 8; in nv17_tv_get_hd_modes()
537 regs->fp_horiz_regs[FP_SYNC_END] = output_mode->hsync_end - 1; in nv17_tv_mode_set()
Ddfp.c308 regp->fp_horiz_regs[FP_SYNC_END] = output_mode->hsync_end - 1; in nv04_dfp_mode_set()
/linux-4.4.14/drivers/gpu/drm/cirrus/
Dcirrus_mode.c206 hsyncend = mode->hsync_end / 8; in cirrus_crtc_mode_set()
/linux-4.4.14/drivers/gpu/drm/rcar-du/
Drcar_du_crtc.c160 rcar_du_crtc_write(rcrtc, HSWR, mode->hsync_end - in rcar_du_crtc_set_display_timing()
/linux-4.4.14/drivers/gpu/drm/i2c/
Dch7006_mode.c114 .hsync_end = e_hd + 80, \
Dtda998x_drv.c925 hs_pix_e = mode->hsync_end - mode->hdisplay; in tda998x_encoder_mode_set()
/linux-4.4.14/drivers/gpu/drm/mgag200/
Dmgag200_mode.c1012 hsyncend = mode->hsync_end / 8 - 1; in mga_crtc_mode_set()
1637 (mode->hsync_end % 8) != 0 || (mode->htotal % 8) != 0) { in mga_vga_mode_valid()
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Ddsi.c3718 bool hsync_end; in dsi_proto_timings() local
3723 hsync_end = dsi->vm_timings.trans_mode == OMAP_DSS_DSI_PULSE_MODE; in dsi_proto_timings()
3724 t_he = hsync_end ? in dsi_proto_timings()
3730 tl = DIV_ROUND_UP(4, ndl) + (hsync_end ? hsa : 0) + t_he + hfp + in dsi_proto_timings()
3734 hfp, hsync_end ? hsa : 0, tl); in dsi_proto_timings()
3741 r = FLD_MOD(r, hsync_end ? hsa : 0, 31, 24); /* HSA */ in dsi_proto_timings()
/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos_hdmi.c1312 val |= ((m->hsync_end - m->hdisplay - 2) << 10); in hdmi_v13_mode_apply()
1471 m->hsync_end - m->hdisplay - 2); in hdmi_v14_mode_apply()
Dexynos_drm_dsi.c1683 vm->hback_porch = m->htotal - m->hsync_end; in exynos_dsi_mode_set()
1684 vm->hsync_len = m->hsync_end - m->hsync_start; in exynos_dsi_mode_set()
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.c1515 mode->hsync_end = mode->hsync_start + 50; in vmw_guess_mode_timing()
1516 mode->htotal = mode->hsync_end + 50; in vmw_guess_mode_timing()
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnv50_display.c1147 hsynce = mode->hsync_end - mode->hsync_start - 1; in nv50_crtc_mode_set()
1148 hbackp = mode->htotal - mode->hsync_end; in nv50_crtc_mode_set()
Dnouveau_bios.c473 mode->hsync_end = ROM16(mode_entry[19]) + 1; in nouveau_bios_fp_mode()
/linux-4.4.14/drivers/gpu/drm/bridge/
Ddw_hdmi.c1087 hsync_len = mode->hsync_end - mode->hsync_start; in hdmi_av_composer()
/linux-4.4.14/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c1169 u16 hsync_len = adjusted_mode->hsync_end - adjusted_mode->hsync_start; in vop_crtc_mode_set()