/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | bap_broadcast_sink_test.c | 102 uint8_t chan_cnt; in valid_base_subgroup() local 145 chan_cnt = bt_audio_get_chan_count(chan_allocation); in valid_base_subgroup() 152 if (chan_cnt == 0 || (BIT(chan_cnt - 1) & SUPPORTED_CHAN_COUNTS) == 0) { in valid_base_subgroup() 153 printk("Unsupported channel count: %u\n", chan_cnt); in valid_base_subgroup() 186 min_sdu_size_required = chan_cnt * octets_per_frame * frames_blocks_per_sdu; in valid_base_subgroup() 190 chan_cnt, octets_per_frame, frames_blocks_per_sdu, min_sdu_size_required, in valid_base_subgroup() 454 uint8_t chan_cnt; in validate_stream_codec_cfg() local 498 chan_cnt = bt_audio_get_chan_count(chan_allocation); in validate_stream_codec_cfg() 505 if (chan_cnt == 0 || (BIT(chan_cnt - 1) & SUPPORTED_CHAN_COUNTS) == 0) { in validate_stream_codec_cfg() 506 FAIL("Unsupported channel count: %u\n", chan_cnt); in validate_stream_codec_cfg() [all …]
|
D | common.c | 169 static uint chan_cnt; variable 264 backchannel_nums[chan_cnt] = get_chan_num((uint16_t)i); in setup_backchannels() 265 device_numbers[chan_cnt++] = i; in setup_backchannels() 269 channels = bs_open_back_channel(self, device_numbers, backchannel_nums, chan_cnt); in setup_backchannels()
|
D | bap_broadcast_source_test.c | 67 uint8_t chan_cnt; in validate_stream_codec_cfg() local 116 chan_cnt = bt_audio_get_chan_count(chan_allocation); in validate_stream_codec_cfg() 123 if (chan_cnt == 0 || (BIT(chan_cnt - 1) & SUPPORTED_CHAN_COUNTS) == 0) { in validate_stream_codec_cfg() 124 FAIL("Unsupported channel count: %u\n", chan_cnt); in validate_stream_codec_cfg() 157 min_sdu_size_required = chan_cnt * octets_per_frame * frames_blocks_per_sdu; in validate_stream_codec_cfg() 161 chan_cnt, octets_per_frame, frames_blocks_per_sdu, min_sdu_size_required, in validate_stream_codec_cfg()
|
D | cap_initiator_broadcast_test.c | 60 size_t chan_cnt; member 736 qos.sdu *= param->chan_cnt; in test_cap_initiator_ac() 794 .chan_cnt = 1U, in test_cap_initiator_ac_12() 807 .chan_cnt = 1U, in test_cap_initiator_ac_13() 820 .chan_cnt = 2U, in test_cap_initiator_ac_14()
|
D | gmap_ugg_test.c | 86 size_t chan_cnt; member 1191 qos.sdu *= param->chan_cnt; in test_gmap_ugg_broadcast_ac() 1426 .chan_cnt = 1U, in test_gmap_ac_12() 1439 .chan_cnt = 1U, in test_gmap_ac_13() 1452 .chan_cnt = 2U, in test_gmap_ac_14()
|
/Zephyr-latest/samples/bluetooth/bap_unicast_client/src/ |
D | stream_lc3.h | 28 uint8_t chan_cnt; member
|
D | stream_lc3.c | 114 lc3_tx->chan_cnt = bt_audio_get_chan_count(lc3_tx->chan_allocation); in extract_lc3_config() 156 for (uint8_t i = 0U; i < stream->lc3_tx.chan_cnt; i++) { in encode_frame_block()
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | cap_initiator.c | 671 size_t chan_cnt, size_t conn_index, size_t ep_index) in set_codec_config() argument 679 if (chan_cnt == 1U) { in set_codec_config() 711 } else if (chan_cnt == 2U) { in set_codec_config() 715 sh_stream->qos.sdu *= chan_cnt; in set_codec_config() 1261 default_source.qos.sdu *= param->chan_cnt; in cap_ac_broadcast() 1309 .chan_cnt = 1U, in cmd_cap_ac_12() 1321 .chan_cnt = 1U, in cmd_cap_ac_13() 1333 .chan_cnt = 2U, in cmd_cap_ac_14()
|
D | gmap.c | 473 .chan_cnt = 1U, in cmd_gmap_ac_12() 485 .chan_cnt = 1U, in cmd_gmap_ac_13() 497 .chan_cnt = 2U, in cmd_gmap_ac_14()
|
D | bap.c | 415 const uint8_t chan_cnt = sh_stream->lc3_chan_cnt; in encode_frame_block() local 418 for (uint8_t i = 0U; i < chan_cnt; i++) { in encode_frame_block() 2690 const uint8_t chan_cnt = sh_stream->lc3_chan_cnt; in decode_frame_block() local 2693 for (uint8_t i = 0U; i < chan_cnt; i++) { in decode_frame_block() 2837 const uint8_t chan_cnt = sh_stream->lc3_chan_cnt; in audio_recv() local 2852 } else if (buf->len != (octets_per_frame * chan_cnt * frame_blocks_per_sdu)) { in audio_recv() 2858 frame_blocks_per_sdu, chan_cnt, octets_per_frame, buf->len); in audio_recv()
|
D | audio.h | 799 size_t chan_cnt; member
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_adv.c | 2172 uint8_t chan_cnt; local 2186 chan_cnt = util_ones_count_get(&chan_map, sizeof(chan_map)); 2187 time_us = adv_time_get(pdu, pdu_scan, chan_cnt, phy, phy_flags);
|