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