Home | History | Annotate | Download | only in drm

Lines Matching refs:s64

81 static inline s64 drm_int2fixp(int a)
83 return ((s64)a) << DRM_FIXED_POINT;
86 static inline int drm_fixp2int(s64 a)
88 return ((s64)a) >> DRM_FIXED_POINT;
91 static inline int drm_fixp2int_ceil(s64 a)
99 static inline unsigned drm_fixp_msbset(s64 a)
110 static inline s64 drm_fixp_mul(s64 a, s64 b)
113 s64 result;
133 static inline s64 drm_fixp_div(s64 a, s64 b)
136 s64 result;
151 static inline s64 drm_fixp_from_fraction(s64 a, s64 b)
153 s64 res;
184 res = (s64) res_abs;
190 static inline s64 drm_fixp_exp(s64 x)
192 s64 tolerance = div64_s64(DRM_FIXED_ONE, 1000000);
193 s64 sum = DRM_FIXED_ONE, term, y = x;