Searched refs:word (Results 1 – 14 of 14) sorted by relevance
/include/asm-generic/bitops/ |
D | __ffs.h | 12 static __always_inline unsigned long __ffs(unsigned long word) in __ffs() argument 17 if ((word & 0xffffffff) == 0) { in __ffs() 19 word >>= 32; in __ffs() 22 if ((word & 0xffff) == 0) { in __ffs() 24 word >>= 16; in __ffs() 26 if ((word & 0xff) == 0) { in __ffs() 28 word >>= 8; in __ffs() 30 if ((word & 0xf) == 0) { in __ffs() 32 word >>= 4; in __ffs() 34 if ((word & 0x3) == 0) { in __ffs() [all …]
|
D | __fls.h | 12 static __always_inline unsigned long __fls(unsigned long word) in __fls() argument 17 if (!(word & (~0ul << 32))) { in __fls() 19 word <<= 32; in __fls() 22 if (!(word & (~0ul << (BITS_PER_LONG-16)))) { in __fls() 24 word <<= 16; in __fls() 26 if (!(word & (~0ul << (BITS_PER_LONG-8)))) { in __fls() 28 word <<= 8; in __fls() 30 if (!(word & (~0ul << (BITS_PER_LONG-4)))) { in __fls() 32 word <<= 4; in __fls() 34 if (!(word & (~0ul << (BITS_PER_LONG-2)))) { in __fls() [all …]
|
/include/linux/ |
D | bitops.h | 74 static inline __u64 rol64(__u64 word, unsigned int shift) in rol64() argument 76 return (word << shift) | (word >> (64 - shift)); in rol64() 84 static inline __u64 ror64(__u64 word, unsigned int shift) in ror64() argument 86 return (word >> shift) | (word << (64 - shift)); in ror64() 94 static inline __u32 rol32(__u32 word, unsigned int shift) in rol32() argument 96 return (word << shift) | (word >> (32 - shift)); in rol32() 104 static inline __u32 ror32(__u32 word, unsigned int shift) in ror32() argument 106 return (word >> shift) | (word << (32 - shift)); in ror32() 114 static inline __u16 rol16(__u16 word, unsigned int shift) in rol16() argument 116 return (word << shift) | (word >> (16 - shift)); in rol16() [all …]
|
D | eeprom_93cx6.h | 75 const u8 word, u16 *data); 77 const u8 word, __le16 *data, const u16 words);
|
D | wait.h | 76 #define __WAIT_BIT_KEY_INITIALIZER(word, bit) \ argument 77 { .flags = word, .bit_nr = bit, } 664 #define DEFINE_WAIT_BIT(name, word, bit) \ argument 666 .key = __WAIT_BIT_KEY_INITIALIZER(word, bit), \ 697 static inline int wait_on_bit(void *word, int bit, in wait_on_bit() argument 700 if (!test_bit(bit, word)) in wait_on_bit() 702 return out_of_line_wait_on_bit(word, bit, action, mode); in wait_on_bit() 721 static inline int wait_on_bit_lock(void *word, int bit, in wait_on_bit_lock() argument 724 if (!test_and_set_bit(bit, word)) in wait_on_bit_lock() 726 return out_of_line_wait_on_bit_lock(word, bit, action, mode); in wait_on_bit_lock()
|
D | futex.h | 168 unsigned long word; member
|
D | signal.h | 69 static inline int sigfindinword(unsigned long word) in sigfindinword() argument 71 return ffz(~word); in sigfindinword()
|
D | backing-dev.h | 350 static inline int bdi_sched_wait(void *word) in bdi_sched_wait() argument
|
D | i2c.h | 598 __u16 word; member
|
D | pci.h | 1148 _PCI_NOP(o, word, u16 x) \
|
/include/asm-generic/ |
D | bitsperlong.h | 28 #error Inconsistent word size. Check asm/bitsperlong.h
|
/include/net/irda/ |
D | discovery.h | 56 __u16 word; member
|
/include/linux/spi/ |
D | spi_bitbang.h | 36 u32 word, u8 bits);
|
/include/video/ |
D | newport.h | 19 npireg_t word; member
|