Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_intf.c105 u32 hsync_period, vsync_period; in dpu_hw_intf_setup_timing_engine() local
125 hsync_period = p->hsync_pulse_width + p->h_back_porch + p->width + in dpu_hw_intf_setup_timing_engine()
131 hsync_period) + p->hsync_skew; in dpu_hw_intf_setup_timing_engine()
132 display_v_end = ((vsync_period - p->v_front_porch) * hsync_period) + in dpu_hw_intf_setup_timing_engine()
136 hsync_end_x = hsync_period - p->h_front_porch - 1; in dpu_hw_intf_setup_timing_engine()
148 active_v_end = active_v_start + (p->yres * hsync_period) - 1; in dpu_hw_intf_setup_timing_engine()
164 hsync_ctl = (hsync_period << 16) | p->hsync_pulse_width; in dpu_hw_intf_setup_timing_engine()
199 active_v_end = active_v_start + (p->yres * hsync_period) - 1; in dpu_hw_intf_setup_timing_engine()
225 DPU_REG_WRITE(c, INTF_VSYNC_PERIOD_F0, vsync_period * hsync_period); in dpu_hw_intf_setup_timing_engine()
227 p->vsync_pulse_width * hsync_period); in dpu_hw_intf_setup_timing_engine()
/linux/drivers/gpu/drm/msm/dp/
H A Ddp_catalog.c1008 u32 hsync_period, vsync_period; in dp_catalog_panel_tpg_enable() local
1016 hsync_period = drm_mode->htotal; in dp_catalog_panel_tpg_enable()
1020 hsync_period); in dp_catalog_panel_tpg_enable()
1023 * hsync_period) - 1; in dp_catalog_panel_tpg_enable()
1029 hsync_end_x = hsync_period - (drm_mode->hsync_start - in dp_catalog_panel_tpg_enable()
1034 hsync_ctl = (hsync_period << 16) | in dp_catalog_panel_tpg_enable()
1042 hsync_period); in dp_catalog_panel_tpg_enable()
1044 hsync_period); in dp_catalog_panel_tpg_enable()