Home
last modified time | relevance | path

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

12

/Zephyr-Core-3.7.0/tests/bluetooth/audio/mocks/include/
Diso.h15 struct bt_iso_chan *bis[CONFIG_BT_BAP_BROADCAST_SRC_STREAM_COUNT];
23 struct bt_iso_chan **chan);
24 int mock_bt_iso_disconnected(struct bt_iso_chan *chan, uint8_t err);
26 DECLARE_FAKE_VALUE_FUNC(int, bt_iso_chan_get_tx_sync, const struct bt_iso_chan *,
Dconn.h15 struct bt_iso_chan *chan;
/Zephyr-Core-3.7.0/include/zephyr/bluetooth/
Diso.h166 struct bt_iso_chan { struct
350 struct bt_iso_chan **cis_channels;
449 struct bt_iso_chan *iso_chan;
461 struct bt_iso_chan **bis_channels;
550 struct bt_iso_chan **bis_channels;
664 void (*connected)(struct bt_iso_chan *chan);
676 void (*disconnected)(struct bt_iso_chan *chan, uint8_t reason);
688 struct net_buf *(*alloc_buf)(struct bt_iso_chan *chan);
700 void (*recv)(struct bt_iso_chan *chan, const struct bt_iso_recv_info *info,
713 void (*sent)(struct bt_iso_chan *chan);
[all …]
/Zephyr-Core-3.7.0/tests/bluetooth/audio/mocks/src/
Diso.c18 DEFINE_FAKE_VALUE_FUNC(int, bt_iso_chan_get_tx_sync, const struct bt_iso_chan *,
21 int bt_iso_chan_send(struct bt_iso_chan *chan, struct net_buf *buf, uint16_t seq_num) in bt_iso_chan_send()
30 int bt_iso_chan_send_ts(struct bt_iso_chan *chan, struct net_buf *buf, uint16_t seq_num, in bt_iso_chan_send_ts()
61 int bt_iso_chan_disconnect(struct bt_iso_chan *chan) in bt_iso_chan_disconnect()
78 struct bt_iso_chan *chan = iso->chan; in mock_bt_iso_connected()
87 struct bt_iso_chan **chan) in mock_bt_iso_accept()
115 int mock_bt_iso_disconnected(struct bt_iso_chan *chan, uint8_t err) in mock_bt_iso_disconnected()
140 struct bt_iso_chan *bis = param->bis_channels[i]; in bt_iso_big_create()
165 struct bt_iso_chan *bis = big->bis[i]; in bt_iso_big_terminate()
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/iso/cis/src/
Dcis_peripheral.c24 static struct bt_iso_chan iso_chan;
63 static void iso_recv(struct bt_iso_chan *chan, const struct bt_iso_recv_info *info, in iso_recv()
73 static void iso_connected(struct bt_iso_chan *chan) in iso_connected()
78 static void iso_disconnected(struct bt_iso_chan *chan, uint8_t reason) in iso_disconnected()
83 static int iso_accept(const struct bt_iso_accept_info *info, struct bt_iso_chan **chan) in iso_accept()
Dcis_central.c16 static struct bt_iso_chan iso_chans[CONFIG_BT_ISO_MAX_CHAN];
17 static struct bt_iso_chan *default_chan = &iso_chans[0];
103 static void iso_connected(struct bt_iso_chan *chan) in iso_connected()
118 static void iso_disconnected(struct bt_iso_chan *chan, uint8_t reason) in iso_disconnected()
129 static void sdu_sent_cb(struct bt_iso_chan *chan) in sdu_sent_cb()
197 struct bt_iso_chan *channels[ARRAY_SIZE(iso_chans)]; in create_cig()
281 struct bt_iso_chan *channels[2]; in reconfigure_cig()
/Zephyr-Core-3.7.0/samples/bluetooth/peripheral_iso/src/
Dmain.c96 static void iso_recv(struct bt_iso_chan *chan, const struct bt_iso_recv_info *info, in iso_recv()
105 static void iso_connected(struct bt_iso_chan *chan) in iso_connected()
110 static void iso_disconnected(struct bt_iso_chan *chan, uint8_t reason) in iso_disconnected()
131 static struct bt_iso_chan iso_chan = {
137 struct bt_iso_chan **chan) in iso_accept()
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/iso/bis/src/
Dbis_broadcaster.c23 static struct bt_iso_chan iso_chans[CONFIG_BT_ISO_MAX_CHAN];
24 static struct bt_iso_chan *default_chan = &iso_chans[0];
35 static void send_data(struct bt_iso_chan *chan) in send_data()
90 static void iso_connected_cb(struct bt_iso_chan *chan) in iso_connected_cb()
101 static void iso_disconnected_cb(struct bt_iso_chan *chan, uint8_t reason) in iso_disconnected_cb()
112 static void sdu_sent_cb(struct bt_iso_chan *chan) in sdu_sent_cb()
191 struct bt_iso_chan *channels[ARRAY_SIZE(iso_chans)]; in create_big()
Dbis_receiver.c29 static struct bt_iso_chan iso_chans[CONFIG_BT_ISO_MAX_CHAN];
71 static void iso_recv(struct bt_iso_chan *chan, const struct bt_iso_recv_info *info, in iso_recv()
81 static void iso_connected(struct bt_iso_chan *chan) in iso_connected()
88 static void iso_disconnected(struct bt_iso_chan *chan, uint8_t reason) in iso_disconnected()
223 struct bt_iso_chan *bis_channels[CONFIG_BT_ISO_MAX_CHAN]; in sync_big()
/Zephyr-Core-3.7.0/samples/bluetooth/iso_broadcast/src/
Dmain.c29 static void iso_connected(struct bt_iso_chan *chan) in iso_connected()
38 static void iso_disconnected(struct bt_iso_chan *chan, uint8_t reason) in iso_disconnected()
45 static void iso_sent(struct bt_iso_chan *chan) in iso_sent()
66 static struct bt_iso_chan bis_iso_chan[] = {
71 static struct bt_iso_chan *bis[] = {
/Zephyr-Core-3.7.0/tests/bluetooth/audio/ascs/include/
Dtest_common.h65 struct bt_bap_stream *stream, struct bt_iso_chan **chan,
68 struct bt_bap_stream *stream, struct bt_iso_chan **chan);
70 struct bt_bap_stream *stream, struct bt_iso_chan **chan,
/Zephyr-Core-3.7.0/samples/bluetooth/central_iso/src/
Dmain.c26 static struct bt_iso_chan iso_chan;
140 static void iso_connected(struct bt_iso_chan *chan) in iso_connected()
150 static void iso_disconnected(struct bt_iso_chan *chan, uint8_t reason) in iso_disconnected()
234 struct bt_iso_chan *channels[1]; in main()
/Zephyr-Core-3.7.0/subsys/bluetooth/host/
Diso.c76 static struct bt_iso_cig *get_cig(const struct bt_iso_chan *iso_chan);
98 struct bt_iso_chan *chan = iso->iso.chan; in bt_iso_sent_cb()
268 static void bt_iso_chan_add(struct bt_conn *iso, struct bt_iso_chan *chan) in bt_iso_chan_add()
278 static int bt_iso_setup_data_path(struct bt_iso_chan *chan) in bt_iso_setup_data_path()
376 struct bt_iso_chan *chan; in bt_iso_connected()
427 static void bt_iso_chan_disconnected(struct bt_iso_chan *chan, uint8_t reason) in bt_iso_chan_disconnected()
454 struct bt_iso_chan *cis_chan; in bt_iso_chan_disconnected()
483 struct bt_iso_chan *chan; in bt_iso_disconnected()
520 void bt_iso_chan_set_state_debug(struct bt_iso_chan *chan, in bt_iso_chan_set_state_debug()
558 void bt_iso_chan_set_state(struct bt_iso_chan *chan, enum bt_iso_state state) in bt_iso_chan_set_state()
[all …]
Diso_internal.h150 void bt_iso_chan_set_state_debug(struct bt_iso_chan *chan,
156 void bt_iso_chan_set_state(struct bt_iso_chan *chan, enum bt_iso_state state);
/Zephyr-Core-3.7.0/subsys/bluetooth/shell/
Dbt.h25 extern struct bt_iso_chan iso_chan;
Diso.c74 static void iso_recv(struct bt_iso_chan *chan, const struct bt_iso_recv_info *info, in iso_recv()
84 static void iso_connected(struct bt_iso_chan *chan) in iso_connected()
109 static void iso_disconnected(struct bt_iso_chan *chan, uint8_t reason) in iso_disconnected()
135 struct bt_iso_chan iso_chan = {
200 struct bt_iso_chan *chans[CIS_ISO_CHAN_COUNT]; in cmd_cig_create()
475 struct bt_iso_chan **chan) in iso_accept()
648 static struct bt_iso_chan bis_iso_chan = {
653 static struct bt_iso_chan *bis_channels[BIS_ISO_CHAN_COUNT] = { &bis_iso_chan };
/Zephyr-Core-3.7.0/subsys/bluetooth/audio/
Dbap_endpoint.h74 struct bt_iso_chan *cis[UNICAST_GROUP_STREAM_CNT];
146 struct bt_iso_chan *chan;
Dbap_stream.h41 struct bt_iso_chan *bt_bap_stream_iso_chan_get(struct bt_bap_stream *stream);
Dbap_iso.h28 struct bt_iso_chan chan;
/Zephyr-Core-3.7.0/tests/bluetooth/audio/ascs/src/
Dmain.c226 struct bt_iso_chan *chan; in ZTEST_F()
264 struct bt_iso_chan *chan; in ZTEST_F()
328 struct bt_iso_chan *chan; in ZTEST_F()
354 struct bt_iso_chan *chan; in ZTEST_F()
382 struct bt_iso_chan *chan; in ZTEST_F()
418 struct bt_iso_chan *chan; in test_cis_link_loss_in_disabling_state()
474 struct bt_iso_chan *chan; in ZTEST_F()
521 struct bt_iso_chan *chan; in ZTEST_F()
Dtest_ase_state_transition.c275 struct bt_iso_chan *chan; in ZTEST_F()
299 struct bt_iso_chan *chan; in ZTEST_F()
318 struct bt_iso_chan *chan; in ZTEST_F()
503 struct bt_iso_chan *chan; in ZTEST_F()
532 struct bt_iso_chan *chan; in ZTEST_F()
553 struct bt_iso_chan *chan; in ZTEST_F()
575 struct bt_iso_chan *chan; in ZTEST_F()
706 struct bt_iso_chan *chan; in ZTEST_F()
835 struct bt_iso_chan *chan; in ZTEST_F()
859 struct bt_iso_chan *chan; in ZTEST_F()
[all …]
Dtest_ase_state_transition_invalid.c321 struct bt_iso_chan *chan; in ZTEST_F()
355 struct bt_iso_chan *chan; in ZTEST_F()
452 struct bt_iso_chan *chan; in ZTEST_F()
472 struct bt_iso_chan *chan; in ZTEST_F()
493 struct bt_iso_chan *chan; in ZTEST_F()
649 struct bt_iso_chan *chan; in ZTEST_F()
668 struct bt_iso_chan *chan; in ZTEST_F()
745 struct bt_iso_chan *chan; in ZTEST_F()
764 struct bt_iso_chan *chan; in ZTEST_F()
785 struct bt_iso_chan *chan; in ZTEST_F()
/Zephyr-Core-3.7.0/samples/bluetooth/iso_receive/src/
Dmain.c211 static void iso_recv(struct bt_iso_chan *chan, const struct bt_iso_recv_info *info, in iso_recv()
235 static void iso_connected(struct bt_iso_chan *chan) in iso_connected()
241 static void iso_disconnected(struct bt_iso_chan *chan, uint8_t reason) in iso_disconnected()
264 static struct bt_iso_chan bis_iso_chan[] = {
271 static struct bt_iso_chan *bis[] = {
/Zephyr-Core-3.7.0/samples/bluetooth/iso_broadcast_benchmark/src/
Dreceiver.c179 static void iso_recv(struct bt_iso_chan *chan, in iso_recv()
230 static void iso_connected(struct bt_iso_chan *chan) in iso_connected()
239 static void iso_disconnected(struct bt_iso_chan *chan, uint8_t reason) in iso_disconnected()
346 static struct bt_iso_chan bis_iso_chan[CONFIG_BT_ISO_MAX_CHAN]; in create_big_sync()
347 struct bt_iso_chan *bis[CONFIG_BT_ISO_MAX_CHAN]; in create_big_sync()
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/ll/cis/src/
Dmain.c37 static struct bt_iso_chan iso_chan[CONFIG_BT_ISO_MAX_CHAN];
274 static void iso_recv(struct bt_iso_chan *chan, const struct bt_iso_recv_info *info, in iso_recv()
310 void iso_sent(struct bt_iso_chan *chan) in iso_sent()
315 static void iso_connected(struct bt_iso_chan *chan) in iso_connected()
322 static void iso_disconnected(struct bt_iso_chan *chan, uint8_t reason) in iso_disconnected()
341 struct bt_iso_chan *channels[CONFIG_BT_ISO_MAX_CHAN];
618 static struct bt_iso_chan iso_chan_p[CONFIG_BT_ISO_MAX_CHAN];
622 struct bt_iso_chan **chan)

12