Home
last modified time | relevance | path

Searched refs:bt_bap_ep (Results 1 – 25 of 45) sorted by relevance

12

/Zephyr-latest/subsys/bluetooth/audio/
Dbap_iso.h21 struct bt_bap_ep *ep;
48 void bt_bap_iso_bind_ep(struct bt_bap_iso *iso, struct bt_bap_ep *ep);
49 void bt_bap_iso_configure_data_path(struct bt_bap_ep *ep, struct bt_audio_codec_cfg *codec_cfg);
50 void bt_bap_iso_unbind_ep(struct bt_bap_iso *iso, struct bt_bap_ep *ep);
51 struct bt_bap_ep *bt_bap_iso_get_ep(bool unicast_client, struct bt_bap_iso *iso,
54 struct bt_bap_ep *bt_bap_iso_get_paired_ep(const struct bt_bap_ep *ep);
Dbap_endpoint.h44 struct bt_bap_ep { struct
216 bool bt_bap_ep_is_broadcast_snk(const struct bt_bap_ep *ep);
217 bool bt_bap_ep_is_broadcast_src(const struct bt_bap_ep *ep);
218 bool bt_bap_ep_is_unicast_client(const struct bt_bap_ep *ep);
Dbap_unicast_client_internal.h39 int bt_bap_unicast_client_ep_qos(struct bt_bap_ep *ep, struct net_buf_simple *buf,
42 int bt_bap_unicast_client_ep_send(struct bt_conn *conn, struct bt_bap_ep *ep,
Dbap_iso.c173 void bt_bap_iso_configure_data_path(struct bt_bap_ep *ep, struct bt_audio_codec_cfg *codec_cfg) in bt_bap_iso_configure_data_path()
210 static bool is_unicast_client_ep(struct bt_bap_ep *ep) in is_unicast_client_ep()
215 void bt_bap_iso_bind_ep(struct bt_bap_iso *iso, struct bt_bap_ep *ep) in bt_bap_iso_bind_ep()
234 void bt_bap_iso_unbind_ep(struct bt_bap_iso *iso, struct bt_bap_ep *ep) in bt_bap_iso_unbind_ep()
255 struct bt_bap_ep *bt_bap_iso_get_ep(bool unicast_client, struct bt_bap_iso *iso, in bt_bap_iso_get_ep()
270 struct bt_bap_ep *bt_bap_iso_get_paired_ep(const struct bt_bap_ep *ep) in bt_bap_iso_get_paired_ep()
Dbap_unicast_server.c102 struct bt_bap_ep *ep; in bt_bap_unicast_server_reconfig()
127 struct bt_bap_ep *ep = stream->ep; in bt_bap_unicast_server_start()
151 struct bt_bap_ep *ep; in bt_bap_unicast_server_metadata()
Dbap_unicast_client.c75 struct bt_bap_ep ep;
143 static int unicast_client_ep_set_metadata(struct bt_bap_ep *ep, void *data, uint8_t len,
146 static int unicast_client_ep_set_codec_cfg(struct bt_bap_ep *ep, uint8_t id, uint16_t cid,
149 static int unicast_client_ep_start(struct bt_bap_ep *ep,
154 static void unicast_client_reset(struct bt_bap_ep *ep, uint8_t reason);
157 static void unicast_client_ep_set_status(struct bt_bap_ep *ep, struct net_buf_simple *buf);
159 static int unicast_client_send_start(struct bt_bap_ep *ep) in unicast_client_send_start()
199 static void unicast_client_ep_idle_state(struct bt_bap_ep *ep);
248 struct bt_bap_ep *ep = iso->rx.ep; in unicast_client_ep_iso_recv()
301 struct bt_bap_ep *ep = iso->tx.ep; in unicast_client_ep_iso_sent()
[all …]
Dascs_internal.h351 int ascs_ep_set_state(struct bt_bap_ep *ep, uint8_t state);
356 int bt_ascs_disable_ase(struct bt_bap_ep *ep);
357 int bt_ascs_release_ase(struct bt_bap_ep *ep);
Dbap_stream.h25 void bt_bap_stream_attach(struct bt_conn *conn, struct bt_bap_stream *stream, struct bt_bap_ep *ep,
Dascs.c79 struct bt_bap_ep ep;
128 static int ascs_ep_get_status(struct bt_bap_ep *ep, struct net_buf_simple *buf);
181 static enum bt_bap_ep_state ascs_ep_get_state(struct bt_bap_ep *ep) in ascs_ep_get_state()
261 struct bt_bap_ep *ep = &ase->ep; in ascs_disconnect_stream_work_handler()
610 int ascs_ep_set_state(struct bt_bap_ep *ep, uint8_t state) in ascs_ep_set_state()
713 static void ascs_ep_get_status_config(struct bt_bap_ep *ep, struct net_buf_simple *buf) in ascs_ep_get_status_config()
742 static void ascs_ep_get_status_qos(struct bt_bap_ep *ep, struct net_buf_simple *buf) in ascs_ep_get_status_qos()
764 static void ascs_ep_get_status_enable(struct bt_bap_ep *ep, struct net_buf_simple *buf) in ascs_ep_get_status_enable()
792 static int ascs_ep_get_status(struct bt_bap_ep *ep, struct net_buf_simple *buf) in ascs_ep_get_status()
879 struct bt_bap_ep *ep; in ascs_iso_recv()
[all …]
Dbap_broadcast_source.c53 static struct bt_bap_ep broadcast_source_eps[CONFIG_BT_BAP_BROADCAST_SRC_COUNT]
84 static void broadcast_source_set_ep_state(struct bt_bap_ep *ep, uint8_t state) in broadcast_source_set_ep_state()
145 struct bt_bap_ep *ep = iso->tx.ep; in broadcast_source_iso_sent()
174 struct bt_bap_ep *ep = iso->tx.ep; in broadcast_source_iso_connected()
213 struct bt_bap_ep *ep = iso->tx.ep; in broadcast_source_iso_disconnected()
248 bool bt_bap_ep_is_broadcast_src(const struct bt_bap_ep *ep) in bt_bap_ep_is_broadcast_src()
259 static void broadcast_source_ep_init(struct bt_bap_ep *ep) in broadcast_source_ep_init()
268 static struct bt_bap_ep *broadcast_source_new_ep(uint8_t index) in broadcast_source_new_ep()
271 struct bt_bap_ep *ep = &broadcast_source_eps[index][i]; in broadcast_source_new_ep()
302 struct bt_bap_ep *ep; in broadcast_source_setup_stream()
Dbap_broadcast_sink.c54 static struct bt_bap_ep broadcast_sink_eps[CONFIG_BT_BAP_BROADCAST_SNK_COUNT]
210 static void broadcast_sink_set_ep_state(struct bt_bap_ep *ep, uint8_t state) in broadcast_sink_set_ep_state()
265 struct bt_bap_ep *ep = iso->rx.ep; in broadcast_sink_iso_recv()
330 struct bt_bap_ep *ep = iso->rx.ep; in broadcast_sink_iso_connected()
375 struct bt_bap_ep *ep = iso->rx.ep; in broadcast_sink_iso_disconnected()
1045 bool bt_bap_ep_is_broadcast_snk(const struct bt_bap_ep *ep) in bt_bap_ep_is_broadcast_snk()
1056 static void broadcast_sink_ep_init(struct bt_bap_ep *ep) in broadcast_sink_ep_init()
1065 static struct bt_bap_ep *broadcast_sink_new_ep(uint8_t index) in broadcast_sink_new_ep()
1068 struct bt_bap_ep *ep = &broadcast_sink_eps[index][i]; in broadcast_sink_new_ep()
1085 struct bt_bap_ep *ep; in bt_bap_broadcast_sink_setup_stream()
[all …]
Dbap_stream.c79 void bt_bap_stream_attach(struct bt_conn *conn, struct bt_bap_stream *stream, struct bt_bap_ep *ep, in bt_bap_stream_attach()
111 int bt_bap_ep_get_info(const struct bt_bap_ep *ep, struct bt_bap_ep_info *info) in bt_bap_ep_get_info()
362 struct bt_bap_ep *ep; in bap_stream_send()
466 const struct bt_bap_ep *stream_ep; in bt_bap_stream_can_disconnect()
482 const struct bt_bap_ep *pair_ep; in bt_bap_stream_can_disconnect()
594 int bt_bap_stream_config(struct bt_conn *conn, struct bt_bap_stream *stream, struct bt_bap_ep *ep, in bt_bap_stream_config()
717 struct bt_bap_ep *ep; in bt_bap_stream_stop()
/Zephyr-latest/tests/bluetooth/audio/cap_initiator/include/
Dtest_common.h20 struct bt_bap_ep *ep, struct bt_bap_lc3_preset *preset,
/Zephyr-latest/samples/bluetooth/tmap_central/src/
Dcap_initiator.c34 static struct bt_bap_ep *unicast_sink_eps[CONFIG_BT_BAP_UNICAST_CLIENT_ASE_SNK_COUNT];
35 static struct bt_bap_ep *unicast_source_eps[CONFIG_BT_BAP_UNICAST_CLIENT_ASE_SRC_COUNT];
219 static void add_remote_sink(struct bt_bap_ep *ep) in add_remote_sink()
230 static void add_remote_source(struct bt_bap_ep *ep) in add_remote_source()
263 static void endpoint_cb(struct bt_conn *conn, enum bt_audio_dir dir, struct bt_bap_ep *ep) in endpoint_cb()
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_bap_unicast.h46 struct bt_bap_ep *end_points[BTP_BAP_UNICAST_MAX_END_POINTS_COUNT];
54 struct bt_bap_ep *btp_bap_unicast_end_point_find(struct btp_bap_unicast_connection *conn,
/Zephyr-latest/tests/bluetooth/audio/ascs/include/
Dbap_unicast_server.h19 const struct bt_bap_ep *, enum bt_audio_dir,
/Zephyr-latest/samples/bluetooth/bap_unicast_client/src/
Dmain.c46 struct bt_bap_ep *ep;
49 static struct bt_bap_ep *sources[CONFIG_BT_BAP_UNICAST_CLIENT_ASE_SRC_COUNT];
339 static void add_remote_source(struct bt_bap_ep *ep) in add_remote_source()
352 static void add_remote_sink(struct bt_bap_ep *ep) in add_remote_sink()
493 static void endpoint_cb(struct bt_conn *conn, enum bt_audio_dir dir, struct bt_bap_ep *ep) in endpoint_cb()
607 static int configure_stream(struct bt_bap_stream *stream, struct bt_bap_ep *ep) in configure_stream()
630 struct bt_bap_ep *ep = sinks[i].ep; in configure_streams()
649 struct bt_bap_ep *ep = sources[i]; in configure_streams()
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dbap.h540 struct bt_bap_ep;
721 struct bt_bap_ep *paired_ep;
736 int bt_bap_ep_get_info(const struct bt_bap_ep *ep, struct bt_bap_ep_info *info);
751 struct bt_bap_ep *ep;
968 int bt_bap_stream_config(struct bt_conn *conn, struct bt_bap_stream *stream, struct bt_bap_ep *ep,
1213 int (*config)(struct bt_conn *conn, const struct bt_bap_ep *ep, enum bt_audio_dir dir,
1403 typedef void (*bt_bap_ep_func_t)(struct bt_bap_ep *ep, void *user_data);
1745 void (*endpoint)(struct bt_conn *conn, enum bt_audio_dir dir, struct bt_bap_ep *ep);
/Zephyr-latest/tests/bluetooth/audio/ascs/uut/
Dbap_unicast_client.c9 bool bt_bap_ep_is_unicast_client(const struct bt_bap_ep *ep) in bt_bap_ep_is_unicast_client()
Dbap_unicast_server.c34 const struct bt_bap_ep *, enum bt_audio_dir,
/Zephyr-latest/tests/bluetooth/audio/cap_initiator/src/
Dtest_common.c45 struct bt_bap_ep *ep, struct bt_bap_lc3_preset *preset, in test_unicast_set_state()
/Zephyr-latest/samples/bluetooth/cap_initiator/src/
Dcap_initiator_unicast.c62 struct bt_bap_ep *source_ep;
64 struct bt_bap_ep *sink_ep;
237 static void add_remote_sink(struct bt_bap_ep *ep) in add_remote_sink()
246 static void add_remote_source(struct bt_bap_ep *ep) in add_remote_source()
280 static void endpoint_cb(struct bt_conn *conn, enum bt_audio_dir dir, struct bt_bap_ep *ep) in endpoint_cb()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dbap_unicast_client_test.c45 static struct bt_bap_ep *g_sinks[CONFIG_BT_BAP_UNICAST_CLIENT_ASE_SNK_COUNT];
46 static struct bt_bap_ep *g_sources[CONFIG_BT_BAP_UNICAST_CLIENT_ASE_SRC_COUNT];
280 static void add_remote_sink(struct bt_bap_ep *ep) in add_remote_sink()
293 static void add_remote_source(struct bt_bap_ep *ep) in add_remote_source()
345 static void endpoint_cb(struct bt_conn *conn, enum bt_audio_dir dir, struct bt_bap_ep *ep) in endpoint_cb()
573 static int codec_configure_stream(struct bt_bap_stream *stream, struct bt_bap_ep *ep, in codec_configure_stream()
Dgmap_ugg_test.c121 static struct bt_bap_ep
123 static struct bt_bap_ep
317 static void add_remote_sink_ep(struct bt_conn *conn, struct bt_bap_ep *ep) in add_remote_sink_ep()
328 static void add_remote_source_ep(struct bt_conn *conn, struct bt_bap_ep *ep) in add_remote_source_ep()
347 static void bap_endpoint_cb(struct bt_conn *conn, enum bt_audio_dir dir, struct bt_bap_ep *ep) in bap_endpoint_cb()
673 struct bt_bap_ep *snk_eps[GMAP_UNICAST_AC_MAX_SNK] = {0}; in gmap_ac_cap_unicast_start()
674 struct bt_bap_ep *src_eps[GMAP_UNICAST_AC_MAX_SRC] = {0}; in gmap_ac_cap_unicast_start()
/Zephyr-latest/tests/bluetooth/audio/cap_initiator/uut/
Dbap_unicast_client.c27 bool bt_bap_ep_is_unicast_client(const struct bt_bap_ep *ep) in bt_bap_ep_is_unicast_client()
303 struct bt_bap_ep *pair_ep = bt_bap_iso_get_paired_ep(stream->ep); in bt_bap_unicast_client_stop()

12