Home
last modified time | relevance | path

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

12

/Zephyr-Core-3.7.0/include/zephyr/bluetooth/audio/
Dpacs.h70 void bt_pacs_cap_foreach(enum bt_audio_dir dir,
84 int bt_pacs_cap_register(enum bt_audio_dir dir, struct bt_pacs_cap *cap);
96 int bt_pacs_cap_unregister(enum bt_audio_dir dir, struct bt_pacs_cap *cap);
106 int bt_pacs_set_location(enum bt_audio_dir dir,
117 int bt_pacs_set_available_contexts(enum bt_audio_dir dir,
127 enum bt_audio_context bt_pacs_get_available_contexts(enum bt_audio_dir dir);
144 int bt_pacs_conn_set_available_contexts_for_conn(struct bt_conn *conn, enum bt_audio_dir dir,
161 enum bt_audio_dir dir);
171 int bt_pacs_set_supported_contexts(enum bt_audio_dir dir,
Dbap.h415 enum bt_audio_dir dir;
896 int (*config)(struct bt_conn *conn, const struct bt_bap_ep *ep, enum bt_audio_dir dir,
916 int (*reconfig)(struct bt_bap_stream *stream, enum bt_audio_dir dir,
1221 void (*location)(struct bt_conn *conn, enum bt_audio_dir dir, enum bt_audio_location loc);
1361 void (*pac_record)(struct bt_conn *conn, enum bt_audio_dir dir,
1375 void (*endpoint)(struct bt_conn *conn, enum bt_audio_dir dir, struct bt_bap_ep *ep);
1389 void (*discover)(struct bt_conn *conn, int err, enum bt_audio_dir dir);
1413 int bt_bap_unicast_client_discover(struct bt_conn *conn, enum bt_audio_dir dir);
/Zephyr-Core-3.7.0/tests/bluetooth/audio/mocks/src/
Dpacs.c22 DEFINE_FAKE_VOID_FUNC(bt_pacs_cap_foreach, enum bt_audio_dir, bt_pacs_cap_foreach_func_t, void *);
24 struct bt_conn *, enum bt_audio_dir);
26 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()
/Zephyr-Core-3.7.0/subsys/bluetooth/audio/
Dbap_iso.h52 enum bt_audio_dir dir);
57 enum bt_audio_dir dir);
59 enum bt_audio_dir dir);
60 struct bt_bap_stream *bt_bap_iso_get_stream(struct bt_bap_iso *iso, enum bt_audio_dir dir);
Dbap_iso.c154 enum bt_audio_dir dir) in bap_iso_get_iso_dir()
256 enum bt_audio_dir dir) in bt_bap_iso_get_ep()
281 enum bt_audio_dir dir) in bt_bap_iso_bind_stream()
307 enum bt_audio_dir dir) in bt_bap_iso_unbind_stream()
332 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.c216 enum bt_audio_dir dir) in pacs_get_available_contexts_for_conn()
271 static uint16_t supported_context_get(enum bt_audio_dir dir) in supported_context_get()
569 static sys_slist_t *pacs_get(enum bt_audio_dir dir) in pacs_get()
679 static int pac_notify_loc(struct bt_conn *conn, enum bt_audio_dir dir) in pac_notify_loc()
713 static int pac_notify(struct bt_conn *conn, enum bt_audio_dir dir) in pac_notify()
1047 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()
1081 int bt_pacs_cap_register(enum bt_audio_dir dir, struct bt_pacs_cap *cap) in bt_pacs_cap_register()
1127 int bt_pacs_cap_unregister(enum bt_audio_dir dir, struct bt_pacs_cap *cap) in bt_pacs_cap_unregister()
1166 int bt_pacs_set_location(enum bt_audio_dir dir, enum bt_audio_location location) in bt_pacs_set_location()
1182 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.h69 static inline const char *bt_audio_dir_str(enum bt_audio_dir dir) in bt_audio_dir_str()
Dbap_unicast_client.c117 enum bt_audio_dir dir;
516 static struct bt_bap_ep *unicast_client_ep_new(struct bt_conn *conn, enum bt_audio_dir dir, in unicast_client_ep_new()
554 static struct bt_bap_ep *unicast_client_ep_get(struct bt_conn *conn, enum bt_audio_dir dir, in unicast_client_ep_get()
1659 const enum bt_audio_dir dir = client->dir; in pac_record_cb()
1673 const enum bt_audio_dir dir = client->dir; in endpoint_cb()
1682 const enum bt_audio_dir dir = client->dir; in discover_cb()
2312 enum bt_audio_dir dir) in unicast_client_codec_qos_to_iso_qos()
2354 struct bt_bap_iso *iso, enum bt_audio_dir dir) in unicast_group_add_stream()
2413 struct bt_bap_stream *stream, enum bt_audio_dir dir) in unicast_group_del_stream()
3626 enum bt_audio_dir dir; in unicast_client_pacs_location_notify_cb()
[all …]
/Zephyr-Core-3.7.0/tests/bluetooth/audio/mocks/include/
Dpacs.h16 DECLARE_FAKE_VOID_FUNC(bt_pacs_cap_foreach, enum bt_audio_dir, bt_pacs_cap_foreach_func_t, void *);
18 struct bt_conn *, enum bt_audio_dir);
/Zephyr-Core-3.7.0/tests/bluetooth/audio/ascs/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 *,
/Zephyr-Core-3.7.0/tests/bluetooth/audio/ascs/uut/
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.7.0/samples/bluetooth/cap_acceptor/src/
Dcap_acceptor.h49 struct bt_cap_stream *stream_alloc(enum bt_audio_dir dir);
Dmain.c135 struct bt_cap_stream *stream_alloc(enum bt_audio_dir dir) in stream_alloc()
212 static int register_pac(enum bt_audio_dir dir, enum bt_audio_context context, in register_pac()
Dcap_acceptor_unicast.c108 enum bt_audio_dir dir, in unicast_server_config_cb()
137 static int unicast_server_reconfig_cb(struct bt_bap_stream *bap_stream, enum bt_audio_dir dir, in unicast_server_reconfig_cb()
/Zephyr-Core-3.7.0/samples/bluetooth/tmap_central/src/
Dcap_initiator.c193 static void print_remote_codec(const struct bt_audio_codec_cap *codec_cap, enum bt_audio_dir dir) in print_remote_codec()
231 static void discover_cb(struct bt_conn *conn, int err, enum bt_audio_dir dir) in discover_cb()
247 static void pac_record_cb(struct bt_conn *conn, enum bt_audio_dir dir, in pac_record_cb()
253 static void endpoint_cb(struct bt_conn *conn, enum bt_audio_dir dir, struct bt_bap_ep *ep) in endpoint_cb()
/Zephyr-Core-3.7.0/samples/bluetooth/bap_unicast_client/src/
Dmain.c352 enum bt_audio_dir dir) in print_remote_codec_cap()
359 static void discover_sinks_cb(struct bt_conn *conn, int err, enum bt_audio_dir dir) in discover_sinks_cb()
375 static void discover_sources_cb(struct bt_conn *conn, int err, enum bt_audio_dir dir) in discover_sources_cb()
460 enum bt_audio_dir dir, in unicast_client_location_cb()
473 static void pac_record_cb(struct bt_conn *conn, enum bt_audio_dir dir, in pac_record_cb()
479 static void endpoint_cb(struct bt_conn *conn, enum bt_audio_dir dir, struct bt_bap_ep *ep) in endpoint_cb()
780 static enum bt_audio_dir stream_dir(const struct bt_bap_stream *stream) in stream_dir()
/Zephyr-Core-3.7.0/samples/bluetooth/bap_unicast_server/src/
Dmain.c245 static enum bt_audio_dir stream_dir(const struct bt_bap_stream *stream) in stream_dir()
263 static struct bt_bap_stream *stream_alloc(enum bt_audio_dir dir) in stream_alloc()
286 static int lc3_config(struct bt_conn *conn, const struct bt_bap_ep *ep, enum bt_audio_dir dir, in lc3_config()
318 static int lc3_reconfig(struct bt_bap_stream *stream, enum bt_audio_dir dir, in lc3_reconfig()
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/audio/src/
Dbap_unicast_client_test.c246 enum bt_audio_dir dir, in unicast_client_location_cb()
367 enum bt_audio_dir dir) in print_remote_codec_cap()
374 static void discover_sinks_cb(struct bt_conn *conn, int err, enum bt_audio_dir dir) in discover_sinks_cb()
386 static void discover_sources_cb(struct bt_conn *conn, int err, enum bt_audio_dir dir) in discover_sources_cb()
398 static void pac_record_cb(struct bt_conn *conn, enum bt_audio_dir dir, in pac_record_cb()
405 static void endpoint_cb(struct bt_conn *conn, enum bt_audio_dir dir, struct bt_bap_ep *ep) in endpoint_cb()
Dgmap_ugt_test.c113 enum bt_audio_dir dir, const struct bt_audio_codec_cfg *codec_cfg, in unicast_server_config()
137 static int unicast_server_reconfig(struct bt_bap_stream *stream, enum bt_audio_dir dir, in unicast_server_reconfig()
Dbap_unicast_server_test.c114 static int lc3_config(struct bt_conn *conn, const struct bt_bap_ep *ep, enum bt_audio_dir dir, in lc3_config()
140 static int lc3_reconfig(struct bt_bap_stream *stream, enum bt_audio_dir dir, in lc3_reconfig()
/Zephyr-Core-3.7.0/samples/bluetooth/cap_initiator/src/
Dcap_initiator_unicast.c222 static void log_codec(const struct bt_audio_codec_cap *codec_cap, enum bt_audio_dir dir) in log_codec()
254 static void discover_cb(struct bt_conn *conn, int err, enum bt_audio_dir dir) in discover_cb()
273 static void pac_record_cb(struct bt_conn *conn, enum bt_audio_dir dir, in pac_record_cb()
279 static void endpoint_cb(struct bt_conn *conn, enum bt_audio_dir dir, struct bt_bap_ep *ep) in endpoint_cb()
/Zephyr-Core-3.7.0/samples/bluetooth/tmap_peripheral/src/
Dbap_unicast_sr.c122 static int lc3_config(struct bt_conn *conn, const struct bt_bap_ep *ep, enum bt_audio_dir dir, in lc3_config()
150 static int lc3_reconfig(struct bt_bap_stream *stream, enum bt_audio_dir dir, in lc3_reconfig()
/Zephyr-Core-3.7.0/samples/bluetooth/hap_ha/src/
Dbap_unicast_sr.c196 static int lc3_config(struct bt_conn *conn, const struct bt_bap_ep *ep, enum bt_audio_dir dir, in lc3_config()
222 static int lc3_reconfig(struct bt_bap_stream *stream, enum bt_audio_dir dir, in lc3_reconfig()
/Zephyr-Core-3.7.0/tests/bluetooth/tester/src/audio/
Dbtp_bap_unicast.c228 enum bt_audio_dir dir) in btp_send_pac_codec_found_ev()
324 static int lc3_config(struct bt_conn *conn, const struct bt_bap_ep *ep, enum bt_audio_dir dir, in lc3_config()
373 static int lc3_reconfig(struct bt_bap_stream *stream, enum bt_audio_dir dir, in lc3_reconfig()
749 enum bt_audio_dir dir, in unicast_client_location_cb()
818 static void pac_record_cb(struct bt_conn *conn, enum bt_audio_dir dir, in pac_record_cb()
840 static void endpoint_cb(struct bt_conn *conn, enum bt_audio_dir dir, struct bt_bap_ep *ep) in endpoint_cb()
868 static void discover_cb(struct bt_conn *conn, int err, enum bt_audio_dir dir) in discover_cb()
/Zephyr-Core-3.7.0/subsys/bluetooth/audio/shell/
Dbap.c541 const struct named_lc3_preset *bap_get_named_preset(bool is_unicast, enum bt_audio_dir dir, in bap_get_named_preset()
638 static int lc3_config(struct bt_conn *conn, const struct bt_bap_ep *ep, enum bt_audio_dir dir, in lc3_config()
664 static int lc3_reconfig(struct bt_bap_stream *stream, enum bt_audio_dir dir, in lc3_reconfig()
914 enum bt_audio_dir dir) in print_remote_codec_cap()
958 static void pac_record_cb(struct bt_conn *conn, enum bt_audio_dir dir, in pac_record_cb()
964 static void endpoint_cb(struct bt_conn *conn, enum bt_audio_dir dir, struct bt_bap_ep *ep) in endpoint_cb()
979 static void discover_cb(struct bt_conn *conn, int err, enum bt_audio_dir dir) in discover_cb()
984 static void discover_all(struct bt_conn *conn, int err, enum bt_audio_dir dir) in discover_all()
999 enum bt_audio_dir dir, in unicast_client_location_cb()
1090 enum bt_audio_dir dir; in cmd_discover()
[all …]

12