Searched refs:pre_hratio (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_gsc.c | 81 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 D | gsc-core.c | 665 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 D | gsc-core.h | 170 u32 pre_hratio; member
|
H A D | gsc-regs.c | 349 cfg |= GSC_PRESC_H_RATIO(sc->pre_hratio); in gsc_hw_set_prescaler()
|
/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-core.h | 194 u32 pre_hratio; member
|
H A D | fimc-core.c | 257 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 D | fimc-reg.c | 240 cfg |= (sc->pre_hratio << 16) | sc->pre_vratio; in fimc_hw_set_prescaler()
|