Home
last modified time | relevance | path

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

12345678910>>...38

/Linux-v5.10/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
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-v5.10/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
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-v5.10/drivers/gpu/drm/i915/
Di915_irq.h47 ilk_enable_display_irq(struct drm_i915_private *dev_priv, u32 bits) in ilk_enable_display_irq()
52 ilk_disable_display_irq(struct drm_i915_private *dev_priv, u32 bits) in ilk_disable_display_irq()
61 enum pipe pipe, u32 bits) in bdw_enable_pipe_irq()
66 enum pipe pipe, u32 bits) in bdw_disable_pipe_irq()
74 ibx_enable_display_interrupt(struct drm_i915_private *dev_priv, u32 bits) in ibx_enable_display_interrupt()
79 ibx_disable_display_interrupt(struct drm_i915_private *dev_priv, u32 bits) in ibx_disable_display_interrupt()
/Linux-v5.10/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-v5.10/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-v5.10/fs/ocfs2/cluster/
Dmasklog.h120 #define __mlog_test_u64(mask, bits) \ argument
123 #define __mlog_set_u64(mask, bits) do { \ argument
127 #define __mlog_clear_u64(mask, bits) do { \ argument
140 #define __mlog_test_u64(mask, bits) ((mask) & bits.words[0]) argument
141 #define __mlog_set_u64(mask, bits) do { \ argument
144 #define __mlog_clear_u64(mask, bits) do { \ argument
/Linux-v5.10/drivers/iio/adc/
Dad7476.c161 #define _AD7476_CHAN(bits, _shift, _info_mask_sep) \ argument
176 #define ADC081S_CHAN(bits) _AD7476_CHAN((bits), 12 - (bits), \ argument
178 #define AD7476_CHAN(bits) _AD7476_CHAN((bits), 13 - (bits), \ argument
180 #define AD7940_CHAN(bits) _AD7476_CHAN((bits), 15 - (bits), \ argument
182 #define AD7091R_CHAN(bits) _AD7476_CHAN((bits), 16 - (bits), 0) argument
183 #define AD7091R_CONVST_CHAN(bits) _AD7476_CHAN((bits), 16 - (bits), \ argument
185 #define ADS786X_CHAN(bits) _AD7476_CHAN((bits), 12 - (bits), \ argument
/Linux-v5.10/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-v5.10/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-v5.10/drivers/video/fbdev/core/
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
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-v5.10/drivers/spi/
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()
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()
64 unsigned bits = t->bits_per_word; in bitbang_txrx_8() local
86 u32 word, u8 bits, in bitbang_txrx_16()
92 unsigned bits = t->bits_per_word; in bitbang_txrx_16() local
114 u32 word, u8 bits, in bitbang_txrx_32()
120 unsigned bits = t->bits_per_word; in bitbang_txrx_32() local
/Linux-v5.10/drivers/net/wireguard/
Dallowedips.c9 static void swap_endian(u8 *dst, const u8 *src, u8 bits) in swap_endian()
20 u8 cidr, u8 bits) in copy_and_assign_cidr()
129 u8 bits) in common_bits()
141 u8 bits) in prefix_matches()
152 static struct allowedips_node *find_node(struct allowedips_node *trie, u8 bits, in find_node()
168 static struct wg_peer *lookup(struct allowedips_node __rcu *root, u8 bits, in lookup()
191 u8 cidr, u8 bits, struct allowedips_node **rnode, in node_placement()
212 static int add(struct allowedips_node __rcu **trie, u8 bits, const u8 *key, in add()
/Linux-v5.10/tools/lib/
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()
/Linux-v5.10/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-v5.10/arch/x86/entry/vdso/
Dvdso2c.c122 #define GLE(x, bits, ifnot) \ argument
134 #define PLE(x, val, bits, ifnot) \ argument
149 #define BITSFUNC3(name, bits, suffix) name##bits##suffix argument
150 #define BITSFUNC2(name, bits, suffix) BITSFUNC3(name, bits, suffix) argument
155 #define ELF_BITS_XFORM2(bits, x) Elf##bits##_##x argument
156 #define ELF_BITS_XFORM(bits, x) ELF_BITS_XFORM2(bits, x) argument
/Linux-v5.10/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-v5.10/drivers/net/fjes/
Dfjes_regs.h49 } bits; member
57 } bits; member
67 } bits; member
78 } bits; member
88 } bits; member
97 } bits; member
/Linux-v5.10/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-v5.10/arch/sh/include/asm/
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-v5.10/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-v5.10/arch/arm64/include/asm/
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()
/Linux-v5.10/arch/arm/include/asm/
Dword-at-a-time.h19 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, in has_zero()
27 #define prep_zero_mask(a, bits, c) (bits) argument
29 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask()

12345678910>>...38