Home
last modified time | relevance | path

Searched refs:shell_stream (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.7.0/subsys/bluetooth/audio/shell/
Dbap.c61 struct shell_stream unicast_streams[CONFIG_BT_MAX_CONN *
77 struct shell_stream broadcast_source_streams[CONFIG_BT_BAP_BROADCAST_SRC_STREAM_COUNT];
81 static struct shell_stream broadcast_sink_streams[CONFIG_BT_BAP_BROADCAST_SNK_STREAM_COUNT];
174 struct shell_stream *shell_stream_from_bap_stream(struct bt_bap_stream *bap_stream) in shell_stream_from_bap_stream()
178 struct shell_stream *sh_stream = CONTAINER_OF(cap_stream, struct shell_stream, stream); in shell_stream_from_bap_stream()
183 struct bt_bap_stream *bap_stream_from_shell_stream(struct shell_stream *sh_stream) in bap_stream_from_shell_stream()
193 void bap_foreach_stream(void (*func)(struct shell_stream *sh_stream, void *data), void *data) in bap_foreach_stream()
217 static int get_lc3_chan_alloc_from_index(const struct shell_stream *sh_stream, uint8_t index, in get_lc3_chan_alloc_from_index()
255 struct shell_stream *sh_stream = shell_stream_from_bap_stream(bap_stream); in get_next_seq_num()
294 static int init_lc3_encoder(struct shell_stream *sh_stream) in init_lc3_encoder()
[all …]
Dcap_initiator.c250 struct shell_stream *uni_stream = in cmd_cap_initiator_unicast_start()
251 CONTAINER_OF(stream, struct shell_stream, stream); in cmd_cap_initiator_unicast_start()
282 struct shell_stream *uni_stream = in cmd_cap_initiator_unicast_start()
283 CONTAINER_OF(stream, struct shell_stream, stream); in cmd_cap_initiator_unicast_start()
374 struct shell_stream *uni_stream = in cmd_cap_initiator_unicast_update()
375 CONTAINER_OF(stream, struct shell_stream, stream); in cmd_cap_initiator_unicast_update()
406 struct shell_stream *uni_stream = in cmd_cap_initiator_unicast_update()
407 CONTAINER_OF(stream, struct shell_stream, stream); in cmd_cap_initiator_unicast_update()
559 struct shell_stream *snk_uni_streams[], size_t snk_cnt, in cap_ac_unicast_start()
560 struct shell_stream *src_uni_streams[], size_t src_cnt) in cap_ac_unicast_start()
[all …]
Daudio.h93 struct shell_stream { struct
158 void bap_foreach_stream(void (*func)(struct shell_stream *sh_stream, void *data), void *data);
166 struct shell_stream *shell_stream_from_bap_stream(struct bt_bap_stream *bap_stream);
167 struct bt_bap_stream *bap_stream_from_shell_stream(struct shell_stream *sh_stream);
168 bool bap_usb_can_get_full_sdu(struct shell_stream *sh_stream);
169 void bap_usb_get_frame(struct shell_stream *sh_stream, enum bt_audio_location chan_alloc,
171 size_t bap_usb_get_frame_size(const struct shell_stream *sh_stream);
210 extern struct shell_stream unicast_streams[CONFIG_BT_MAX_CONN * MAX(UNICAST_SERVER_STREAM_COUNT,
231 struct shell_stream *snk_uni_streams[], size_t snk_cnt,
232 struct shell_stream *src_uni_streams[], size_t src_cnt);
[all …]
Dbap_usb.c327 size_t bap_usb_get_read_cnt(const struct shell_stream *sh_stream) in bap_usb_get_read_cnt()
332 size_t bap_usb_get_frame_size(const struct shell_stream *sh_stream) in bap_usb_get_frame_size()
337 static void stream_cb(struct shell_stream *sh_stream, void *user_data) in stream_cb()
422 bool bap_usb_can_get_full_sdu(struct shell_stream *sh_stream) in bap_usb_can_get_full_sdu()
505 void bap_usb_get_frame(struct shell_stream *sh_stream, enum bt_audio_location chan_alloc, in bap_usb_get_frame()