/Zephyr-Core-3.6.0/subsys/bluetooth/audio/ |
D | cap_stream.c | 17 static void cap_stream_configured_cb(struct bt_bap_stream *bap_stream, in cap_stream_configured_cb() argument 20 struct bt_cap_stream *cap_stream = CONTAINER_OF(bap_stream, in cap_stream_configured_cb() 22 bap_stream); in cap_stream_configured_cb() 32 ops->configured(bap_stream, pref); in cap_stream_configured_cb() 36 static void cap_stream_qos_set_cb(struct bt_bap_stream *bap_stream) in cap_stream_qos_set_cb() argument 38 struct bt_cap_stream *cap_stream = CONTAINER_OF(bap_stream, in cap_stream_qos_set_cb() 40 bap_stream); in cap_stream_qos_set_cb() 50 ops->qos_set(bap_stream); in cap_stream_qos_set_cb() 54 static void cap_stream_enabled_cb(struct bt_bap_stream *bap_stream) in cap_stream_enabled_cb() argument 56 struct bt_cap_stream *cap_stream = CONTAINER_OF(bap_stream, in cap_stream_enabled_cb() [all …]
|
D | cap_initiator.c | 175 bap_stream_param->stream = &cap_stream_param->stream->bap_stream; in cap_initiator_broadcast_to_bap_broadcast_param() 368 const struct bt_bap_stream *bap_stream; in valid_unicast_audio_start_param() local 402 bap_stream = &cap_stream->bap_stream; in valid_unicast_audio_start_param() 404 CHECKIF(bap_stream->ep != NULL) { in valid_unicast_audio_start_param() 409 CHECKIF(bap_stream->group == NULL) { in valid_unicast_audio_start_param() 416 unicast_group = bap_stream->group; in valid_unicast_audio_start_param() 418 CHECKIF(bap_stream->group != unicast_group) { in valid_unicast_audio_start_param() 484 struct bt_bap_stream *bap_stream; in cap_initiator_unicast_audio_configure() local 521 bap_stream = &proc_param->stream->bap_stream; in cap_initiator_unicast_audio_configure() 531 err = bt_bap_stream_config(conn, bap_stream, ep, codec_cfg); in cap_initiator_unicast_audio_configure() [all …]
|
D | CMakeLists.txt | 51 zephyr_library_sources_ifdef(CONFIG_BT_BAP_STREAM bap_stream.c codec.c bap_iso.c)
|
D | cap_common.c | 141 if (active_proc.proc_param.initiator[i].stream->bap_stream.conn == conn) { in bt_cap_common_conn_in_active_proc()
|
/Zephyr-Core-3.6.0/tests/bluetooth/tester/src/ |
D | btp_bap_audio_stream.c | 38 return &stream->cap_stream.bap_stream; in audio_stream_to_bap_stream() 57 struct bt_bap_stream *bap_stream; in audio_send_timeout() local 66 bap_stream = audio_stream_to_bap_stream(stream); in audio_send_timeout() 69 err = bt_bap_stream_get_tx_sync(bap_stream, &info); in audio_send_timeout() 84 size = ring_buf_get_claim(&audio_ring_buf, &data, bap_stream->qos->sdu); in audio_send_timeout() 98 LOG_DBG("Sending data to stream %p len %d seq %d", bap_stream, size, in audio_send_timeout() 101 err = bt_bap_stream_send(bap_stream, buf, 0); in audio_send_timeout() 104 bap_stream, err); in audio_send_timeout() 117 K_USEC(bap_stream->qos->interval)); in audio_send_timeout() 123 struct bt_bap_stream *bap_stream = audio_stream_to_bap_stream(a_stream); in btp_bap_audio_stream_started() local [all …]
|
D | btp_bap_unicast.c | 35 return CONTAINER_OF(CONTAINER_OF(CONTAINER_OF(stream, struct bt_cap_stream, bap_stream), in stream_bap_to_unicast() 42 return &stream->audio_stream.cap_stream.bap_stream; in stream_unicast_to_bap() 1392 struct bt_bap_stream *bap_stream; in btp_ascs_receiver_start_ready() local 1412 bap_stream = stream_unicast_to_bap(stream); in btp_ascs_receiver_start_ready() 1413 (void)bt_bap_ep_get_info(bap_stream->ep, &info); in btp_ascs_receiver_start_ready() 1419 LOG_DBG("Starting stream %p, ep %u, dir %u", bap_stream, cp->ase_id, info.dir); in btp_ascs_receiver_start_ready() 1422 err = bt_bap_stream_start(bap_stream); in btp_ascs_receiver_start_ready()
|
D | btp_bap_broadcast.c | 40 return CONTAINER_OF(CONTAINER_OF(CONTAINER_OF(stream, struct bt_cap_stream, bap_stream), in stream_bap_to_broadcast() 47 return &stream->audio_stream.cap_stream.bap_stream; in stream_broadcast_to_bap()
|
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/audio/src/ |
D | common.h | 142 static inline struct bt_cap_stream *cap_stream_from_bap_stream(struct bt_bap_stream *bap_stream) in cap_stream_from_bap_stream() argument 144 return CONTAINER_OF(bap_stream, struct bt_cap_stream, bap_stream); in cap_stream_from_bap_stream() 149 return &cap_stream->bap_stream; in bap_stream_from_cap_stream() 159 audio_test_stream_from_bap_stream(struct bt_bap_stream *bap_stream) in audio_test_stream_from_bap_stream() argument 161 return audio_test_stream_from_cap_stream(cap_stream_from_bap_stream(bap_stream)); in audio_test_stream_from_bap_stream()
|
D | pbp_public_broadcast_source_test.c | 285 bt_bap_stream_cb_register(&broadcast_stream->bap_stream, &broadcast_stream_ops); in test_main() 339 sent_cb(&broadcast_stream->bap_stream); in test_main()
|
D | cap_initiator_broadcast_test.c | 113 static void broadcast_sent_cb(struct bt_bap_stream *bap_stream) in broadcast_sent_cb() argument 115 struct audio_test_stream *test_stream = audio_test_stream_from_bap_stream(bap_stream); in broadcast_sent_cb() 137 printk("Could not allocate buffer when sending on %p\n", bap_stream); in broadcast_sent_cb()
|
D | gmap_ugg_test.c | 161 static void stream_sent_cb(struct bt_bap_stream *bap_stream) in stream_sent_cb() argument 163 struct audio_test_stream *test_stream = audio_test_stream_from_bap_stream(bap_stream); in stream_sent_cb() 185 printk("Could not allocate buffer when sending on %p\n", bap_stream); in stream_sent_cb() 637 snk_group_stream_params[i].stream = &snk_uni_streams[i]->stream.bap_stream; in gmap_unicast_ac_create_unicast_group() 641 src_group_stream_params[i].stream = &src_uni_streams[i]->stream.bap_stream; in gmap_unicast_ac_create_unicast_group()
|
D | cap_initiator_unicast_test.c | 538 group_sink_stream_params.stream = &unicast_client_sink_streams[0].bap_stream; in unicast_group_create() 540 group_source_stream_params.stream = &unicast_client_source_streams[0].bap_stream; in unicast_group_create() 1002 snk_group_stream_params[i].stream = &snk_uni_streams[i]->stream.bap_stream; in cap_initiator_ac_create_unicast_group() 1006 src_group_stream_params[i].stream = &src_uni_streams[i]->stream.bap_stream; in cap_initiator_ac_create_unicast_group()
|
D | gmap_ugt_test.c | 85 struct bt_bap_stream *stream = &unicast_streams[i].bap_stream; in unicast_stream_alloc()
|
D | bap_broadcast_source_test.c | 441 stream_sent_cb(&test_stream->stream.bap_stream); in test_main()
|
D | bap_unicast_client_test.c | 517 struct bt_bap_stream *bap_stream = in init() local 520 bap_stream->ops = &stream_ops; in init()
|
D | cap_acceptor_test.c | 350 struct bt_bap_stream *stream = &unicast_streams[i].bap_stream; in unicast_stream_alloc()
|
/Zephyr-Core-3.6.0/subsys/bluetooth/audio/shell/ |
D | bap.c | 141 static struct shell_stream *shell_stream_from_bap_stream(struct bt_bap_stream *bap_stream) in shell_stream_from_bap_stream() argument 144 CONTAINER_OF(bap_stream, struct bt_cap_stream, bap_stream); in shell_stream_from_bap_stream() 152 static uint16_t get_next_seq_num(struct bt_bap_stream *bap_stream) in get_next_seq_num() argument 154 struct shell_stream *sh_stream = shell_stream_from_bap_stream(bap_stream); in get_next_seq_num() 155 const uint32_t interval_us = bap_stream->qos->interval; in get_next_seq_num() 200 static void clear_lc3_sine_data(struct bt_bap_stream *bap_stream) in clear_lc3_sine_data() argument 202 struct shell_stream *sh_stream = shell_stream_from_bap_stream(bap_stream); in clear_lc3_sine_data() 298 struct bt_bap_stream *bap_stream = &sh_stream->stream.bap_stream; in lc3_audio_send_data() local 315 if (bap_stream == NULL || bap_stream->qos == NULL) { in lc3_audio_send_data() 321 shell_error(ctx_shell, "Stream %p enqueue count was 0", bap_stream); in lc3_audio_send_data() [all …]
|
D | cap_initiator.c | 249 &stream_param[start_param.count].stream->bap_stream; in cmd_cap_initiator_unicast_start() 279 &stream_param[start_param.count].stream->bap_stream; in cmd_cap_initiator_unicast_start() 328 if (unicast_streams[i].stream.bap_stream.conn == NULL) { in cmd_cap_initiator_unicast_list() 357 if (stream->bap_stream.conn == NULL) { in cmd_cap_initiator_unicast_update() 361 err = bt_bap_ep_get_info(stream->bap_stream.ep, &ep_info); in cmd_cap_initiator_unicast_update() 403 err = bt_bap_ep_get_info(stream->bap_stream.ep, &ep_info); in cmd_cap_initiator_unicast_update() 461 if (stream->bap_stream.conn == NULL) { in cmd_cap_initiator_unicast_stop() 465 err = bt_bap_ep_get_info(stream->bap_stream.ep, &ep_info); in cmd_cap_initiator_unicast_stop() 494 err = bt_bap_ep_get_info(stream->bap_stream.ep, &ep_info); in cmd_cap_initiator_unicast_stop() 775 if (snk_uni_stream->stream.bap_stream.conn != NULL) { in cap_ac_unicast() [all …]
|
/Zephyr-Core-3.6.0/tests/bluetooth/audio/bap_broadcast_source/uut/ |
D | CMakeLists.txt | 11 ${ZEPHYR_BASE}/subsys/bluetooth/audio/bap_stream.c
|
/Zephyr-Core-3.6.0/tests/bluetooth/audio/ascs/uut/ |
D | CMakeLists.txt | 13 ${ZEPHYR_BASE}/subsys/bluetooth/audio/bap_stream.c
|
/Zephyr-Core-3.6.0/tests/bluetooth/audio/mocks/ |
D | CMakeLists.txt | 10 src/bap_stream.c
|
/Zephyr-Core-3.6.0/samples/bluetooth/tmap_bms/src/ |
D | cap_initiator.c | 244 bt_bap_stream_cb_register(&broadcast_stream->bap_stream, &broadcast_stream_ops); in cap_initiator_init() 308 broadcast_sent_cb(&broadcast_stream->bap_stream); in cap_initiator_setup()
|
/Zephyr-Core-3.6.0/samples/bluetooth/public_broadcast_source/src/ |
D | main.c | 296 bt_bap_stream_cb_register(&broadcast_stream->bap_stream, &broadcast_stream_ops); in cap_initiator_init() 366 broadcast_sent_cb(&broadcast_stream->bap_stream); in cap_initiator_setup()
|
/Zephyr-Core-3.6.0/samples/bluetooth/tmap_central/src/ |
D | cap_initiator.c | 313 group_stream_params.stream = &unicast_streams[0].bap_stream; in unicast_group_create() 372 struct bt_bap_stream *stream = &unicast_streams[0].bap_stream; in audio_timer_timeout()
|
/Zephyr-Core-3.6.0/include/zephyr/bluetooth/audio/ |
D | cap.h | 147 struct bt_bap_stream bap_stream; member
|