Home
last modified time | relevance | path

Searched defs:nbits (Results 1 – 25 of 113) sorted by relevance

12345

/OK3568_Linux_fs/kernel/include/linux/
H A Dbitmap.h233 #define BITMAP_LAST_WORD_MASK(nbits) (~0UL >> (-(nbits) & (BITS_PER_LONG - 1))) argument
240 #define small_const_nbits(nbits) \ argument
243 static inline void bitmap_zero(unsigned long *dst, unsigned int nbits) in bitmap_zero()
249 static inline void bitmap_fill(unsigned long *dst, unsigned int nbits) in bitmap_fill()
256 unsigned int nbits) in bitmap_copy()
266 const unsigned long *src, unsigned int nbits) in bitmap_copy_clear_tail()
283 #define bitmap_from_arr32(bitmap, buf, nbits) \ argument
286 #define bitmap_to_arr32(buf, bitmap, nbits) \ argument
292 const unsigned long *src2, unsigned int nbits) in bitmap_and()
300 const unsigned long *src2, unsigned int nbits) in bitmap_or()
[all …]
H A Dnodemask.h140 static inline void __nodes_setall(nodemask_t *dstp, unsigned int nbits) in __nodes_setall()
146 static inline void __nodes_clear(nodemask_t *dstp, unsigned int nbits) in __nodes_clear()
164 const nodemask_t *src2p, unsigned int nbits) in __nodes_and()
172 const nodemask_t *src2p, unsigned int nbits) in __nodes_or()
180 const nodemask_t *src2p, unsigned int nbits) in __nodes_xor()
188 const nodemask_t *src2p, unsigned int nbits) in __nodes_andnot()
196 const nodemask_t *srcp, unsigned int nbits) in __nodes_complement()
204 const nodemask_t *src2p, unsigned int nbits) in __nodes_equal()
212 const nodemask_t *src2p, unsigned int nbits) in __nodes_intersects()
220 const nodemask_t *src2p, unsigned int nbits) in __nodes_subset()
[all …]
H A Dmpi.h32 int nbits; /* the real number of valid bits (info only) */ member
51 static inline MPI mpi_new(unsigned int nbits) in mpi_new()
200 unsigned int nbits; /* Number of bits. */ member
/OK3568_Linux_fs/kernel/tools/include/linux/
H A Dbitmap.h24 #define BITMAP_LAST_WORD_MASK(nbits) \ argument
30 #define small_const_nbits(nbits) \ argument
33 static inline void bitmap_zero(unsigned long *dst, int nbits) in bitmap_zero()
43 static inline void bitmap_fill(unsigned long *dst, unsigned int nbits) in bitmap_fill()
53 static inline int bitmap_empty(const unsigned long *src, unsigned nbits) in bitmap_empty()
61 static inline int bitmap_full(const unsigned long *src, unsigned int nbits) in bitmap_full()
69 static inline int bitmap_weight(const unsigned long *src, int nbits) in bitmap_weight()
77 const unsigned long *src2, int nbits) in bitmap_or()
123 static inline unsigned long *bitmap_alloc(int nbits) in bitmap_alloc()
155 const unsigned long *src2, unsigned int nbits) in bitmap_and()
[all …]
/OK3568_Linux_fs/kernel/net/ethtool/
H A Dbitset.c128 static void ethnl_bitmap32_update(u32 *dst, unsigned int nbits, in ethnl_bitmap32_update()
171 int ethnl_bitset32_size(const u32 *val, const u32 *mask, unsigned int nbits, in ethnl_bitset32_size()
233 const u32 *mask, unsigned int nbits, in ethnl_put_bitset32()
377 static int ethnl_parse_bit(unsigned int *index, bool *val, unsigned int nbits, in ethnl_parse_bit()
429 ethnl_update_bitset32_verbose(u32 *bitmap, unsigned int nbits, in ethnl_update_bitset32_verbose()
480 static int ethnl_compact_sanity_checks(unsigned int nbits, in ethnl_compact_sanity_checks()
552 int ethnl_update_bitset32(u32 *bitmap, unsigned int nbits, in ethnl_update_bitset32()
605 unsigned int nbits, const struct nlattr *attr, in ethnl_parse_bitset()
700 unsigned int nbits, ethnl_string_array_t names, in ethnl_bitset_size()
736 unsigned int nbits, ethnl_string_array_t names, in ethnl_put_bitset()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/
H A Dbitstring.h52 #define bitstr_size(nbits) \ argument
56 #define bit_alloc(nbits) \ argument
60 #define bit_decl(name, nbits) \ argument
110 #define bit_ffc(name, nbits, value) do { \ argument
129 #define bit_ffs(name, nbits, value) do { \ argument
/OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/include/
H A Dbitstring.h51 #define bitstr_size(nbits) \ argument
55 #define bit_alloc(nbits) \ argument
59 #define bit_decl(name, nbits) \ argument
109 #define bit_ffc(name, nbits, value) do { \ argument
128 #define bit_ffs(name, nbits, value) do { \ argument
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/
H A Dbitstring.h52 #define bitstr_size(nbits) \ argument
56 #define bit_alloc(nbits) \ argument
60 #define bit_decl(name, nbits) \ argument
110 #define bit_ffc(name, nbits, value) do { \ argument
129 #define bit_ffs(name, nbits, value) do { \ argument
/OK3568_Linux_fs/kernel/lib/
H A Dbitmap.c104 unsigned shift, unsigned nbits) in __bitmap_shift_right()
149 unsigned int shift, unsigned int nbits) in __bitmap_shift_left()
211 unsigned int first, unsigned int cut, unsigned int nbits) in bitmap_cut()
296 const unsigned long *mask, unsigned int nbits) in __bitmap_replace()
505 unsigned long *bitmap, int nbits) in bitmap_set_region()
798 static int bitmap_pos_to_ord(const unsigned long *buf, unsigned int pos, unsigned int nbits) in bitmap_pos_to_ord()
824 unsigned int bitmap_ord_to_pos(const unsigned long *buf, unsigned int ord, unsigned int nbits) in bitmap_ord_to_pos()
870 unsigned int nbits) in bitmap_remap()
1072 unsigned int sz, unsigned int nbits) in bitmap_fold()
1234 void bitmap_copy_le(unsigned long *dst, const unsigned long *src, unsigned int nbits) in bitmap_copy_le()
[all …]
H A Dtest_bitmap.c73 unsigned int nbits) in __check_eq_bitmap()
87 const unsigned long *bitmap, unsigned int nbits) in __check_eq_pbl()
276 unsigned int nbits = 64; in test_replace() local
306 const int nbits; member
471 unsigned int nbits, next_bit; in test_bitmap_arr32() local
499 unsigned int start, nbits; in test_mem_optimisations() local
568 unsigned int nbits; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Ddata-streamer.h104 bp_pack_value (struct bitpack_d *bp, bitpack_word_t val, unsigned nbits) in bp_pack_value()
136 unsigned nbits) in bp_pack_poly_value()
165 bp_unpack_value (struct bitpack_d *bp, unsigned nbits) in bp_unpack_value()
193 bp_unpack_poly_value (struct bitpack_d *bp, unsigned nbits) in bp_unpack_poly_value()
280 int nbits = floor_log2 (range) + 1; in bp_pack_int_in_range() local
299 int nbits = floor_log2 (range) + 1; in bp_unpack_int_in_range() local
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Ddata-streamer.h104 bp_pack_value (struct bitpack_d *bp, bitpack_word_t val, unsigned nbits) in bp_pack_value()
136 unsigned nbits) in bp_pack_poly_value()
165 bp_unpack_value (struct bitpack_d *bp, unsigned nbits) in bp_unpack_value()
193 bp_unpack_poly_value (struct bitpack_d *bp, unsigned nbits) in bp_unpack_poly_value()
280 int nbits = floor_log2 (range) + 1; in bp_pack_int_in_range() local
299 int nbits = floor_log2 (range) + 1; in bp_unpack_int_in_range() local
/OK3568_Linux_fs/u-boot/include/linux/
H A Dbitmap.h9 #define small_const_nbits(nbits) \ argument
12 static inline void bitmap_zero(unsigned long *dst, int nbits) in bitmap_zero()
/OK3568_Linux_fs/external/security/librkcrypto/test/
H A Dtest_rsa.c14 #define TEST_END_PASS(nbits, padding_name) do { \ argument
20 #define TEST_END_FAIL(nbits, padding_name) do { \ argument
26 #define TEST_END_NA(nbits, padding_name) do { \ argument
606 uint32_t nbits, uint32_t data_len, int verbose) in test_rsa_pub_enc()
718 uint32_t nbits, uint32_t data_len, int verbose) in test_rsa_priv_enc()
802 uint32_t nbits, const uint8_t *in, uint32_t in_len, in test_rsa_sign_common()
892 uint32_t nbits, uint32_t in_len, int verbose) in test_rsa_sign()
H A Drsa_key_data.c369 RK_RES test_init_pubkey(rk_rsa_pub_key_pack *pub, uint32_t nbits) in test_init_pubkey()
403 RK_RES test_init_privkey(rk_rsa_priv_key_pack *priv, uint32_t nbits) in test_init_privkey()
/OK3568_Linux_fs/u-boot/include/usb/
H A Dlin_gadget_compat.h20 #define small_const_nbits(nbits) \ argument
23 static inline void bitmap_zero(unsigned long *dst, int nbits) in bitmap_zero()
/OK3568_Linux_fs/kernel/lib/mpi/
H A Dmpicoder.c40 unsigned nbits, nlimbs; in mpi_read_raw_data() local
85 unsigned int nbits, nbytes; in mpi_read_from_buffer() local
121 unsigned int nbits, nbytes, nlimbs; in mpi_fromstr() local
440 unsigned int nbits, nlimbs; in mpi_read_raw_from_sgl() local
557 unsigned int nbits = mpi_get_nbits(a); in mpi_print() local
H A Dmpi-bit.c183 unsigned int nbits = (n%BITS_PER_MPI_LIMB); in mpi_rshift() local
275 unsigned int nbits = (n%BITS_PER_MPI_LIMB); in mpi_lshift() local
/OK3568_Linux_fs/kernel/fs/omfs/
H A Dbitmap.c13 int nbits = sb->s_blocksize * 8; in omfs_count_free() local
26 static int count_run(unsigned long **addr, int nbits, in count_run()
49 int nbits, int bit, int count, int set) in set_run()
/OK3568_Linux_fs/kernel/drivers/regulator/
H A Dtps6586x-regulator.c109 #define TPS6586X_REGULATOR(_id, _ops, _pin_name, vdata, vreg, shift, nbits, \ argument
133 uv_step, vreg, shift, nbits, ereg0, \ argument
157 #define TPS6586X_LDO(_id, _pname, vdata, vreg, shift, nbits, \ argument
165 shift, nbits, ereg0, ebit0, ereg1, ebit1) \ argument
172 #define TPS6586X_FIXED_LDO(_id, _pname, vdata, vreg, shift, nbits, \ argument
180 nbits, ereg0, ebit0, ereg1, ebit1, goreg, gobit) \ argument
H A Dda903x-regulator.c309 #define DA903x_LDO(_pmic, _id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument
329 #define DA903x_DVC(_pmic, _id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument
351 #define DA9034_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument
354 #define DA9030_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument
357 #define DA9030_DVC(_id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument
361 #define DA9034_DVC(_id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument
365 #define DA9035_DVC(_id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument
/OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/include/
H A Dbrcmu_utils.h44 #define NBITVAL(nbits) (1 << (nbits)) argument
45 #define MAXBITVAL(nbits) ((1 << (nbits)) - 1) argument
46 #define NBITMASK(nbits) MAXBITVAL(nbits) argument
/OK3568_Linux_fs/u-boot/drivers/crypto/rockchip/
H A Dcrypto_v1.c183 u32 nbits; in rockchip_crypto_sha_final() local
216 u32 nbits, *buf = (u32 *)output; in rockchip_crypto_rsa_verify() local
/OK3568_Linux_fs/kernel/tools/perf/tests/
H A Dbitmap.c11 static unsigned long *get_bitmap(const char *str, int nbits) in get_bitmap()
/OK3568_Linux_fs/u-boot/include/
H A Dcrypto.h38 #define BITS2BYTE(nbits) ((nbits) / 8) argument
39 #define BITS2WORD(nbits) ((nbits) / 32) argument

12345