Home
last modified time | relevance | path

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

12345678910>>...41

/linux-6.6.21/tools/include/linux/
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()
/linux-6.6.21/include/linux/
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()
/linux-6.6.21/fs/btrfs/
Dextent-io-tree.c178 static int add_extent_changeset(struct extent_state *state, u32 bits, in add_extent_changeset()
370 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()
539 static void set_gfp_mask_from_bits(u32 *bits, gfp_t *mask) in set_gfp_mask_from_bits()
558 u32 bits, struct extent_state **cached_state, in __clear_extent_bit()
729 void wait_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, u32 bits, in wait_extent_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()
[all …]
/linux-6.6.21/include/sound/
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
/linux-6.6.21/arch/alpha/include/asm/
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()
/linux-6.6.21/tools/lib/
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()
/linux-6.6.21/fs/ocfs2/cluster/
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
/linux-6.6.21/tools/testing/selftests/powerpc/primitives/
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()
/linux-6.6.21/arch/powerpc/include/asm/
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()
/linux-6.6.21/drivers/iio/adc/
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
/linux-6.6.21/drivers/spi/
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()
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()
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()
Dspi-bitbang.c58 u32 word, u8 bits, in bitbang_txrx_8()
65 unsigned bits = t->bits_per_word; in bitbang_txrx_8() local
87 u32 word, u8 bits, in bitbang_txrx_16()
94 unsigned bits = t->bits_per_word; in bitbang_txrx_16() local
116 u32 word, u8 bits, in bitbang_txrx_32()
123 unsigned bits = t->bits_per_word; in bitbang_txrx_32() local
/linux-6.6.21/drivers/video/fbdev/core/
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
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
/linux-6.6.21/arch/sparc/vdso/
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
/linux-6.6.21/drivers/net/wireguard/
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()
/linux-6.6.21/arch/x86/entry/vdso/
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
/linux-6.6.21/arch/mips/vdso/
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
/linux-6.6.21/drivers/net/fjes/
Dfjes_regs.h49 } bits; member
57 } bits; member
67 } bits; member
78 } bits; member
88 } bits; member
97 } bits; member
/linux-6.6.21/drivers/iio/dac/
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
/linux-6.6.21/fs/jffs2/
Dcompr_rubin.c44 int bits[8]; member
88 static void init_rubin(struct rubin_state *rs, int div, int *bits) in init_rubin()
151 static void init_decode(struct rubin_state *rs, int div, int *bits) in init_decode()
168 int c, bits = 0; in __do_decode() local
262 static int rubin_do_compress(int bit_divider, int *bits, unsigned char *data_in, in rubin_do_compress()
308 int bits[8]; in jffs2_dynrubin_compress() local
368 static void rubin_do_decompress(int bit_divider, int *bits, in rubin_do_decompress()
397 int bits[8]; in jffs2_dynrubin_decompress() local
/linux-6.6.21/arch/riscv/include/asm/
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()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/hw/
Dcursor_reg_cache.h19 } bits; member
28 } bits; member
35 } bits; member
42 } bits; member
55 } bits; member
63 } bits; member
83 } bits; member

12345678910>>...41