Searched refs:vfactor (Results 1 – 4 of 4) sorted by relevance
948 u32 hfactor, vfactor; in fimc_set_prescaler() local976 vfactor = fls(src_h / dst_h / 2); in fimc_set_prescaler()977 if (vfactor > FIMC_SHFACTOR / 2) { in fimc_set_prescaler()983 pre_dst_height = src_h >> vfactor; in fimc_set_prescaler()986 DRM_DEBUG_KMS("hfactor[%d]vfactor[%d]\n", hfactor, vfactor); in fimc_set_prescaler()989 sc->vratio = (src_h << 14) / (dst_h << vfactor); in fimc_set_prescaler()995 shfactor = FIMC_SHFACTOR - (hfactor + vfactor); in fimc_set_prescaler()1000 EXYNOS_CISCPRERATIO_PREVERRATIO(1 << vfactor)); in fimc_set_prescaler()
284 ret = fimc_get_scaler_factor(sy, ty, &sc->pre_vratio, &sc->vfactor); in fimc_set_scaler_info()293 sc->main_vratio = (sy << 14) / (ty << sc->vfactor); in fimc_set_scaler_info()296 sc->main_vratio = (sy << 8) / (ty << sc->vfactor); in fimc_set_scaler_info()
196 u32 vfactor; member
240 shfactor = 10 - (sc->hfactor + sc->vfactor); in fimc_hw_set_prescaler()