Searched refs:bit_idx (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/tests/bluetooth/controller/mock_ctrl/src/ |
D | util.c | 80 uint8_t bit_idx; in util_aa_le32() local 93 bit_idx = 31U; in util_aa_le32() 100 consecutive_bit = (aa >> bit_idx) & 0x01; in util_aa_le32() 101 while (bit_idx--) { in util_aa_le32() 109 bit = (aa >> bit_idx) & 0x01; in util_aa_le32() 118 if (bit_idx < 15) { in util_aa_le32() 125 if ((bit_idx < 8) && consecutive_bit) { in util_aa_le32() 136 (!consecutive_bit && (((bit_idx < 6) && (ones_count_lsb8 < 1)) || in util_aa_le32() 137 ((bit_idx < 5) && (ones_count_lsb8 < 2)) || in util_aa_le32() 138 ((bit_idx < 4) && (ones_count_lsb8 < 3)))) || in util_aa_le32() [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/util/ |
D | util.c | 79 uint8_t bit_idx; in util_aa_le32() local 92 bit_idx = 31U; in util_aa_le32() 99 consecutive_bit = (aa >> bit_idx) & 0x01; in util_aa_le32() 100 while (bit_idx--) { in util_aa_le32() 108 bit = (aa >> bit_idx) & 0x01; in util_aa_le32() 117 if (bit_idx < 15) { in util_aa_le32() 124 if ((bit_idx < 8) && consecutive_bit) { in util_aa_le32() 135 (!consecutive_bit && (((bit_idx < 6) && in util_aa_le32() 137 ((bit_idx < 5) && in util_aa_le32() 139 ((bit_idx < 4) && in util_aa_le32() [all …]
|
/Zephyr-latest/modules/lvgl/ |
D | lvgl_display_mono.c | 61 uint32_t bit_idx = x + y * stride; in lvgl_transform_buffer() local 62 uint8_t src_bit = (src_buf[bit_idx / 8] >> (7 - (bit_idx % 8))) & 1; in lvgl_transform_buffer()
|
/Zephyr-latest/lib/utils/ |
D | bitarray.c | 495 uint32_t bit_idx; in sys_bitarray_alloc() local 516 bit_idx = 0; in sys_bitarray_alloc() 527 bit_idx += bundle_bitness(bitarray); in sys_bitarray_alloc() 534 bit_idx += off_start; in sys_bitarray_alloc() 542 while (bit_idx <= off_end) { in sys_bitarray_alloc() 543 if (match_region(bitarray, bit_idx, num_bits, false, in sys_bitarray_alloc() 545 set_region(bitarray, bit_idx, num_bits, true, &bd); in sys_bitarray_alloc() 547 *offset = bit_idx; in sys_bitarray_alloc() 555 bit_idx = mismatch + 1; in sys_bitarray_alloc()
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | iso.c | 3408 uint8_t bit_idx = 0; in hci_le_big_create_sync() local 3430 if (bit_idx == big->num_bis) { in hci_le_big_create_sync() 3431 LOG_DBG("BIG cannot contain %u BISes", bit_idx + 1); in hci_le_big_create_sync() 3434 req->bis[bit_idx++] = i; in hci_le_big_create_sync() 3438 if (bit_idx != big->num_bis) { in hci_le_big_create_sync() 3439 LOG_DBG("Number of bits in bis_bitfield (%u) doesn't match num_bis (%u)", bit_idx, in hci_le_big_create_sync()
|