Searched refs:_factor (Results 1 – 1 of 1) sorted by relevance
6 #define DECLARE_EWMA(name, _factor, _weight) \ argument12 BUILD_BUG_ON(!__builtin_constant_p(_factor)); \14 BUILD_BUG_ON_NOT_POWER_OF_2(_factor); \21 BUILD_BUG_ON(!__builtin_constant_p(_factor)); \23 BUILD_BUG_ON_NOT_POWER_OF_2(_factor); \25 return e->internal >> ilog2(_factor); \32 unsigned long factor = ilog2(_factor); \34 BUILD_BUG_ON(!__builtin_constant_p(_factor)); \36 BUILD_BUG_ON_NOT_POWER_OF_2(_factor); \