Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/exynos/
Dexynos_drm_gsc.c80 u32 pre_hratio; member
761 ret = gsc_get_ratio_shift(ctx, src_w, dst_w, &sc->pre_hratio); in gsc_set_prescaler()
774 sc->pre_hratio, sc->pre_vratio); in gsc_set_prescaler()
782 gsc_get_prescaler_shfactor(sc->pre_hratio, sc->pre_vratio, in gsc_set_prescaler()
788 GSC_PRESC_H_RATIO(sc->pre_hratio) | in gsc_set_prescaler()
/Linux-v6.6/drivers/media/platform/samsung/exynos-gsc/
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()
Dgsc-core.h171 u32 pre_hratio; member
Dgsc-regs.c349 cfg |= GSC_PRESC_H_RATIO(sc->pre_hratio); in gsc_hw_set_prescaler()
/Linux-v6.6/drivers/media/platform/samsung/exynos4-is/
Dfimc-core.h194 u32 pre_hratio; member
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()
Dfimc-reg.c240 cfg |= (sc->pre_hratio << 16) | sc->pre_vratio; in fimc_hw_set_prescaler()