Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_gsc.c83 unsigned long main_vratio; member
777 sc->main_vratio = (src_h << 16) / dst_h; in gsc_set_prescaler()
780 sc->main_hratio, sc->main_vratio); in gsc_set_prescaler()
825 if (main_vratio <= GSC_SC_UP_MAX_RATIO) in gsc_set_v_coef()
827 else if (main_vratio <= GSC_SC_DOWN_RATIO_7_8) in gsc_set_v_coef()
829 else if (main_vratio <= GSC_SC_DOWN_RATIO_6_8) in gsc_set_v_coef()
831 else if (main_vratio <= GSC_SC_DOWN_RATIO_5_8) in gsc_set_v_coef()
833 else if (main_vratio <= GSC_SC_DOWN_RATIO_4_8) in gsc_set_v_coef()
835 else if (main_vratio <= GSC_SC_DOWN_RATIO_3_8) in gsc_set_v_coef()
852 sc->main_hratio, sc->main_vratio); in gsc_set_scaler()
[all …]
/openbmc/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-reg.c319 sc->main_hratio, sc->main_vratio); in fimc_hw_set_mainscaler()
329 cfg |= FIMC_REG_CISCCTRL_MVRATIO_EXT(sc->main_vratio); in fimc_hw_set_mainscaler()
337 cfg |= FIMC_REG_CIEXTEN_MVRATIO_EXT(sc->main_vratio); in fimc_hw_set_mainscaler()
341 cfg |= FIMC_REG_CISCCTRL_MVRATIO(sc->main_vratio); in fimc_hw_set_mainscaler()
H A Dfimc-core.h199 u32 main_vratio; member
H A Dfimc-core.c270 sc->main_vratio = (sy << 14) / (ty << sc->vfactor); in fimc_set_scaler_info()
273 sc->main_vratio = (sy << 8) / (ty << sc->vfactor); in fimc_set_scaler_info()
/openbmc/linux/drivers/media/platform/samsung/exynos-gsc/
H A Dgsc-core.h174 u32 main_vratio; member
H A Dgsc-regs.c363 cfg = GSC_MAIN_V_RATIO_VALUE(sc->main_vratio); in gsc_hw_set_mainscaler()
H A Dgsc-core.c685 sc->main_vratio = (s_frame->crop.height << 16) / ty; in gsc_set_scaler_info()
692 sc->pre_vratio, sc->main_hratio, sc->main_vratio); in gsc_set_scaler_info()