| /linux/arch/x86/include/asm/ |
| H A D | word-at-a-time.h | 15 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_t… in has_zero() 22 static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_a… in prep_zero_mask() 30 #define create_zero_mask(bits) (bits) argument 32 static inline unsigned long zero_bytemask(unsigned long bits) in zero_bytemask() 38 #define find_zero(bits) (__ffs(bits) >> 3) argument 43 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask()
|
| /linux/tools/testing/selftests/bpf/libarena/src/ |
| H A D | bitmap.bpf.c | 13 struct arena_bitmap __arena *bmp_alloc(size_t bits) in bmp_alloc() 134 void bmp_clear(size_t bits, struct arena_bitmap __arena *bmp) in bmp_clear() 143 static __always_inline u64 bmp_last_word_mask(size_t bits) in bmp_last_word_mask() 151 void bmp_and(size_t bits, struct arena_bitmap __arena *dst, struct arena_bitmap __arena *src1, stru… in bmp_and() 164 void bmp_or(size_t bits, struct arena_bitmap __arena *dst, struct arena_bitmap __arena *src1, struc… in bmp_or() 177 bool bmp_empty(size_t bits, struct arena_bitmap __arena *bmp) in bmp_empty() 193 void bmp_copy(size_t bits, struct arena_bitmap __arena *dst, struct arena_bitmap __arena *src) in bmp_copy() 206 bool bmp_subset(size_t bits, struct arena_bitmap __arena *big, struct arena_bitmap __arena *small) in bmp_subset() 222 bool bmp_intersects(size_t bits, struct arena_bitmap __arena *arg1, struct arena_bitmap __arena *ar… in bmp_intersects() 238 void bmp_print(size_t bits, struct arena_bitmap __arena *bmp) in bmp_print()
|
| /linux/arch/arm64/include/asm/ |
| H A D | word-at-a-time.h | 21 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, in has_zero() 29 #define prep_zero_mask(a, bits, c) (bits) argument 30 #define create_zero_mask(bits) (bits) argument 31 #define find_zero(bits) (__ffs(bits) >> 3) argument 33 static inline unsigned long zero_bytemask(unsigned long bits) in zero_bytemask()
|
| /linux/lib/ |
| H A D | bitmap.c | 38 const unsigned long *bitmap2, unsigned int bits) in __bitmap_equal() 56 unsigned int bits) in __bitmap_or_equal() 74 void __bitmap_complement(unsigned long *dst, const unsigned long *src, unsigned int bits) in __bitmap_complement() 231 const unsigned long *bitmap2, unsigned int bits) in __bitmap_and() 247 const unsigned long *bitmap2, unsigned int bits) in __bitmap_or() 258 const unsigned long *bitmap2, unsigned int bits) in __bitmap_xor() 269 const unsigned long *bitmap2, unsigned int bits) in __bitmap_andnot() 297 const unsigned long *bitmap2, unsigned int bits) in __bitmap_intersects() 312 const unsigned long *bitmap2, unsigned int bits) in __bitmap_subset() 326 #define BITMAP_WEIGHT(FETCH, bits) \ argument [all …]
|
| /linux/include/linux/ |
| H A D | hash.h | 16 #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/tools/include/linux/ |
| H A D | hash.h | 16 #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/fs/btrfs/ |
| H A D | extent-io-tree.c | 186 static int add_extent_changeset(struct extent_state *state, u32 bits, in add_extent_changeset() 407 u32 bits, struct extent_changeset *changeset) in set_state_bits() 438 u32 bits, in insert_state() 498 struct rb_node *parent, unsigned bits, in insert_state_fast() 564 struct extent_state *state, u32 bits) in state_wake_up() 602 u32 bits, u64 end, in clear_state_bit() 636 static void set_gfp_mask_from_bits(u32 *bits, gfp_t *mask) in set_gfp_mask_from_bits() 652 u32 bits, struct extent_state **cached_state, in btrfs_clear_extent_bit_changeset() 889 u32 bits, struct extent_state **cached_state) in wait_extent_bit() 976 u64 start, u32 bits) in find_first_extent_bit_state() [all …]
|
| /linux/tools/lib/ |
| H A D | bitmap.c | 8 unsigned int __bitmap_weight(const unsigned long *bitmap, int bits) in __bitmap_weight() argument 22 const unsigned long *bitmap2, int bits) in __bitmap_or() argument 61 const unsigned long *bitmap2, unsigned int bits) in __bitmap_and() argument 76 __bitmap_equal(const unsigned long * bitmap1,const unsigned long * bitmap2,unsigned int bits) __bitmap_equal() argument 91 __bitmap_intersects(const unsigned long * bitmap1,const unsigned long * bitmap2,unsigned int bits) __bitmap_intersects() argument 145 __bitmap_andnot(unsigned long * dst,const unsigned long * bitmap1,const unsigned long * bitmap2,unsigned int bits) __bitmap_andnot() argument 160 __bitmap_subset(const unsigned long * bitmap1,const unsigned long * bitmap2,unsigned int bits) __bitmap_subset() argument [all...] |
| /linux/include/sound/ |
| H A D | cs8403.h | 24 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/ |
| H A D | word-at-a-time.h | 22 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/drivers/spi/ |
| H A D | spi-gpio.c | 106 unsigned int nsecs, u32 word, u8 bits, unsigned int flags) in spi_gpio_txrx_word_mode0() 115 unsigned int nsecs, u32 word, u8 bits, unsigned int flags) in spi_gpio_txrx_word_mode1() 124 unsigned int nsecs, u32 word, u8 bits, unsigned int flags) in spi_gpio_txrx_word_mode2() 133 unsigned int nsecs, u32 word, u8 bits, unsigned int flags) in spi_gpio_txrx_word_mode3() 152 unsigned int nsecs, u32 word, u8 bits, unsigned int flags) in spi_gpio_spec_txrx_word_mode0() 162 unsigned int nsecs, u32 word, u8 bits, unsigned int flags) in spi_gpio_spec_txrx_word_mode1() 172 unsigned int nsecs, u32 word, u8 bits, unsigned int flags) in spi_gpio_spec_txrx_word_mode2() 182 unsigned int nsecs, u32 word, u8 bits, unsigned int flags) in spi_gpio_spec_txrx_word_mode3()
|
| H A D | spi-bitbang-txrx.h | 51 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()
|
| /linux/tools/testing/selftests/powerpc/primitives/ |
| H A D | word-at-a-time.h | 60 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/ |
| H A D | word-at-a-time.h | 60 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/net/fjes/ |
| H A D | fjes_regs.h | 49 } bits; member 57 } bits; member 67 } bits; member 78 } bits; member 88 } bits; member 97 } bits; member
|
| /linux/fs/jffs2/ |
| H A D | compr_rubin.c | 44 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() 303 int bits[8]; in jffs2_dynrubin_compress() local 363 static void rubin_do_decompress(int bit_divider, int *bits, in rubin_do_decompress() 392 int bits[8]; in jffs2_dynrubin_decompress() local
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
| H A D | uconn.c | 34 nvkm_uconn_uevent_gsp(struct nvkm_object *object, u64 token, u32 bits) in nvkm_uconn_uevent_gsp() 51 nvkm_uconn_uevent_aux(struct nvkm_object *object, u64 token, u32 bits) in nvkm_uconn_uevent_aux() 68 nvkm_uconn_uevent_gpio(struct nvkm_object *object, u64 token, u32 bits) in nvkm_uconn_uevent_gpio() 102 u64 bits = 0; in nvkm_uconn_uevent() local
|
| /linux/arch/riscv/include/asm/ |
| H A D | word-at-a-time.h | 23 unsigned long *bits, const struct word_at_a_time *c) in has_zero() 31 unsigned long bits, const struct word_at_a_time *c) in prep_zero_mask() 36 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask()
|
| /linux/arch/sh/include/asm/ |
| H A D | word-at-a-time.h | 29 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_t… in has_zero() 36 static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_a… in prep_zero_mask() 41 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask()
|
| /linux/arch/arm/include/asm/ |
| H A D | word-at-a-time.h | 20 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/drivers/block/drbd/ |
| H A D | drbd_vli.h | 207 static inline void bitstream_cursor_advance(struct bitstream_cursor *cur, unsigned int bits) in bitstream_cursor_advance() 248 static inline int bitstream_put_bits(struct bitstream *bs, u64 val, const unsigned int bits) in bitstream_put_bits() 281 static inline int bitstream_get_bits(struct bitstream *bs, u64 *out, int bits) in bitstream_get_bits() 331 int bits = __vli_encode_bits(&code, in); in vli_encode_bits() local
|
| /linux/drivers/dma/idxd/ |
| H A D | registers.h | 50 u64 bits; member 70 u64 bits; member 84 u64 bits; member 93 u64 bits; member 102 u64 bits[4]; member 119 u64 bits[2]; member 133 u32 bits; member 144 u32 bits; member 154 u32 bits; member 188 u32 bits; member [all …]
|
| /linux/drivers/clk/at91/ |
| H A D | sckc.c | 34 const struct clk_slow_bits *bits; member 43 const struct clk_slow_bits *bits; member 53 const struct clk_slow_bits *bits; member 64 const struct clk_slow_bits *bits; member 125 const struct clk_slow_bits *bits) in at91_clk_register_slow_osc() 232 const struct clk_slow_bits *bits) in at91_clk_register_slow_rc_osc() 325 const struct clk_slow_bits *bits) in at91_clk_register_sam9x5_slow() 370 const struct clk_slow_bits *bits) in at91sam9x5_sckc_register()
|
| /linux/drivers/gpio/ |
| H A D | gpio-mmio.c | 150 unsigned long *bits) in gpio_mmio_get_set_multiple() 180 unsigned long *bits) in gpio_mmio_get_multiple() 194 unsigned long *bits) in gpio_mmio_get_multiple_be() 276 unsigned long *bits, in gpio_mmio_multiple_get_masks() 296 unsigned long *bits, in gpio_mmio_set_multiple_single_reg() 313 unsigned long *bits) in gpio_mmio_set_multiple() 323 unsigned long *bits) in gpio_mmio_set_multiple_set() 334 unsigned long *bits) in gpio_mmio_set_multiple_with_clear()
|
| /linux/drivers/iio/dac/ |
| H A D | ad5446.h | 15 #define _AD5446_CHANNEL(bits, storage, _shift, ext) { \ argument 31 #define AD5446_CHANNEL(bits, storage, shift) \ argument 34 #define AD5446_CHANNEL_POWERDOWN(bits, storage, shift) \ argument
|