Home
last modified time | relevance | path

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

/drivers/staging/fsl-mc/include/
Dmc-cmd.h40 static inline u64 mc_enc(int lsoffset, int width, u64 val) in mc_enc() argument
42 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() argument
47 return (u64)((val >> lsoffset) & MAKE_UMASK64(width)); in mc_dec()