Home
last modified time | relevance | path

Searched refs:hmargin (Results 1 – 5 of 5) sorted by relevance

/drivers/gpu/drm/nouveau/dispnv04/
Dtvmodesnv17.c552 int overscan, hmargin, vmargin, hratio, vratio; in nv17_ctv_update_rescaler() local
560 hmargin = (output_mode->hdisplay - crtc_mode->hdisplay) / 2; in nv17_ctv_update_rescaler()
563 hmargin = interpolate(0, min(hmargin, output_mode->hdisplay/20), in nv17_ctv_update_rescaler()
564 hmargin, overscan); in nv17_ctv_update_rescaler()
569 (output_mode->hdisplay - 2*hmargin); in nv17_ctv_update_rescaler()
573 regs->fp_horiz_regs[FP_VALID_START] = hmargin; in nv17_ctv_update_rescaler()
574 regs->fp_horiz_regs[FP_VALID_END] = output_mode->hdisplay - hmargin - 1; in nv17_ctv_update_rescaler()
/drivers/gpu/drm/
Ddrm_modes.c103 int hdisplay_rnd, hmargin, vdisplay_rnd, vmargin, vsync; in drm_cvt_mode() local
127 hmargin = 0; in drm_cvt_mode()
129 hmargin = hdisplay_rnd * CVT_MARGIN_PERCENTAGE / 1000; in drm_cvt_mode()
130 hmargin -= hmargin % CVT_H_GRANULARITY; in drm_cvt_mode()
133 drm_mode->hdisplay = hdisplay_rnd + 2 * hmargin; in drm_cvt_mode()
/drivers/gpu/drm/i2c/
Dch7006_drv.c262 priv->hmargin); in ch7006_encoder_create_resources()
301 priv->hmargin = val; in ch7006_encoder_set_property()
464 priv->hmargin = 50; in ch7006_encoder_init()
Dch7006_priv.h90 int hmargin; member
Dch7006_mode.c353 * priv->hmargin * mode->vtotal) / norm->vtotal / 100 / 4; in ch7006_setup_properties()