Home
last modified time | relevance | path

Searched refs:cap_stream (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.5.0/subsys/bluetooth/audio/
Dcap_stream.c20 struct bt_cap_stream *cap_stream = CONTAINER_OF(bap_stream, in cap_stream_configured_cb() local
23 struct bt_bap_stream_ops *ops = cap_stream->ops; in cap_stream_configured_cb()
25 LOG_DBG("%p", cap_stream); in cap_stream_configured_cb()
28 bt_cap_initiator_codec_configured(cap_stream); in cap_stream_configured_cb()
38 struct bt_cap_stream *cap_stream = CONTAINER_OF(bap_stream, in cap_stream_qos_set_cb() local
41 struct bt_bap_stream_ops *ops = cap_stream->ops; in cap_stream_qos_set_cb()
43 LOG_DBG("%p", cap_stream); in cap_stream_qos_set_cb()
46 bt_cap_initiator_qos_configured(cap_stream); in cap_stream_qos_set_cb()
56 struct bt_cap_stream *cap_stream = CONTAINER_OF(bap_stream, in cap_stream_enabled_cb() local
59 struct bt_bap_stream_ops *ops = cap_stream->ops; in cap_stream_enabled_cb()
[all …]
Dcap_internal.h15 void bt_cap_initiator_codec_configured(struct bt_cap_stream *cap_stream);
16 void bt_cap_initiator_qos_configured(struct bt_cap_stream *cap_stream);
17 void bt_cap_initiator_enabled(struct bt_cap_stream *cap_stream);
18 void bt_cap_initiator_started(struct bt_cap_stream *cap_stream);
19 void bt_cap_initiator_metadata_updated(struct bt_cap_stream *cap_stream);
20 void bt_cap_initiator_released(struct bt_cap_stream *cap_stream);
21 void bt_cap_stream_ops_register_bap(struct bt_cap_stream *cap_stream);
Dcap_initiator.c632 static bool cap_stream_in_active_proc(const struct bt_cap_stream *cap_stream) in cap_stream_in_active_proc() argument
639 if (active_proc.proc_param[i].stream == cap_stream) { in cap_stream_in_active_proc()
677 const struct bt_cap_stream *cap_stream = stream_param->stream; in valid_unicast_audio_start_param() local
732 CHECKIF(cap_stream == NULL) { in valid_unicast_audio_start_param()
737 bap_stream = &cap_stream->bap_stream; in valid_unicast_audio_start_param()
755 if (param->stream_params[j].stream == cap_stream) { in valid_unicast_audio_start_param()
760 i, cap_stream); in valid_unicast_audio_start_param()
826 struct bt_cap_stream *cap_stream = stream_param->stream; in cap_initiator_unicast_audio_configure() local
842 bt_cap_stream_ops_register_bap(cap_stream); in cap_initiator_unicast_audio_configure()
847 active_proc.proc_param[i].stream = cap_stream; in cap_initiator_unicast_audio_configure()
[all …]
DCMakeLists.txt60 zephyr_library_sources_ifdef(CONFIG_BT_CAP cap_stream.c)
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/audio/src/
Dcap_initiator_broadcast_test.c53 struct bt_cap_stream *cap_stream = in broadcast_sent_cb() local
87 ret = bt_cap_stream_send(cap_stream, buf, seq_num++, BT_ISO_TIMESTAMP_NONE); in broadcast_sent_cb()
445 struct bt_cap_stream *cap_stream = broadcast_streams[i]; in test_broadcast_audio_tx_sync() local
449 err = bt_cap_stream_get_tx_sync(cap_stream, &info); in test_broadcast_audio_tx_sync()
451 FAIL("Failed to get TX sync for stream[%zu]: %p: %d\n", i, cap_stream, err); in test_broadcast_audio_tx_sync()
456 printk("stream[%zu]: %p seq_num: %u\n", i, cap_stream, info.seq_num); in test_broadcast_audio_tx_sync()
458 FAIL("stream[%zu]: %p seq_num was 0\n", i, cap_stream); in test_broadcast_audio_tx_sync()
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/shell/
Dbap.c145 struct bt_cap_stream *cap_stream = in shell_stream_from_bap_stream() local
147 struct shell_stream *sh_stream = CONTAINER_OF(cap_stream, struct shell_stream, stream); in shell_stream_from_bap_stream()