Home
last modified time | relevance | path

Searched refs:max_scale (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/gpu/drm/tests/
H A Ddrm_plane_helper_test.c43 int max_scale; member
120 params->max_scale, in drm_test_check_plane_state()
146 .max_scale = DRM_PLANE_NO_SCALING,
160 .max_scale = DRM_PLANE_NO_SCALING,
172 .max_scale = DRM_PLANE_NO_SCALING,
184 .max_scale = DRM_PLANE_NO_SCALING,
196 .max_scale = 0x20000,
208 .max_scale = 0x10001,
220 .max_scale = 0x10001,
232 .max_scale = DRM_PLANE_NO_SCALING,
[all …]
/linux/drivers/gpu/drm/sun4i/
H A Dsun8i_ui_layer.c189 int min_scale, max_scale; in sun8i_ui_layer_atomic_check() local
200 max_scale = DRM_PLANE_NO_SCALING; in sun8i_ui_layer_atomic_check()
204 max_scale = SUN8I_UI_SCALER_SCALE_MAX; in sun8i_ui_layer_atomic_check()
209 min_scale, max_scale, in sun8i_ui_layer_atomic_check()
H A Dsun8i_vi_layer.c323 int min_scale, max_scale; in sun8i_vi_layer_atomic_check() local
334 max_scale = DRM_PLANE_NO_SCALING; in sun8i_vi_layer_atomic_check()
338 max_scale = SUN8I_VI_SCALER_SCALE_MAX; in sun8i_vi_layer_atomic_check()
343 min_scale, max_scale, in sun8i_vi_layer_atomic_check()
/linux/drivers/iio/
H A Dindustrialio-gts-helper.c131 tmp = gts->max_scale; in iio_gts_total_gain_to_scale()
575 &gts->max_scale); in iio_init_iio_gts()
876 ret = gain_get_scale_fraction(gts->max_scale, scale_linear, mul, gain); in iio_gts_find_gain_for_scale_using_time()
945 tmp = gts->max_scale; in iio_gts_get_scale_linear()
1025 ret = gain_get_scale_fraction(gts->max_scale, scale, itime_new->mul, in iio_gts_find_new_gain_sel_by_old_gain_time()
1077 ret = gain_get_scale_fraction(gts->max_scale, scale, itime_new->mul, in iio_gts_find_new_gain_by_old_gain_time()
/linux/drivers/gpu/drm/
H A Ddrm_plane_helper.c101 int max_scale, in drm_plane_helper_check_update() argument
128 min_scale, max_scale, in drm_plane_helper_check_update()
H A Ddrm_atomic_helper.c863 int max_scale, in drm_atomic_helper_check_plane_state() argument
899 hscale = drm_rect_calc_hscale(src, dst, min_scale, max_scale); in drm_atomic_helper_check_plane_state()
900 vscale = drm_rect_calc_vscale(src, dst, min_scale, max_scale); in drm_atomic_helper_check_plane_state()
/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_plane.c177 int min_scale, max_scale; in mdp5_plane_atomic_check_with_state() local
211 max_scale = FRAC_16_16(8, 1); in mdp5_plane_atomic_check_with_state()
214 min_scale, max_scale, in mdp5_plane_atomic_check_with_state()
377 int min_scale, max_scale; in mdp5_plane_atomic_async_check() local
403 max_scale = FRAC_16_16(8, 1); in mdp5_plane_atomic_async_check()
406 min_scale, max_scale, in mdp5_plane_atomic_async_check()
/linux/drivers/gpu/drm/logicvc/
H A Dlogicvc_layer.c92 int min_scale, max_scale; in logicvc_plane_atomic_check() local
120 max_scale = DRM_PLANE_NO_SCALING; in logicvc_plane_atomic_check()
127 min_scale, max_scale, in logicvc_plane_atomic_check()
/linux/include/linux/iio/
H A Diio-gts-helper.h60 u64 max_scale; member
/linux/include/drm/
H A Ddrm_atomic_helper.h57 int max_scale,
/linux/drivers/gpu/drm/i915/display/
H A Dintel_sprite.c1345 int max_scale = DRM_PLANE_NO_SCALING; in g4x_sprite_check() local
1351 max_scale = 16 << 16; in g4x_sprite_check()
1354 max_scale = 2 << 16; in g4x_sprite_check()
1359 min_scale, max_scale, true); in g4x_sprite_check()
H A Dskl_universal_plane.c2157 int max_scale = DRM_PLANE_NO_SCALING; in skl_plane_check() local
2167 max_scale = skl_plane_max_scale(dev_priv, fb); in skl_plane_check()
2171 min_scale, max_scale, true); in skl_plane_check()
/linux/block/
H A Dblk-iolatency.c336 unsigned long max_scale = qd << 1; in scale_cookie_change() local
358 if (diff < max_scale) in scale_cookie_change()
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_plane.c798 int i, ret = 0, min_scale, max_scale; in dpu_plane_atomic_check_nosspp() local
809 max_scale = MAX_DOWNSCALE_RATIO << 16; in dpu_plane_atomic_check_nosspp()
813 max_scale, in dpu_plane_atomic_check_nosspp()
/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop.c824 int max_scale = win->phy->scl ? FRAC_16_16(8, 1) : in vop_plane_atomic_check() local
836 min_scale, max_scale, in vop_plane_atomic_check()
1083 int max_scale = win->phy->scl ? FRAC_16_16(8, 1) : in vop_plane_atomic_async_check() local
1103 min_scale, max_scale, in vop_plane_atomic_async_check()
H A Drockchip_drm_vop2.c1067 int max_scale = FRAC_16_16(8, 1); in vop2_plane_atomic_check() local
1083 min_scale, max_scale, in vop2_plane_atomic_check()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_plane.c1092 int max_scale = INT_MAX; in amdgpu_dm_plane_helper_check_state() local
1133 max_scale = (1000 << 16) / min_downscale; in amdgpu_dm_plane_helper_check_state()
1137 state, new_crtc_state, min_scale, max_scale, true, true); in amdgpu_dm_plane_helper_check_state()
/linux/drivers/gpu/drm/tegra/
H A Ddc.c1032 int min_scale, max_scale; in tegra_cursor_atomic_async_check() local
1052 max_scale = (8 << 16) / 1; in tegra_cursor_atomic_async_check()
1054 err = drm_atomic_helper_check_plane_state(new_state, crtc_state, min_scale, max_scale, in tegra_cursor_atomic_async_check()