Searched refs:lsoffset (Results 1 – 1 of 1) sorted by relevance
40 static inline u64 mc_enc(int lsoffset, int width, u64 val) in mc_enc() argument42 return (u64)(((u64)val & MAKE_UMASK64(width)) << lsoffset); in mc_enc()45 static inline u64 mc_dec(u64 val, int lsoffset, int width) in mc_dec() argument47 return (u64)((val >> lsoffset) & MAKE_UMASK64(width)); in mc_dec()