Searched refs:vfactor (Results 1 – 4 of 4) sorted by relevance
742 u32 hfactor, vfactor; in fimc_set_prescaler() local770 vfactor = fls(src_h / dst_h / 2); in fimc_set_prescaler()771 if (vfactor > FIMC_SHFACTOR / 2) { in fimc_set_prescaler()777 pre_dst_height = src_h >> vfactor; in fimc_set_prescaler()781 vfactor); in fimc_set_prescaler()784 sc->vratio = (src_h << 14) / (dst_h << vfactor); in fimc_set_prescaler()790 shfactor = FIMC_SHFACTOR - (hfactor + vfactor); in fimc_set_prescaler()795 EXYNOS_CISCPRERATIO_PREVERRATIO(1 << vfactor)); in fimc_set_prescaler()
261 ret = fimc_get_scaler_factor(sy, ty, &sc->pre_vratio, &sc->vfactor); in fimc_set_scaler_info()270 sc->main_vratio = (sy << 14) / (ty << sc->vfactor); in fimc_set_scaler_info()273 sc->main_vratio = (sy << 8) / (ty << sc->vfactor); in fimc_set_scaler_info()
193 u32 vfactor; member
237 shfactor = 10 - (sc->hfactor + sc->vfactor); in fimc_hw_set_prescaler()