Searched refs:hratio (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/media/platform/renesas/vsp1/ |
| H A D | vsp1_hgt.c | 137 unsigned int hratio; in hgt_configure_stream() local 165 hratio = crop->width * 2 / compose->width / 3; in hgt_configure_stream() 168 (hratio << VI6_HGT_MODE_HRATIO_SHIFT) | in hgt_configure_stream()
|
| H A D | vsp1_hgo.c | 141 unsigned int hratio; in hgo_configure_stream() local 162 hratio = crop->width * 2 / compose->width / 3; in hgo_configure_stream() 167 (hratio << VI6_HGO_MODE_HRATIO_SHIFT) | in hgo_configure_stream()
|
| /linux/drivers/media/platform/samsung/exynos-gsc/ |
| H A D | gsc-core.c | 257 void gsc_get_prescaler_shfactor(u32 hratio, u32 vratio, u32 *sh) in gsc_get_prescaler_shfactor() argument 259 if (hratio == 4 && vratio == 4) in gsc_get_prescaler_shfactor() 261 else if ((hratio == 4 && vratio == 2) || in gsc_get_prescaler_shfactor() 262 (hratio == 2 && vratio == 4)) in gsc_get_prescaler_shfactor() 264 else if ((hratio == 4 && vratio == 1) || in gsc_get_prescaler_shfactor() 265 (hratio == 1 && vratio == 4) || in gsc_get_prescaler_shfactor() 266 (hratio == 2 && vratio == 2)) in gsc_get_prescaler_shfactor() 268 else if (hratio == 1 && vratio == 1) in gsc_get_prescaler_shfactor() 276 u32 tx, u32 ty, u32 *hratio) in gsc_check_src_scale_info() argument 299 remainder = s_frame->crop.height % (*hratio * halign); in gsc_check_src_scale_info() [all …]
|
| /linux/drivers/gpu/drm/exynos/ |
| H A D | exynos_drm_gsc.c | 726 static void gsc_get_prescaler_shfactor(u32 hratio, u32 vratio, u32 *shfactor) in gsc_get_prescaler_shfactor() argument 728 if (hratio == 4 && vratio == 4) in gsc_get_prescaler_shfactor() 730 else if ((hratio == 4 && vratio == 2) || in gsc_get_prescaler_shfactor() 731 (hratio == 2 && vratio == 4)) in gsc_get_prescaler_shfactor() 733 else if ((hratio == 4 && vratio == 1) || in gsc_get_prescaler_shfactor() 734 (hratio == 1 && vratio == 4) || in gsc_get_prescaler_shfactor() 735 (hratio == 2 && vratio == 2)) in gsc_get_prescaler_shfactor() 737 else if (hratio == 1 && vratio == 1) in gsc_get_prescaler_shfactor()
|
| H A D | exynos_drm_fimc.c | 81 u32 hratio; member 783 sc->hratio = (src_w << 14) / (dst_w << hfactor); in fimc_set_prescaler() 788 sc->hratio, sc->vratio, sc->up_h, sc->up_v); in fimc_set_prescaler() 812 sc->hratio, sc->vratio); in fimc_set_scaler() 832 cfg |= (EXYNOS_CISCCTRL_MAINHORRATIO((sc->hratio >> 6)) | in fimc_set_scaler() 839 cfg_ext |= (EXYNOS_CIEXTEN_MAINHORRATIO_EXT(sc->hratio) | in fimc_set_scaler()
|
| /linux/drivers/gpu/drm/nouveau/dispnv04/ |
| H A D | tvmodesnv17.c | 550 int overscan, hmargin, vmargin, hratio, vratio; in nv17_ctv_update_rescaler() local 566 hratio = crtc_mode->hdisplay * 0x800 / in nv17_ctv_update_rescaler() 579 XLATE(hratio, 0, NV_PRAMDAC_FP_DEBUG_1_XSCALE_VALUE); in nv17_ctv_update_rescaler()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/ |
| H A D | dml_top_display_cfg_types.h | 172 double hratio; member
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/ |
| H A D | dml2_core_dcn4_calcs.c | 12256 …pot_x * (p->cursor_2x_magnify == 0 ? 1 : 2))) * p->dlg_refclk_mhz / p->pixel_rate_mhz / p->hratio); in dml2_core_calcs_cursor_dlg_reg()
|