Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_gsc.c82 unsigned long main_hratio; member
776 sc->main_hratio = (src_w << 16) / dst_w; in gsc_set_prescaler()
780 sc->main_hratio, sc->main_vratio); in gsc_set_prescaler()
799 if (main_hratio <= GSC_SC_UP_MAX_RATIO) in gsc_set_h_coef()
801 else if (main_hratio <= GSC_SC_DOWN_RATIO_7_8) in gsc_set_h_coef()
803 else if (main_hratio <= GSC_SC_DOWN_RATIO_6_8) in gsc_set_h_coef()
805 else if (main_hratio <= GSC_SC_DOWN_RATIO_5_8) in gsc_set_h_coef()
807 else if (main_hratio <= GSC_SC_DOWN_RATIO_4_8) in gsc_set_h_coef()
809 else if (main_hratio <= GSC_SC_DOWN_RATIO_3_8) in gsc_set_h_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()
328 cfg |= FIMC_REG_CISCCTRL_MHRATIO_EXT(sc->main_hratio); in fimc_hw_set_mainscaler()
336 cfg |= FIMC_REG_CIEXTEN_MHRATIO_EXT(sc->main_hratio); in fimc_hw_set_mainscaler()
340 cfg |= FIMC_REG_CISCCTRL_MHRATIO(sc->main_hratio); in fimc_hw_set_mainscaler()
H A Dfimc-core.h198 u32 main_hratio; member
H A Dfimc-core.c269 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()
/openbmc/linux/drivers/media/platform/samsung/exynos-gsc/
H A Dgsc-core.h173 u32 main_hratio; member
H A Dgsc-regs.c360 cfg = GSC_MAIN_H_RATIO_VALUE(sc->main_hratio); in gsc_hw_set_mainscaler()
H A Dgsc-core.c684 sc->main_hratio = (s_frame->crop.width << 16) / tx; in gsc_set_scaler_info()
692 sc->pre_vratio, sc->main_hratio, sc->main_vratio); in gsc_set_scaler_info()