Searched refs:DRM_FIXED_POINT (Results 1 – 1 of 1) sorted by relevance
72 #define DRM_FIXED_POINT 32 macro81 return ((s64)a) << DRM_FIXED_POINT; in drm_int2fixp()86 return ((s64)a) >> DRM_FIXED_POINT; in drm_fixp2int()122 if (shift > DRM_FIXED_POINT) in drm_fixp_mul()123 return result << (shift - DRM_FIXED_POINT); in drm_fixp_mul()125 if (shift < DRM_FIXED_POINT) in drm_fixp_mul()126 return result >> (DRM_FIXED_POINT - shift); in drm_fixp_mul()138 if (shift < DRM_FIXED_POINT) in drm_fixp_div()139 b >>= (DRM_FIXED_POINT - shift); in drm_fixp_div()143 if (shift > DRM_FIXED_POINT) in drm_fixp_div()[all …]
Completed in 3 milliseconds