Home
last modified time | relevance | path

Searched refs:FRAC_16_16 (Results 1 – 8 of 8) sorted by relevance

/drivers/gpu/drm/zte/
Dzx_plane.c46 #define FRAC_16_16(mult, div) (((mult) << 16) / (div)) macro
54 int min_scale = FRAC_16_16(1, 8); in zx_vl_plane_atomic_check()
55 int max_scale = FRAC_16_16(8, 1); in zx_vl_plane_atomic_check()
/drivers/gpu/drm/meson/
Dmeson_plane.c71 #define FRAC_16_16(mult, div) (((mult) << 16) / (div)) macro
91 FRAC_16_16(1, 5), in meson_plane_atomic_check()
Dmeson_overlay.c165 #define FRAC_16_16(mult, div) (((mult) << 16) / (div)) macro
180 FRAC_16_16(1, 5), in meson_overlay_atomic_check()
181 FRAC_16_16(5, 1), in meson_overlay_atomic_check()
/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c300 min_scale = FRAC_16_16(1, 8); in mdp5_plane_atomic_check_with_state()
301 max_scale = FRAC_16_16(8, 1); in mdp5_plane_atomic_check_with_state()
486 min_scale = FRAC_16_16(1, 8); in mdp5_plane_atomic_async_check()
487 max_scale = FRAC_16_16(8, 1); in mdp5_plane_atomic_async_check()
/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.h338 #define FRAC_16_16(mult, div) (((mult) << 16) / (div)) macro
Drockchip_drm_vop.c797 int min_scale = win->phy->scl ? FRAC_16_16(1, 8) : in vop_plane_atomic_check()
799 int max_scale = win->phy->scl ? FRAC_16_16(8, 1) : in vop_plane_atomic_check()
1037 int min_scale = win->phy->scl ? FRAC_16_16(1, 8) : in vop_plane_atomic_async_check()
1039 int max_scale = win->phy->scl ? FRAC_16_16(8, 1) : in vop_plane_atomic_async_check()
/drivers/gpu/drm/msm/
Dmsm_drv.h53 #define FRAC_16_16(mult, div) (((mult) << 16) / (div)) macro
/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_plane.c949 min_scale = FRAC_16_16(1, pdpu->pipe_sblk->maxupscale); in dpu_plane_atomic_check()