Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/exynos/
Dexynos_drm_gsc.c84 unsigned long main_vratio; member
778 sc->main_vratio = (src_h << 16) / dst_h; in gsc_set_prescaler()
781 sc->main_hratio, sc->main_vratio); in gsc_set_prescaler()
822 static void gsc_set_v_coef(struct gsc_context *ctx, unsigned long main_vratio) in gsc_set_v_coef() argument
826 if (main_vratio <= GSC_SC_UP_MAX_RATIO) in gsc_set_v_coef()
828 else if (main_vratio <= GSC_SC_DOWN_RATIO_7_8) in gsc_set_v_coef()
830 else if (main_vratio <= GSC_SC_DOWN_RATIO_6_8) in gsc_set_v_coef()
832 else if (main_vratio <= GSC_SC_DOWN_RATIO_5_8) in gsc_set_v_coef()
834 else if (main_vratio <= GSC_SC_DOWN_RATIO_4_8) in gsc_set_v_coef()
836 else if (main_vratio <= GSC_SC_DOWN_RATIO_3_8) in gsc_set_v_coef()
[all …]
/linux-6.12.1/drivers/media/platform/samsung/exynos4-is/
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()
Dfimc-core.h199 u32 main_vratio; member
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()
/linux-6.12.1/drivers/media/platform/samsung/exynos-gsc/
Dgsc-core.h173 u32 main_vratio; member
Dgsc-regs.c363 cfg = GSC_MAIN_V_RATIO_VALUE(sc->main_vratio); in gsc_hw_set_mainscaler()
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()