Home
last modified time | relevance | path

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

/drivers/gpu/drm/exynos/
Dexynos_drm_gsc.c80 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()
/drivers/media/platform/exynos-gsc/
Dgsc-core.c667 tx, &sc->pre_hratio); in gsc_set_scaler_info()
680 gsc_check_src_scale_info(variant, s_frame, &sc->pre_hratio, in gsc_set_scaler_info()
683 gsc_get_prescaler_shfactor(sc->pre_hratio, sc->pre_vratio, in gsc_set_scaler_info()
692 sc->pre_shfactor, sc->pre_hratio); in gsc_set_scaler_info()
Dgsc-core.h173 u32 pre_hratio; member
Dgsc-regs.c349 cfg |= GSC_PRESC_H_RATIO(sc->pre_hratio); in gsc_hw_set_prescaler()
/drivers/media/platform/exynos4-is/
Dfimc-core.h194 u32 pre_hratio; member
Dfimc-core.c256 ret = fimc_get_scaler_factor(sx, tx, &sc->pre_hratio, &sc->hfactor); in fimc_set_scaler_info()
264 sc->pre_dst_width = sx / sc->pre_hratio; in fimc_set_scaler_info()
Dfimc-reg.c240 cfg |= (sc->pre_hratio << 16) | sc->pre_vratio; in fimc_hw_set_prescaler()