Searched refs:hfactor (Results 1 – 4 of 4) sorted by relevance
744 u32 hfactor, vfactor; in fimc_set_prescaler() local766 hfactor = fls(src_w / dst_w / 2); in fimc_set_prescaler()767 if (hfactor > FIMC_SHFACTOR / 2) { in fimc_set_prescaler()778 pre_dst_width = src_w >> hfactor; in fimc_set_prescaler()782 DRM_DEV_DEBUG_KMS(ctx->dev, "hfactor[%d]vfactor[%d]\n", hfactor, in fimc_set_prescaler()785 sc->hratio = (src_w << 14) / (dst_w << hfactor); in fimc_set_prescaler()792 shfactor = FIMC_SHFACTOR - (hfactor + vfactor); in fimc_set_prescaler()796 EXYNOS_CISCPRERATIO_PREHORRATIO(1 << hfactor) | in fimc_set_prescaler()
256 ret = fimc_get_scaler_factor(sx, tx, &sc->pre_hratio, &sc->hfactor); in fimc_set_scaler_info()268 sc->main_hratio = (sx << 14) / (tx << sc->hfactor); in fimc_set_scaler_info()271 sc->main_hratio = (sx << 8) / (tx << sc->hfactor); in fimc_set_scaler_info()
192 u32 hfactor; member
237 shfactor = 10 - (sc->hfactor + sc->vfactor); in fimc_hw_set_prescaler()