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

/linux-4.4.14/drivers/media/platform/s3c-camif/
H A Dcamif-regs.c368 u32 cfg, shfactor, addr; camif_hw_set_prescaler() local
372 shfactor = 10 - (sc->h_shift + sc->v_shift); camif_hw_set_prescaler()
373 cfg = shfactor << 28; camif_hw_set_prescaler()
/linux-4.4.14/drivers/gpu/drm/exynos/
H A Dexynos_drm_gsc.c898 static void gsc_get_prescaler_shfactor(u32 hratio, u32 vratio, u32 *shfactor) gsc_get_prescaler_shfactor() argument
901 *shfactor = 4; gsc_get_prescaler_shfactor()
904 *shfactor = 3; gsc_get_prescaler_shfactor()
908 *shfactor = 2; gsc_get_prescaler_shfactor()
910 *shfactor = 0; gsc_get_prescaler_shfactor()
912 *shfactor = 1; gsc_get_prescaler_shfactor()
H A Dexynos_drm_fimc.c946 u32 cfg, cfg_ext, shfactor; fimc_set_prescaler() local
995 shfactor = FIMC_SHFACTOR - (hfactor + vfactor); fimc_set_prescaler()
996 DRM_DEBUG_KMS("shfactor[%d]\n", shfactor); fimc_set_prescaler()
998 cfg = (EXYNOS_CISCPRERATIO_SHFACTOR(shfactor) | fimc_set_prescaler()
/linux-4.4.14/drivers/media/platform/exynos4-is/
H A Dfimc-reg.c238 u32 cfg, shfactor; fimc_hw_set_prescaler() local
240 shfactor = 10 - (sc->hfactor + sc->vfactor); fimc_hw_set_prescaler()
241 cfg = shfactor << 28; fimc_hw_set_prescaler()

Completed in 135 milliseconds