Home
last modified time | relevance | path

Searched refs:bit_val (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/subsys/bluetooth/audio/shell/
Daudio.h301 const uint16_t bit_val = BIT(i); in print_codec_meta_pref_context() local
303 if (context & bit_val) { in print_codec_meta_pref_context()
305 bt_audio_context_bit_to_str(bit_val), bit_val); in print_codec_meta_pref_context()
319 const uint16_t bit_val = BIT(i); in print_codec_meta_stream_context() local
321 if (context & bit_val) { in print_codec_meta_stream_context()
323 bt_audio_context_bit_to_str(bit_val), bit_val); in print_codec_meta_stream_context()
441 const uint16_t bit_val = BIT(i); in print_codec_cap_freq() local
443 if (freq & bit_val) { in print_codec_cap_freq()
445 bt_audio_codec_cap_freq_bit_to_str(bit_val), bit_val); in print_codec_cap_freq()
458 const uint8_t bit_val = BIT(i); in print_codec_cap_frame_dur() local
[all …]
/Zephyr-latest/tests/kernel/common/src/
Dbitarray.c131 int bit_val; in ZTEST() local
153 ret = sys_bitarray_test_bit(&ba, bit, &bit_val); in ZTEST()
156 zassert_equal(bit_val, 1, in ZTEST()
167 ret = sys_bitarray_test_bit(&ba, bit, &bit_val); in ZTEST()
170 zassert_equal(bit_val, 0, in ZTEST()
174 ret = sys_bitarray_test_and_set_bit(&ba, bit, &bit_val); in ZTEST()
177 zassert_equal(bit_val, 0, in ZTEST()
185 ret = sys_bitarray_test_and_set_bit(&ba, bit, &bit_val); in ZTEST()
188 zassert_equal(bit_val, 1, in ZTEST()
196 ret = sys_bitarray_test_and_clear_bit(&ba, bit, &bit_val); in ZTEST()
[all …]
/Zephyr-latest/subsys/ipc/ipc_service/backends/
Dipc_icbmsg.c851 int bit_val; in received_data() local
869 sys_bitarray_test_bit(conf->rx_hold_bitmap, rx_block_index, &bit_val); in received_data()
870 if (!bit_val) { in received_data()