Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_gsc.c726 static void gsc_get_prescaler_shfactor(u32 hratio, u32 vratio, u32 *shfactor) in gsc_get_prescaler_shfactor() argument
729 *shfactor = 4; in gsc_get_prescaler_shfactor()
732 *shfactor = 3; in gsc_get_prescaler_shfactor()
736 *shfactor = 2; in gsc_get_prescaler_shfactor()
738 *shfactor = 0; in gsc_get_prescaler_shfactor()
740 *shfactor = 1; in gsc_get_prescaler_shfactor()
H A Dexynos_drm_fimc.c740 u32 cfg, cfg_ext, shfactor; in fimc_set_prescaler() local
790 shfactor = FIMC_SHFACTOR - (hfactor + vfactor); in fimc_set_prescaler()
791 DRM_DEV_DEBUG_KMS(ctx->dev, "shfactor[%d]\n", shfactor); in fimc_set_prescaler()
793 cfg = (EXYNOS_CISCPRERATIO_SHFACTOR(shfactor) | in fimc_set_prescaler()
/linux/drivers/media/platform/samsung/s3c-camif/
H A Dcamif-regs.c365 u32 cfg, shfactor, addr; in camif_hw_set_prescaler() local
369 shfactor = 10 - (sc->h_shift + sc->v_shift); in camif_hw_set_prescaler()
370 cfg = shfactor << 28; in camif_hw_set_prescaler()
/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-reg.c235 u32 cfg, shfactor; in fimc_hw_set_prescaler() local
237 shfactor = 10 - (sc->hfactor + sc->vfactor); in fimc_hw_set_prescaler()
238 cfg = shfactor << 28; in fimc_hw_set_prescaler()