Lines Matching refs:word
57 static inline __u32 rol32(__u32 word, unsigned int shift) in rol32() argument
59 return (word << shift) | (word >> (32 - shift)); in rol32()
67 static inline __u32 ror32(__u32 word, unsigned int shift) in ror32() argument
69 return (word >> shift) | (word << (32 - shift)); in ror32()
77 static inline __u16 rol16(__u16 word, unsigned int shift) in rol16() argument
79 return (word << shift) | (word >> (16 - shift)); in rol16()
87 static inline __u16 ror16(__u16 word, unsigned int shift) in ror16() argument
89 return (word >> shift) | (word << (16 - shift)); in ror16()
97 static inline __u8 rol8(__u8 word, unsigned int shift) in rol8() argument
99 return (word << shift) | (word >> (8 - shift)); in rol8()
107 static inline __u8 ror8(__u8 word, unsigned int shift) in ror8() argument
109 return (word >> shift) | (word << (8 - shift)); in ror8()
138 static inline unsigned long __ffs64(u64 word) in __ffs64() argument
141 if (((u32)word) == 0UL) in __ffs64()
142 return __ffs((u32)(word >> 32)) + 32; in __ffs64()
146 return __ffs((unsigned long)word); in __ffs64()