Home
last modified time | relevance | path

Searched defs:stream (Results 1 – 25 of 114) sorted by relevance

12345

/Zephyr-latest/drivers/i2s/
Di2s_ll_stm32.h33 struct stream { struct
51 int (*stream_start)(struct stream *, const struct device *dev); argument
52 void (*stream_disable)(struct stream *, const struct device *dev); argument
53 void (*queue_drop)(struct stream *); argument
Di2s_mcux_flexcomm.c33 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 …]
Di2s_sam_ssc.c78 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/
Dbap_unicast_client.c14 int bt_bap_unicast_client_config(struct bt_bap_stream *stream, in bt_bap_unicast_client_config()
27 int bt_bap_unicast_client_enable(struct bt_bap_stream *stream, uint8_t meta[], in bt_bap_unicast_client_enable()
34 int bt_bap_unicast_client_metadata(struct bt_bap_stream *stream, uint8_t meta[], in bt_bap_unicast_client_metadata()
41 int bt_bap_unicast_client_disable(struct bt_bap_stream *stream) in bt_bap_unicast_client_disable()
47 int bt_bap_unicast_client_connect(struct bt_bap_stream *stream) in bt_bap_unicast_client_connect()
53 int bt_bap_unicast_client_start(struct bt_bap_stream *stream) in bt_bap_unicast_client_start()
59 int bt_bap_unicast_client_stop(struct bt_bap_stream *stream) in bt_bap_unicast_client_stop()
65 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/
Dbap_unicast_client.c32 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/
Dbap_stream.c63 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 …]
Dbap_unicast_server.c99 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/
Dstdout_console.c28 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/
Dtest_ase_state_transition.c39 struct bt_bap_stream stream; member
133 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local
147 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local
165 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local
182 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local
200 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local
217 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local
235 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local
253 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local
270 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local
[all …]
Dtest_ase_state_transition_invalid.c34 struct bt_bap_stream stream; member
287 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local
306 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local
324 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local
343 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local
377 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local
419 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local
438 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local
456 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local
474 struct bt_bap_stream *stream = &fixture->stream; in ZTEST_F() local
[all …]
/Zephyr-latest/samples/bluetooth/bap_unicast_client/src/
Dstream_lc3.c42 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()
Dmain.c218 static void stream_configured(struct bt_bap_stream *stream, const struct bt_bap_qos_cfg_pref *pref) in stream_configured()
225 static void stream_qos_set(struct bt_bap_stream *stream) in stream_qos_set()
232 static void stream_enabled(struct bt_bap_stream *stream) in stream_enabled()
239 static bool stream_tx_can_send(const struct bt_bap_stream *stream) in stream_tx_can_send()
256 static void stream_connected_cb(struct bt_bap_stream *stream) in stream_connected_cb()
271 static void stream_started(struct bt_bap_stream *stream) in stream_started()
286 static void stream_metadata_updated(struct bt_bap_stream *stream) in stream_metadata_updated()
291 static void stream_disabled(struct bt_bap_stream *stream) in stream_disabled()
296 static void stream_stopped(struct bt_bap_stream *stream, uint8_t reason) in stream_stopped()
310 static void stream_released(struct bt_bap_stream *stream) in stream_released()
[all …]
/Zephyr-latest/tests/bluetooth/audio/mocks/include/
Dbap_stream_expects.h40 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()
59 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()
79 struct bt_bap_stream *stream) in expect_bt_bap_stream_ops_metadata_updated_called_once()
98 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()
138 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()
151 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()
197 expect_bt_bap_stream_ops_connected_called_once(const struct bt_bap_stream *stream) in expect_bt_bap_stream_ops_connected_called_once()
210 expect_bt_bap_stream_ops_connected_called_twice(const struct bt_bap_stream *stream) in expect_bt_bap_stream_ops_connected_called_twice()
223 expect_bt_bap_stream_ops_disconnected_called_once(const struct bt_bap_stream *stream) in expect_bt_bap_stream_ops_disconnected_called_once()
235 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/
Dmain.c59 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/
Dbap_unicast_sr.c35 struct bt_bap_stream *stream; member
43 static uint16_t get_and_incr_seq_num(const struct bt_bap_stream *stream) in get_and_incr_seq_num()
158 struct bt_bap_stream *stream = source_streams[i].stream; in audio_timer_timeout() local
192 struct bt_bap_stream *stream = &streams[i]; in stream_alloc() local
203 const struct bt_audio_codec_cfg *codec_cfg, struct bt_bap_stream **stream, in lc3_config()
228 static int lc3_reconfig(struct bt_bap_stream *stream, enum bt_audio_dir dir, in lc3_reconfig()
242 static int lc3_qos(struct bt_bap_stream *stream, const struct bt_bap_qos_cfg *qos, in lc3_qos()
252 static int lc3_enable(struct bt_bap_stream *stream, const uint8_t meta[], size_t meta_len, in lc3_enable()
260 static int lc3_start(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in lc3_start()
297 static int lc3_metadata(struct bt_bap_stream *stream, const uint8_t meta[], size_t meta_len, in lc3_metadata()
[all …]
/Zephyr-latest/samples/bluetooth/tmap_peripheral/src/
Dbap_unicast_sr.c48 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/subsys/bluetooth/host/classic/shell/
Da2dp.c306 struct bt_a2dp_codec_cfg *codec_cfg, struct bt_a2dp_stream **stream, in app_config_req()
323 int app_reconfig_req(struct bt_a2dp_stream *stream, in app_reconfig_req()
337 void app_config_rsp(struct bt_a2dp_stream *stream, uint8_t rsp_err_code) in app_config_rsp()
346 int app_establish_req(struct bt_a2dp_stream *stream, uint8_t *rsp_err_code) in app_establish_req()
353 void app_establish_rsp(struct bt_a2dp_stream *stream, uint8_t rsp_err_code) in app_establish_rsp()
362 int app_release_req(struct bt_a2dp_stream *stream, uint8_t *rsp_err_code) in app_release_req()
369 void app_release_rsp(struct bt_a2dp_stream *stream, uint8_t rsp_err_code) in app_release_rsp()
378 int app_start_req(struct bt_a2dp_stream *stream, uint8_t *rsp_err_code) in app_start_req()
385 void app_start_rsp(struct bt_a2dp_stream *stream, uint8_t rsp_err_code) in app_start_rsp()
394 int app_suspend_req(struct bt_a2dp_stream *stream, uint8_t *rsp_err_code) in app_suspend_req()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dbap_unicast_server_test.c101 struct bt_bap_stream *stream = bap_stream_from_audio_test_stream(&test_streams[i]); in stream_alloc() local
112 const struct bt_audio_codec_cfg *codec_cfg, struct bt_bap_stream **stream, in lc3_config()
137 static int lc3_reconfig(struct bt_bap_stream *stream, enum bt_audio_dir dir, in lc3_reconfig()
150 static int lc3_qos(struct bt_bap_stream *stream, const struct bt_bap_qos_cfg *qos, in lc3_qos()
164 static int lc3_enable(struct bt_bap_stream *stream, const uint8_t meta[], size_t meta_len, in lc3_enable()
172 static int lc3_start(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in lc3_start()
192 static int lc3_metadata(struct bt_bap_stream *stream, const uint8_t meta[], size_t meta_len, in lc3_metadata()
200 static int lc3_disable(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in lc3_disable()
207 static int lc3_stop(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in lc3_stop()
214 static int lc3_release(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in lc3_release()
[all …]
Dgmap_ugt_test.c56 static void unicast_stream_enabled_cb(struct bt_bap_stream *stream) in unicast_stream_enabled_cb()
80 static void unicast_stream_started_cb(struct bt_bap_stream *stream) in unicast_stream_started_cb()
102 struct bt_bap_stream *stream = &unicast_streams[i].bap_stream; in unicast_stream_alloc() local
114 struct bt_bap_stream **stream, in unicast_server_config()
137 static int unicast_server_reconfig(struct bt_bap_stream *stream, enum bt_audio_dir dir, in unicast_server_reconfig()
154 static int unicast_server_qos(struct bt_bap_stream *stream, const struct bt_bap_qos_cfg *qos, in unicast_server_qos()
178 static int unicast_server_enable(struct bt_bap_stream *stream, const uint8_t meta[], in unicast_server_enable()
186 static int unicast_server_start(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in unicast_server_start()
193 static int unicast_server_metadata(struct bt_bap_stream *stream, const uint8_t meta[], in unicast_server_metadata()
201 static int unicast_server_disable(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in unicast_server_disable()
[all …]
Dbap_unicast_client_test.c72 static void stream_configured(struct bt_bap_stream *stream, const struct bt_bap_qos_cfg_pref *pref) in stream_configured()
83 static void stream_qos_set(struct bt_bap_stream *stream) in stream_qos_set()
94 static void stream_enabled(struct bt_bap_stream *stream) in stream_enabled()
101 static void stream_started(struct bt_bap_stream *stream) in stream_started()
118 static void stream_connected(struct bt_bap_stream *stream) in stream_connected()
125 static void stream_disconnected(struct bt_bap_stream *stream, uint8_t reason) in stream_disconnected()
132 static void stream_metadata_updated(struct bt_bap_stream *stream) in stream_metadata_updated()
139 static void stream_disabled(struct bt_bap_stream *stream) in stream_disabled()
146 static void stream_stopped(struct bt_bap_stream *stream, uint8_t reason) in stream_stopped()
163 static void stream_released(struct bt_bap_stream *stream) in stream_released()
[all …]
Dbap_stream_rx.c18 static void log_stream_rx(struct bt_bap_stream *stream, const struct bt_iso_recv_info *info, in log_stream_rx()
27 void bap_stream_rx_recv_cb(struct bt_bap_stream *stream, const struct bt_iso_recv_info *info, in bap_stream_rx_recv_cb()
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_bap_unicast.c35 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 …]
Dbtp_bap_audio_stream.c43 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/
Dspi_ll_stm32.h51 struct stream { struct
68 struct stream dma_rx; argument
/Zephyr-latest/drivers/flash/
Dflash_stm32_xspi.h56 struct stream { struct
57 DMA_TypeDef *reg;
58 const struct device *dev;
59 uint32_t channel;
60 struct dma_config cfg;
61 uint8_t priority;
62 bool src_addr_increment;
63 bool dst_addr_increment;

12345