Home
last modified time | relevance | path

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

/openbmc/linux/tools/include/linux/
H A Dbitfield.h133 static __always_inline u64 field_multiplier(u64 field) in field_multiplier() function
141 return field / field_multiplier(field); in field_mask()
149 return to((v & field_mask(field)) * field_multiplier(field)); \
163 return (from(v) & field)/field_multiplier(field); \
/openbmc/linux/include/linux/
H A Dbitfield.h162 static __always_inline u64 field_multiplier(u64 field) in field_multiplier() function
170 return field / field_multiplier(field); in field_mask()
178 return to((v & field_mask(field)) * field_multiplier(field)); \
192 return (from(v) & field)/field_multiplier(field); \