/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_conn_iso.c | 100 void ll_conn_iso_group_release(struct ll_conn_iso_group *cig) in ll_conn_iso_group_release() argument 102 cig->cig_id = 0xFF; in ll_conn_iso_group_release() 103 cig->state = CIG_STATE_NO_CIG; in ll_conn_iso_group_release() 104 cig->lll.num_cis = 0U; in ll_conn_iso_group_release() 106 mem_release(cig, &cig_free); in ll_conn_iso_group_release() 109 uint16_t ll_conn_iso_group_handle_get(struct ll_conn_iso_group *cig) in ll_conn_iso_group_handle_get() argument 111 return mem_index_get(cig, cig_pool, sizeof(struct ll_conn_iso_group)); in ll_conn_iso_group_handle_get() 121 struct ll_conn_iso_group *cig; in ll_conn_iso_group_get_by_id() local 124 cig = ll_conn_iso_group_get(h); in ll_conn_iso_group_get_by_id() 125 if (id == cig->cig_id) { in ll_conn_iso_group_get_by_id() [all …]
|
D | ull_peripheral_iso.c | 157 struct ll_conn_iso_group *cig; in ull_peripheral_iso_release() local 162 cig = cis->group; in ull_peripheral_iso_release() 165 cig->lll.num_cis--; in ull_peripheral_iso_release() 167 if (!cig->lll.num_cis) { in ull_peripheral_iso_release() 168 ll_conn_iso_group_release(cig); in ull_peripheral_iso_release() 176 struct ll_conn_iso_group *cig; in ull_peripheral_iso_acquire() local 182 cig = ll_conn_iso_group_get_by_id(req->cig_id); in ull_peripheral_iso_acquire() 183 if (!cig) { in ull_peripheral_iso_acquire() 185 cig = ll_conn_iso_group_acquire(); in ull_peripheral_iso_acquire() 186 if (!cig) { in ull_peripheral_iso_acquire() [all …]
|
D | ull_central_iso.c | 158 struct ll_conn_iso_group *cig; in ll_cig_parameters_commit() local 185 cig = ll_conn_iso_group_get_by_id(cig_id); in ll_cig_parameters_commit() 186 if (!cig) { in ll_cig_parameters_commit() 188 cig = ll_conn_iso_group_acquire(); in ll_cig_parameters_commit() 189 if (!cig) { in ll_cig_parameters_commit() 195 cig->lll.num_cis = 0U; in ll_cig_parameters_commit() 198 } else if (cig->state != CIG_STATE_CONFIGURABLE) { in ll_cig_parameters_commit() 204 num_cis = cig->lll.num_cis; in ll_cig_parameters_commit() 207 memcpy(cig, &ll_iso_setup.group, sizeof(struct ll_conn_iso_group)); in ll_cig_parameters_commit() 209 cig->state = CIG_STATE_CONFIGURABLE; in ll_cig_parameters_commit() [all …]
|
D | ull_conn_iso_internal.h | 7 #define IS_PERIPHERAL(cig) \ argument 9 (cig->lll.role == BT_HCI_ROLE_PERIPHERAL)) 11 #define IS_CENTRAL(cig) \ argument 13 (cig->lll.role == BT_HCI_ROLE_CENTRAL)) 23 void ll_conn_iso_group_release(struct ll_conn_iso_group *cig); 24 uint16_t ll_conn_iso_group_handle_get(struct ll_conn_iso_group *cig); 35 struct ll_conn_iso_stream *ll_conn_iso_stream_get_by_group(struct ll_conn_iso_group *cig,
|
D | ull_iso.c | 240 struct ll_conn_iso_group *cig; in ll_setup_iso_path() local 275 cig = cis->group; in ll_setup_iso_path() 277 role = cig->lll.role; in ll_setup_iso_path() 278 iso_interval = cig->iso_interval; in ll_setup_iso_path() 279 group_sync_delay = cig->sync_delay; in ll_setup_iso_path() 291 sdu_interval = cig->c_sdu_interval; in ll_setup_iso_path() 294 sdu_interval = cig->p_sdu_interval; in ll_setup_iso_path() 304 sdu_interval = cig->p_sdu_interval; in ll_setup_iso_path() 307 sdu_interval = cig->c_sdu_interval; in ll_setup_iso_path() 838 struct ll_conn_iso_group *cig; in ll_iso_receive_test() local [all …]
|
D | ull_peripheral_iso_internal.h | 20 void ull_peripheral_iso_update_ticker(struct ll_conn_iso_group *cig,
|
D | ull_sched.c | 753 struct ll_conn_iso_group *cig; in ull_hdr_get_cb() local 755 cig = ll_conn_iso_group_get(ticker_id - TICKER_ID_CONN_ISO_BASE); in ull_hdr_get_cb() 756 if (cig) { in ull_hdr_get_cb() 757 *ticks_slot = cig->ull.ticks_slot; in ull_hdr_get_cb() 759 return &cig->ull; in ull_hdr_get_cb()
|
D | lll_conn_iso.h | 124 void lll_conn_iso_done(struct lll_conn_iso_group *cig, uint32_t trx_performed,
|
D | ull_llcp_common.c | 132 struct ll_conn_iso_group *cig = ll_conn_iso_group_get_by_id(cig_id); in llcp_cis_stop_by_id() local 134 if (cig) { in llcp_cis_stop_by_id() 139 cis = ll_conn_iso_stream_get_by_group(cig, &cis_handle); in llcp_cis_stop_by_id() 142 cis = ll_conn_iso_stream_get_by_group(cig, &cis_handle); in llcp_cis_stop_by_id()
|
D | ull_llcp.c | 812 struct ll_conn_iso_group *cig; in ull_cp_cis_create() local 827 cig = cis->group; in ull_cp_cis_create() 834 ctx->data.cis_create.c_sdu_interval = cig->c_sdu_interval; in ull_cp_cis_create() 835 ctx->data.cis_create.p_sdu_interval = cig->p_sdu_interval; in ull_cp_cis_create() 840 ctx->data.cis_create.iso_interval = cig->iso_interval; in ull_cp_cis_create()
|
/Zephyr-latest/tests/bluetooth/controller/mock_ctrl/src/ |
D | ull_conn_iso.c | 44 static struct ll_conn_iso_group cig = { 0 }; variable 45 static struct ll_conn_iso_stream cis = { .established = 1, .group = &cig }; 65 return &cig; in ll_conn_iso_group_get_by_id() 68 struct ll_conn_iso_stream *ll_conn_iso_stream_get_by_group(struct ll_conn_iso_group *cig, in ll_conn_iso_stream_get_by_group() argument
|
/Zephyr-latest/tests/bsim/bluetooth/host/iso/cis/src/ |
D | cis_central.c | 18 static struct bt_iso_cig *cig; variable 209 err = bt_iso_cig_create(¶m, &cig); in create_cig() 225 err = bt_iso_cig_reconfigure(cig, param); in reconfigure_cig_interval() 232 err = bt_iso_cig_reconfigure(cig, param); in reconfigure_cig_interval() 242 err = bt_iso_cig_reconfigure(cig, param); in reconfigure_cig_interval() 260 err = bt_iso_cig_reconfigure(cig, param); in reconfigure_cig_latency() 269 err = bt_iso_cig_reconfigure(cig, param); in reconfigure_cig_latency() 294 err = bt_iso_cig_reconfigure(cig, ¶m); in reconfigure_cig() 317 err = bt_iso_cig_reconfigure(cig, ¶m); in reconfigure_cig() 389 err = bt_iso_cig_terminate(cig); in terminate_cig() [all …]
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | iso.c | 423 struct bt_iso_cig *cig; in bt_iso_chan_disconnected() local 427 cig = get_cig(chan); in bt_iso_chan_disconnected() 428 __ASSERT(cig != NULL, "CIG was NULL"); in bt_iso_chan_disconnected() 431 SYS_SLIST_FOR_EACH_CONTAINER(&cig->cis_channels, cis_chan, node) { in bt_iso_chan_disconnected() 440 cig->state = BT_ISO_CIG_STATE_INACTIVE; in bt_iso_chan_disconnected() 1717 static struct net_buf *hci_le_set_cig_params(const struct bt_iso_cig *cig, in hci_le_set_cig_params() argument 1736 req->cig_id = cig->id; in hci_le_set_cig_params() 1750 cig->id, param->c_to_p_latency, param->p_to_c_latency, param->c_to_p_interval, in hci_le_set_cig_params() 1806 static struct net_buf *hci_le_set_cig_test_params(const struct bt_iso_cig *cig, in hci_le_set_cig_test_params() argument 1825 req->cig_id = cig->id; in hci_le_set_cig_test_params() [all …]
|
/Zephyr-latest/samples/bluetooth/iso_central/src/ |
D | main.c | 239 struct bt_iso_cig *cig; in main() local 271 err = bt_iso_cig_create(¶m, &cig); in main()
|
/Zephyr-latest/subsys/bluetooth/host/shell/ |
D | iso.c | 144 static struct bt_iso_cig *cig; variable 200 if (cig != NULL) { in cmd_cig_create() 407 err = bt_iso_cig_create(¶m, &cig); in cmd_cig_create() 422 if (cig == NULL) { in cmd_cig_term() 427 err = bt_iso_cig_terminate(cig); in cmd_cig_term() 434 cig = NULL; in cmd_cig_term()
|
/Zephyr-latest/samples/bluetooth/iso_connected_benchmark/src/ |
D | main.c | 88 static struct bt_iso_cig *cig; variable 1108 err = bt_iso_cig_create(&cig_create_param, &cig); in central_create_cig() 1195 if (cig) { in cleanup() 1196 err = bt_iso_cig_terminate(cig); in cleanup() 1201 cig = NULL; in cleanup() 1279 err = bt_iso_cig_terminate(cig); in run_central() 1284 cig = NULL; in run_central()
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_bap_unicast.h | 25 struct bt_bap_unicast_group *cig; member
|
D | btp_bap_unicast.c | 608 int err = bt_bap_unicast_group_delete(u_cig->cig); in stream_released() 1088 err = bt_bap_unicast_group_delete(u_cig->cig); in btp_bap_unicast_group_create() 1135 err = bt_bap_unicast_group_create(¶m, &cigs[cig_id].cig); in btp_bap_unicast_group_create() 1341 err = bt_bap_stream_qos(conn, cigs[cp->cig_id].cig); in btp_ascs_configure_qos()
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | iso.h | 841 int bt_iso_cig_reconfigure(struct bt_iso_cig *cig, const struct bt_iso_cig_param *param); 852 int bt_iso_cig_terminate(struct bt_iso_cig *cig);
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | bap_endpoint.h | 92 struct bt_iso_cig *cig; member
|
D | ascs_internal.h | 155 uint8_t cig; member
|
D | bap_unicast_client.c | 1980 req->cig = conn_iso->cig_id; in bt_bap_unicast_client_ep_qos() 2337 err = bt_iso_cig_create(¶m, &group->cig); in bt_audio_cig_create() 2368 err = bt_iso_cig_reconfigure(group->cig, ¶m); in bt_audio_cig_reconfigure() 2401 return bt_iso_cig_terminate(group->cig); in unicast_client_cig_terminate() 3019 struct bt_iso_cig *cig; in bt_bap_unicast_group_add_streams() local 3066 cig = unicast_group->cig; in bt_bap_unicast_group_add_streams() 3067 if (cig != NULL && cig->state != BT_ISO_CIG_STATE_CONFIGURED) { in bt_bap_unicast_group_add_streams() 3126 if (unicast_group->cig != NULL) { in bt_bap_unicast_group_delete()
|
D | ascs.c | 2128 ase_qos(ase, qos->cig, qos->cis, &cqos, &rsp); in ascs_qos()
|
/Zephyr-latest/tests/bsim/bluetooth/ll/cis/src/ |
D | main.c | 342 struct bt_iso_cig *cig; local 415 err = bt_iso_cig_create(&cig_param, &cig);
|
/Zephyr-latest/subsys/bluetooth/controller/hci/ |
D | hci.c | 4360 struct ll_conn_iso_group *cig; local 4370 cig = cis->group; 4384 if (!cig) { 4390 is_central = cig->lll.role == BT_CONN_ROLE_CENTRAL; 4394 sys_put_le24(cig->sync_delay, sep->cig_sync_delay); 4396 sys_put_le24(cig->c_latency, sep->c_latency); 4397 sys_put_le24(cig->p_latency, sep->p_latency); 4407 sep->interval = sys_cpu_to_le16(cig->iso_interval); 5972 struct ll_conn_iso_group *cig; local 5982 cig = cis->group; [all …]
|