Searched refs:FRAC_16_16 (Results 1 – 8 of 8) sorted by relevance
/drivers/gpu/drm/zte/ |
D | zx_plane.c | 46 #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/ |
D | meson_plane.c | 71 #define FRAC_16_16(mult, div) (((mult) << 16) / (div)) macro 91 FRAC_16_16(1, 5), in meson_plane_atomic_check()
|
D | meson_overlay.c | 165 #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/ |
D | mdp5_plane.c | 300 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/ |
D | rockchip_drm_vop.h | 338 #define FRAC_16_16(mult, div) (((mult) << 16) / (div)) macro
|
D | rockchip_drm_vop.c | 797 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/ |
D | msm_drv.h | 53 #define FRAC_16_16(mult, div) (((mult) << 16) / (div)) macro
|
/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_plane.c | 949 min_scale = FRAC_16_16(1, pdpu->pipe_sblk->maxupscale); in dpu_plane_atomic_check()
|