Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_intf.c102 u32 hsync_period, vsync_period; in dpu_hw_intf_setup_timing_engine() local
122 hsync_period = p->hsync_pulse_width + p->h_back_porch + p->width + in dpu_hw_intf_setup_timing_engine()
128 hsync_period) + p->hsync_skew; in dpu_hw_intf_setup_timing_engine()
129 display_v_end = ((vsync_period - p->v_front_porch) * hsync_period) + in dpu_hw_intf_setup_timing_engine()
133 hsync_end_x = hsync_period - p->h_front_porch - 1; in dpu_hw_intf_setup_timing_engine()
145 active_v_end = active_v_start + (p->yres * hsync_period) - 1; in dpu_hw_intf_setup_timing_engine()
161 hsync_ctl = (hsync_period << 16) | p->hsync_pulse_width; in dpu_hw_intf_setup_timing_engine()
187 active_v_end = active_v_start + (p->yres * hsync_period) - 1; in dpu_hw_intf_setup_timing_engine()
213 DPU_REG_WRITE(c, INTF_VSYNC_PERIOD_F0, vsync_period * hsync_period); in dpu_hw_intf_setup_timing_engine()
215 p->vsync_pulse_width * hsync_period); in dpu_hw_intf_setup_timing_engine()
/Linux-v6.6/drivers/gpu/drm/msm/dp/
Ddp_catalog.c906 u32 hsync_period, vsync_period; in dp_catalog_panel_tpg_enable() local
914 hsync_period = drm_mode->htotal; in dp_catalog_panel_tpg_enable()
918 hsync_period); in dp_catalog_panel_tpg_enable()
921 * hsync_period) - 1; in dp_catalog_panel_tpg_enable()
927 hsync_end_x = hsync_period - (drm_mode->hsync_start - in dp_catalog_panel_tpg_enable()
932 hsync_ctl = (hsync_period << 16) | in dp_catalog_panel_tpg_enable()
940 hsync_period); in dp_catalog_panel_tpg_enable()
942 hsync_period); in dp_catalog_panel_tpg_enable()