Home
last modified time | relevance | path

Searched refs:vmargin (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/nouveau/dispnv04/
Dtvmodesnv17.c551 int overscan, hmargin, vmargin, hratio, vratio; in nv17_ctv_update_rescaler() local
560 vmargin = (output_mode->vdisplay - crtc_mode->vdisplay) / 2; in nv17_ctv_update_rescaler()
564 vmargin = interpolate(0, min(vmargin, output_mode->vdisplay/20), in nv17_ctv_update_rescaler()
565 vmargin, overscan); in nv17_ctv_update_rescaler()
570 (output_mode->vdisplay - 2*vmargin) & ~3; in nv17_ctv_update_rescaler()
574 regs->fp_vert_regs[FP_VALID_START] = vmargin; in nv17_ctv_update_rescaler()
575 regs->fp_vert_regs[FP_VALID_END] = output_mode->vdisplay - vmargin - 1; in nv17_ctv_update_rescaler()
/Linux-v5.4/drivers/gpu/drm/
Ddrm_modes.c157 int hdisplay_rnd, hmargin, vdisplay_rnd, vmargin, vsync; in drm_cvt_mode() local
200 vmargin = 0; in drm_cvt_mode()
202 vmargin = vdisplay_rnd * CVT_MARGIN_PERCENTAGE / 1000; in drm_cvt_mode()
204 drm_mode->vdisplay = vdisplay + 2 * vmargin; in drm_cvt_mode()
241 tmp2 = (vdisplay_rnd + 2 * vmargin + CVT_MIN_V_PORCH) * 2 + in drm_cvt_mode()
253 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + in drm_cvt_mode()
301 tmp2 = vdisplay_rnd + 2 * vmargin; in drm_cvt_mode()
309 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + vbilines; in drm_cvt_mode()
/Linux-v5.4/drivers/gpu/drm/i2c/
Dch7006_drv.c266 priv->vmargin); in ch7006_encoder_create_resources()
311 priv->vmargin = val; in ch7006_encoder_set_property()
462 priv->vmargin = 50; in ch7006_encoder_init()
Dch7006_priv.h91 int vmargin; member
Dch7006_mode.c359 + norm->voffset) * priv->vmargin / 100 / 2; in ch7006_setup_properties()
/Linux-v5.4/block/
Dblk-iocost.c1031 u64 vtime, vmargin, vmin; in iocg_activate() local
1077 vmargin = ioc->margin_us * now->vrate; in iocg_activate()
1078 vmin = now->vnow - vmargin; in iocg_activate()
1220 u64 vmargin = ioc->margin_us * now->vrate; in iocg_kick_delay() local
1235 time_before_eq64(vtime, now->vnow + vmargin)) in iocg_kick_delay()
1397 u64 vdone, vtime, vusage, vmargin, vmin; in ioc_timer_fn() local
1448 vmargin = ioc->margin_us * now.vrate; in ioc_timer_fn()
1449 vmin = now.vnow - vmargin; in ioc_timer_fn()