| /subsys/bluetooth/controller/util/ |
| A D | util.c | 231 uint8_t bits; in util_saa_le32() local 271 saa &= ~BIT_MASK(bits); in util_saa_le32() 327 uint8_t shift, byteIdx, bits; in util_get_bits() local 334 bits = MIN(num_bits, 8 - bit_offs); in util_get_bits() 336 shift += bits; in util_get_bits() 337 num_bits -= bits; in util_get_bits() 355 uint8_t byteIdx, bits; in util_set_bits() local 360 bits = MIN(num_bits, 8 - bit_offs); in util_set_bits() 362 ((value & BIT_MASK(bits)) << bit_offs); in util_set_bits() 363 value >>= bits; in util_set_bits() [all …]
|
| /subsys/usb/device_next/class/ |
| A D | usbd_msc.c | 118 atomic_t bits; member 198 atomic_clear_bit(&ctx->bits, MSC_BULK_OUT_QUEUED); in msc_queue_bulk_out_ep() 229 atomic_clear_bit(&ctx->bits, MSC_BULK_IN_WEDGED); in msc_reset_handler() 230 atomic_clear_bit(&ctx->bits, MSC_BULK_OUT_WEDGED); in msc_reset_handler() 308 atomic_clear_bit(&ctx->bits, MSC_BULK_IN_QUEUED); in msc_process_read() 496 atomic_set_bit(&ctx->bits, MSC_BULK_IN_WEDGED); in msc_handle_bulk_out() 497 atomic_set_bit(&ctx->bits, MSC_BULK_OUT_WEDGED); in msc_handle_bulk_out() 562 atomic_clear_bit(&ctx->bits, MSC_BULK_IN_QUEUED); in msc_send_csw() 597 atomic_clear_bit(&ctx->bits, MSC_BULK_IN_QUEUED); in usbd_msc_handle_request() 742 atomic_set_bit(&ctx->bits, MSC_CLASS_ENABLED); in msc_bot_enable() [all …]
|
| /subsys/bluetooth/controller/ |
| A D | Kconfig.df | 278 bool "Conversion of IQ samples to 8 bits wide by 4 bits shift" 282 Bluetooth 5.3 Core Specification defines IQ samples to be 8 bits wide: Vol 4, Part E 284 8 bits by ordinary right shift operation by 4 bits. That means there is loss in accuracy 288 bool "Conversion of IQ samples to 8 bits wide by 2 bits shift" 292 Bluetooth 5.3 Core Specification defines IQ samples to be 8 bits wide: Vol 4, Part E 294 8 bits by ordinary right shift operation by 2 bits and a cast to int8_t. That means there 299 bool "Conversion of IQ samples to 8 bits wide by use of 8 LSB" 303 Bluetooth 5.3 Core Specification defines IQ samples to be 8 bits wide: Vol 4, Part E 305 8 bits by use of 8 least significant bits. This conversion may be used only if you are 314 bool "Use 16 bits signed integer IQ samples in connectionless IQ reports" [all …]
|
| /subsys/net/lib/http/ |
| A D | http_huffman.c | 294 if (code == (bits & mask)) { in huffman_bits_compare() 304 if (huffman_bits_compare(bits, &decode_table[i])) { in huffman_decode_bits() 309 if (huffman_bits_compare(bits, &eos)) { in huffman_decode_bits() 337 uint32_t bits = 0; in http_hpack_huffman_decode() local 349 bits <<= bits_in_byte_left; in http_hpack_huffman_decode() 350 bits |= *encoded_buf & in http_hpack_huffman_decode() 356 bits <<= bits_needed; in http_hpack_huffman_decode() 357 bits |= (*encoded_buf >> in http_hpack_huffman_decode() 365 bits <<= bits_needed; in http_hpack_huffman_decode() 366 bits |= LSB_MASK(bits_needed); in http_hpack_huffman_decode() [all …]
|
| /subsys/testsuite/ztest/src/ |
| A D | ztest_mock.c | 79 #define DEFINE_BITFIELD(name, bits) unsigned long(name)[DIV_ROUND_UP(bits, BITS_PER_LONG)] argument 82 const unsigned int bits) in sys_bitfield_find_first_clear() argument 84 const size_t words = DIV_ROUND_UP(bits, BITS_PER_LONG); in sys_bitfield_find_first_clear() 104 if (bit < bits) { in sys_bitfield_find_first_clear()
|
| /subsys/mgmt/osdp/ |
| A D | Kconfig.pd | 29 The 7 least significant bits represent the address of the PD to which 57 IEEE assigned OUI. Least 24 bits are valid. 64 Manufacturer's model number. Least 8 bits are valid. 71 Manufacturer's version of this product. Least 8 bits are valid. 221 - 01: the PD sends card data to the CP as array of bits, not exceeding 222 1024 bits. 225 - 03: the PD can send card data to the CP as array of bits, or as an
|
| /subsys/fs/ext2/ |
| A D | ext2_format.c | 62 int i = 0, bits; in set_bitmap_bits() local 66 bits = MIN(8, to_set); in set_bitmap_bits() 67 set_value = (1 << bits) - 1; in set_bitmap_bits() 69 to_set -= bits; in set_bitmap_bits()
|
| /subsys/canbus/isotp/ |
| A D | Kconfig | 149 Source address position in bits. 161 Target address position in bits. 173 Priority address position in bits.
|
| /subsys/modem/backends/ |
| A D | Kconfig | 36 (<UART receive_buf_size> / 2) / (<UART baud rate> / <UART bits per byte>) * <ms per sec>
|
| /subsys/net/ip/ |
| A D | utils.c | 1077 int bits = mask_len - i * 32; in net_mask_len_to_netmask() local 1079 if (bits >= 32) { in net_mask_len_to_netmask() 1081 } else if (bits > 0) { in net_mask_len_to_netmask() 1082 mask_val[i] = htonl(UINT32_MAX << (32 - bits)); in net_mask_len_to_netmask()
|
| A D | Kconfig.tcp | 102 Only 5 bits are dedicated for the retransmission count, so accepted
|
| /subsys/secure_storage/ |
| A D | Kconfig.its_store | 25 their values to the first 30 bits.
|
| /subsys/mgmt/ec_host_cmd/backends/ |
| A D | Kconfig | 84 Workaround the issue "CSnFE and CSnRE bits of EVSTATS2 Register (SHI)"
|
| /subsys/bluetooth/services/ |
| A D | Kconfig.dis | 243 The manufacturer-defined unique identifier is 40 bits long.
|
| /subsys/settings/ |
| A D | Kconfig | 213 int "number of bits reserved to handle collisions between hash numbers"
|
| /subsys/bluetooth/host/ |
| A D | Kconfig | 1003 bool "Use 16 bits signed integer IQ samples in connectionless IQ reports" 1007 sampling of CTE. Bluetooth 5.3 Core Specification defines IQ samples to be 8 bits signed 1013 bool "Use 16 bits signed integer IQ samples in connection IQ reports" 1017 sampling of CTE. Bluetooth 5.3 Core Specification defines IQ samples to be 8 bits signed
|
| /subsys/fs/ |
| A D | Kconfig.fatfs | 97 of `get_fattime`. Format of the uint32_t bits are as follows:
|