Home
last modified time | relevance | path

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

12

/Zephyr-latest/subsys/bluetooth/audio/
Dcap_stream.c28 LOG_MODULE_REGISTER(bt_cap_stream, CONFIG_BT_CAP_STREAM_LOG_LEVEL);
53 struct bt_cap_stream *cap_stream = CONTAINER_OF(bap_stream, in cap_stream_configured_cb()
54 struct bt_cap_stream, in cap_stream_configured_cb()
72 struct bt_cap_stream *cap_stream = CONTAINER_OF(bap_stream, in cap_stream_qos_set_cb()
73 struct bt_cap_stream, in cap_stream_qos_set_cb()
91 struct bt_cap_stream *cap_stream = CONTAINER_OF(bap_stream, in cap_stream_enabled_cb()
92 struct bt_cap_stream, in cap_stream_enabled_cb()
110 struct bt_cap_stream *cap_stream = CONTAINER_OF(bap_stream, in cap_stream_metadata_updated_cb()
111 struct bt_cap_stream, in cap_stream_metadata_updated_cb()
129 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_disabled(struct bt_cap_stream *cap_stream);
34 void bt_cap_initiator_stopped(struct bt_cap_stream *cap_stream);
35 void bt_cap_initiator_released(struct bt_cap_stream *cap_stream);
36 void bt_cap_stream_ops_register_bap(struct bt_cap_stream *cap_stream);
[all …]
Dcap_initiator.c470 static bool iso_is_in_state(const struct bt_cap_stream *cap_stream, enum bt_iso_state state) in iso_is_in_state()
477 static void set_cap_stream_in_progress(struct bt_cap_stream *cap_stream, bool value) in set_cap_stream_in_progress()
498 const struct bt_cap_stream *cap_stream) in get_proc_param_by_cap_stream()
522 struct bt_cap_stream *cap_stream; in update_proc_done_cnt()
583 struct bt_cap_stream *cap_stream; in update_proc_done_cnt()
621 struct bt_cap_stream *cap_stream; in update_proc_done_cnt()
664 struct bt_cap_stream *cap_stream; in get_next_proc_param()
787 const struct bt_cap_stream *cap_stream = stream_param->stream; in valid_unicast_audio_start_param()
899 void bt_cap_initiator_cp_cb(struct bt_cap_stream *cap_stream, enum bt_bap_ascs_rsp_code rsp_code, in bt_cap_initiator_cp_cb()
955 struct bt_cap_stream *cap_stream = stream_param->stream; in cap_initiator_unicast_audio_configure()
[all …]
Dcap_common.c201 bool bt_cap_common_stream_in_active_proc(const struct bt_cap_stream *cap_stream) in bt_cap_common_stream_in_active_proc()
/Zephyr-latest/samples/bluetooth/cap_acceptor/src/
Dcap_acceptor.h20 struct bt_cap_stream source_stream;
22 struct bt_cap_stream sink_stream;
59 struct bt_cap_stream *stream_alloc(enum bt_audio_dir dir);
68 void stream_released(const struct bt_cap_stream *cap_stream);
Dcap_acceptor_unicast.c115 struct bt_cap_stream *cap_stream; in unicast_server_config_cb()
319 struct bt_cap_stream *cap_stream = in unicast_stream_released_cb()
320 CONTAINER_OF(bap_stream, struct bt_cap_stream, bap_stream); in unicast_stream_released_cb()
360 struct bt_cap_stream *cap_stream = &peer->source_stream; in tx_thread_func()
Dmain.c141 struct bt_cap_stream *stream_alloc(enum bt_audio_dir dir) in stream_alloc()
152 void stream_released(const struct bt_cap_stream *cap_stream) in stream_released()
/Zephyr-latest/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.c29 static struct bt_cap_stream broadcast_stream;
34 struct bt_cap_stream *cap_stream = CONTAINER_OF(stream, struct bt_cap_stream, bap_stream); in broadcast_stream_started_cb()
48 struct bt_cap_stream *cap_stream = CONTAINER_OF(stream, struct bt_cap_stream, bap_stream); in broadcast_stream_stopped_cb()
Dcap_initiator_tx.c48 struct bt_cap_stream *cap_stream = tx_streams[i].stream; in tx_thread_func()
93 int cap_initiator_tx_register_stream(struct bt_cap_stream *cap_stream) in cap_initiator_tx_register_stream()
111 int cap_initiator_tx_unregister_stream(struct bt_cap_stream *cap_stream) in cap_initiator_tx_unregister_stream()
Dcap_initiator_unicast.c54 struct bt_cap_stream source_stream;
56 struct bt_cap_stream sink_stream;
126 struct bt_cap_stream *cap_stream = in unicast_stream_started_cb()
127 CONTAINER_OF(stream, struct bt_cap_stream, bap_stream); in unicast_stream_started_cb()
152 struct bt_cap_stream *cap_stream = in unicast_stream_stopped_cb()
153 CONTAINER_OF(stream, struct bt_cap_stream, bap_stream); in unicast_stream_stopped_cb()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dcommon.h135 struct bt_cap_stream stream;
145 static inline struct bt_cap_stream *cap_stream_from_bap_stream(struct bt_bap_stream *bap_stream) in cap_stream_from_bap_stream()
147 return CONTAINER_OF(bap_stream, struct bt_cap_stream, bap_stream); in cap_stream_from_bap_stream()
150 static inline struct bt_bap_stream *bap_stream_from_cap_stream(struct bt_cap_stream *cap_stream) in bap_stream_from_cap_stream()
156 audio_test_stream_from_cap_stream(struct bt_cap_stream *cap_stream) in audio_test_stream_from_cap_stream()
167 static inline struct bt_cap_stream *
Dbap_common.h47 struct bt_cap_stream stream;
Dcap_initiator_unicast_test.c70 static struct bt_cap_stream unicast_client_sink_streams[CONFIG_BT_BAP_UNICAST_CLIENT_ASE_SNK_COUNT];
71 static struct bt_cap_stream
82 static struct bt_cap_stream *non_idle_streams[CONFIG_BT_BAP_UNICAST_CLIENT_GROUP_STREAM_COUNT];
136 struct bt_cap_stream *cap_stream = cap_stream_from_bap_stream(stream); in unicast_stream_configured()
186 struct bt_cap_stream *cap_stream = cap_stream_from_bap_stream(stream); in unicast_stream_released()
1069 struct bt_cap_stream *snk_cap_streams[CAP_AC_MAX_SNK] = {0}; in cap_initiator_ac_cap_unicast_start()
1070 struct bt_cap_stream *src_cap_streams[CAP_AC_MAX_SRC] = {0}; in cap_initiator_ac_cap_unicast_start()
Dpbp_public_broadcast_source_test.c48 static struct bt_cap_stream *broadcast_stream;
Dcap_initiator_broadcast_test.c67 static struct bt_cap_stream *broadcast_streams[ARRAY_SIZE(broadcast_source_streams)];
561 struct bt_cap_stream *cap_stream = broadcast_streams[i]; in test_broadcast_audio_tx_sync()
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dcap.h187 struct bt_cap_stream { struct
203 void bt_cap_stream_ops_register(struct bt_cap_stream *stream, struct bt_bap_stream_ops *ops); argument
220 int bt_cap_stream_send(struct bt_cap_stream *stream, struct net_buf *buf, uint16_t seq_num);
239 int bt_cap_stream_send_ts(struct bt_cap_stream *stream, struct net_buf *buf, uint16_t seq_num,
255 int bt_cap_stream_get_tx_sync(struct bt_cap_stream *stream, struct bt_iso_tx_info *info);
263 struct bt_cap_stream *stream;
296 struct bt_cap_stream *stream;
330 struct bt_cap_stream **streams;
439 struct bt_cap_stream *stream;
/Zephyr-latest/tests/bluetooth/audio/cap_initiator/src/
Dtest_unicast_stop.c35 struct bt_cap_stream cap_streams[CONFIG_BT_BAP_UNICAST_CLIENT_GROUP_STREAM_COUNT];
57 struct bt_cap_stream *cap_stream = &fixture->cap_streams[i]; in cap_initiator_test_unicast_stop_fixture_init()
112 struct bt_cap_stream *streams[CONFIG_BT_BAP_UNICAST_CLIENT_GROUP_STREAM_COUNT] = {0}; in ZTEST_F()
147 struct bt_cap_stream *streams[CONFIG_BT_BAP_UNICAST_CLIENT_GROUP_STREAM_COUNT] = {0}; in ZTEST_F()
181 struct bt_cap_stream *streams[CONFIG_BT_BAP_UNICAST_CLIENT_GROUP_STREAM_COUNT] = {0}; in ZTEST_F()
215 struct bt_cap_stream *streams[CONFIG_BT_BAP_UNICAST_CLIENT_GROUP_STREAM_COUNT] = {0}; in ZTEST_F()
250 struct bt_cap_stream *streams[CONFIG_BT_BAP_UNICAST_CLIENT_GROUP_STREAM_COUNT] = {0}; in ZTEST_F()
285 struct bt_cap_stream *streams[CONFIG_BT_BAP_UNICAST_CLIENT_GROUP_STREAM_COUNT] = {0}; in ZTEST_F()
319 struct bt_cap_stream *streams[CONFIG_BT_BAP_UNICAST_CLIENT_GROUP_STREAM_COUNT] = {0}; in ZTEST_F()
353 struct bt_cap_stream *streams[CONFIG_BT_BAP_UNICAST_CLIENT_GROUP_STREAM_COUNT] = {0}; in ZTEST_F()
[all …]
Dtest_common.c44 void test_unicast_set_state(struct bt_cap_stream *cap_stream, struct bt_conn *conn, in test_unicast_set_state()
/Zephyr-latest/tests/bluetooth/audio/cap_initiator/include/
Dtest_common.h19 void test_unicast_set_state(struct bt_cap_stream *cap_stream, struct bt_conn *conn,
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_bap_audio_stream.h22 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-latest/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()
567 struct bt_cap_stream *snk_cap_streams[BAP_UNICAST_AC_MAX_SNK] = {0}; in cap_ac_unicast_start()
568 struct bt_cap_stream *src_cap_streams[BAP_UNICAST_AC_MAX_SRC] = {0}; in cap_ac_unicast_start()
/Zephyr-latest/samples/bluetooth/tmap_bms/src/
Dcap_initiator.c36 static struct bt_cap_stream broadcast_source_stream;
37 static struct bt_cap_stream *broadcast_stream;
/Zephyr-latest/samples/bluetooth/pbp_public_broadcast_source/src/
Dmain.c43 static struct bt_cap_stream broadcast_source_stream;
44 static struct bt_cap_stream *broadcast_stream;

12