Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Daverage.h28 #define DECLARE_EWMA(name, _precision, _weight_rcp) \ argument
34 BUILD_BUG_ON(!__builtin_constant_p(_precision)); \
40 BUILD_BUG_ON((_precision) > 30); \
47 BUILD_BUG_ON(!__builtin_constant_p(_precision)); \
49 BUILD_BUG_ON((_precision) > 30); \
51 return e->internal >> (_precision); \
58 unsigned long precision = _precision; \
60 BUILD_BUG_ON(!__builtin_constant_p(_precision)); \
62 BUILD_BUG_ON((_precision) > 30); \