Home
last modified time | relevance | path

Searched defs:bits (Results 1 – 25 of 1150) sorted by relevance

12345678910>>...46

/openbmc/linux/tools/include/linux/
H A Dhash.h16 #define hash_long(val, bits) hash_32(val, bits) argument
18 #define hash_long(val, bits) hash_64(val, bits) argument
65 static inline u32 hash_32(u32 val, unsigned int bits) in hash_32()
74 static __always_inline u32 hash_64_generic(u64 val, unsigned int bits) in hash_64_generic()
85 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr()
/openbmc/linux/include/linux/
H A Dhash.h16 #define hash_long(val, bits) hash_32(val, bits) argument
18 #define hash_long(val, bits) hash_64(val, bits) argument
65 static inline u32 hash_32(u32 val, unsigned int bits) in hash_32()
74 static __always_inline u32 hash_64_generic(u64 val, unsigned int bits) in hash_64_generic()
85 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr()
/openbmc/linux/include/sound/
H A Dcs8403.h24 SND_CS8403_DECL void SND_CS8403_DECODE(struct snd_aes_iec958 *diga, unsigned char bits) in SND_CS8403_DECODE()
69 unsigned char bits; in SND_CS8403_ENCODE() local
154 SND_CS8404_DECL void SND_CS8404_DECODE(struct snd_aes_iec958 *diga, unsigned char bits) in SND_CS8404_DECODE()
195 unsigned char bits; in SND_CS8404_ENCODE() local
/openbmc/linux/arch/alpha/include/asm/
H A Dword-at-a-time.h22 static inline unsigned long has_zero(unsigned long val, unsigned long *bits, const struct word_at_a… in has_zero()
29 static inline unsigned long prep_zero_mask(unsigned long val, unsigned long bits, const struct word… in prep_zero_mask()
34 #define create_zero_mask(bits) (bits) argument
36 static inline unsigned long find_zero(unsigned long bits) in find_zero()
/openbmc/linux/fs/btrfs/
H A Dextent-io-tree.c370 u32 bits, struct extent_changeset *changeset) in set_state_bits()
395 u32 bits, struct extent_changeset *changeset) in insert_state()
434 struct rb_node *parent, unsigned bits, in insert_state_fast()
504 u32 bits, int wake, in clear_state_bit()
812 u64 start, u32 bits) in find_first_extent_bit_state()
838 u64 *start_ret, u64 *end_ret, u32 bits, in find_first_extent_bit()
890 u64 *start_ret, u64 *end_ret, u32 bits) in find_contiguous_extent_bit()
981 u32 bits, u64 *failed_start, in __set_extent_bit()
1231 u32 bits, u32 clear_bits, in convert_extent_bit()
1440 u64 *start_ret, u64 *end_ret, u32 bits) in find_first_clear_extent_bit()
[all …]
/openbmc/linux/tools/lib/
H A Dbitmap.c8 unsigned int __bitmap_weight(const unsigned long *bitmap, int bits) in __bitmap_weight()
22 const unsigned long *bitmap2, int bits) in __bitmap_or()
61 const unsigned long *bitmap2, unsigned int bits) in __bitmap_and()
76 const unsigned long *bitmap2, unsigned int bits) in __bitmap_equal()
91 const unsigned long *bitmap2, unsigned int bits) in __bitmap_intersects()
/openbmc/linux/fs/ocfs2/cluster/
H A Dmasklog.h118 #define __mlog_test_u64(mask, bits) \ argument
121 #define __mlog_set_u64(mask, bits) do { \ argument
125 #define __mlog_clear_u64(mask, bits) do { \ argument
138 #define __mlog_test_u64(mask, bits) ((mask) & bits.words[0]) argument
139 #define __mlog_set_u64(mask, bits) do { \ argument
142 #define __mlog_clear_u64(mask, bits) do { \ argument
/openbmc/linux/tools/testing/selftests/powerpc/primitives/
H A Dword-at-a-time.h60 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_t… in has_zero()
71 static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_a… in prep_zero_mask()
77 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask()
127 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask()
139 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_t… in has_zero()
146 static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_a… in prep_zero_mask()
/openbmc/linux/arch/powerpc/include/asm/
H A Dword-at-a-time.h60 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_t… in has_zero()
71 static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_a… in prep_zero_mask()
77 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask()
127 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask()
139 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_t… in has_zero()
146 static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_a… in prep_zero_mask()
/openbmc/linux/drivers/spi/
H A Dspi-bitbang-txrx.h51 u32 word, u8 bits) in bitbang_txrx_be_cpha0()
83 u32 word, u8 bits) in bitbang_txrx_be_cpha1()
115 u32 word, u8 bits) in bitbang_txrx_le_cpha0()
148 u32 word, u8 bits) in bitbang_txrx_le_cpha1()
H A Dspi-gpio.c135 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_txrx_word_mode0()
144 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_txrx_word_mode1()
153 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_txrx_word_mode2()
162 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_txrx_word_mode3()
181 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_spec_txrx_word_mode0()
191 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_spec_txrx_word_mode1()
201 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_spec_txrx_word_mode2()
211 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_spec_txrx_word_mode3()
H A Dspi-sh-sci.c39 static inline void setbits(struct sh_sci_spi *sp, int bits, int on) in setbits()
79 unsigned nsecs, u32 word, u8 bits, in sh_sci_spi_txrx_mode0()
86 unsigned nsecs, u32 word, u8 bits, in sh_sci_spi_txrx_mode1()
93 unsigned nsecs, u32 word, u8 bits, in sh_sci_spi_txrx_mode2()
100 unsigned nsecs, u32 word, u8 bits, in sh_sci_spi_txrx_mode3()
/openbmc/linux/drivers/iio/adc/
H A Dad7476.c167 #define _AD7476_CHAN(bits, _shift, _info_mask_sep) \ argument
182 #define ADC081S_CHAN(bits) _AD7476_CHAN((bits), 12 - (bits), \ argument
184 #define AD7476_CHAN(bits) _AD7476_CHAN((bits), 13 - (bits), \ argument
186 #define AD7940_CHAN(bits) _AD7476_CHAN((bits), 15 - (bits), \ argument
188 #define AD7091R_CHAN(bits) _AD7476_CHAN((bits), 16 - (bits), 0) argument
189 #define AD7091R_CONVST_CHAN(bits) _AD7476_CHAN((bits), 16 - (bits), \ argument
191 #define ADS786X_CHAN(bits) _AD7476_CHAN((bits), 12 - (bits), \ argument
/openbmc/linux/drivers/video/fbdev/core/
H A Dsysfillrect.c26 unsigned long pat, unsigned n, int bits) in bitfill_aligned()
72 unsigned long pat, int left, int right, unsigned n, int bits) in bitfill_unaligned()
126 unsigned long pat, unsigned n, int bits) in bitfill_aligned_rev()
183 int bits) in bitfill_unaligned_rev()
237 int bits = BITS_PER_LONG, bytes = bits >> 3; in sys_fillrect() local
H A Dcfbfillrect.c36 unsigned long pat, unsigned n, int bits, u32 bswapmask) in bitfill_aligned()
93 unsigned long pat, int left, int right, unsigned n, int bits) in bitfill_unaligned()
147 int dst_idx, unsigned long pat, unsigned n, int bits, in bitfill_aligned_rev()
219 unsigned n, int bits) in bitfill_unaligned_rev()
282 int bits = BITS_PER_LONG, bytes = bits >> 3; in cfb_fillrect() local
/openbmc/linux/arch/sparc/vdso/
H A Dvdso2c.c100 #define GBE(x, bits, ifnot) \ argument
111 #define PBE(x, val, bits, ifnot) \ argument
124 #define BITSFUNC3(name, bits, suffix) name##bits##suffix argument
125 #define BITSFUNC2(name, bits, suffix) BITSFUNC3(name, bits, suffix) argument
130 #define ELF_BITS_XFORM2(bits, x) Elf##bits##_##x argument
131 #define ELF_BITS_XFORM(bits, x) ELF_BITS_XFORM2(bits, x) argument
/openbmc/linux/arch/x86/entry/vdso/
H A Dvdso2c.c124 #define GLE(x, bits, ifnot) \ argument
136 #define PLE(x, val, bits, ifnot) \ argument
151 #define BITSFUNC3(name, bits, suffix) name##bits##suffix argument
152 #define BITSFUNC2(name, bits, suffix) BITSFUNC3(name, bits, suffix) argument
157 #define ELF_BITS_XFORM2(bits, x) Elf##bits##_##x argument
158 #define ELF_BITS_XFORM(bits, x) ELF_BITS_XFORM2(bits, x) argument
/openbmc/linux/drivers/net/wireguard/
H A Dallowedips.c13 static void swap_endian(u8 *dst, const u8 *src, u8 bits) in swap_endian()
24 u8 cidr, u8 bits) in copy_and_assign_cidr()
88 u8 bits) in common_bits()
100 u8 bits) in prefix_matches()
111 static struct allowedips_node *find_node(struct allowedips_node *trie, u8 bits, in find_node()
127 static struct wg_peer *lookup(struct allowedips_node __rcu *root, u8 bits, in lookup()
150 u8 cidr, u8 bits, struct allowedips_node **rnode, in node_placement()
181 static int add(struct allowedips_node __rcu **trie, u8 bits, const u8 *key, in add()
/openbmc/linux/arch/mips/vdso/
H A Dgenvdso.c77 #define BUILD_SWAP(bits) \ argument
87 #define __FUNC(name, bits) name##bits argument
88 #define _FUNC(name, bits) __FUNC(name, bits) argument
91 #define __ELF(x, bits) Elf##bits##_##x argument
92 #define _ELF(x, bits) __ELF(x, bits) argument
/openbmc/qemu/util/
H A Dbitmap.c41 int slow_bitmap_empty(const unsigned long *bitmap, long bits) in slow_bitmap_empty()
59 int slow_bitmap_full(const unsigned long *bitmap, long bits) in slow_bitmap_full()
79 const unsigned long *bitmap2, long bits) in slow_bitmap_equal()
99 long bits) in slow_bitmap_complement()
113 const unsigned long *bitmap2, long bits) in slow_bitmap_and()
126 const unsigned long *bitmap2, long bits) in slow_bitmap_or()
137 const unsigned long *bitmap2, long bits) in slow_bitmap_xor()
148 const unsigned long *bitmap2, long bits) in slow_bitmap_andnot()
386 const unsigned long *bitmap2, long bits) in slow_bitmap_intersects()
/openbmc/linux/drivers/net/fjes/
H A Dfjes_regs.h49 } bits; member
57 } bits; member
67 } bits; member
78 } bits; member
88 } bits; member
97 } bits; member
/openbmc/linux/drivers/iio/dac/
H A Dad5686.c191 #define AD5868_CHANNEL(chan, addr, bits, _shift) { \ argument
208 #define DECLARE_AD5693_CHANNELS(name, bits, _shift) \ argument
213 #define DECLARE_AD5338_CHANNELS(name, bits, _shift) \ argument
219 #define DECLARE_AD5686_CHANNELS(name, bits, _shift) \ argument
227 #define DECLARE_AD5676_CHANNELS(name, bits, _shift) \ argument
239 #define DECLARE_AD5679_CHANNELS(name, bits, _shift) \ argument
/openbmc/linux/arch/riscv/include/asm/
H A Dword-at-a-time.h21 unsigned long *bits, const struct word_at_a_time *c) in has_zero()
29 unsigned long bits, const struct word_at_a_time *c) in prep_zero_mask()
34 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask()
/openbmc/linux/arch/sh/include/asm/
H A Dword-at-a-time.h27 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_t… in has_zero()
34 static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_a… in prep_zero_mask()
39 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask()
/openbmc/linux/arch/arm64/include/asm/
H A Dword-at-a-time.h20 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, in has_zero()
28 #define prep_zero_mask(a, bits, c) (bits) argument
30 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask()

12345678910>>...46