Home
last modified time | relevance | path

Searched refs:stream_count (Results 1 – 22 of 22) sorted by relevance

/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dcap_acceptor_test.c947 static void create_and_sync_sink(struct bt_bap_stream *bap_streams[], size_t *stream_count) in create_and_sync_sink() argument
970 *stream_count = 0; in create_and_sync_sink()
973 *stream_count += 1; in create_and_sync_sink()
984 printk("Waiting for %zu streams to be started\n", *stream_count); in create_and_sync_sink()
985 for (size_t i = 0U; i < *stream_count; i++) { in create_and_sync_sink()
1010 static void wait_for_streams_stop(int stream_count) in wait_for_streams_stop() argument
1019 printk("Waiting for %zu streams to be stopped\n", stream_count); in wait_for_streams_stop()
1020 for (size_t i = 0U; i < stream_count; i++) { in wait_for_streams_stop()
1028 size_t stream_count; in test_cap_acceptor_broadcast() local
1034 create_and_sync_sink(bap_streams, &stream_count); in test_cap_acceptor_broadcast()
[all …]
Dcap_initiator_broadcast_test.c70 static size_t stream_count; variable
346 subgroup_param.stream_count = ARRAY_SIZE(broadcast_streams); in test_broadcast_audio_create_inval()
402 subgroup_param.stream_count = ARRAY_SIZE(broadcast_streams); in test_broadcast_audio_create()
430 stream_count = ARRAY_SIZE(broadcast_streams); in test_broadcast_audio_create()
560 for (size_t i = 0U; i < stream_count; i++) { in test_broadcast_audio_tx_sync()
594 for (size_t i = 0U; i < stream_count; i++) { in test_broadcast_audio_stop()
670 for (size_t i = 0U; i < stream_count; i++) { in test_main_cap_initiator_broadcast()
738 subgroup_param.stream_count = param->stream_cnt; in test_cap_initiator_ac()
754 stream_count = param->stream_cnt; in test_cap_initiator_ac()
755 for (size_t i = 0U; i < stream_count; i++) { in test_cap_initiator_ac()
[all …]
Dpbp_public_broadcast_source_test.c280 subgroup_param.stream_count = 1U; in test_main()
Dgmap_ugg_test.c1119 size_t stream_count) in broadcast_audio_stop() argument
1133 for (size_t i = 0U; i < stream_count; i++) { in broadcast_audio_stop()
1193 subgroup_param.stream_count = param->stream_cnt; in test_gmap_ugg_broadcast_ac()
/Zephyr-latest/subsys/bluetooth/audio/
Dbap_endpoint.h108 uint8_t stream_count; member
172 uint8_t stream_count; member
Dbap_broadcast_sink.c200 for (uint8_t j = 0U; j < broadcast_sinks[i].stream_count; j++) { in broadcast_sink_lookup_iso_chan()
1136 sink->stream_count = 0; in broadcast_sink_cleanup_streams()
1142 if (sink->stream_count > 0U) { in broadcast_sink_cleanup()
1230 uint8_t stream_count; in bt_bap_broadcast_sink_sync() local
1279 stream_count = 0; in bt_bap_broadcast_sink_sync()
1287 codec_cfgs[stream_count++] = codec_cfg; in bt_bap_broadcast_sink_sync()
1289 if (stream_count > CONFIG_BT_BAP_BROADCAST_SNK_STREAM_COUNT) { in bt_bap_broadcast_sink_sync()
1291 CONFIG_BT_BAP_BROADCAST_SNK_STREAM_COUNT, stream_count); in bt_bap_broadcast_sink_sync()
1297 for (size_t i = 0; i < stream_count; i++) { in bt_bap_broadcast_sink_sync()
1304 sink->stream_count = 0U; in bt_bap_broadcast_sink_sync()
[all …]
Dbap_broadcast_source.c340 uint8_t stream_count; in encode_base_subgroup() local
343 stream_count = 0; in encode_base_subgroup()
345 stream_count++; in encode_base_subgroup()
350 net_buf_simple_add_u8(buf, stream_count); in encode_base_subgroup()
384 for (uint8_t i = 0U; i < stream_count; i++) { in encode_base_subgroup()
688 size_t stream_count; in bt_bap_broadcast_source_create() local
719 stream_count = 0U; in bt_bap_broadcast_source_create()
742 if (subgroup_param->params_count + stream_count > BROADCAST_STREAM_CNT) { in bt_bap_broadcast_source_create()
743 LOG_DBG("Cannot create broadcaster with %zu streams", stream_count); in bt_bap_broadcast_source_create()
791 (void)memcpy(source->stream_data[stream_count].data, stream_param->data, in bt_bap_broadcast_source_create()
[all …]
Dcap_initiator.c201 bap_subgroup_param->params_count = cap_subgroup_param->stream_count; in cap_initiator_broadcast_to_bap_broadcast_param()
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_cap.c285 size_t stream_count = 0; in btp_cap_unicast_audio_start() local
316 stream_param = &stream_params[stream_count++]; in btp_cap_unicast_audio_start()
326 start_param.count = stream_count; in btp_cap_unicast_audio_start()
351 if (cp->stream_count == 0) { in btp_cap_unicast_audio_update()
356 for (size_t i = 0; i < cp->stream_count; i++) { in btp_cap_unicast_audio_update()
392 param.count = cp->stream_count; in btp_cap_unicast_audio_update()
627 bis_id = subgroup_param->stream_count++; in btp_cap_broadcast_source_setup()
641 if (cap_subgroup_params[i].stream_count == 0) { in btp_cap_broadcast_source_setup()
Dbtp_bap_broadcast.h48 uint8_t stream_count; member
Dbtp_bap_broadcast.c359 source->stream_count = cp->subgroups * cp->streams_per_subgroup; in btp_bap_broadcast_source_setup()
525 for (int i = 0; i < source->stream_count; i++) { in btp_bap_broadcast_source_stop()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dlll_sync_iso.h74 uint8_t stream_count; member
Dull_sync_iso.c216 lll->stream_count = num_bis; in ll_big_sync_create()
384 while (lll->stream_count--) { in ull_sync_iso_stream_release()
389 stream_handle = lll->stream_handle[lll->stream_count]; in ull_sync_iso_stream_release()
/Zephyr-latest/tests/bluetooth/tester/src/audio/btp/
Dbtp_cap.h50 uint8_t stream_count; member
/Zephyr-latest/samples/bluetooth/cap_initiator/src/
Dcap_initiator_broadcast.c105 .stream_count = 1U, in broadcast_create()
/Zephyr-latest/samples/bluetooth/bap_broadcast_sink/src/
Dmain.c137 static volatile uint8_t stream_count; variable
1342 stream_count = 0U; in reset()
1626 stream_count = 0; in main()
1629 stream_count++; in main()
1635 sync_bitfield, bis_index_bitfield, requested_bis_sync, stream_count); in main()
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dcap.h457 size_t stream_count; member
/Zephyr-latest/samples/bluetooth/tmap_bms/src/
Dcap_initiator.c289 subgroup_param.stream_count = 1U; in cap_initiator_setup()
/Zephyr-latest/samples/bluetooth/pbp_public_broadcast_source/src/
Dmain.c348 subgroup_param.stream_count = 1U; in cap_initiator_setup()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_sync_iso.c847 if ((lll->stream_curr + 1U) < lll->stream_count) { in isr_rx()
1249 if (stream_curr_inc < lll->stream_count) { in isr_rx_done()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dcap_initiator.c1278 subgroup_param.stream_count = param->stream_cnt; in cap_ac_broadcast()
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci.c8051 evt_size = sizeof(*sep) + (lll->stream_count * sizeof(uint16_t));
8102 sep->num_bis = lll->stream_count;
8105 for (uint8_t i = 0U; i < lll->stream_count; i++) {