| /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() argument 134 bmp_clear(size_t bits,struct arena_bitmap __arena * bmp) bmp_clear() argument 143 bmp_last_word_mask(size_t bits) bmp_last_word_mask() argument 151 bmp_and(size_t bits,struct arena_bitmap __arena * dst,struct arena_bitmap __arena * src1,struct arena_bitmap __arena * src2) bmp_and() argument 164 bmp_or(size_t bits,struct arena_bitmap __arena * dst,struct arena_bitmap __arena * src1,struct arena_bitmap __arena * src2) bmp_or() argument 177 bmp_empty(size_t bits,struct arena_bitmap __arena * bmp) bmp_empty() argument 193 bmp_copy(size_t bits,struct arena_bitmap __arena * dst,struct arena_bitmap __arena * src) bmp_copy() argument 206 bmp_subset(size_t bits,struct arena_bitmap __arena * big,struct arena_bitmap __arena * small) bmp_subset() argument 222 bmp_intersects(size_t bits,struct arena_bitmap __arena * arg1,struct arena_bitmap __arena * arg2) bmp_intersects() argument 238 bmp_print(size_t bits,struct arena_bitmap __arena * bmp) bmp_print() argument [all...] |
| /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() 313 const unsigned long *bitmap3, unsigned int bits) in __bitmap_intersects_and() 329 const unsigned long *bitmap2, unsigned int bits) in __bitmap_subset() [all …]
|
| /linux/arch/arm64/include/asm/ |
| H A D | word-at-a-time.h | 19 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 28 #define create_zero_mask(bits) (bits) argument 29 #define find_zero(bits) (__ffs(bits) >> 3) argument 31 static inline unsigned long zero_bytemask(unsigned long bits) in zero_bytemask()
|
| /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() argument 407 u32 bits, struct extent_changeset *changeset) in set_state_bits() argument 438 u32 bits, in insert_state() argument 498 insert_state_fast(struct extent_io_tree * tree,struct extent_state * state,struct rb_node ** node,struct rb_node * parent,unsigned bits,struct extent_changeset * changeset) insert_state_fast() argument 564 state_wake_up(struct extent_io_tree * tree,struct extent_state * state,u32 bits) state_wake_up() argument 602 clear_state_bit(struct extent_io_tree * tree,struct extent_state * state,u32 bits,u64 end,struct extent_changeset * changeset) clear_state_bit() argument 636 set_gfp_mask_from_bits(u32 * bits,gfp_t * mask) set_gfp_mask_from_bits() argument 652 btrfs_clear_extent_bit_changeset(struct extent_io_tree * tree,u64 start,u64 end,u32 bits,struct extent_state ** cached_state,struct extent_changeset * changeset) btrfs_clear_extent_bit_changeset() argument 889 wait_extent_bit(struct extent_io_tree * tree,u64 start,u64 end,u32 bits,struct extent_state ** cached_state) wait_extent_bit() argument 976 find_first_extent_bit_state(struct extent_io_tree * tree,u64 start,u32 bits) find_first_extent_bit_state() argument 1002 btrfs_find_first_extent_bit(struct extent_io_tree * tree,u64 start,u64 * start_ret,u64 * end_ret,u32 bits,struct extent_state ** cached_state) btrfs_find_first_extent_bit() argument 1066 btrfs_find_contiguous_extent_bit(struct extent_io_tree * tree,u64 start,u64 * start_ret,u64 * end_ret,u32 bits) btrfs_find_contiguous_extent_bit() argument 1159 set_extent_bit(struct extent_io_tree * tree,u64 start,u64 end,u32 bits,u64 * failed_start,struct extent_state ** failed_state,struct extent_state ** cached_state,struct extent_changeset * changeset) set_extent_bit() argument 1407 btrfs_set_extent_bit(struct extent_io_tree * tree,u64 start,u64 end,u32 bits,struct extent_state ** cached_state) btrfs_set_extent_bit() argument 1431 btrfs_convert_extent_bit(struct extent_io_tree * tree,u64 start,u64 end,u32 bits,u32 clear_bits,struct extent_state ** cached_state) btrfs_convert_extent_bit() argument 1660 btrfs_find_first_clear_extent_bit(struct extent_io_tree * tree,u64 start,u64 * start_ret,u64 * end_ret,u32 bits) btrfs_find_first_clear_extent_bit() argument 1779 btrfs_count_range_bits(struct extent_io_tree * tree,u64 * start,u64 search_end,u64 max_bytes,u32 bits,bool contig,struct extent_state ** cached_state) btrfs_count_range_bits() argument 1891 btrfs_get_range_bits(struct extent_io_tree * tree,u64 start,u64 end,u32 * bits,struct extent_state ** cached_state) btrfs_get_range_bits() argument 1971 btrfs_set_record_extent_bits(struct extent_io_tree * tree,u64 start,u64 end,u32 bits,struct extent_changeset * changeset) btrfs_set_record_extent_bits() argument 1984 btrfs_clear_record_extent_bits(struct extent_io_tree * tree,u64 start,u64 end,u32 bits,struct extent_changeset * changeset) btrfs_clear_record_extent_bits() argument 1996 btrfs_try_lock_extent_bits(struct extent_io_tree * tree,u64 start,u64 end,u32 bits,struct extent_state ** cached) btrfs_try_lock_extent_bits() argument 2015 btrfs_lock_extent_bits(struct extent_io_tree * tree,u64 start,u64 end,u32 bits,struct extent_state ** cached_state) btrfs_lock_extent_bits() argument [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() argument 115 unsigned int nsecs, u32 word, u8 bits, unsigned int flags) in spi_gpio_txrx_word_mode1() argument 124 unsigned int nsecs, u32 word, u8 bits, unsigned int flags) in spi_gpio_txrx_word_mode2() argument 133 unsigned int nsecs, u32 word, u8 bits, unsigne in spi_gpio_txrx_word_mode3() argument 152 spi_gpio_spec_txrx_word_mode0(struct spi_device * spi,unsigned int nsecs,u32 word,u8 bits,unsigned int flags) spi_gpio_spec_txrx_word_mode0() argument 162 spi_gpio_spec_txrx_word_mode1(struct spi_device * spi,unsigned int nsecs,u32 word,u8 bits,unsigned int flags) spi_gpio_spec_txrx_word_mode1() argument 172 spi_gpio_spec_txrx_word_mode2(struct spi_device * spi,unsigned int nsecs,u32 word,u8 bits,unsigned int flags) spi_gpio_spec_txrx_word_mode2() argument 182 spi_gpio_spec_txrx_word_mode3(struct spi_device * spi,unsigned int nsecs,u32 word,u8 bits,unsigned int flags) spi_gpio_spec_txrx_word_mode3() argument [all...] |
| 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 at91_clk_register_slow_osc(void __iomem * sckcr,const char * name,const struct clk_parent_data * parent_data,unsigned long startup,bool bypass,const struct clk_slow_bits * bits) at91_clk_register_slow_osc() argument 232 at91_clk_register_slow_rc_osc(void __iomem * sckcr,const char * name,unsigned long frequency,unsigned long accuracy,unsigned long startup,const struct clk_slow_bits * bits) at91_clk_register_slow_rc_osc() argument 325 at91_clk_register_sam9x5_slow(void __iomem * sckcr,const char * name,const struct clk_hw ** parent_hws,int num_parents,const struct clk_slow_bits * bits) at91_clk_register_sam9x5_slow() argument 370 at91sam9x5_sckc_register(struct device_node * np,unsigned int rc_osc_startup_us,const struct clk_slow_bits * bits) at91sam9x5_sckc_register() argument [all...] |
| /linux/drivers/gpio/ |
| H A D | gpio-mmio.c | 150 gpio_mmio_get_set_multiple(struct gpio_chip * gc,unsigned long * mask,unsigned long * bits) gpio_mmio_get_set_multiple() argument 180 gpio_mmio_get_multiple(struct gpio_chip * gc,unsigned long * mask,unsigned long * bits) gpio_mmio_get_multiple() argument 194 gpio_mmio_get_multiple_be(struct gpio_chip * gc,unsigned long * mask,unsigned long * bits) gpio_mmio_get_multiple_be() argument 276 gpio_mmio_multiple_get_masks(struct gpio_chip * gc,unsigned long * mask,unsigned long * bits,unsigned long * set_mask,unsigned long * clear_mask) gpio_mmio_multiple_get_masks() argument 296 gpio_mmio_set_multiple_single_reg(struct gpio_chip * gc,unsigned long * mask,unsigned long * bits,void __iomem * reg) gpio_mmio_set_multiple_single_reg() argument 313 gpio_mmio_set_multiple(struct gpio_chip * gc,unsigned long * mask,unsigned long * bits) gpio_mmio_set_multiple() argument 323 gpio_mmio_set_multiple_set(struct gpio_chip * gc,unsigned long * mask,unsigned long * bits) gpio_mmio_set_multiple_set() argument 334 gpio_mmio_set_multiple_with_clear(struct gpio_chip * gc,unsigned long * mask,unsigned long * bits) gpio_mmio_set_multiple_with_clear() argument [all...] |
| /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
|