Home
last modified time | relevance | path

Searched refs:pair_params (Results 1 – 9 of 9) sorted by relevance

/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dbap_unicast_client_test.c48 static struct bt_bap_unicast_group_stream_pair_param pair_params[ARRAY_SIZE(test_streams)]; variable
600 for (size_t i = 0U; i < ARRAY_SIZE(pair_params); i++) { in codec_configure_streams()
601 if (pair_params[i].rx_param != NULL && g_sources[i] != NULL) { in codec_configure_streams()
602 struct bt_bap_stream *stream = pair_params[i].rx_param->stream; in codec_configure_streams()
612 if (pair_params[i].tx_param != NULL && g_sinks[i] != NULL) { in codec_configure_streams()
613 struct bt_bap_stream *stream = pair_params[i].tx_param->stream; in codec_configure_streams()
752 source_stream = pair_params[0].rx_param == NULL ? NULL : pair_params[0].rx_param->stream; in connect_streams()
753 sink_stream = pair_params[0].tx_param == NULL ? NULL : pair_params[0].tx_param->stream; in connect_streams()
805 source_stream = pair_params[0].rx_param == NULL ? NULL : pair_params[0].rx_param->stream; in start_streams()
823 source_stream = pair_params[0].rx_param == NULL ? NULL : pair_params[0].rx_param->stream; in transceive_streams()
[all …]
Dcap_initiator_unicast_test.c583 struct bt_bap_unicast_group_stream_pair_param pair_params; in unicast_group_create() local
591 pair_params.tx_param = &group_sink_stream_params; in unicast_group_create()
592 pair_params.rx_param = &group_source_stream_params; in unicast_group_create()
596 group_param.params = &pair_params; in unicast_group_create()
1002 struct bt_bap_unicast_group_stream_pair_param pair_params[CAP_AC_MAX_PAIR] = {0}; in cap_initiator_ac_create_unicast_group() local
1035 pair_params[pair_cnt].tx_param = in cap_initiator_ac_create_unicast_group()
1038 pair_params[pair_cnt].tx_param = NULL; in cap_initiator_ac_create_unicast_group()
1042 pair_params[pair_cnt].rx_param = in cap_initiator_ac_create_unicast_group()
1045 pair_params[pair_cnt].rx_param = NULL; in cap_initiator_ac_create_unicast_group()
1053 group_param.params = pair_params; in cap_initiator_ac_create_unicast_group()
Dgmap_ugg_test.c614 struct bt_bap_unicast_group_stream_pair_param pair_params[GMAP_UNICAST_AC_MAX_PAIR] = {0}; in gmap_unicast_ac_create_unicast_group() local
637 pair_params[pair_cnt].tx_param = in gmap_unicast_ac_create_unicast_group()
640 pair_params[pair_cnt].tx_param = NULL; in gmap_unicast_ac_create_unicast_group()
644 pair_params[pair_cnt].rx_param = in gmap_unicast_ac_create_unicast_group()
647 pair_params[pair_cnt].rx_param = NULL; in gmap_unicast_ac_create_unicast_group()
655 group_param.params = pair_params; in gmap_unicast_ac_create_unicast_group()
/Zephyr-latest/samples/bluetooth/tmap_central/src/
Dcap_initiator.c320 struct bt_bap_unicast_group_stream_pair_param pair_params; in unicast_group_create() local
325 pair_params.tx_param = &group_stream_params; in unicast_group_create()
326 pair_params.rx_param = NULL; in unicast_group_create()
330 group_param.params = &pair_params; in unicast_group_create()
/Zephyr-latest/samples/bluetooth/bap_unicast_client/src/
Dmain.c674 struct bt_bap_unicast_group_stream_pair_param pair_params[params_count]; in create_group() local
686 pair_params[i].tx_param = &stream_params[i]; in create_group()
688 pair_params[i].tx_param = NULL; in create_group()
692 pair_params[i].rx_param = &stream_params[i + configured_sink_stream_count]; in create_group()
694 pair_params[i].rx_param = NULL; in create_group()
698 param.params = pair_params; in create_group()
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_bap_unicast.c1011 struct bt_bap_unicast_group_stream_pair_param *pair_params, in client_unicast_group_param_set() argument
1036 if (pair_params[u_stream->cis_id].rx_param != NULL) { in client_unicast_group_param_set()
1040 pair_params[u_stream->cis_id].rx_param = stream_params; in client_unicast_group_param_set()
1042 if (pair_params[u_stream->cis_id].tx_param != NULL) { in client_unicast_group_param_set()
1046 pair_params[u_stream->cis_id].tx_param = stream_params; in client_unicast_group_param_set()
1062 pair_params[BTP_BAP_UNICAST_MAX_STREAMS_COUNT]; in btp_bap_unicast_group_create() local
1068 (void)memset(pair_params, 0, sizeof(pair_params)); in btp_bap_unicast_group_create()
1107 err = client_unicast_group_param_set(unicast_conn, cig_id, pair_params, in btp_bap_unicast_group_create()
1115 for (size_t count = ARRAY_SIZE(pair_params); count > 0; --count) { in btp_bap_unicast_group_create()
1118 if (pair_params[i].tx_param != NULL || pair_params[i].rx_param != NULL) { in btp_bap_unicast_group_create()
[all …]
/Zephyr-latest/samples/bluetooth/cap_initiator/src/
Dcap_initiator_unicast.c347 struct bt_bap_unicast_group_stream_pair_param pair_params = {0}; in unicast_group_create() local
352 pair_params.rx_param = &source_stream_param; in unicast_group_create()
356 pair_params.tx_param = &sink_stream_param; in unicast_group_create()
360 group_param.params = &pair_params; in unicast_group_create()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dcap_initiator.c155 pair_params[CAP_UNICAST_CLIENT_STREAM_COUNT] = {0}; in cmd_cap_initiator_unicast_start() local
270 pair_params[pair_cnt + j].tx_param = in cmd_cap_initiator_unicast_start()
301 pair_params[pair_cnt + j].rx_param = in cmd_cap_initiator_unicast_start()
322 group_param.params = pair_params; in cmd_cap_initiator_unicast_start()
Dbap.c823 struct bt_bap_unicast_group_stream_pair_param pair_params[BAP_UNICAST_AC_MAX_PAIR] = {0}; in bap_ac_create_unicast_group() local
858 pair_params[pair_cnt].tx_param = in bap_ac_create_unicast_group()
861 pair_params[pair_cnt].tx_param = NULL; in bap_ac_create_unicast_group()
865 pair_params[pair_cnt].rx_param = in bap_ac_create_unicast_group()
868 pair_params[pair_cnt].rx_param = NULL; in bap_ac_create_unicast_group()
876 group_param.params = pair_params; in bap_ac_create_unicast_group()