Home
last modified time | relevance | path

Searched refs:hsync_period (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_intf.c95 u32 hsync_period, vsync_period; in dpu_hw_intf_setup_timing_engine() local
115 hsync_period = p->hsync_pulse_width + p->h_back_porch + p->width + in dpu_hw_intf_setup_timing_engine()
121 hsync_period) + p->hsync_skew; in dpu_hw_intf_setup_timing_engine()
122 display_v_end = ((vsync_period - p->v_front_porch) * hsync_period) + in dpu_hw_intf_setup_timing_engine()
126 hsync_end_x = hsync_period - p->h_front_porch - 1; in dpu_hw_intf_setup_timing_engine()
138 active_v_end = active_v_start + (p->yres * hsync_period) - 1; in dpu_hw_intf_setup_timing_engine()
154 hsync_ctl = (hsync_period << 16) | p->hsync_pulse_width; in dpu_hw_intf_setup_timing_engine()
180 active_v_end = active_v_start + (p->yres * hsync_period) - 1; in dpu_hw_intf_setup_timing_engine()
216 DPU_REG_WRITE(c, INTF_VSYNC_PERIOD_F0, vsync_period * hsync_period); in dpu_hw_intf_setup_timing_engine()
218 p->vsync_pulse_width * hsync_period); in dpu_hw_intf_setup_timing_engine()
/drivers/gpu/drm/msm/dp/
Ddp_catalog.c813 u32 hsync_period, vsync_period; in dp_catalog_panel_tpg_enable() local
821 hsync_period = drm_mode->htotal; in dp_catalog_panel_tpg_enable()
825 hsync_period); in dp_catalog_panel_tpg_enable()
828 * hsync_period) - 1; in dp_catalog_panel_tpg_enable()
834 hsync_end_x = hsync_period - (drm_mode->hsync_start - in dp_catalog_panel_tpg_enable()
839 hsync_ctl = (hsync_period << 16) | in dp_catalog_panel_tpg_enable()
847 hsync_period); in dp_catalog_panel_tpg_enable()
849 hsync_period); in dp_catalog_panel_tpg_enable()