Lines Matching +full:all +full:- +full:ones

5  * SPDX-License-Identifier: Apache-2.0
38 while (octets_len--) { in util_ones_count_get()
43 bite &= (bite - 1); in util_ones_count_get()
54 * - It shall have no more than six consecutive zeros or ones.
55 * - It shall not be the advertising channel packets' Access Address.
56 * - It shall not be a sequence that differs from the advertising channel
58 * - It shall not have all four octets equal.
59 * - It shall have no more than 24 transitions.
60 * - It shall have a minimum of two transitions in the most significant six
64 * - It shall have at least three ones in the least significant 8 bits.
65 * - It shall have no more than eleven transitions in the least significant 16
85 return -EFAULT; in util_aa_le32()
87 retry--; in util_aa_le32()
100 while (bit_idx--) { in util_aa_le32()
129 /* It shall have no more than six consecutive zeros or ones. */ in util_aa_le32()
150 ones_count_lsb8--; in util_aa_le32()
194 aa &= ~(BIT(bit_idx + 1) - 1); in util_aa_le32()
196 aa |= (BIT(bit_idx + 1) - 1); in util_aa_le32()
213 /* It shall not have all four octets equal. */ in util_aa_le32()
262 /* For any pair of BIGs transmitted by the same device, the SAA 15-0 in util_saa_le32()
264 * - Find the number of bits required to support 3 times the maximum in util_saa_le32()
266 * - Clear those number many bits in util_saa_le32()
267 * - Set the value that is 3 times the handle so that consecutive values in util_saa_le32()
289 /* 8-bits for d is enough due to wrapping math and requirement to do in util_bis_aa_le32()
307 /* Most significant 16-bits of SAA XOR DW, least significant 16-bit are in util_bis_aa_le32()
334 bits = MIN(num_bits, 8 - bit_offs); in util_get_bits()
337 num_bits -= bits; in util_get_bits()
360 bits = MIN(num_bits, 8 - bit_offs); in util_set_bits()
364 num_bits -= bits; in util_set_bits()