Home
last modified time | relevance | path

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

12

/Zephyr-latest/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-latest/include/zephyr/bluetooth/
Diso.h187 struct bt_iso_chan { struct
371 struct bt_iso_chan **cis_channels;
470 struct bt_iso_chan *iso_chan;
482 struct bt_iso_chan **bis_channels;
571 struct bt_iso_chan **bis_channels;
685 void (*connected)(struct bt_iso_chan *chan);
697 void (*disconnected)(struct bt_iso_chan *chan, uint8_t reason);
709 struct net_buf *(*alloc_buf)(struct bt_iso_chan *chan);
721 void (*recv)(struct bt_iso_chan *chan, const struct bt_iso_recv_info *info,
734 void (*sent)(struct bt_iso_chan *chan);
[all …]
/Zephyr-latest/tests/bluetooth/audio/mocks/src/
Diso.c21 DEFINE_FAKE_VALUE_FUNC(int, bt_iso_chan_get_tx_sync, const struct bt_iso_chan *,
24 int bt_iso_chan_send(struct bt_iso_chan *chan, struct net_buf *buf, uint16_t seq_num) in bt_iso_chan_send()
33 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()
64 int bt_iso_chan_disconnect(struct bt_iso_chan *chan) in bt_iso_chan_disconnect()
81 struct bt_iso_chan *chan = iso->chan; in mock_bt_iso_connected()
90 struct bt_iso_chan **chan) in mock_bt_iso_accept()
118 int mock_bt_iso_disconnected(struct bt_iso_chan *chan, uint8_t err) in mock_bt_iso_disconnected()
156 struct bt_iso_chan *bis = param->bis_channels[i]; in bt_iso_big_create()
185 struct bt_iso_chan *bis = big->bis[i]; in bt_iso_big_terminate()
/Zephyr-latest/tests/bsim/bluetooth/host/iso/frag/src/
Dbroadcaster.c17 static struct bt_iso_chan iso_chans[CONFIG_BT_ISO_MAX_CHAN];
18 static struct bt_iso_chan *default_chan = &iso_chans[0];
27 static int send_data(struct bt_iso_chan *chan, bool ts) in send_data()
59 static void iso_connected_cb(struct bt_iso_chan *chan) in iso_connected_cb()
66 static void iso_disconnected_cb(struct bt_iso_chan *chan, uint8_t reason) in iso_disconnected_cb()
73 static void sdu_sent_cb(struct bt_iso_chan *chan) in sdu_sent_cb()
120 struct bt_iso_chan *channels[ARRAY_SIZE(iso_chans)]; in create_big()
/Zephyr-latest/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-latest/samples/bluetooth/iso_peripheral/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-latest/tests/bsim/bluetooth/host/iso/frag_2/src/
Dbroadcaster.c18 static struct bt_iso_chan iso_chans[CONFIG_BT_ISO_MAX_CHAN];
19 static struct bt_iso_chan *default_chan = &iso_chans[0];
32 static int send_data(struct bt_iso_chan *chan) in send_data()
58 static void iso_connected_cb(struct bt_iso_chan *chan) in iso_connected_cb()
65 static void iso_disconnected_cb(struct bt_iso_chan *chan, uint8_t reason) in iso_disconnected_cb()
72 static void sdu_sent_cb(struct bt_iso_chan *chan) in sdu_sent_cb()
119 struct bt_iso_chan *channels[ARRAY_SIZE(iso_chans)]; in create_big()
/Zephyr-latest/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.c32 static struct bt_iso_chan iso_chans[CONFIG_BT_ISO_MAX_CHAN];
74 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()
91 static void iso_disconnected(struct bt_iso_chan *chan, uint8_t reason) in iso_disconnected()
226 struct bt_iso_chan *bis_channels[CONFIG_BT_ISO_MAX_CHAN]; in sync_big()
/Zephyr-latest/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-latest/samples/bluetooth/iso_broadcast/src/
Dmain.c32 static void iso_connected(struct bt_iso_chan *chan) in iso_connected()
41 static void iso_disconnected(struct bt_iso_chan *chan, uint8_t reason) in iso_disconnected()
48 static void iso_sent(struct bt_iso_chan *chan) in iso_sent()
69 static struct bt_iso_chan bis_iso_chan[] = {
74 static struct bt_iso_chan *bis[] = {
/Zephyr-latest/samples/bluetooth/iso_central/src/
Dmain.c27 static struct bt_iso_chan iso_chan;
143 static void iso_connected(struct bt_iso_chan *chan) in iso_connected()
153 static void iso_disconnected(struct bt_iso_chan *chan, uint8_t reason) in iso_disconnected()
237 struct bt_iso_chan *channels[1]; in main()
/Zephyr-latest/subsys/bluetooth/host/
Diso_internal.h129 void bt_iso_chan_set_state_debug(struct bt_iso_chan *chan,
135 void bt_iso_chan_set_state(struct bt_iso_chan *chan, enum bt_iso_state state);
Diso.c79 static struct bt_iso_cig *get_cig(const struct bt_iso_chan *iso_chan);
100 struct bt_iso_chan *chan = iso->iso.chan; in bt_iso_sent_cb()
242 static void bt_iso_chan_add(struct bt_conn *iso, struct bt_iso_chan *chan) in bt_iso_chan_add()
252 static int bt_iso_setup_data_path(struct bt_iso_chan *chan) in bt_iso_setup_data_path()
347 struct bt_iso_chan *chan; in bt_iso_connected()
396 static void bt_iso_chan_disconnected(struct bt_iso_chan *chan, uint8_t reason) in bt_iso_chan_disconnected()
424 struct bt_iso_chan *cis_chan; in bt_iso_chan_disconnected()
453 struct bt_iso_chan *chan; in bt_iso_disconnected()
490 void bt_iso_chan_set_state_debug(struct bt_iso_chan *chan, enum bt_iso_state state, in bt_iso_chan_set_state_debug()
527 void bt_iso_chan_set_state(struct bt_iso_chan *chan, enum bt_iso_state state) in bt_iso_chan_set_state()
[all …]
/Zephyr-latest/subsys/bluetooth/host/shell/
Dbt.h25 extern struct bt_iso_chan iso_chan;
Diso.c75 static void iso_recv(struct bt_iso_chan *chan, const struct bt_iso_recv_info *info, in iso_recv()
85 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 = {
198 struct bt_iso_chan *chans[CIS_ISO_CHAN_COUNT]; in cmd_cig_create()
473 struct bt_iso_chan **chan) in iso_accept()
645 static struct bt_iso_chan bis_iso_chan = {
650 static struct bt_iso_chan *bis_channels[BIS_ISO_CHAN_COUNT] = { &bis_iso_chan };
/Zephyr-latest/tests/bluetooth/audio/ascs/src/
Dmain.c255 struct bt_iso_chan *chan; in ZTEST_F()
293 struct bt_iso_chan *chan; in ZTEST_F()
356 struct bt_iso_chan *chan; in ZTEST_F()
382 struct bt_iso_chan *chan; in ZTEST_F()
409 struct bt_iso_chan *chan; in ZTEST_F()
445 struct bt_iso_chan *chan; in test_cis_link_loss_in_disabling_state()
500 struct bt_iso_chan *chan; in ZTEST_F()
546 struct bt_iso_chan *chan; in ZTEST_F()
Dtest_ase_state_transition.c326 struct bt_iso_chan *chan; in ZTEST_F()
350 struct bt_iso_chan *chan; in ZTEST_F()
369 struct bt_iso_chan *chan; in ZTEST_F()
554 struct bt_iso_chan *chan; in ZTEST_F()
583 struct bt_iso_chan *chan; in ZTEST_F()
604 struct bt_iso_chan *chan; in ZTEST_F()
626 struct bt_iso_chan *chan; in ZTEST_F()
757 struct bt_iso_chan *chan; in ZTEST_F()
886 struct bt_iso_chan *chan; in ZTEST_F()
910 struct bt_iso_chan *chan; in ZTEST_F()
[all …]
Dtest_ase_state_transition_invalid.c345 struct bt_iso_chan *chan; in ZTEST_F()
379 struct bt_iso_chan *chan; in ZTEST_F()
476 struct bt_iso_chan *chan; in ZTEST_F()
496 struct bt_iso_chan *chan; in ZTEST_F()
517 struct bt_iso_chan *chan; in ZTEST_F()
673 struct bt_iso_chan *chan; in ZTEST_F()
692 struct bt_iso_chan *chan; in ZTEST_F()
769 struct bt_iso_chan *chan; in ZTEST_F()
788 struct bt_iso_chan *chan; in ZTEST_F()
809 struct bt_iso_chan *chan; in ZTEST_F()
/Zephyr-latest/subsys/bluetooth/audio/
Dbap_stream.h40 struct bt_iso_chan *bt_bap_stream_iso_chan_get(struct bt_bap_stream *stream);
Dbap_endpoint.h94 struct bt_iso_chan *cis[UNICAST_GROUP_STREAM_CNT];
165 struct bt_iso_chan *chan;
/Zephyr-latest/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-latest/samples/bluetooth/iso_receive/src/
Dmain.c210 static void iso_recv(struct bt_iso_chan *chan, const struct bt_iso_recv_info *info, in iso_recv()
234 static void iso_connected(struct bt_iso_chan *chan) in iso_connected()
240 static void iso_disconnected(struct bt_iso_chan *chan, uint8_t reason) in iso_disconnected()
263 static struct bt_iso_chan bis_iso_chan[] = {
270 static struct bt_iso_chan *bis[] = {

12