Home
last modified time | relevance | path

Searched refs:hsync_start (Results 1 – 83 of 83) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/panel/
Dpanel-simple.c375 .hsync_start = 800 + 0,
400 .hsync_start = 1024 + 156,
423 .hsync_start = 1280 + 119,
446 .hsync_start = 1366 + 20,
470 .hsync_start = 1366 + 40,
493 .hsync_start = 1366 + 48,
516 .hsync_start = 1920 + 172,
544 .hsync_start = 1024 + 160,
572 .hsync_start = 1366 + 58,
595 .hsync_start = 1366 + 48,
[all …]
Dpanel-lg-lg4573.c202 .hsync_start = 480 + 10,
Dpanel-sharp-lq101r1sx01.c279 .hsync_start = 2560 + 128,
/linux-4.4.14/drivers/gpu/drm/gma500/
Dmdfld_tpo_vid.c44 mode->hsync_start = mode->hdisplay + in tpo_vid_get_config_mode()
47 mode->hsync_end = mode->hsync_start + in tpo_vid_get_config_mode()
64 dev_dbg(dev->dev, "HSS is %d\n", mode->hsync_start); in tpo_vid_get_config_mode()
74 mode->hsync_start = 873; in tpo_vid_get_config_mode()
Dmdfld_tmd_vid.c47 mode->hsync_start = mode->hdisplay + \ in tmd_vid_get_config_mode()
50 mode->hsync_end = mode->hsync_start + \ in tmd_vid_get_config_mode()
67 dev_dbg(dev->dev, "HSS is %d\n", mode->hsync_start); in tmd_vid_get_config_mode()
77 mode->hsync_start = 487; in tmd_vid_get_config_mode()
Doaktrail_lvds.c240 mode->hsync_start = mode->hdisplay + \ in oaktrail_lvds_get_configuration_mode()
243 mode->hsync_end = mode->hsync_start + \ in oaktrail_lvds_get_configuration_mode()
260 printk(KERN_INFO "HSS is %d\n", mode->hsync_start); in oaktrail_lvds_get_configuration_mode()
Dmdfld_dsi_dpi.c436 pclk_hfp = mode->hsync_start - mode->hdisplay; in mdfld_dsi_dpi_timing_calculation()
437 pclk_hsync = mode->hsync_end - mode->hsync_start; in mdfld_dsi_dpi_timing_calculation()
697 adjusted_mode->hsync_start = fixed_mode->hsync_start; in mdfld_dsi_dpi_mode_fixup()
800 ((mode->hsync_end - 1) << 16) | (mode->hsync_start - 1)); in mdfld_set_pipe_timing()
Dintel_bios.c164 panel_fixed_mode->hsync_start = panel_fixed_mode->hdisplay + in fill_detail_timing_data()
166 panel_fixed_mode->hsync_end = panel_fixed_mode->hsync_start + in fill_detail_timing_data()
Dcdv_intel_lvds.c301 adjusted_mode->hsync_start = panel_fixed_mode->hsync_start; in cdv_intel_lvds_mode_fixup()
Dtc35876x-dsi-lvds.c590 mode->hsync_start = 1360; in tc35876x_get_config_mode()
600 dev_info(&dev->pdev->dev, "HSS = %d\n", mode->hsync_start); in tc35876x_get_config_mode()
Dpsb_intel_lvds.c417 adjusted_mode->hsync_start = panel_fixed_mode->hsync_start; in psb_intel_lvds_mode_fixup()
Dpsb_intel_display.c418 mode->hsync_start = (hsync & 0xffff) + 1; in psb_intel_crtc_mode_get()
Dpsb_intel_sdvo.c775 mode->hsync_start = mode->hdisplay + dtd->part2.h_sync_off; in psb_intel_sdvo_get_mode_from_dtd()
776 mode->hsync_start += (dtd->part2.sync_off_width_high & 0xc0) << 2; in psb_intel_sdvo_get_mode_from_dtd()
777 mode->hsync_end = mode->hsync_start + dtd->part2.h_sync_width; in psb_intel_sdvo_get_mode_from_dtd()
Dcdv_intel_dp.c879 adjusted_mode->hsync_start = fixed_mode->hsync_start; in cdv_intel_fixed_panel_mode()
Dmdfld_intel_display.c712 adjusted_mode->hsync_start); in mdfld_crtc_mode_set()
Dcdv_intel_display.c962 mode->hsync_start = (hsync & 0xffff) + 1; in cdv_intel_crtc_mode_get()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_modes.c55 mode->hdisplay, mode->hsync_start, in drm_mode_debug_printmodeline()
284 drm_mode->hsync_start = drm_mode->hsync_end - in drm_cvt_mode()
286 drm_mode->hsync_start += CVT_H_GRANULARITY - in drm_cvt_mode()
287 drm_mode->hsync_start % CVT_H_GRANULARITY; in drm_cvt_mode()
319 drm_mode->hsync_start = drm_mode->hsync_end - CVT_RB_H_SYNC; in drm_cvt_mode()
509 drm_mode->hsync_start = hdisplay_rnd + hfront_porch; in drm_gtf_mode_complex()
510 drm_mode->hsync_end = drm_mode->hsync_start + hsync; in drm_gtf_mode_complex()
588 dmode->hsync_start = dmode->hdisplay + vm->hfront_porch; in drm_display_mode_from_videomode()
589 dmode->hsync_end = dmode->hsync_start + vm->hsync_len; in drm_display_mode_from_videomode()
629 vm->hfront_porch = dmode->hsync_start - dmode->hdisplay; in drm_display_mode_to_videomode()
[all …]
Ddrm_edid.c1505 (mode->hsync_end - mode->hsync_start == 32) && in mode_is_rb()
1765 mode->hsync_start = mode->hsync_start - 1; in drm_mode_std()
1920 mode->hsync_start = mode->hdisplay + hsync_offset; in drm_mode_detailed()
1921 mode->hsync_end = mode->hsync_start + hsync_pulse_width; in drm_mode_detailed()
2091 mode->hsync_start--; in fixup_mode_1366x768()
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_encoder.c142 mode->hdisplay, mode->hsync_start, in mdp5_encoder_mode_set()
183 hsync_start_x = (mode->htotal - mode->hsync_start); in mdp5_encoder_mode_set()
184 hsync_end_x = mode->htotal - (mode->hsync_start - mode->hdisplay) - 1; in mdp5_encoder_mode_set()
197 display_v_start += mode->htotal - mode->hsync_start; in mdp5_encoder_mode_set()
198 display_v_end -= mode->hsync_start - mode->hdisplay; 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.c209 mode->hdisplay, mode->hsync_start, in mdp5_cmd_encoder_mode_set()
Dmdp5_crtc.c312 mode->hdisplay, mode->hsync_start, in mdp5_crtc_mode_set_nofb()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_encoders.c154 unsigned hover = native_mode->hsync_start - native_mode->hdisplay; in amdgpu_panel_mode_fixup()
156 unsigned hsync_width = native_mode->hsync_end - native_mode->hsync_start; in amdgpu_panel_mode_fixup()
166 adjusted_mode->hsync_start = native_mode->hdisplay + hover; in amdgpu_panel_mode_fixup()
167 adjusted_mode->hsync_end = adjusted_mode->hsync_start + hsync_width; in amdgpu_panel_mode_fixup()
Datombios_encoders.c1940 lvds->native_mode.hsync_start = lvds->native_mode.hdisplay + in amdgpu_atombios_encoder_get_lcd_info()
1942 lvds->native_mode.hsync_end = lvds->native_mode.hsync_start + in amdgpu_atombios_encoder_get_lcd_info()
/linux-4.4.14/drivers/gpu/drm/omapdrm/
Domap_connector.c52 mode->hsync_start = mode->hdisplay + timings->hfp; in copy_timings_omap_to_drm()
53 mode->hsync_end = mode->hsync_start + timings->hsw; in copy_timings_omap_to_drm()
83 timings->hfp = mode->hsync_start - mode->hdisplay; in copy_timings_drm_to_omap()
84 timings->hsw = mode->hsync_end - mode->hsync_start; in copy_timings_drm_to_omap()
247 mode->hdisplay, mode->hsync_start, 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()
279 return mode.htotal - mode.hsync_start + x; in sti_vtg_get_pixel_number()
Dsti_dvo.c124 timing.blanking_pixels = mode->hsync_start - mode->hdisplay; in dvo_awg_generate_code()
125 timing.trailing_pixels = mode->htotal - mode->hsync_start; in dvo_awg_generate_code()
Dsti_crtc.c79 mode->hsync_start, mode->hsync_end, in sti_crtc_mode_set()
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_dtv_encoder.c119 mode->hdisplay, mode->hsync_start, in mdp4_dtv_encoder_mode_set()
138 hsync_start_x = (mode->htotal - mode->hsync_start); in mdp4_dtv_encoder_mode_set()
139 hsync_end_x = mode->htotal - (mode->hsync_start - mode->hdisplay) - 1; 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.c285 mode->hdisplay, mode->hsync_start, in mdp4_lcdc_encoder_mode_set()
304 hsync_start_x = (mode->htotal - mode->hsync_start); in mdp4_lcdc_encoder_mode_set()
305 hsync_end_x = mode->htotal - (mode->hsync_start - mode->hdisplay) - 1; 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.c262 mode->hdisplay, mode->hsync_start, in mdp4_crtc_mode_set_nofb()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_encoders.c328 unsigned hover = native_mode->hsync_start - native_mode->hdisplay; in radeon_panel_mode_fixup()
330 unsigned hsync_width = native_mode->hsync_end - native_mode->hsync_start; in radeon_panel_mode_fixup()
342 adjusted_mode->hsync_start = native_mode->hdisplay + hover; in radeon_panel_mode_fixup()
343 adjusted_mode->hsync_end = adjusted_mode->hsync_start + hsync_width; in radeon_panel_mode_fixup()
Dradeon_legacy_crtc.c56 int hsync_start; in radeon_legacy_rmx_mode_set() local
86 hsync_start = mode->crtc_hsync_start - 8; in radeon_legacy_rmx_mode_set()
88 fp_h_sync_strt_wid = ((hsync_start & 0x1fff) in radeon_legacy_rmx_mode_set()
581 int hsync_start; in radeon_set_crtc_timing() local
628 hsync_start = mode->crtc_hsync_start - 8; in radeon_set_crtc_timing()
630 crtc_h_sync_strt_wid = ((hsync_start & 0x1fff) in radeon_set_crtc_timing()
Dradeon_combios.c1265 lvds->native_mode.hsync_start = lvds->native_mode.hdisplay + in radeon_combios_get_lvds_info()
1267 lvds->native_mode.hsync_end = lvds->native_mode.hsync_start + in radeon_combios_get_lvds_info()
Dradeon_atombios.c1657 lvds->native_mode.hsync_start = lvds->native_mode.hdisplay + in radeon_atombios_get_lvds_info()
1659 lvds->native_mode.hsync_end = lvds->native_mode.hsync_start + in radeon_atombios_get_lvds_info()
/linux-4.4.14/drivers/media/platform/xilinx/
Dxilinx-vtc.h26 unsigned int hsync_start; member
Dxilinx-vtc.c213 (config->hsync_start << XVTC_HSYNC_START_SHIFT)); in xvtc_generator_start()
Dxilinx-tpg.c193 .hsync_start = width + 1, in xtpg_s_stream()
/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()
113 | (mode->hsync_start / 8); /* HSYNP */ in shmob_drm_crtc_setup_geometry()
117 | (((mode->hsync_end - mode->hsync_start) & 7) << 8) in shmob_drm_crtc_setup_geometry()
118 | (mode->hsync_start & 7); in shmob_drm_crtc_setup_geometry()
660 mode->hsync_start = sdev->pdata->panel.mode.hsync_start; in shmob_drm_connector_get_modes()
/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()
303 hfp = mode->hsync_start - mode->hdisplay; in tilcdc_crtc_mode_set()
304 hsw = mode->hsync_end - mode->hsync_start; in tilcdc_crtc_mode_set()
492 hfp = mode->hsync_start - mode->hdisplay; 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), \
112 int hsync_start; member
/linux-4.4.14/drivers/gpu/drm/fsl-dcu/
Dfsl_dcu_drm_crtc.c97 hfp = mode->hsync_start - mode->hdisplay; 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/msm/hdmi/
Dhdmi_bridge.c155 hstart = mode->htotal - mode->hsync_start; in hdmi_bridge_mode_set()
156 hend = mode->htotal - mode->hsync_start + mode->hdisplay; in hdmi_bridge_mode_set()
/linux-4.4.14/drivers/gpu/drm/rcar-du/
Drcar_du_crtc.c157 rcar_du_crtc_write(rcrtc, HDSR, mode->htotal - mode->hsync_start - 19); in rcar_du_crtc_set_display_timing()
158 rcar_du_crtc_write(rcrtc, HDER, mode->htotal - mode->hsync_start + in rcar_du_crtc_set_display_timing()
161 mode->hsync_start - 1); in rcar_du_crtc_set_display_timing()
174 rcar_du_crtc_write(rcrtc, DESR, mode->htotal - mode->hsync_start); in rcar_du_crtc_set_display_timing()
/linux-4.4.14/drivers/gpu/drm/msm/edp/
Dedp_bridge.c66 mode->hdisplay, mode->hsync_start, in edp_bridge_mode_set()
Dedp_ctrl.c1302 hstart_from_sync = mode->htotal - mode->hsync_start; in msm_edp_ctrl_timing_cfg()
1310 mode->hsync_end - mode->hsync_start); in msm_edp_ctrl_timing_cfg()
/linux-4.4.14/drivers/video/fbdev/
Dgbefb.c528 timing->hsync_start = var->xres + var->right_margin + 1; in compute_gbe_timing()
529 timing->hsync_end = timing->hsync_start + var->hsync_len; in compute_gbe_timing()
564 SET_GBE_FIELD(VT_HSYNC, HSYNC_ON, val, timing->hsync_start); in gbe_set_timing_info()
993 var->right_margin = timing.hsync_start - timing.width; in gbefb_check_var()
996 var->hsync_len = timing.hsync_end - timing.hsync_start; in gbefb_check_var()
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/
Ddfp.c302 (output_mode->hsync_start - output_mode->hdisplay) >= in nv04_dfp_mode_set()
306 regp->fp_horiz_regs[FP_CRTC] = output_mode->hsync_start - drm->vbios.digital_min_front_porch - 1; in nv04_dfp_mode_set()
307 regp->fp_horiz_regs[FP_SYNC_START] = output_mode->hsync_start - 1; in nv04_dfp_mode_set()
Dtvnv17.c273 mode->hsync_start = (mode->hdisplay + (mode->htotal in nv17_tv_get_hd_modes()
275 mode->hsync_end = mode->hsync_start + 8; in nv17_tv_get_hd_modes()
536 output_mode->hsync_start - 1; in nv17_tv_mode_set()
/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
798 hsync_start = hactive + var->right_margin; in vmlfb_set_par_locked()
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/exynos/
Dexynos_hdmi.c1311 val = (m->hsync_start - m->hdisplay - 2); in hdmi_v13_mode_apply()
1342 val = ((m->htotal / 2) + (m->hsync_start - m->hdisplay)); in hdmi_v13_mode_apply()
1344 (m->hsync_start - m->hdisplay)) << 12; in hdmi_v13_mode_apply()
1425 (m->htotal / 2) + (m->hsync_start - m->hdisplay)); in hdmi_v14_mode_apply()
1427 (m->htotal / 2) + (m->hsync_start - m->hdisplay)); in hdmi_v14_mode_apply()
1469 m->hsync_start - m->hdisplay - 2); in hdmi_v14_mode_apply()
Dexynos_drm_dsi.c1682 vm->hfront_porch = m->hsync_start - m->hdisplay; 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/i915/
Dintel_dsi_pll.c93 hfp = mode->hsync_start - mode->hdisplay; in dsi_rr_formula()
94 hsync = mode->hsync_end - mode->hsync_start; in dsi_rr_formula()
Dintel_tv.c1157 .hsync_start = 1368,
1425 mode_ptr->hsync_start = hactive_s + 1; in intel_tv_get_modes()
1427 if (mode_ptr->hsync_end <= mode_ptr->hsync_start) in intel_tv_get_modes()
1428 mode_ptr->hsync_end = mode_ptr->hsync_start + 1; in intel_tv_get_modes()
Dintel_sdvo.c831 h_sync_len = mode->hsync_end - mode->hsync_start; in intel_sdvo_get_dtd_from_mode()
836 h_sync_offset = mode->hsync_start - mode->hdisplay; in intel_sdvo_get_dtd_from_mode()
878 mode.hsync_start = mode.hdisplay + dtd->part2.h_sync_off; in intel_sdvo_get_mode_from_dtd()
879 mode.hsync_start += (dtd->part2.sync_off_width_high & 0xc0) << 2; in intel_sdvo_get_mode_from_dtd()
880 mode.hsync_end = mode.hsync_start + dtd->part2.h_sync_width; in intel_sdvo_get_mode_from_dtd()
Dintel_bios.c92 panel_fixed_mode->hsync_start = panel_fixed_mode->hdisplay + in fill_detail_timing_data()
94 panel_fixed_mode->hsync_end = panel_fixed_mode->hsync_start + in fill_detail_timing_data()
Di915_irq.c670 u32 high1, high2, low, pixel, vbl_start, hsync_start, htotal; in i915_get_vblank_counter() local
676 hsync_start = mode->crtc_hsync_start; in i915_get_vblank_counter()
685 vbl_start -= htotal - hsync_start; in i915_get_vblank_counter()
782 int vbl_start, vbl_end, hsync_start, htotal, vtotal; in i915_get_crtc_scanoutpos() local
794 hsync_start = mode->crtc_hsync_start; in i915_get_crtc_scanoutpos()
858 position = (position + htotal - hsync_start) % vtotal; in i915_get_crtc_scanoutpos()
Dintel_panel.c78 scan->hsync_start == fixed_mode->hsync_start && in intel_find_panel_downclock()
Di915_debugfs.c2793 mode->hdisplay, mode->hsync_start, in intel_seq_print_mode()
Dintel_display.c7811 mode->hsync_start = pipe_config->base.adjusted_mode.crtc_hsync_start; in intel_mode_from_pipe_config()
10706 mode->hsync_start = (hsync & 0xffff) + 1; in intel_crtc_mode_get()
/linux-4.4.14/drivers/gpu/drm/vc4/
Dvc4_hdmi.c320 VC4_SET_FIELD(mode->hsync_end - mode->hsync_start, in vc4_hdmi_encoder_mode_set()
322 VC4_SET_FIELD(mode->hsync_start - mode->hdisplay, in vc4_hdmi_encoder_mode_set()
Dvc4_crtc.c207 VC4_SET_FIELD(mode->hsync_end - mode->hsync_start, in vc4_crtc_mode_set_nofb()
210 VC4_SET_FIELD(mode->hsync_start - mode->hdisplay, in vc4_crtc_mode_set_nofb()
/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
1177 hsync_start = hactive + var->right_margin; in intelfbhw_mode_to_hw()
1178 hsync_end = hsync_start + var->hsync_len; in intelfbhw_mode_to_hw()
1184 hactive, hsync_start, hsync_end, htotal, hblank_start, in intelfbhw_mode_to_hw()
1204 hsync_start--; in intelfbhw_mode_to_hw()
1205 if (check_overflow(hsync_start, HSYNCSTART_MASK, "CRTC hsync_start")) 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.h296 short hsync_start; /* Horizontal sync start */ member
/linux-4.4.14/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_dc.c352 int hfront_porch = mode->hsync_start - mode->hdisplay; 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/gpu/drm/msm/dsi/
Ddsi_manager.c214 mode->hsync_start >>= 1; in dsi_dual_connector_fix_modes()
495 mode->hdisplay, mode->hsync_start, in dsi_mgr_bridge_mode_set()
Ddsi_host.c716 u32 hs_end = mode->hsync_end - mode->hsync_start; in dsi_timing_setup()
718 u32 ha_start = h_total - mode->hsync_start; in dsi_timing_setup()
/linux-4.4.14/include/uapi/drm/
Ddrm_mode.h109 __u16 hsync_start; member
/linux-4.4.14/drivers/gpu/drm/tegra/
Dsor.c1154 hfp = mode->hsync_start - mode->hdisplay;
1155 hsw = mode->hsync_end - mode->hsync_start;
1541 hse = mode->hsync_end - mode->hsync_start - 1; in tegra_sor_edp_enable()
1547 hbe = hse + (mode->hsync_start - mode->hdisplay); in tegra_sor_edp_enable()
1929 pulse_start = h_ref_to_sync + (mode->hsync_end - mode->hsync_start) + in tegra_sor_hdmi_enable()
2097 hse = mode->hsync_end - mode->hsync_start - 1; in tegra_sor_hdmi_enable()
Dhdmi.c850 h_sync_width = mode->hsync_end - mode->hsync_start; in tegra_hdmi_encoder_enable()
852 h_front_porch = mode->hsync_start - mode->hdisplay; in tegra_hdmi_encoder_enable()
Ddsi.c562 hsw = (mode->hsync_end - mode->hsync_start) * mul / div; in tegra_dsi_configure()
571 hfp = (mode->hsync_start - mode->hdisplay) * mul / div; in tegra_dsi_configure()
Ddc.c1077 ((mode->hsync_end - mode->hsync_start) << 0); in tegra_dc_set_timings()
1085 ((mode->hsync_start - mode->hdisplay) << 0); in tegra_dc_set_timings()
/linux-4.4.14/drivers/gpu/drm/cirrus/
Dcirrus_mode.c207 hsyncstart = mode->hsync_start / 8; in cirrus_crtc_mode_set()
/linux-4.4.14/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c883 dsp_stx = dest.x1 + crtc->mode.htotal - crtc->mode.hsync_start; in vop_update_plane_event()
1169 u16 hsync_len = adjusted_mode->hsync_end - adjusted_mode->hsync_start; in vop_crtc_mode_set()
1172 u16 hact_st = adjusted_mode->htotal - adjusted_mode->hsync_start; in vop_crtc_mode_set()
/linux-4.4.14/drivers/gpu/drm/i2c/
Dch7006_drv.c141 start_active = (drm_mode->htotal & ~0x7) - (drm_mode->hsync_start & ~0x7); in ch7006_encoder_mode_set()
Dch7006_mode.c113 .hsync_start = e_hd + 16, \
Dtda998x_drv.c926 hs_pix_s = mode->hsync_start - mode->hdisplay; in tda998x_encoder_mode_set()
/linux-4.4.14/drivers/gpu/drm/bridge/
Ddw_hdmi.c1079 h_de_hs = mode->hsync_start - mode->hdisplay; in hdmi_av_composer()
1087 hsync_len = mode->hsync_end - mode->hsync_start; in hdmi_av_composer()
/linux-4.4.14/drivers/gpu/drm/mgag200/
Dmgag200_mode.c1011 hsyncstart = mode->hsync_start / 8 - 1; in mga_crtc_mode_set()
1636 if ((mode->hdisplay % 8) != 0 || (mode->hsync_start % 8) != 0 || in mga_vga_mode_valid()
/linux-4.4.14/drivers/video/fbdev/aty/
Dradeon_base.c1665 int hsync_start, hsync_fudge, bytpp, hsync_wid, vsync_wid; in radeonfb_set_par() local
1751 hsync_start = hSyncStart - 8 + hsync_fudge; in radeonfb_set_par()
1778 newmode->crtc_h_sync_strt_wid = ((hsync_start & 0x1fff) | in radeonfb_set_par()
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.c1514 mode->hsync_start = mode->hdisplay + 50; in vmw_guess_mode_timing()
1515 mode->hsync_end = mode->hsync_start + 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()
1150 hfrontp = mode->hsync_start - mode->hdisplay; in nv50_crtc_mode_set()
Dnouveau_bios.c472 mode->hsync_start = ROM16(mode_entry[17]) + 1; in nouveau_bios_fp_mode()