Home
last modified time | relevance | path

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

/include/asm-generic/bitops/
A D__ffs.h20 word >>= 32; in generic___ffs()
23 if ((word & 0xffff) == 0) { in generic___ffs()
25 word >>= 16; in generic___ffs()
27 if ((word & 0xff) == 0) { in generic___ffs()
29 word >>= 8; in generic___ffs()
31 if ((word & 0xf) == 0) { in generic___ffs()
33 word >>= 4; in generic___ffs()
35 if ((word & 0x3) == 0) { in generic___ffs()
37 word >>= 2; in generic___ffs()
39 if ((word & 0x1) == 0) in generic___ffs()
[all …]
A D__fls.h18 if (!(word & (~0ul << 32))) { in generic___fls()
20 word <<= 32; in generic___fls()
23 if (!(word & (~0ul << (BITS_PER_LONG-16)))) { in generic___fls()
25 word <<= 16; in generic___fls()
27 if (!(word & (~0ul << (BITS_PER_LONG-8)))) { in generic___fls()
29 word <<= 8; in generic___fls()
31 if (!(word & (~0ul << (BITS_PER_LONG-4)))) { in generic___fls()
33 word <<= 4; in generic___fls()
37 word <<= 2; in generic___fls()
39 if (!(word & (~0ul << (BITS_PER_LONG-1)))) in generic___fls()
[all …]
A Dbuiltin-__fls.h11 static __always_inline unsigned int __fls(unsigned long word) in __fls() argument
13 return (sizeof(word) * 8) - 1 - __builtin_clzl(word); in __fls()
A Dbuiltin-__ffs.h11 static __always_inline unsigned int __ffs(unsigned long word) in __ffs() argument
13 return __builtin_ctzl(word); in __ffs()
/include/linux/
A Dwait_bit.h22 { .flags = word, .bit_nr = bit, }
75 if (!test_bit_acquire(bit, word)) in wait_on_bit()
103 if (!test_bit_acquire(bit, word)) in wait_on_bit_io()
135 if (!test_bit_acquire(bit, word)) in wait_on_bit_timeout()
165 if (!test_bit_acquire(bit, word)) in wait_on_bit_action()
192 if (!test_and_set_bit(bit, word)) in wait_on_bit_lock()
219 if (!test_and_set_bit(bit, word)) in wait_on_bit_lock_io()
244 if (!test_and_set_bit(bit, word)) in wait_on_bit_lock_action()
552 clear_bit_unlock(bit, word); in clear_and_wake_up_bit()
555 wake_up_bit(word, bit); in clear_and_wake_up_bit()
[all …]
A Dbitops.h106 return (word << (shift & 63)) | (word >> ((-shift) & 63)); in rol64()
116 return (word >> (shift & 63)) | (word << ((-shift) & 63)); in ror64()
126 return (word << (shift & 31)) | (word >> ((-shift) & 31)); in rol32()
136 return (word >> (shift & 31)) | (word << ((-shift) & 31)); in ror32()
146 return (word << (shift & 15)) | (word >> ((-shift) & 15)); in rol16()
156 return (word >> (shift & 15)) | (word << ((-shift) & 15)); in ror16()
166 return (word << (shift & 7)) | (word >> ((-shift) & 7)); in rol8()
176 return (word >> (shift & 7)) | (word << ((-shift) & 7)); in ror8()
288 while (word && n--) in fns()
289 word &= word - 1; in fns()
[all …]
A Dfile.h39 unsigned long word; member
44 #define fd_file(f) ((struct file *)((f).word & ~(FDPUT_FPUT|FDPUT_POS_UNLOCK)))
47 return unlikely(!f.word); in fd_empty()
62 if (unlikely(fd.word & FDPUT_FPUT)) in fdput()
78 if (f.word & FDPUT_POS_UNLOCK) in fdput_pos()
A Dsbitmap.h33 unsigned long word; member
249 unsigned long word; in __sbitmap_for_each_set() local
255 word = sb->map[index].word & ~sb->map[index].cleared; in __sbitmap_for_each_set()
256 if (!word) in __sbitmap_for_each_set()
266 nr = find_next_bit(&word, depth, nr); in __sbitmap_for_each_set()
296 return &sb->map[SB_NR_TO_INDEX(sb, bitnr)].word; in __sbitmap_word()
A Deeprom_93cx6.h68 const u8 word, u16 *data);
70 const u8 word, __le16 *data, const u16 words);
A Dbtf_ids.h43 #define ____BTF_ID(symbol, word) \ argument
51 word \
54 #define __BTF_ID(symbol, word) \ argument
55 ____BTF_ID(symbol, word)
A Dfutex.h50 unsigned long word; member
A Dpci.h2034 _PCI_NOP(o, word, u16 x) \
/include/linux/platform_data/
A Dhuawei-gaokun-ec.h56 u8 reg, u16 *word) in gaokun_ec_psy_read_word() argument
58 return gaokun_ec_psy_multi_read(ec, reg, sizeof(*word), (u8 *)word); in gaokun_ec_psy_read_word()
/include/asm-generic/
A Dbitsperlong.h19 #error Inconsistent word size. Check asm/bitsperlong.h
A DKbuild66 mandatory-y += word-at-a-time.h
/include/net/
A Dgue.h53 __be32 word; member
/include/uapi/linux/
A Di2c.h144 __u16 word; member
/include/soc/fsl/
A 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/
A Dnf_tables.h1614 unsigned long *word = (unsigned long *)ext; in nft_set_elem_dead() local
1617 set_bit(NFT_SET_ELEM_DEAD_BIT, word); in nft_set_elem_dead()
1622 unsigned long *word = (unsigned long *)ext; in nft_set_elem_is_dead() local
1625 return test_bit(NFT_SET_ELEM_DEAD_BIT, word); in nft_set_elem_is_dead()
/include/video/
A Dnewport.h20 npireg_t word; member

Completed in 63 milliseconds