Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_gsc.c81 u32 pre_hratio; member
762 ret = gsc_get_ratio_shift(ctx, src_w, dst_w, &sc->pre_hratio); in gsc_set_prescaler()
775 sc->pre_hratio, sc->pre_vratio); in gsc_set_prescaler()
783 gsc_get_prescaler_shfactor(sc->pre_hratio, sc->pre_vratio, in gsc_set_prescaler()
789 GSC_PRESC_H_RATIO(sc->pre_hratio) | in gsc_set_prescaler()
/linux/drivers/media/platform/samsung/exynos-gsc/
H A Dgsc-core.c665 tx, &sc->pre_hratio); in gsc_set_scaler_info()
678 gsc_check_src_scale_info(variant, s_frame, &sc->pre_hratio, in gsc_set_scaler_info()
681 gsc_get_prescaler_shfactor(sc->pre_hratio, sc->pre_vratio, in gsc_set_scaler_info()
690 sc->pre_shfactor, sc->pre_hratio); in gsc_set_scaler_info()
H A Dgsc-core.h170 u32 pre_hratio; member
H A Dgsc-regs.c349 cfg |= GSC_PRESC_H_RATIO(sc->pre_hratio); in gsc_hw_set_prescaler()
/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-core.h194 u32 pre_hratio; member
H A Dfimc-core.c257 ret = fimc_get_scaler_factor(sx, tx, &sc->pre_hratio, &sc->hfactor); in fimc_set_scaler_info()
265 sc->pre_dst_width = sx / sc->pre_hratio; in fimc_set_scaler_info()
H A Dfimc-reg.c240 cfg |= (sc->pre_hratio << 16) | sc->pre_vratio; in fimc_hw_set_prescaler()