Home
last modified time | relevance | path

Searched refs:bt_audio_dir (Results 1 – 25 of 27) sorted by relevance

12

/Zephyr-Core-3.5.0/include/zephyr/bluetooth/audio/
Dpacs.h48 void bt_pacs_cap_foreach(enum bt_audio_dir dir,
61 int bt_pacs_cap_register(enum bt_audio_dir dir, struct bt_pacs_cap *cap);
72 int bt_pacs_cap_unregister(enum bt_audio_dir dir, struct bt_pacs_cap *cap);
80 int bt_pacs_set_location(enum bt_audio_dir dir,
88 int bt_pacs_set_available_contexts(enum bt_audio_dir dir,
97 enum bt_audio_context bt_pacs_get_available_contexts(enum bt_audio_dir dir);
104 int bt_pacs_set_supported_contexts(enum bt_audio_dir dir,
Dbap.h427 enum bt_audio_dir dir;
826 int (*config)(struct bt_conn *conn, const struct bt_bap_ep *ep, enum bt_audio_dir dir,
846 int (*reconfig)(struct bt_bap_stream *stream, enum bt_audio_dir dir,
1117 void (*location)(struct bt_conn *conn, enum bt_audio_dir dir, enum bt_audio_location loc);
1257 void (*pac_record)(struct bt_conn *conn, enum bt_audio_dir dir,
1271 void (*endpoint)(struct bt_conn *conn, enum bt_audio_dir dir, struct bt_bap_ep *ep);
1285 void (*discover)(struct bt_conn *conn, int err, enum bt_audio_dir dir);
1309 int bt_bap_unicast_client_discover(struct bt_conn *conn, enum bt_audio_dir dir);
Daudio.h385 enum bt_audio_dir { enum
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/
Dbap_iso.h46 enum bt_audio_dir dir);
51 enum bt_audio_dir dir);
53 enum bt_audio_dir dir);
54 struct bt_bap_stream *bt_bap_iso_get_stream(struct bt_bap_iso *iso, enum bt_audio_dir dir);
Dbap_iso.c148 enum bt_audio_dir dir) in bap_iso_get_iso_dir()
213 enum bt_audio_dir dir) in bt_bap_iso_get_ep()
238 enum bt_audio_dir dir) in bt_bap_iso_bind_stream()
264 enum bt_audio_dir dir) in bt_bap_iso_unbind_stream()
289 struct bt_bap_stream *bt_bap_iso_get_stream(struct bt_bap_iso *iso, enum bt_audio_dir dir) in bt_bap_iso_get_stream()
Dpacs_internal.h40 bool bt_pacs_context_available(enum bt_audio_dir dir, uint16_t context);
Dpacs.c91 static int pac_notify_loc(struct bt_conn *conn, enum bt_audio_dir dir);
539 static sys_slist_t *pacs_get(enum bt_audio_dir dir) in pacs_get()
648 static int pac_notify_loc(struct bt_conn *conn, enum bt_audio_dir dir) in pac_notify_loc()
684 static int pac_notify(struct bt_conn *conn, enum bt_audio_dir dir) in pac_notify()
969 bool bt_pacs_context_available(enum bt_audio_dir dir, uint16_t context) in bt_pacs_context_available()
982 void bt_pacs_cap_foreach(enum bt_audio_dir dir, bt_pacs_cap_foreach_func_t func, void *user_data) in bt_pacs_cap_foreach()
1016 int bt_pacs_cap_register(enum bt_audio_dir dir, struct bt_pacs_cap *cap) in bt_pacs_cap_register()
1062 int bt_pacs_cap_unregister(enum bt_audio_dir dir, struct bt_pacs_cap *cap) in bt_pacs_cap_unregister()
1101 int bt_pacs_set_location(enum bt_audio_dir dir, enum bt_audio_location location) in bt_pacs_set_location()
1117 int bt_pacs_set_available_contexts(enum bt_audio_dir dir, enum bt_audio_context contexts) in bt_pacs_set_available_contexts()
[all …]
Daudio_internal.h64 static inline const char *bt_audio_dir_str(enum bt_audio_dir dir) in bt_audio_dir_str()
Dbap_unicast_client.c99 enum bt_audio_dir dir;
491 static struct bt_bap_ep *unicast_client_ep_new(struct bt_conn *conn, enum bt_audio_dir dir, in unicast_client_ep_new()
529 static struct bt_bap_ep *unicast_client_ep_get(struct bt_conn *conn, enum bt_audio_dir dir, in unicast_client_ep_get()
1612 const enum bt_audio_dir dir = client->dir; in pac_record_cb()
1626 const enum bt_audio_dir dir = client->dir; in endpoint_cb()
1635 const enum bt_audio_dir dir = client->dir; in discover_cb()
2276 enum bt_audio_dir dir) in unicast_client_codec_qos_to_iso_qos()
2315 struct bt_bap_iso *iso, enum bt_audio_dir dir) in unicast_group_add_stream()
2374 struct bt_bap_stream *stream, enum bt_audio_dir dir) in unicast_group_del_stream()
3553 enum bt_audio_dir dir; in unicast_client_pacs_location_notify_cb()
[all …]
/Zephyr-Core-3.5.0/tests/bluetooth/audio/mocks/src/
Dpacs.c20 DEFINE_FAKE_VOID_FUNC(bt_pacs_cap_foreach, enum bt_audio_dir, bt_pacs_cap_foreach_func_t, void *);
22 static void pacs_cap_foreach_custom_fake(enum bt_audio_dir dir, bt_pacs_cap_foreach_func_t func, in pacs_cap_foreach_custom_fake()
Dbap_unicast_server.c34 const struct bt_bap_ep *, enum bt_audio_dir,
38 enum bt_audio_dir, const struct bt_audio_codec_cfg *,
/Zephyr-Core-3.5.0/tests/bluetooth/audio/mocks/include/
Dbap_unicast_server.h19 const struct bt_bap_ep *, enum bt_audio_dir,
23 enum bt_audio_dir, const struct bt_audio_codec_cfg *,
Dpacs.h16 DECLARE_FAKE_VOID_FUNC(bt_pacs_cap_foreach, enum bt_audio_dir, bt_pacs_cap_foreach_func_t, void *);
/Zephyr-Core-3.5.0/samples/bluetooth/tmap_central/src/
Dcap_initiator.c194 static void print_remote_codec(const struct bt_audio_codec_cap *codec_cap, enum bt_audio_dir dir) in print_remote_codec()
232 static void discover_cb(struct bt_conn *conn, int err, enum bt_audio_dir dir) in discover_cb()
248 static void pac_record_cb(struct bt_conn *conn, enum bt_audio_dir dir, in pac_record_cb()
254 static void endpoint_cb(struct bt_conn *conn, enum bt_audio_dir dir, struct bt_bap_ep *ep) in endpoint_cb()
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/audio/src/
Dbap_unicast_client_test.c114 enum bt_audio_dir dir, in unicast_client_location_cb()
235 enum bt_audio_dir dir) in print_remote_codec_cap()
242 static void discover_sinks_cb(struct bt_conn *conn, int err, enum bt_audio_dir dir) in discover_sinks_cb()
254 static void discover_sources_cb(struct bt_conn *conn, int err, enum bt_audio_dir dir) in discover_sources_cb()
266 static void pac_record_cb(struct bt_conn *conn, enum bt_audio_dir dir, in pac_record_cb()
273 static void endpoint_cb(struct bt_conn *conn, enum bt_audio_dir dir, struct bt_bap_ep *ep) in endpoint_cb()
Dbap_unicast_server_test.c89 static int lc3_config(struct bt_conn *conn, const struct bt_bap_ep *ep, enum bt_audio_dir dir, in lc3_config()
115 static int lc3_reconfig(struct bt_bap_stream *stream, enum bt_audio_dir dir, in lc3_reconfig()
Dcap_acceptor_test.c350 enum bt_audio_dir dir, const struct bt_audio_codec_cfg *codec_cfg, in unicast_server_config()
376 static int unicast_server_reconfig(struct bt_bap_stream *stream, enum bt_audio_dir dir, in unicast_server_reconfig()
Dcap_initiator_unicast_test.c269 static void print_remote_codec(const struct bt_audio_codec_cap *codec_cap, enum bt_audio_dir dir) in print_remote_codec()
276 static void pac_record_cb(struct bt_conn *conn, enum bt_audio_dir dir, in pac_record_cb()
283 static void discover_cb(struct bt_conn *conn, int err, enum bt_audio_dir dir) in discover_cb()
303 static void endpoint_cb(struct bt_conn *conn, enum bt_audio_dir dir, struct bt_bap_ep *ep) in endpoint_cb()
/Zephyr-Core-3.5.0/samples/bluetooth/unicast_audio_client/src/
Dmain.c604 enum bt_audio_dir dir) in print_remote_codec_cap()
611 static void discover_sinks_cb(struct bt_conn *conn, int err, enum bt_audio_dir dir) in discover_sinks_cb()
627 static void discover_sources_cb(struct bt_conn *conn, int err, enum bt_audio_dir dir) in discover_sources_cb()
712 enum bt_audio_dir dir, in unicast_client_location_cb()
725 static void pac_record_cb(struct bt_conn *conn, enum bt_audio_dir dir, in pac_record_cb()
731 static void endpoint_cb(struct bt_conn *conn, enum bt_audio_dir dir, struct bt_bap_ep *ep) in endpoint_cb()
/Zephyr-Core-3.5.0/samples/bluetooth/unicast_audio_server/src/
Dmain.c241 static enum bt_audio_dir stream_dir(const struct bt_bap_stream *stream) in stream_dir()
259 static struct bt_bap_stream *stream_alloc(enum bt_audio_dir dir) in stream_alloc()
282 static int lc3_config(struct bt_conn *conn, const struct bt_bap_ep *ep, enum bt_audio_dir dir, in lc3_config()
314 static int lc3_reconfig(struct bt_bap_stream *stream, enum bt_audio_dir dir, in lc3_reconfig()
/Zephyr-Core-3.5.0/samples/bluetooth/tmap_peripheral/src/
Dbap_unicast_sr.c117 static int lc3_config(struct bt_conn *conn, const struct bt_bap_ep *ep, enum bt_audio_dir dir, in lc3_config()
145 static int lc3_reconfig(struct bt_bap_stream *stream, enum bt_audio_dir dir, in lc3_reconfig()
/Zephyr-Core-3.5.0/samples/bluetooth/hap_ha/src/
Dbap_unicast_sr.c192 static int lc3_config(struct bt_conn *conn, const struct bt_bap_ep *ep, enum bt_audio_dir dir, in lc3_config()
218 static int lc3_reconfig(struct bt_bap_stream *stream, enum bt_audio_dir dir, in lc3_reconfig()
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/shell/
Dbap.c466 static int lc3_config(struct bt_conn *conn, const struct bt_bap_ep *ep, enum bt_audio_dir dir, in lc3_config()
492 static int lc3_reconfig(struct bt_bap_stream *stream, enum bt_audio_dir dir, in lc3_reconfig()
753 enum bt_audio_dir dir) in print_remote_codec_cap()
797 static void pac_record_cb(struct bt_conn *conn, enum bt_audio_dir dir, in pac_record_cb()
803 static void endpoint_cb(struct bt_conn *conn, enum bt_audio_dir dir, struct bt_bap_ep *ep) in endpoint_cb()
818 static void discover_cb(struct bt_conn *conn, int err, enum bt_audio_dir dir) in discover_cb()
823 static void discover_all(struct bt_conn *conn, int err, enum bt_audio_dir dir) in discover_all()
838 enum bt_audio_dir dir, in unicast_client_location_cb()
929 enum bt_audio_dir dir; in cmd_discover()
2373 enum bt_audio_dir dir; in cmd_set_loc()
[all …]
/Zephyr-Core-3.5.0/tests/bluetooth/tester/src/
Dbtp_bap.c309 static int lc3_config(struct bt_conn *conn, const struct bt_bap_ep *ep, enum bt_audio_dir dir, in lc3_config()
357 static int lc3_reconfig(struct bt_bap_stream *stream, enum bt_audio_dir dir, in lc3_reconfig()
804 enum bt_audio_dir dir) in btp_send_pac_codec_found_ev()
850 enum bt_audio_dir dir, in unicast_client_location_cb()
920 static void pac_record_cb(struct bt_conn *conn, enum bt_audio_dir dir, in pac_record_cb()
932 static void endpoint_cb(struct bt_conn *conn, enum bt_audio_dir dir, struct bt_bap_ep *ep) in endpoint_cb()
960 static void discover_cb(struct bt_conn *conn, int err, enum bt_audio_dir dir) in discover_cb()
2548 err = bt_pacs_set_location((enum bt_audio_dir)cp->dir, in pacs_set_location()
/Zephyr-Core-3.5.0/tests/bluetooth/audio/ascs/src/
Dtest_common.c133 enum bt_audio_dir dir, in unicast_server_cb_config_custom_fake()

12