Searched refs:hfactor (Results 1 – 4 of 4) sorted by relevance
742 u32 hfactor, vfactor; in fimc_set_prescaler() local764 hfactor = fls(src_w / dst_w / 2); in fimc_set_prescaler()765 if (hfactor > FIMC_SHFACTOR / 2) { in fimc_set_prescaler()776 pre_dst_width = src_w >> hfactor; in fimc_set_prescaler()780 DRM_DEV_DEBUG_KMS(ctx->dev, "hfactor[%d]vfactor[%d]\n", hfactor, in fimc_set_prescaler()783 sc->hratio = (src_w << 14) / (dst_w << hfactor); in fimc_set_prescaler()790 shfactor = FIMC_SHFACTOR - (hfactor + vfactor); in fimc_set_prescaler()794 EXYNOS_CISCPRERATIO_PREHORRATIO(1 << hfactor) | in fimc_set_prescaler()
257 ret = fimc_get_scaler_factor(sx, tx, &sc->pre_hratio, &sc->hfactor); in fimc_set_scaler_info()269 sc->main_hratio = (sx << 14) / (tx << sc->hfactor); in fimc_set_scaler_info()272 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()