Home
last modified time | relevance | path

Searched refs:bt_cap_stream (Results 1 – 25 of 30) sorted by relevance

12

/Zephyr-Core-3.7.0/subsys/bluetooth/audio/
Dcap_stream.c27 LOG_MODULE_REGISTER(bt_cap_stream, CONFIG_BT_CAP_STREAM_LOG_LEVEL);
52 struct bt_cap_stream *cap_stream = CONTAINER_OF(bap_stream, in cap_stream_configured_cb()
53 struct bt_cap_stream, in cap_stream_configured_cb()
71 struct bt_cap_stream *cap_stream = CONTAINER_OF(bap_stream, in cap_stream_qos_set_cb()
72 struct bt_cap_stream, in cap_stream_qos_set_cb()
90 struct bt_cap_stream *cap_stream = CONTAINER_OF(bap_stream, in cap_stream_enabled_cb()
91 struct bt_cap_stream, in cap_stream_enabled_cb()
109 struct bt_cap_stream *cap_stream = CONTAINER_OF(bap_stream, in cap_stream_metadata_updated_cb()
110 struct bt_cap_stream, in cap_stream_metadata_updated_cb()
128 struct bt_cap_stream *cap_stream = CONTAINER_OF(bap_stream, in cap_stream_disabled_cb()
[all …]
Dcap_internal.h27 void bt_cap_initiator_codec_configured(struct bt_cap_stream *cap_stream);
28 void bt_cap_initiator_qos_configured(struct bt_cap_stream *cap_stream);
29 void bt_cap_initiator_enabled(struct bt_cap_stream *cap_stream);
30 void bt_cap_initiator_started(struct bt_cap_stream *cap_stream);
31 void bt_cap_initiator_connected(struct bt_cap_stream *cap_stream);
32 void bt_cap_initiator_metadata_updated(struct bt_cap_stream *cap_stream);
33 void bt_cap_initiator_released(struct bt_cap_stream *cap_stream);
34 void bt_cap_stream_ops_register_bap(struct bt_cap_stream *cap_stream);
68 struct bt_cap_stream *stream;
185 bool bt_cap_common_stream_in_active_proc(const struct bt_cap_stream *cap_stream);
Dcap_initiator.c392 static bool iso_is_in_state(const struct bt_cap_stream *cap_stream, enum bt_iso_state state) in iso_is_in_state()
419 const struct bt_cap_stream *cap_stream) in get_proc_param_by_cap_stream()
443 struct bt_cap_stream *cap_stream; in update_proc_done_cnt()
504 struct bt_cap_stream *cap_stream; in update_proc_done_cnt()
531 struct bt_cap_stream *cap_stream; in update_proc_done_cnt()
574 struct bt_cap_stream *cap_stream; in get_next_proc_param()
679 const struct bt_cap_stream *cap_stream = stream_param->stream; in valid_unicast_audio_start_param()
815 struct bt_cap_stream *cap_stream = stream_param->stream; in cap_initiator_unicast_audio_configure()
881 void bt_cap_initiator_codec_configured(struct bt_cap_stream *cap_stream) in bt_cap_initiator_codec_configured()
921 struct bt_cap_stream *next_cap_stream; in bt_cap_initiator_codec_configured()
[all …]
Dcap_common.c189 bool bt_cap_common_stream_in_active_proc(const struct bt_cap_stream *cap_stream) in bt_cap_common_stream_in_active_proc()
/Zephyr-Core-3.7.0/samples/bluetooth/cap_acceptor/src/
Dcap_acceptor.h18 struct bt_cap_stream source_stream;
20 struct bt_cap_stream sink_stream;
49 struct bt_cap_stream *stream_alloc(enum bt_audio_dir dir);
58 void stream_released(const struct bt_cap_stream *cap_stream);
Dcap_acceptor_unicast.c114 struct bt_cap_stream *cap_stream; in unicast_server_config_cb()
318 struct bt_cap_stream *cap_stream = in unicast_stream_released_cb()
319 CONTAINER_OF(bap_stream, struct bt_cap_stream, bap_stream); in unicast_stream_released_cb()
348 struct bt_cap_stream *cap_stream = &peer->source_stream; in tx_thread_func()
Dmain.c135 struct bt_cap_stream *stream_alloc(enum bt_audio_dir dir) in stream_alloc()
146 void stream_released(const struct bt_cap_stream *cap_stream) in stream_released()
/Zephyr-Core-3.7.0/samples/bluetooth/cap_initiator/src/
Dcap_initiator.h13 struct bt_cap_stream *stream;
53 int cap_initiator_tx_register_stream(struct bt_cap_stream *cap_stream);
64 int cap_initiator_tx_unregister_stream(struct bt_cap_stream *cap_stream);
Dcap_initiator_broadcast.c21 static struct bt_cap_stream broadcast_stream;
26 struct bt_cap_stream *cap_stream = CONTAINER_OF(stream, struct bt_cap_stream, bap_stream); in broadcast_stream_started_cb()
40 struct bt_cap_stream *cap_stream = CONTAINER_OF(stream, struct bt_cap_stream, bap_stream); in broadcast_stream_stopped_cb()
Dcap_initiator_tx.c39 struct bt_cap_stream *cap_stream = tx_streams[i].stream; in tx_thread_func()
84 int cap_initiator_tx_register_stream(struct bt_cap_stream *cap_stream) in cap_initiator_tx_register_stream()
102 int cap_initiator_tx_unregister_stream(struct bt_cap_stream *cap_stream) in cap_initiator_tx_unregister_stream()
Dcap_initiator_unicast.c53 struct bt_cap_stream source_stream;
55 struct bt_cap_stream sink_stream;
125 struct bt_cap_stream *cap_stream = in unicast_stream_started_cb()
126 CONTAINER_OF(stream, struct bt_cap_stream, bap_stream); in unicast_stream_started_cb()
151 struct bt_cap_stream *cap_stream = in unicast_stream_stopped_cb()
152 CONTAINER_OF(stream, struct bt_cap_stream, bap_stream); in unicast_stream_stopped_cb()
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/audio/src/
Dcommon.h133 struct bt_cap_stream stream;
144 static inline struct bt_cap_stream *cap_stream_from_bap_stream(struct bt_bap_stream *bap_stream) in cap_stream_from_bap_stream()
146 return CONTAINER_OF(bap_stream, struct bt_cap_stream, bap_stream); in cap_stream_from_bap_stream()
149 static inline struct bt_bap_stream *bap_stream_from_cap_stream(struct bt_cap_stream *cap_stream) in bap_stream_from_cap_stream()
155 audio_test_stream_from_cap_stream(struct bt_cap_stream *cap_stream) in audio_test_stream_from_cap_stream()
166 static inline struct bt_cap_stream *
Dbap_common.h45 struct bt_cap_stream stream;
Dpbp_public_broadcast_source_test.c58 static struct bt_cap_stream broadcast_source_stream;
59 static struct bt_cap_stream *broadcast_stream;
Dcap_initiator_unicast_test.c69 static struct bt_cap_stream unicast_client_sink_streams[CONFIG_BT_BAP_UNICAST_CLIENT_ASE_SNK_COUNT];
70 static struct bt_cap_stream
81 static struct bt_cap_stream *non_idle_streams[CONFIG_BT_BAP_UNICAST_CLIENT_GROUP_STREAM_COUNT];
134 struct bt_cap_stream *cap_stream = cap_stream_from_bap_stream(stream); in unicast_stream_configured()
184 struct bt_cap_stream *cap_stream = cap_stream_from_bap_stream(stream); in unicast_stream_released()
1072 struct bt_cap_stream *snk_cap_streams[CAP_AC_MAX_SNK] = {0}; in cap_initiator_ac_cap_unicast_start()
1073 struct bt_cap_stream *src_cap_streams[CAP_AC_MAX_SRC] = {0}; in cap_initiator_ac_cap_unicast_start()
Dcap_initiator_broadcast_test.c72 static struct bt_cap_stream *broadcast_streams[ARRAY_SIZE(broadcast_source_streams)];
131 struct bt_cap_stream *cap_stream = cap_stream_from_audio_test_stream(test_stream); in broadcast_sent_cb()
542 struct bt_cap_stream *cap_stream = broadcast_streams[i]; in test_broadcast_audio_tx_sync()
Dgmap_ugg_test.c129 static struct bt_cap_stream *started_unicast_streams[GMAP_UNICAST_AC_MAX_STREAM];
184 struct bt_cap_stream *cap_stream = cap_stream_from_audio_test_stream(test_stream); in stream_sent_cb()
701 struct bt_cap_stream *snk_cap_streams[GMAP_UNICAST_AC_MAX_SNK] = {0}; in gmap_ac_cap_unicast_start()
702 struct bt_cap_stream *src_cap_streams[GMAP_UNICAST_AC_MAX_SRC] = {0}; in gmap_ac_cap_unicast_start()
Dgmap_ugt_test.c50 static struct bt_cap_stream
/Zephyr-Core-3.7.0/include/zephyr/bluetooth/audio/
Dcap.h171 struct bt_cap_stream { struct
187 void bt_cap_stream_ops_register(struct bt_cap_stream *stream, struct bt_bap_stream_ops *ops); argument
204 int bt_cap_stream_send(struct bt_cap_stream *stream, struct net_buf *buf, uint16_t seq_num);
223 int bt_cap_stream_send_ts(struct bt_cap_stream *stream, struct net_buf *buf, uint16_t seq_num,
239 int bt_cap_stream_get_tx_sync(struct bt_cap_stream *stream, struct bt_iso_tx_info *info);
247 struct bt_cap_stream *stream;
280 struct bt_cap_stream *stream;
314 struct bt_cap_stream **streams;
414 struct bt_cap_stream *stream;
/Zephyr-Core-3.7.0/tests/bluetooth/tester/src/audio/
Dbtp_bap_audio_stream.h12 struct bt_cap_stream cap_stream;
Dbtp_cap.c32 static struct bt_cap_stream *stream_unicast_to_cap(struct btp_bap_unicast_stream *stream) in stream_unicast_to_cap()
37 static struct bt_cap_stream *stream_broadcast_to_cap(struct btp_bap_broadcast_stream *stream) in stream_broadcast_to_cap()
409 struct bt_cap_stream in btp_cap_unicast_audio_stop()
/Zephyr-Core-3.7.0/subsys/bluetooth/audio/shell/
Dcap_initiator.c248 struct bt_cap_stream *stream = in cmd_cap_initiator_unicast_start()
280 struct bt_cap_stream *stream = in cmd_cap_initiator_unicast_start()
373 struct bt_cap_stream *stream = &unicast_streams[i].stream; in cmd_cap_initiator_unicast_update()
405 struct bt_cap_stream *stream = (void *)shell_strtoul(argv[i], 16, &err); in cmd_cap_initiator_unicast_update()
468 struct bt_cap_stream *streams[CAP_UNICAST_CLIENT_STREAM_COUNT]; in cmd_cap_initiator_unicast_stop()
479 struct bt_cap_stream *stream = &unicast_streams[i].stream; in cmd_cap_initiator_unicast_stop()
499 struct bt_cap_stream *stream = (void *)shell_strtoul(argv[i], 16, &err); in cmd_cap_initiator_unicast_stop()
566 struct bt_cap_stream *snk_cap_streams[BAP_UNICAST_AC_MAX_SNK] = {0}; in cap_ac_unicast_start()
567 struct bt_cap_stream *src_cap_streams[BAP_UNICAST_AC_MAX_SRC] = {0}; in cap_ac_unicast_start()
/Zephyr-Core-3.7.0/samples/bluetooth/tmap_bms/src/
Dcap_initiator.c27 static struct bt_cap_stream broadcast_source_stream;
28 static struct bt_cap_stream *broadcast_stream;
/Zephyr-Core-3.7.0/samples/bluetooth/pbp_public_broadcast_source/src/
Dmain.c32 static struct bt_cap_stream broadcast_source_stream;
33 static struct bt_cap_stream *broadcast_stream;
/Zephyr-Core-3.7.0/samples/bluetooth/tmap_central/src/
Dcap_initiator.c22 static struct bt_cap_stream unicast_streams[CONFIG_BT_BAP_UNICAST_CLIENT_ASE_SNK_COUNT +

12