Home
last modified time | relevance | path

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

/include/asm-generic/bitops/
D__ffs.h13 static __always_inline unsigned long __ffs(unsigned long word) in __ffs() argument
18 if ((word & 0xffffffff) == 0) { in __ffs()
20 word >>= 32; in __ffs()
23 if ((word & 0xffff) == 0) { in __ffs()
25 word >>= 16; in __ffs()
27 if ((word & 0xff) == 0) { in __ffs()
29 word >>= 8; in __ffs()
31 if ((word & 0xf) == 0) { in __ffs()
33 word >>= 4; in __ffs()
35 if ((word & 0x3) == 0) { in __ffs()
[all …]
D__fls.h13 static __always_inline unsigned long __fls(unsigned long word) in __fls() argument
18 if (!(word & (~0ul << 32))) { in __fls()
20 word <<= 32; in __fls()
23 if (!(word & (~0ul << (BITS_PER_LONG-16)))) { in __fls()
25 word <<= 16; in __fls()
27 if (!(word & (~0ul << (BITS_PER_LONG-8)))) { in __fls()
29 word <<= 8; in __fls()
31 if (!(word & (~0ul << (BITS_PER_LONG-4)))) { in __fls()
33 word <<= 4; in __fls()
35 if (!(word & (~0ul << (BITS_PER_LONG-2)))) { in __fls()
[all …]
Dbuiltin-__fls.h11 static __always_inline unsigned long __fls(unsigned long word) in __fls() argument
13 return (sizeof(word) * 8) - 1 - __builtin_clzl(word); in __fls()
Dbuiltin-__ffs.h11 static __always_inline unsigned long __ffs(unsigned long word) in __ffs() argument
13 return __builtin_ctzl(word); in __ffs()
/include/linux/
Dwait_bit.h21 #define __WAIT_BIT_KEY_INITIALIZER(word, bit) \ argument
22 { .flags = word, .bit_nr = bit, }
26 void __wake_up_bit(struct wait_queue_head *wq_head, void *word, int bit);
29 void wake_up_bit(void *word, int bit);
30 int out_of_line_wait_on_bit(void *word, int, wait_bit_action_f *action, unsigned int mode);
31 int out_of_line_wait_on_bit_timeout(void *word, int, wait_bit_action_f *action, unsigned int mode, …
32 int out_of_line_wait_on_bit_lock(void *word, int, wait_bit_action_f *action, unsigned int mode);
33 struct wait_queue_head *bit_waitqueue(void *word, int bit);
38 #define DEFINE_WAIT_BIT(name, word, bit) \ argument
40 .key = __WAIT_BIT_KEY_INITIALIZER(word, bit), \
[all …]
Dbitops.h105 static inline __u64 rol64(__u64 word, unsigned int shift) in rol64() argument
107 return (word << (shift & 63)) | (word >> ((-shift) & 63)); in rol64()
115 static inline __u64 ror64(__u64 word, unsigned int shift) in ror64() argument
117 return (word >> (shift & 63)) | (word << ((-shift) & 63)); in ror64()
125 static inline __u32 rol32(__u32 word, unsigned int shift) in rol32() argument
127 return (word << (shift & 31)) | (word >> ((-shift) & 31)); in rol32()
135 static inline __u32 ror32(__u32 word, unsigned int shift) in ror32() argument
137 return (word >> (shift & 31)) | (word << ((-shift) & 31)); in ror32()
145 static inline __u16 rol16(__u16 word, unsigned int shift) in rol16() argument
147 return (word << (shift & 15)) | (word >> ((-shift) & 15)); in rol16()
[all …]
Deeprom_93cx6.h62 const u8 word, u16 *data);
64 const u8 word, __le16 *data, const u16 words);
Dsbitmap.h33 unsigned long word; member
261 unsigned long word; in __sbitmap_for_each_set() local
267 word = sb->map[index].word & ~sb->map[index].cleared; in __sbitmap_for_each_set()
268 if (!word) in __sbitmap_for_each_set()
278 nr = find_next_bit(&word, depth, nr); in __sbitmap_for_each_set()
308 return &sb->map[SB_NR_TO_INDEX(sb, bitnr)].word; in __sbitmap_word()
Dbtf_ids.h37 #define ____BTF_ID(symbol, word) \ argument
45 word \
48 #define __BTF_ID(symbol, word) \ argument
49 ____BTF_ID(symbol, word)
Dfutex.h48 unsigned long word; member
Dpci.h1966 _PCI_NOP(o, word, u16 x) \
/include/asm-generic/
Dbitsperlong.h19 #error Inconsistent word size. Check asm/bitsperlong.h
DKbuild64 mandatory-y += word-at-a-time.h
/include/linux/spi/
Dspi_bitbang.h33 u32 word, u8 bits, unsigned flags);
/include/net/
Dgue.h53 __be32 word; member
/include/uapi/linux/
Di2c.h143 __u16 word; member
/include/soc/fsl/
Dqman.h533 __be32 word; member
544 __be16 word; member
580 int thres = be16_to_cpu(th->word); in qm_cgr_cs_thres_get64()
598 th->word = cpu_to_be16(((val & 0xff) << 5) | (e & 0x1f)); in qm_cgr_cs_thres_set64()
/include/net/netfilter/
Dnf_tables.h1531 unsigned long *word = (unsigned long *)ext; in nft_set_elem_dead() local
1534 set_bit(NFT_SET_ELEM_DEAD_BIT, word); in nft_set_elem_dead()
1539 unsigned long *word = (unsigned long *)ext; in nft_set_elem_is_dead() local
1542 return test_bit(NFT_SET_ELEM_DEAD_BIT, word); in nft_set_elem_is_dead()
/include/video/
Dnewport.h20 npireg_t word; member