/Zephyr-latest/subsys/bluetooth/audio/ |
D | cap_stream.c | 28 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 …]
|
D | cap_internal.h | 27 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 …]
|
D | cap_initiator.c | 470 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 …]
|
D | cap_common.c | 201 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/ |
D | cap_acceptor.h | 20 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);
|
D | cap_acceptor_unicast.c | 115 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()
|
D | main.c | 141 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/ |
D | cap_initiator.h | 13 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);
|
D | cap_initiator_broadcast.c | 29 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()
|
D | cap_initiator_tx.c | 48 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()
|
D | cap_initiator_unicast.c | 54 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/ |
D | common.h | 135 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 *
|
D | bap_common.h | 47 struct bt_cap_stream stream;
|
D | cap_initiator_unicast_test.c | 70 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()
|
D | pbp_public_broadcast_source_test.c | 48 static struct bt_cap_stream *broadcast_stream;
|
D | cap_initiator_broadcast_test.c | 67 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/ |
D | cap.h | 187 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/ |
D | test_unicast_stop.c | 35 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 …]
|
D | test_common.c | 44 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/ |
D | test_common.h | 19 void test_unicast_set_state(struct bt_cap_stream *cap_stream, struct bt_conn *conn,
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_bap_audio_stream.h | 22 struct bt_cap_stream cap_stream;
|
D | btp_cap.c | 32 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/ |
D | cap_initiator.c | 248 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/ |
D | cap_initiator.c | 36 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/ |
D | main.c | 43 static struct bt_cap_stream broadcast_source_stream; 44 static struct bt_cap_stream *broadcast_stream;
|