Home
last modified time | relevance | path

Searched refs:unicast_streams (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/samples/bluetooth/tmap_central/src/
Dcap_initiator.c32 static struct bt_cap_stream unicast_streams[CONFIG_BT_BAP_UNICAST_CLIENT_ASE_SNK_COUNT + variable
324 group_stream_params.stream = &unicast_streams[0].bap_stream; in unicast_group_create()
353 stream_param.stream = &unicast_streams[0]; in unicast_audio_start()
383 struct bt_bap_stream *stream = &unicast_streams[0].bap_stream; in audio_timer_timeout()
434 for (size_t i = 0U; i < ARRAY_SIZE(unicast_streams); i++) { in cap_initiator_init()
435 bt_cap_stream_ops_register(&unicast_streams[i], in cap_initiator_init()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dgmap_ugt_test.c51 unicast_streams[CONFIG_BT_ASCS_MAX_ASE_SNK_COUNT + CONFIG_BT_ASCS_MAX_ASE_SRC_COUNT]; variable
101 for (size_t i = 0; i < ARRAY_SIZE(unicast_streams); i++) { in unicast_stream_alloc()
102 struct bt_bap_stream *stream = &unicast_streams[i].bap_stream; in unicast_stream_alloc()
426 for (size_t i = 0U; i < ARRAY_SIZE(unicast_streams); i++) { in test_main()
427 bt_cap_stream_ops_register(&unicast_streams[i], &unicast_stream_ops); in test_main()
Dcap_acceptor_test.c91 static struct bt_cap_stream unicast_streams[CONFIG_BT_ASCS_MAX_ASE_SNK_COUNT + variable
443 for (size_t i = 0; i < ARRAY_SIZE(unicast_streams); i++) { in unicast_stream_alloc()
444 struct bt_bap_stream *stream = &unicast_streams[i].bap_stream; in unicast_stream_alloc()
753 for (size_t i = 0U; i < ARRAY_SIZE(unicast_streams); i++) { in init()
754 bt_cap_stream_ops_register(&unicast_streams[i], &unicast_stream_ops); in init()
Dgmap_ugg_test.c118 static struct unicast_stream unicast_streams[GMAP_UNICAST_AC_MAX_STREAM]; variable
129 MAX(ARRAY_SIZE(unicast_streams), ARRAY_SIZE(broadcast_streams)));
131 MAX(ARRAY_SIZE(unicast_streams), ARRAY_SIZE(broadcast_streams)));
459 for (size_t i = 0; i < ARRAY_SIZE(unicast_streams); i++) { in init()
460 bt_cap_stream_ops_register(&unicast_streams[i].stream, &stream_ops); in init()
851 snk_uni_streams[i] = &unicast_streams[i]; in gmap_ac_unicast()
862 src_uni_streams[i] = &unicast_streams[i + snk_cnt]; in gmap_ac_unicast()
Dcap_initiator_unicast_test.c77 static struct unicast_stream unicast_streams[CAP_AC_MAX_STREAM]; variable
475 for (size_t i = 0; i < ARRAY_SIZE(unicast_streams); i++) { in init()
476 bt_cap_stream_ops_register(&unicast_streams[i].stream, &unicast_stream_ops); in init()
1243 snk_uni_streams[i] = &unicast_streams[i]; in cap_initiator_ac_unicast()
1259 src_uni_streams[i] = &unicast_streams[i + snk_cnt]; in cap_initiator_ac_unicast()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dcap_initiator.c43 #define CAP_UNICAST_CLIENT_STREAM_COUNT ARRAY_SIZE(unicast_streams)
249 &unicast_streams[start_param.count].stream; in cmd_cap_initiator_unicast_start()
281 &unicast_streams[start_param.count].stream; in cmd_cap_initiator_unicast_start()
348 for (size_t i = 0U; i < ARRAY_SIZE(unicast_streams); i++) { in cmd_cap_initiator_unicast_list()
349 if (unicast_streams[i].stream.bap_stream.conn == NULL) { in cmd_cap_initiator_unicast_list()
353 shell_print(sh, "Stream #%zu: %p", i, &unicast_streams[i].stream); in cmd_cap_initiator_unicast_list()
372 for (size_t i = 0U; i < ARRAY_SIZE(unicast_streams); i++) { in cmd_cap_initiator_unicast_update()
373 struct bt_cap_stream *stream = &unicast_streams[i].stream; in cmd_cap_initiator_unicast_update()
417 if (!PART_OF_ARRAY(unicast_streams, stream)) { in cmd_cap_initiator_unicast_update()
478 for (size_t i = 0U; i < ARRAY_SIZE(unicast_streams); i++) { in cmd_cap_initiator_unicast_stop()
[all …]
Dbap.c61 struct shell_stream unicast_streams[CONFIG_BT_MAX_CONN * variable
196 for (size_t i = 0U; i < ARRAY_SIZE(unicast_streams); i++) { in bap_foreach_stream()
197 func(&unicast_streams[i], data); in bap_foreach_stream()
588 for (size_t i = 0U; i < ARRAY_SIZE(unicast_streams); i++) { in set_unicast_stream()
589 if (stream == bap_stream_from_shell_stream(&unicast_streams[i])) { in set_unicast_stream()
608 if (index > ARRAY_SIZE(unicast_streams)) { in cmd_select_unicast()
614 stream = bap_stream_from_shell_stream(&unicast_streams[index]); in cmd_select_unicast()
627 for (size_t i = 0; i < ARRAY_SIZE(unicast_streams); i++) { in stream_alloc()
628 struct bt_bap_stream *stream = bap_stream_from_shell_stream(&unicast_streams[i]); in stream_alloc()
1166 bap_stream = bap_stream_from_shell_stream(&unicast_streams[0]); in cmd_config()
[all …]
Daudio.h208 extern struct shell_stream unicast_streams[CONFIG_BT_MAX_CONN * MAX(UNICAST_SERVER_STREAM_COUNT,