Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_tv.c1064 int new_htotal = mode->htotal * hdisplay / in intel_tv_scale_mode_horiz() local
1067 mode->clock = mode->clock * new_htotal / mode->htotal; in intel_tv_scale_mode_horiz()
1070 mode->hsync_start = hdisplay + hsync_start * new_htotal / mode->htotal; in intel_tv_scale_mode_horiz()
1071 mode->hsync_end = hdisplay + hsync_end * new_htotal / mode->htotal; in intel_tv_scale_mode_horiz()
1072 mode->htotal = new_htotal; in intel_tv_scale_mode_horiz()
/openbmc/linux/drivers/gpu/drm/msm/dsi/
H A Ddsi_host.c538 int new_htotal = mode->htotal - mode->hdisplay + new_hdisplay; in dsi_adjust_pclk_for_compression() local
540 return mult_frac(mode->clock * 1000u, new_htotal, mode->htotal); in dsi_adjust_pclk_for_compression()