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

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

Completed in 153 milliseconds