Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/subsys/bluetooth/audio/shell/
Daudio.h337 const uint16_t bit_val = BIT(i); in print_codec_meta_pref_context() local
339 if (context & bit_val) { in print_codec_meta_pref_context()
340 shell_print(sh, "%*s%s (0x%04X)", indent, "", context_bit_to_str(bit_val), in print_codec_meta_pref_context()
341 bit_val); in print_codec_meta_pref_context()
355 const uint16_t bit_val = BIT(i); in print_codec_meta_stream_context() local
357 if (context & bit_val) { in print_codec_meta_stream_context()
358 shell_print(sh, "%*s%s (0x%04X)", indent, "", context_bit_to_str(bit_val), in print_codec_meta_stream_context()
359 bit_val); in print_codec_meta_stream_context()
552 const uint16_t bit_val = BIT(i); in print_codec_cap_freq() local
554 if (freq & bit_val) { in print_codec_cap_freq()
[all …]
/Zephyr-Core-3.7.0/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-Core-3.7.0/subsys/ipc/ipc_service/backends/
Dipc_icbmsg.c786 int bit_val; in received_data() local
804 sys_bitarray_test_bit(conf->rx_hold_bitmap, rx_block_index, &bit_val); in received_data()
805 if (!bit_val) { in received_data()