Home
last modified time | relevance | path

Searched refs:main_vratio (Results 1 – 7 of 7) sorted by relevance

/drivers/gpu/drm/exynos/
Dexynos_drm_gsc.c102 unsigned long main_vratio; member
961 sc->main_vratio = (src_h << 16) / dst_h; in gsc_set_prescaler()
964 sc->main_hratio, sc->main_vratio); in gsc_set_prescaler()
1005 static void gsc_set_v_coef(struct gsc_context *ctx, unsigned long main_vratio) in gsc_set_v_coef() argument
1009 if (main_vratio <= GSC_SC_UP_MAX_RATIO) in gsc_set_v_coef()
1011 else if (main_vratio <= GSC_SC_DOWN_RATIO_7_8) in gsc_set_v_coef()
1013 else if (main_vratio <= GSC_SC_DOWN_RATIO_6_8) in gsc_set_v_coef()
1015 else if (main_vratio <= GSC_SC_DOWN_RATIO_5_8) in gsc_set_v_coef()
1017 else if (main_vratio <= GSC_SC_DOWN_RATIO_4_8) in gsc_set_v_coef()
1019 else if (main_vratio <= GSC_SC_DOWN_RATIO_3_8) in gsc_set_v_coef()
[all …]
/drivers/media/platform/exynos4-is/
Dfimc-reg.c322 sc->main_hratio, sc->main_vratio); in fimc_hw_set_mainscaler()
332 cfg |= FIMC_REG_CISCCTRL_MVRATIO_EXT(sc->main_vratio); in fimc_hw_set_mainscaler()
340 cfg |= FIMC_REG_CIEXTEN_MVRATIO_EXT(sc->main_vratio); in fimc_hw_set_mainscaler()
344 cfg |= FIMC_REG_CISCCTRL_MVRATIO(sc->main_vratio); in fimc_hw_set_mainscaler()
Dfimc-core.h202 u32 main_vratio; member
Dfimc-core.c293 sc->main_vratio = (sy << 14) / (ty << sc->vfactor); in fimc_set_scaler_info()
296 sc->main_vratio = (sy << 8) / (ty << sc->vfactor); in fimc_set_scaler_info()
/drivers/media/platform/exynos-gsc/
Dgsc-core.h182 u32 main_vratio; member
Dgsc-regs.c367 cfg = GSC_MAIN_V_RATIO_VALUE(sc->main_vratio); in gsc_hw_set_mainscaler()
Dgsc-core.c688 sc->main_vratio = (s_frame->crop.height << 16) / ty; in gsc_set_scaler_info()
695 sc->pre_vratio, sc->main_hratio, sc->main_vratio); in gsc_set_scaler_info()