/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_peripheral_iso.c | 156 struct ll_conn_iso_stream *cis; in ull_peripheral_iso_release() local 159 cis = ll_conn_iso_stream_get(cis_handle); in ull_peripheral_iso_release() 160 LL_ASSERT(cis); in ull_peripheral_iso_release() 162 cig = cis->group; in ull_peripheral_iso_release() 164 ll_conn_iso_stream_release(cis); in ull_peripheral_iso_release() 177 struct ll_conn_iso_stream *cis; in ull_peripheral_iso_acquire() local 224 cis = ll_iso_stream_connected_get(handle); in ull_peripheral_iso_acquire() 225 if (cis && cis->group && cis->cis_id == req->cis_id) { in ull_peripheral_iso_acquire() 232 cis = ll_conn_iso_stream_acquire(); in ull_peripheral_iso_acquire() 233 if (cis == NULL) { in ull_peripheral_iso_acquire() [all …]
|
D | ull_conn_iso.c | 70 static void cis_lazy_fill(struct ll_conn_iso_stream *cis); 135 struct ll_conn_iso_stream *cis = mem_acquire(&cis_free); in ll_conn_iso_stream_acquire() local 137 if (cis) { in ll_conn_iso_stream_acquire() 138 (void)memset(&cis->hdr, 0U, sizeof(cis->hdr)); in ll_conn_iso_stream_acquire() 141 return cis; in ll_conn_iso_stream_acquire() 144 void ll_conn_iso_stream_release(struct ll_conn_iso_stream *cis) in ll_conn_iso_stream_release() argument 146 cis->cis_id = 0; in ll_conn_iso_stream_release() 147 cis->group = NULL; in ll_conn_iso_stream_release() 149 mem_release(cis, &cis_free); in ll_conn_iso_stream_release() 152 uint16_t ll_conn_iso_stream_handle_get(struct ll_conn_iso_stream *cis) in ll_conn_iso_stream_handle_get() argument [all …]
|
D | ull_central_iso.c | 69 static void cig_offset_get(struct ll_conn_iso_stream *cis); 71 static void cis_offset_get(struct ll_conn_iso_stream *cis); 157 struct ll_conn_iso_stream *cis; in ll_cig_parameters_commit() local 270 cis = ll_conn_iso_stream_get_by_id(ll_iso_setup.stream[i].cis_id); in ll_cig_parameters_commit() 271 if (cis) { in ll_cig_parameters_commit() 275 if ((cis->c_max_sdu && cis->hdr.datapath_in && in ll_cig_parameters_commit() 277 (cis->p_max_sdu && cis->hdr.datapath_out && in ll_cig_parameters_commit() 287 cis = ll_conn_iso_stream_acquire(); in ll_cig_parameters_commit() 288 if (!cis) { in ll_cig_parameters_commit() 296 cis_created_handles[i] = ll_conn_iso_stream_handle_get(cis); in ll_cig_parameters_commit() [all …]
|
D | ull_iso.c | 171 struct ll_conn_iso_stream *cis; in ll_read_iso_tx_sync() local 173 cis = ll_conn_iso_stream_get(handle); in ll_read_iso_tx_sync() 175 if (cis) { in ll_read_iso_tx_sync() 176 dp = cis->hdr.datapath_in; in ll_read_iso_tx_sync() 221 struct ll_conn_iso_stream *cis = NULL; in ll_setup_iso_path() local 248 cis = ll_conn_iso_stream_get(handle); in ll_setup_iso_path() 249 if (!cis || !cis->group) { in ll_setup_iso_path() 254 conn = ll_connected_get(cis->lll.acl_handle); in ll_setup_iso_path() 269 if ((path_dir == BT_HCI_DATAPATH_DIR_HOST_TO_CTLR && cis->hdr.datapath_in) || in ll_setup_iso_path() 270 (path_dir == BT_HCI_DATAPATH_DIR_CTLR_TO_HOST && cis->hdr.datapath_out)) { in ll_setup_iso_path() [all …]
|
D | ull_conn_iso_internal.h | 29 void ll_conn_iso_stream_release(struct ll_conn_iso_stream *cis); 30 uint16_t ll_conn_iso_stream_handle_get(struct ll_conn_iso_stream *cis); 43 void ull_conn_iso_cis_stop(struct ll_conn_iso_stream *cis,
|
D | ull_llcp.c | 785 struct ll_conn_iso_stream *cis, in ull_cp_cis_terminate() argument 790 if (conn->lll.handle != cis->lll.acl_handle) { in ull_cp_cis_terminate() 799 ctx->data.cis_term.cig_id = cis->group->cig_id; in ull_cp_cis_terminate() 800 ctx->data.cis_term.cis_id = cis->cis_id; in ull_cp_cis_terminate() 810 uint8_t ull_cp_cis_create(struct ll_conn *conn, struct ll_conn_iso_stream *cis) in ull_cp_cis_create() argument 827 cig = cis->group; in ull_cp_cis_create() 828 ctx->data.cis_create.cis_handle = cis->lll.handle; in ull_cp_cis_create() 830 ctx->data.cis_create.cig_id = cis->group->cig_id; in ull_cp_cis_create() 831 ctx->data.cis_create.cis_id = cis->cis_id; in ull_cp_cis_create() 832 ctx->data.cis_create.c_phy = cis->lll.tx.phy; in ull_cp_cis_create() [all …]
|
D | ull_llcp_common.c | 135 struct ll_conn_iso_stream *cis; in llcp_cis_stop_by_id() local 139 cis = ll_conn_iso_stream_get_by_group(cig, &cis_handle); in llcp_cis_stop_by_id() 140 while (cis && cis->cis_id != cis_id) { in llcp_cis_stop_by_id() 142 cis = ll_conn_iso_stream_get_by_group(cig, &cis_handle); in llcp_cis_stop_by_id() 144 if (cis && cis->lll.handle == cis_handle) { in llcp_cis_stop_by_id() 145 ull_conn_iso_cis_stop(cis, NULL, reason); in llcp_cis_stop_by_id() 595 return conn->llcp.cis.terminate_ack; in lp_cis_terminated() 733 conn->llcp.cis.terminate_ack = 0U;
|
D | ull_conn.c | 405 struct ll_conn_iso_stream *cis; in ll_terminate_ind_send() local 434 cis = ll_iso_stream_connected_get(handle); in ll_terminate_ind_send() 435 if (!cis) { in ll_terminate_ind_send() 438 cis = ll_conn_iso_stream_get(handle); in ll_terminate_ind_send() 441 if (cis->group && cis->lll.handle == handle && !cis->established) { in ll_terminate_ind_send() 442 if (cis->group->state == CIG_STATE_CONFIGURABLE) { in ll_terminate_ind_send() 446 } else if (cis->group->state == CIG_STATE_INITIATING) { in ll_terminate_ind_send() 447 conn = ll_connected_get(cis->lll.acl_handle); in ll_terminate_ind_send() 466 cis->group->state = CIG_STATE_CONFIGURABLE; in ll_terminate_ind_send() 476 return ull_cp_cis_terminate(conn, cis, reason); in ll_terminate_ind_send() [all …]
|
D | ull_llcp.h | 178 uint8_t ull_cp_cis_terminate(struct ll_conn *conn, struct ll_conn_iso_stream *cis, 184 uint8_t ull_cp_cis_create(struct ll_conn *conn, struct ll_conn_iso_stream *cis);
|
D | ull_conn_types.h | 147 } cis; member
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_cis_create/src/ |
D | main.c | 548 struct ll_conn_iso_stream *cis; in ZTEST() local 567 cis = ll_conn_iso_stream_get(LL_CIS_HANDLE_BASE); in ZTEST() 568 cis->lll.acl_handle = conn.lll.handle; in ZTEST() 570 err = ull_cp_cis_create(&conn, cis); in ZTEST() 634 struct ll_conn_iso_stream *cis; in ZTEST() local 651 cis = ll_conn_iso_stream_get(LL_CIS_HANDLE_BASE); in ZTEST() 652 cis->lll.acl_handle = conn.lll.handle; in ZTEST() 653 cis->group->cig_id = local_cis_req.cig_id; in ZTEST() 654 cis->cis_id = local_cis_req.cis_id; in ZTEST() 655 cis->lll.tx.phy = local_cis_req.c_phy; in ZTEST() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/ll/cis/ |
D | compile.sh | 13 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay.conf compile 14 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-acl_first.conf compile 15 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-legacy_adv.conf compile 16 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-legacy_adv_acl_first.conf compile 17 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-acl_group.conf compile 18 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-acl_group_acl_first.conf compile 19 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-peripheral_cis.conf compile 20 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-acl_first_ft_per_skip_2_se.conf compile 21 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-acl_first_ft_per_skip_4_se.conf compile 22 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-acl_first_ft_cen_skip_2_se.conf compile [all …]
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_cis_terminate/src/ |
D | main.c | 92 struct ll_conn_iso_stream cis = { 0 }; in test_cis_terminate_loc() local 108 cis.lll.acl_handle = conn.lll.handle; in test_cis_terminate_loc() 110 cis.cis_id = local_cis_terminate_ind.cis_id; in test_cis_terminate_loc() 111 cis.group = &group; in test_cis_terminate_loc() 114 err = ull_cp_cis_terminate(&conn, &cis, local_cis_terminate_ind.error_code); in test_cis_terminate_loc() 126 conn.llcp.cis.terminate_ack = 1; in test_cis_terminate_loc()
|
/Zephyr-latest/tests/bluetooth/controller/mock_ctrl/src/ |
D | ull_conn_iso.c | 45 static struct ll_conn_iso_stream cis = { .established = 1, .group = &cig }; variable 55 return &cis; in ll_conn_iso_stream_get() 74 void ull_conn_iso_cis_stop(struct ll_conn_iso_stream *cis, in ull_conn_iso_cis_stop() argument
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | iso.c | 1755 struct bt_iso_chan *cis = param->cis_channels[i]; in hci_le_set_cig_params() local 1756 struct bt_iso_chan_qos *qos = cis->qos; in hci_le_set_cig_params() 1762 cis_param->cis_id = cis->iso->iso.cis_id; in hci_le_set_cig_params() 1845 const struct bt_iso_chan *cis = param->cis_channels[i]; in hci_le_set_cig_test_params() local 1846 const struct bt_iso_chan_qos *qos = cis->qos; in hci_le_set_cig_test_params() 1852 cis_param->cis_id = cis->iso->iso.cis_id; in hci_le_set_cig_test_params() 1908 const struct bt_iso_chan *cis = param->cis_channels[i]; in is_advanced_cig_param() local 1909 const struct bt_iso_chan_qos *qos = cis->qos; in is_advanced_cig_param() 1962 static bool cis_is_in_cig(const struct bt_iso_cig *cig, const struct bt_iso_chan *cis) in cis_is_in_cig() argument 1964 if (cig == NULL || cis == NULL || cis->iso == NULL) { in cis_is_in_cig() [all …]
|
/Zephyr-latest/subsys/sd/ |
D | sdio.c | 200 size = MIN(remaining, func->cis.max_blk_size); in sdio_io_rw_extended_helper() 304 static void sdio_decode_cis(struct sdio_cis *cis, enum sdio_func_num func, in sdio_decode_cis() argument 309 cis->manf_id = data[0] | ((uint16_t)data[1] << 8); in sdio_decode_cis() 310 cis->manf_code = data[2] | ((uint16_t)data[3] << 8); in sdio_decode_cis() 313 cis->func_id = data[0]; in sdio_decode_cis() 317 cis->max_blk_size = data[1] | ((uint16_t)data[2] << 8); in sdio_decode_cis() 318 cis->max_speed = data[3]; in sdio_decode_cis() 320 cis->max_blk_size = data[12] | ((uint16_t)data[13] << 8); in sdio_decode_cis() 321 cis->rdy_timeout = data[28] | ((uint16_t)data[29] << 8); in sdio_decode_cis() 344 memset(&func->cis, 0, sizeof(struct sdio_cis)); in sdio_read_cis() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/ |
D | compile.nrf5340bsim_nrf5340_cpuapp.sh | 17 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-acl_group.conf sysbuild=1 compile
|
/Zephyr-latest/include/zephyr/sd/ |
D | sd.h | 51 struct sdio_cis cis; /*!< CIS tuple data for this function */ member
|
/Zephyr-latest/subsys/bluetooth/controller/hci/ |
D | hci_driver.c | 468 struct ll_conn_iso_stream *cis; in encode_node() local 470 cis = ll_conn_iso_stream_get(node_rx->hdr.handle); in encode_node() 471 if (cis && !cis->teardown) { in encode_node() 475 hdr = &cis->hdr; in encode_node()
|
D | hci.c | 2031 struct bt_hci_cis_params *params = &cmd->cis[i]; in le_set_cig_parameters() 2093 struct bt_hci_cis_params_test *params = &cmd->cis[i]; in le_set_cig_params_test() 2167 cis_handle = sys_le16_to_cpu(cmd->cis[i].cis_handle); in le_create_cis() 2168 acl_handle = sys_le16_to_cpu(cmd->cis[i].acl_handle); in le_create_cis() 2195 cis_handle = sys_le16_to_cpu(cmd->cis[i].cis_handle); in le_create_cis() 2196 acl_handle = sys_le16_to_cpu(cmd->cis[i].acl_handle); in le_create_cis() 4359 struct ll_conn_iso_stream *cis; local 4369 cis = node_rx->rx_ftr.param; 4370 cig = cis->group; 4389 lll_cis = &cis->lll; [all …]
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | bap_endpoint.h | 94 struct bt_iso_chan *cis[UNICAST_GROUP_STREAM_CNT]; member
|
D | ascs_internal.h | 157 uint8_t cis; member
|
D | bap_unicast_client.c | 1981 req->cis = conn_iso->cis_id; in bt_bap_unicast_client_ep_qos() 2314 for (size_t i = 0U; i < ARRAY_SIZE(unicast_group->cis); i++) { in unicast_group_get_cis_count() 2315 if (unicast_group->cis[i] == NULL) { in unicast_group_get_cis_count() 2334 param.cis_channels = group->cis; in bt_audio_cig_create() 2355 for (size_t i = 0U; i < ARRAY_SIZE(group->cis); i++) { in bt_audio_cig_reconfigure() 2356 if (group->cis[i] == NULL) { in bt_audio_cig_reconfigure() 2365 param.cis_channels = group->cis; in bt_audio_cig_reconfigure() 2412 for (size_t i = 0U; i < ARRAY_SIZE(group->cis); i++) { in unicast_group_add_iso() 2414 if (group->cis[i] == &iso->chan) { in unicast_group_add_iso() 2418 if (chan_slot == NULL && group->cis[i] == NULL) { in unicast_group_add_iso() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/ll/ |
D | compile.sh | 13 ${ZEPHYR_BASE}/tests/bsim/bluetooth/ll/cis/compile.sh
|
/Zephyr-latest/samples/bluetooth/iso_connected_benchmark/src/ |
D | main.c | 79 static struct bt_iso_chan *cis[CONFIG_BT_ISO_MAX_CHAN]; variable 137 .cis_channels = cis, 1406 cis[i] = &iso_chans[i].chan; in main()
|