/Zephyr-latest/drivers/i2s/ |
D | i2s_ll_stm32.h | 25 struct stream { struct 42 int (*stream_start)(struct stream *, const struct device *dev); argument 43 void (*stream_disable)(struct stream *, const struct device *dev); argument
|
D | i2s_mcux_flexcomm.c | 33 struct stream { struct 50 struct stream rx; argument 173 struct stream *stream; in i2s_mcux_config_get() local 193 struct stream *stream; in i2s_mcux_configure() local 314 static inline void i2s_purge_stream_buffers(struct stream *stream, in i2s_purge_stream_buffers() 340 struct stream *stream = &dev_data->tx; in i2s_mcux_tx_stream_disable() local 381 struct stream *stream = &dev_data->rx; in i2s_mcux_rx_stream_disable() local 412 struct stream *stream; in i2s_mcux_config_dma_blocks() local 472 struct stream *stream = &dev_data->tx; in i2s_mcux_dma_tx_callback() local 535 struct stream *stream = &dev_data->rx; in i2s_mcux_dma_rx_callback() local [all …]
|
D | i2s_sam_ssc.c | 78 struct stream { struct 88 int (*stream_start)(struct stream *, Ssc *const, argument 90 void (*stream_disable)(struct stream *, Ssc *const, argument 92 void (*queue_drop)(struct stream *); argument 99 struct stream rx; argument 212 struct stream *stream = &dev_data->rx; in dma_rx_callback() local 272 struct stream *stream = &dev_data->tx; in dma_tx_callback() local 534 struct stream *stream; in i2s_sam_config_get() local 558 struct stream *stream; in i2s_sam_configure() local 634 static int rx_stream_start(struct stream *stream, Ssc *const ssc, in rx_stream_start() [all …]
|
/Zephyr-latest/tests/bluetooth/audio/ascs/uut/ |
D | bap_unicast_client.c | 19 int bt_bap_unicast_client_config(struct bt_bap_stream *stream, in bt_bap_unicast_client_config() 32 int bt_bap_unicast_client_enable(struct bt_bap_stream *stream, uint8_t meta[], in bt_bap_unicast_client_enable() 39 int bt_bap_unicast_client_metadata(struct bt_bap_stream *stream, uint8_t meta[], in bt_bap_unicast_client_metadata() 46 int bt_bap_unicast_client_disable(struct bt_bap_stream *stream) in bt_bap_unicast_client_disable() 52 int bt_bap_unicast_client_connect(struct bt_bap_stream *stream) in bt_bap_unicast_client_connect() 58 int bt_bap_unicast_client_start(struct bt_bap_stream *stream) in bt_bap_unicast_client_start() 64 int bt_bap_unicast_client_stop(struct bt_bap_stream *stream) in bt_bap_unicast_client_stop() 70 int bt_bap_unicast_client_release(struct bt_bap_stream *stream) in bt_bap_unicast_client_release()
|
/Zephyr-latest/tests/bluetooth/audio/cap_initiator/uut/ |
D | bap_unicast_client.c | 32 int bt_bap_unicast_client_config(struct bt_bap_stream *stream, in bt_bap_unicast_client_config() 65 struct bt_bap_stream *stream; in bt_bap_unicast_client_qos() local 101 int bt_bap_unicast_client_enable(struct bt_bap_stream *stream, const uint8_t meta[], in bt_bap_unicast_client_enable() 129 int bt_bap_unicast_client_metadata(struct bt_bap_stream *stream, const uint8_t meta[], in bt_bap_unicast_client_metadata() 156 int bt_bap_unicast_client_connect(struct bt_bap_stream *stream) in bt_bap_unicast_client_connect() 186 int bt_bap_unicast_client_start(struct bt_bap_stream *stream) in bt_bap_unicast_client_start() 214 int bt_bap_unicast_client_disable(struct bt_bap_stream *stream) in bt_bap_unicast_client_disable() 266 int bt_bap_unicast_client_stop(struct bt_bap_stream *stream) in bt_bap_unicast_client_stop() 324 int bt_bap_unicast_client_release(struct bt_bap_stream *stream) in bt_bap_unicast_client_release()
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | bap_stream.c | 63 void bt_bap_stream_init(struct bt_bap_stream *stream) in bt_bap_stream_init() 79 void bt_bap_stream_attach(struct bt_conn *conn, struct bt_bap_stream *stream, struct bt_bap_ep *ep, in bt_bap_stream_attach() 96 struct bt_iso_chan *bt_bap_stream_iso_chan_get(struct bt_bap_stream *stream) in bt_bap_stream_iso_chan_get() 105 void bt_bap_stream_cb_register(struct bt_bap_stream *stream, in bt_bap_stream_cb_register() 341 static bool bt_bap_stream_can_send(const struct bt_bap_stream *stream) in bt_bap_stream_can_send() 358 static int bap_stream_send(struct bt_bap_stream *stream, struct net_buf *buf, uint16_t seq_num, in bap_stream_send() 414 int bt_bap_stream_send(struct bt_bap_stream *stream, struct net_buf *buf, uint16_t seq_num) in bt_bap_stream_send() 419 int bt_bap_stream_send_ts(struct bt_bap_stream *stream, struct net_buf *buf, uint16_t seq_num, in bt_bap_stream_send_ts() 425 int bt_bap_stream_get_tx_sync(struct bt_bap_stream *stream, struct bt_iso_tx_info *info) in bt_bap_stream_get_tx_sync() 464 bool bt_bap_stream_can_disconnect(const struct bt_bap_stream *stream) in bt_bap_stream_can_disconnect() [all …]
|
D | bap_unicast_server.c | 99 int bt_bap_unicast_server_reconfig(struct bt_bap_stream *stream, in bt_bap_unicast_server_reconfig() 125 int bt_bap_unicast_server_start(struct bt_bap_stream *stream) in bt_bap_unicast_server_start() 148 int bt_bap_unicast_server_metadata(struct bt_bap_stream *stream, const uint8_t meta[], in bt_bap_unicast_server_metadata() 179 int bt_bap_unicast_server_disable(struct bt_bap_stream *stream) in bt_bap_unicast_server_disable() 184 int bt_bap_unicast_server_release(struct bt_bap_stream *stream) in bt_bap_unicast_server_release() 189 int bt_bap_unicast_server_config_ase(struct bt_conn *conn, struct bt_bap_stream *stream, in bt_bap_unicast_server_config_ase()
|
/Zephyr-latest/lib/libc/minimal/source/stdout/ |
D | stdout_console.c | 28 int z_impl_zephyr_fputc(int c, FILE *stream) in z_impl_zephyr_fputc() 34 static inline int z_vrfy_zephyr_fputc(int c, FILE *stream) in z_vrfy_zephyr_fputc() 41 int fputc(int c, FILE *stream) in fputc() 46 int fputs(const char *ZRESTRICT s, FILE *ZRESTRICT stream) in fputs() 57 int putc(int c, FILE *stream) in putc() 69 size_t nitems, FILE *ZRESTRICT stream) in z_impl_zephyr_fwrite() 101 FILE *ZRESTRICT stream) in z_vrfy_zephyr_fwrite() 111 FILE *ZRESTRICT stream) in fwrite()
|
/Zephyr-latest/tests/bluetooth/audio/ascs/src/ |
D | test_ase_state_transition.c | 47 struct bt_bap_stream stream; member 141 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local 155 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local 173 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local 190 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local 208 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local 225 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local 243 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local 261 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local 278 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local [all …]
|
D | test_ase_state_transition_invalid.c | 42 struct bt_bap_stream stream; member 295 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local 314 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local 332 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local 351 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local 385 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local 427 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local 446 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local 464 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local 482 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local [all …]
|
/Zephyr-latest/samples/bluetooth/bap_unicast_client/src/ |
D | stream_lc3.c | 42 static void fill_audio_buf_sin(struct tx_stream *stream) in fill_audio_buf_sin() 56 static int extract_lc3_config(struct tx_stream *stream) in extract_lc3_config() 133 static bool encode_frame(struct tx_stream *stream, uint8_t index, struct net_buf *out_buf) in encode_frame() 154 static bool encode_frame_block(struct tx_stream *stream, struct net_buf *out_buf) in encode_frame_block() 168 void stream_lc3_add_data(struct tx_stream *stream, struct net_buf *buf) in stream_lc3_add_data() 177 int stream_lc3_init(struct tx_stream *stream) in stream_lc3_init()
|
/Zephyr-latest/tests/bluetooth/audio/mocks/include/ |
D | bap_stream_expects.h | 43 static inline void expect_bt_bap_stream_ops_qos_set_called_once(struct bt_bap_stream *stream) in expect_bt_bap_stream_ops_qos_set_called_once() 62 static inline void expect_bt_bap_stream_ops_enabled_called_once(struct bt_bap_stream *stream) in expect_bt_bap_stream_ops_enabled_called_once() 82 struct bt_bap_stream *stream) in expect_bt_bap_stream_ops_metadata_updated_called_once() 101 static inline void expect_bt_bap_stream_ops_disabled_called_once(struct bt_bap_stream *stream) in expect_bt_bap_stream_ops_disabled_called_once() 141 static inline void expect_bt_bap_stream_ops_released_called_once(const struct bt_bap_stream *stream) in expect_bt_bap_stream_ops_released_called_once() 154 static inline void expect_bt_bap_stream_ops_started_called_once(struct bt_bap_stream *stream) in expect_bt_bap_stream_ops_started_called_once() 200 expect_bt_bap_stream_ops_connected_called_once(const struct bt_bap_stream *stream) in expect_bt_bap_stream_ops_connected_called_once() 213 expect_bt_bap_stream_ops_connected_called_twice(const struct bt_bap_stream *stream) in expect_bt_bap_stream_ops_connected_called_twice() 226 expect_bt_bap_stream_ops_disconnected_called_once(const struct bt_bap_stream *stream) in expect_bt_bap_stream_ops_disconnected_called_once() 238 static inline void expect_bt_bap_stream_ops_recv_called_once(struct bt_bap_stream *stream, in expect_bt_bap_stream_ops_recv_called_once() [all …]
|
/Zephyr-latest/samples/bluetooth/bap_unicast_server/src/ |
D | main.c | 59 struct bt_bap_stream stream; member 90 static uint16_t get_and_incr_seq_num(const struct bt_bap_stream *stream) in get_and_incr_seq_num() 230 struct bt_bap_stream *stream = &source_streams[i].stream; in audio_timer_timeout() local 264 static enum bt_audio_dir stream_dir(const struct bt_bap_stream *stream) in stream_dir() 286 struct bt_bap_stream *stream = &source_streams[i].stream; in stream_alloc() local 294 struct bt_bap_stream *stream = &sink_streams[i]; in stream_alloc() local 306 const struct bt_audio_codec_cfg *codec_cfg, struct bt_bap_stream **stream, in lc3_config() 337 static int lc3_reconfig(struct bt_bap_stream *stream, enum bt_audio_dir dir, in lc3_reconfig() 356 static int lc3_qos(struct bt_bap_stream *stream, const struct bt_bap_qos_cfg *qos, in lc3_qos() 373 static int lc3_enable(struct bt_bap_stream *stream, const uint8_t meta[], size_t meta_len, in lc3_enable() [all …]
|
/Zephyr-latest/samples/bluetooth/hap_ha/src/ |
D | bap_unicast_sr.c | 46 struct bt_bap_stream *stream; member 54 static uint16_t get_and_incr_seq_num(const struct bt_bap_stream *stream) in get_and_incr_seq_num() 169 struct bt_bap_stream *stream = source_streams[i].stream; in audio_timer_timeout() local 203 struct bt_bap_stream *stream = &streams[i]; in stream_alloc() local 214 const struct bt_audio_codec_cfg *codec_cfg, struct bt_bap_stream **stream, in lc3_config() 239 static int lc3_reconfig(struct bt_bap_stream *stream, enum bt_audio_dir dir, in lc3_reconfig() 253 static int lc3_qos(struct bt_bap_stream *stream, const struct bt_bap_qos_cfg *qos, in lc3_qos() 263 static int lc3_enable(struct bt_bap_stream *stream, const uint8_t meta[], size_t meta_len, in lc3_enable() 271 static int lc3_start(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in lc3_start() 308 static int lc3_metadata(struct bt_bap_stream *stream, const uint8_t meta[], size_t meta_len, in lc3_metadata() [all …]
|
/Zephyr-latest/subsys/bluetooth/host/classic/shell/ |
D | a2dp.c | 307 struct bt_a2dp_codec_cfg *codec_cfg, struct bt_a2dp_stream **stream, in app_config_req() 324 int app_reconfig_req(struct bt_a2dp_stream *stream, in app_reconfig_req() 338 void app_config_rsp(struct bt_a2dp_stream *stream, uint8_t rsp_err_code) in app_config_rsp() 347 int app_establish_req(struct bt_a2dp_stream *stream, uint8_t *rsp_err_code) in app_establish_req() 354 void app_establish_rsp(struct bt_a2dp_stream *stream, uint8_t rsp_err_code) in app_establish_rsp() 363 int app_release_req(struct bt_a2dp_stream *stream, uint8_t *rsp_err_code) in app_release_req() 370 void app_release_rsp(struct bt_a2dp_stream *stream, uint8_t rsp_err_code) in app_release_rsp() 379 int app_start_req(struct bt_a2dp_stream *stream, uint8_t *rsp_err_code) in app_start_req() 386 void app_start_rsp(struct bt_a2dp_stream *stream, uint8_t rsp_err_code) in app_start_rsp() 395 int app_suspend_req(struct bt_a2dp_stream *stream, uint8_t *rsp_err_code) in app_suspend_req() [all …]
|
/Zephyr-latest/samples/bluetooth/bap_broadcast_sink/src/ |
D | stream_rx.c | 35 static void log_stream_rx(const struct stream_rx *stream, const struct bt_iso_recv_info *info, in log_stream_rx() 50 struct stream_rx *stream = CONTAINER_OF(bap_stream, struct stream_rx, stream); in stream_rx_recv() local 105 struct stream_rx *stream = CONTAINER_OF(bap_stream, struct stream_rx, stream); in stream_rx_started() local 131 struct stream_rx *stream = CONTAINER_OF(bap_stream, struct stream_rx, stream); in stream_rx_stopped() local
|
D | lc3.c | 51 struct stream_rx *stream; member 70 static int init_lc3_decoder(struct stream_rx *stream, uint32_t lc3_frame_duration_us, in init_lc3_decoder() 110 const struct stream_rx *stream = data->stream; in decode_frame() local 152 static int get_lc3_chan_alloc_from_index(const struct stream_rx *stream, uint8_t index, in get_lc3_chan_alloc_from_index() 184 const struct stream_rx *stream = data->stream; in decode_frame_block() local 239 struct stream_rx *stream = data->stream; in do_lc3_decode() local 268 struct stream_rx *stream = data->stream; in lc3_decoder_thread_func() local 282 int lc3_enable(struct stream_rx *stream) in lc3_enable() 405 int lc3_disable(struct stream_rx *stream) in lc3_disable() 426 void lc3_enqueue_for_decoding(struct stream_rx *stream, const struct bt_iso_recv_info *info, in lc3_enqueue_for_decoding()
|
/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | bap_unicast_server_test.c | 88 struct bt_bap_stream *stream = bap_stream_from_audio_test_stream(&test_streams[i]); in stream_alloc() local 99 const struct bt_audio_codec_cfg *codec_cfg, struct bt_bap_stream **stream, in lc3_config() 124 static int lc3_reconfig(struct bt_bap_stream *stream, enum bt_audio_dir dir, in lc3_reconfig() 137 static int lc3_qos(struct bt_bap_stream *stream, const struct bt_bap_qos_cfg *qos, in lc3_qos() 151 static int lc3_enable(struct bt_bap_stream *stream, const uint8_t meta[], size_t meta_len, in lc3_enable() 159 static int lc3_start(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in lc3_start() 179 static int lc3_metadata(struct bt_bap_stream *stream, const uint8_t meta[], size_t meta_len, in lc3_metadata() 187 static int lc3_disable(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in lc3_disable() 194 static int lc3_stop(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in lc3_stop() 201 static int lc3_release(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in lc3_release() [all …]
|
D | bap_stream_rx.c | 18 static void log_stream_rx(struct bt_bap_stream *stream, const struct bt_iso_recv_info *info, in log_stream_rx() 28 void bap_stream_rx_recv_cb(struct bt_bap_stream *stream, const struct bt_iso_recv_info *info, in bap_stream_rx_recv_cb() 86 bool bap_stream_rx_can_recv(const struct bt_bap_stream *stream) in bap_stream_rx_can_recv()
|
D | gmap_ugt_test.c | 60 static void unicast_stream_enabled_cb(struct bt_bap_stream *stream) in unicast_stream_enabled_cb() 84 static void unicast_stream_started_cb(struct bt_bap_stream *stream) in unicast_stream_started_cb() 111 static void unicast_stream_stopped(struct bt_bap_stream *stream, uint8_t reason) in unicast_stream_stopped() 139 struct bt_bap_stream *stream = in unicast_stream_alloc() local 152 struct bt_bap_stream **stream, in unicast_server_config() 175 static int unicast_server_reconfig(struct bt_bap_stream *stream, enum bt_audio_dir dir, in unicast_server_reconfig() 192 static int unicast_server_qos(struct bt_bap_stream *stream, const struct bt_bap_qos_cfg *qos, in unicast_server_qos() 216 static int unicast_server_enable(struct bt_bap_stream *stream, const uint8_t meta[], in unicast_server_enable() 224 static int unicast_server_start(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in unicast_server_start() 231 static int unicast_server_metadata(struct bt_bap_stream *stream, const uint8_t meta[], in unicast_server_metadata() [all …]
|
D | bap_unicast_client_test.c | 70 static void stream_configured(struct bt_bap_stream *stream, const struct bt_bap_qos_cfg_pref *pref) in stream_configured() 81 static void stream_qos_set(struct bt_bap_stream *stream) in stream_qos_set() 92 static void stream_enabled(struct bt_bap_stream *stream) in stream_enabled() 99 static void stream_started(struct bt_bap_stream *stream) in stream_started() 116 static void stream_connected(struct bt_bap_stream *stream) in stream_connected() 123 static void stream_disconnected(struct bt_bap_stream *stream, uint8_t reason) in stream_disconnected() 130 static void stream_metadata_updated(struct bt_bap_stream *stream) in stream_metadata_updated() 137 static void stream_disabled(struct bt_bap_stream *stream) in stream_disabled() 144 static void stream_stopped(struct bt_bap_stream *stream, uint8_t reason) in stream_stopped() 161 static void stream_released(struct bt_bap_stream *stream) in stream_released() [all …]
|
/Zephyr-latest/samples/bluetooth/tmap_peripheral/src/ |
D | bap_unicast_sr.c | 48 struct bt_bap_stream *stream; member 125 struct bt_bap_stream *stream = &streams[i]; in stream_alloc() local 136 const struct bt_audio_codec_cfg *codec_cfg, struct bt_bap_stream **stream, in lc3_config() 163 static int lc3_reconfig(struct bt_bap_stream *stream, enum bt_audio_dir dir, in lc3_reconfig() 174 static int lc3_qos(struct bt_bap_stream *stream, const struct bt_bap_qos_cfg *qos, in lc3_qos() 184 static int lc3_enable(struct bt_bap_stream *stream, const uint8_t meta[], size_t meta_len, in lc3_enable() 192 static int lc3_start(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in lc3_start() 239 static int lc3_metadata(struct bt_bap_stream *stream, const uint8_t meta[], size_t meta_len, in lc3_metadata() 266 static int lc3_disable(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in lc3_disable() 273 static int lc3_stop(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in lc3_stop() [all …]
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_bap_unicast.c | 35 static inline struct btp_bap_unicast_stream *stream_bap_to_unicast(struct bt_bap_stream *stream) in stream_bap_to_unicast() 42 static inline struct bt_bap_stream *stream_unicast_to_bap(struct btp_bap_unicast_stream *stream) in stream_unicast_to_bap() 111 void btp_bap_unicast_stream_free(struct btp_bap_unicast_stream *stream) in btp_bap_unicast_stream_free() 120 struct bt_bap_stream *stream = stream_unicast_to_bap(&conn->streams[i]); in btp_bap_unicast_stream_find() local 326 const struct bt_audio_codec_cfg *codec_cfg, struct bt_bap_stream **stream, in lc3_config() 374 static int lc3_reconfig(struct bt_bap_stream *stream, enum bt_audio_dir dir, in lc3_reconfig() 385 static int lc3_qos(struct bt_bap_stream *stream, const struct bt_bap_qos_cfg *qos, in lc3_qos() 428 static int lc3_enable(struct bt_bap_stream *stream, const uint8_t meta[], size_t meta_len, in lc3_enable() 446 static int lc3_start(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in lc3_start() 453 static int lc3_metadata(struct bt_bap_stream *stream, const uint8_t meta[], size_t meta_len, in lc3_metadata() [all …]
|
D | btp_bap_audio_stream.c | 43 static inline struct bt_bap_stream *audio_stream_to_bap_stream(struct btp_bap_audio_stream *stream) in audio_stream_to_bap_stream() 134 int btp_bap_audio_stream_tx_register(struct btp_bap_audio_stream *stream) in btp_bap_audio_stream_tx_register() 157 int btp_bap_audio_stream_tx_unregister(struct btp_bap_audio_stream *stream) in btp_bap_audio_stream_tx_unregister() 196 bool btp_bap_audio_stream_can_send(struct btp_bap_audio_stream *stream) in btp_bap_audio_stream_can_send() 217 void btp_bap_audio_stream_sent_cb(struct bt_bap_stream *stream) in btp_bap_audio_stream_sent_cb()
|
/Zephyr-latest/drivers/spi/ |
D | spi_ll_stm32.h | 51 struct stream { struct 68 struct stream dma_rx; argument
|