Home
last modified time | relevance | path

Searched refs:vfactor (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/exynos/
Dexynos_drm_fimc.c744 u32 hfactor, vfactor; in fimc_set_prescaler() local
772 vfactor = fls(src_h / dst_h / 2); in fimc_set_prescaler()
773 if (vfactor > FIMC_SHFACTOR / 2) { in fimc_set_prescaler()
779 pre_dst_height = src_h >> vfactor; in fimc_set_prescaler()
783 vfactor); in fimc_set_prescaler()
786 sc->vratio = (src_h << 14) / (dst_h << vfactor); in fimc_set_prescaler()
792 shfactor = FIMC_SHFACTOR - (hfactor + vfactor); in fimc_set_prescaler()
797 EXYNOS_CISCPRERATIO_PREVERRATIO(1 << vfactor)); in fimc_set_prescaler()
/Linux-v5.10/drivers/media/platform/exynos4-is/
Dfimc-core.c260 ret = fimc_get_scaler_factor(sy, ty, &sc->pre_vratio, &sc->vfactor); in fimc_set_scaler_info()
269 sc->main_vratio = (sy << 14) / (ty << sc->vfactor); in fimc_set_scaler_info()
272 sc->main_vratio = (sy << 8) / (ty << sc->vfactor); in fimc_set_scaler_info()
Dfimc-core.h193 u32 vfactor; member
Dfimc-reg.c237 shfactor = 10 - (sc->hfactor + sc->vfactor); in fimc_hw_set_prescaler()