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

/linux-master/drivers/gpu/drm/nouveau/dispnv04/
H A Dtvmodesnv17.c550 int overscan, hmargin, vmargin, hratio, vratio; local
558 hmargin = (output_mode->hdisplay - crtc_mode->hdisplay) / 2;
561 hmargin = interpolate(0, min(hmargin, output_mode->hdisplay/20),
562 hmargin, overscan);
567 (output_mode->hdisplay - 2*hmargin);
571 regs->fp_horiz_regs[FP_VALID_START] = hmargin;
572 regs->fp_horiz_regs[FP_VALID_END] = output_mode->hdisplay - hmargin - 1;
/linux-master/drivers/gpu/drm/i2c/
H A Dch7006_drv.c266 priv->hmargin);
305 priv->hmargin = val;
461 priv->hmargin = 50;
H A Dch7006_priv.h89 int hmargin; member in struct:ch7006_priv
H A Dch7006_mode.c352 * priv->hmargin * mode->vtotal) / norm->vtotal / 100 / 4;
/linux-master/drivers/gpu/drm/
H A Ddrm_modes.c638 int hdisplay_rnd, hmargin, vdisplay_rnd, vmargin, vsync; local
666 hmargin = 0;
668 hmargin = hdisplay_rnd * CVT_MARGIN_PERCENTAGE / 1000;
669 hmargin -= hmargin % CVT_H_GRANULARITY;
672 drm_mode->hdisplay = hdisplay_rnd + 2 * hmargin;

Completed in 225 milliseconds