Home
last modified time | relevance | path

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

12345678910>>...40

/linux/tools/include/linux/
A Dhash.h16 #define hash_long(val, bits) hash_32(val, bits) argument
18 #define hash_long(val, bits) hash_64(val, bits) argument
68 static inline u32 hash_32_generic(u32 val, unsigned int bits) in hash_32_generic()
77 static __always_inline u32 hash_64_generic(u64 val, unsigned int bits) in hash_64_generic()
88 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr()
/linux/include/linux/
A Dhash.h16 #define hash_long(val, bits) hash_32(val, bits) argument
18 #define hash_long(val, bits) hash_64(val, bits) argument
68 static inline u32 hash_32_generic(u32 val, unsigned int bits) in hash_32_generic()
77 static __always_inline u32 hash_64_generic(u64 val, unsigned int bits) in hash_64_generic()
88 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr()
/linux/include/sound/
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
/linux/arch/alpha/include/asm/
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()
/linux/tools/lib/
A Dbitmap.c8 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/fs/ocfs2/cluster/
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
/linux/tools/testing/selftests/powerpc/primitives/
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()
/linux/arch/powerpc/include/asm/
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()
/linux/drivers/iio/adc/
A Dad7476.c168 #define _AD7476_CHAN(bits, _shift, _info_mask_sep) \ argument
183 #define ADC081S_CHAN(bits) _AD7476_CHAN((bits), 12 - (bits), \ argument
185 #define AD7476_CHAN(bits) _AD7476_CHAN((bits), 13 - (bits), \ argument
187 #define AD7940_CHAN(bits) _AD7476_CHAN((bits), 15 - (bits), \ argument
189 #define AD7091R_CHAN(bits) _AD7476_CHAN((bits), 16 - (bits), 0) argument
190 #define AD7091R_CONVST_CHAN(bits) _AD7476_CHAN((bits), 16 - (bits), \ argument
192 #define ADS786X_CHAN(bits) _AD7476_CHAN((bits), 12 - (bits), \ argument
/linux/drivers/video/fbdev/core/
A Dsysfillrect.c26 unsigned long pat, unsigned n, int bits) in bitfill_aligned()
82 unsigned long pat, int left, int right, unsigned n, int bits) in bitfill_unaligned()
136 unsigned long pat, unsigned n, int bits) in bitfill_aligned_rev()
193 int bits) in bitfill_unaligned_rev()
247 int bits = BITS_PER_LONG, bytes = bits >> 3; in sys_fillrect() local
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
/linux/drivers/spi/
A Dspi-gpio.c136 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_txrx_word_mode0()
142 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_txrx_word_mode1()
148 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_txrx_word_mode2()
154 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_txrx_word_mode3()
170 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_spec_txrx_word_mode0()
177 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_spec_txrx_word_mode1()
184 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_spec_txrx_word_mode2()
191 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_spec_txrx_word_mode3()
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()
A 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/arch/sparc/vdso/
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
/linux/drivers/net/wireguard/
A Dallowedips.c11 static void swap_endian(u8 *dst, const u8 *src, u8 bits) in swap_endian()
22 u8 cidr, u8 bits) in copy_and_assign_cidr()
85 u8 bits) in common_bits()
97 u8 bits) in prefix_matches()
108 static struct allowedips_node *find_node(struct allowedips_node *trie, u8 bits, in find_node()
124 static struct wg_peer *lookup(struct allowedips_node __rcu *root, u8 bits, in lookup()
147 u8 cidr, u8 bits, struct allowedips_node **rnode, in node_placement()
178 static int add(struct allowedips_node __rcu **trie, u8 bits, const u8 *key, in add()
/linux/arch/x86/entry/vdso/
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
/linux/arch/mips/vdso/
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
/linux/drivers/iio/dac/
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
/linux/drivers/net/fjes/
A Dfjes_regs.h49 } bits; member
57 } bits; member
67 } bits; member
78 } bits; member
88 } bits; member
97 } bits; member
/linux/arch/riscv/include/asm/
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()
/linux/fs/jffs2/
A 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/drivers/gpu/drm/amd/display/dc/
A Ddc_dp_types.h202 } bits; member
211 } bits; member
221 } bits; member
231 } bits; member
239 } bits; member
249 } bits; member
263 } bits; member
277 } bits; member
286 } bits; member
304 } bits; member
[all …]
/linux/arch/sh/include/asm/
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()
/linux/arch/arm64/include/asm/
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()

Completed in 46 milliseconds

12345678910>>...40