/Zephyr-Core-3.5.0/subsys/bluetooth/audio/shell/ |
D | csip_set_coordinator.c | 46 uint8_t conn_index; in connected_cb() local 56 conn_index = bt_conn_index(conn); in connected_cb() 58 shell_print(ctx_shell, "[%u]: Connected to %s", conn_index, addr); in connected_cb() 62 conns[conn_index] = bt_conn_ref(conn); in connected_cb() 63 shell_print(ctx_shell, "Member[%u] connected", conn_index); in connected_cb() 68 uint8_t conn_index = bt_conn_index(conn); in disconnected_cb() local 70 bt_conn_unref(conns[conn_index]); in disconnected_cb() 71 conns[conn_index] = NULL; in disconnected_cb() 83 uint8_t conn_index; in csip_discover_cb() local 95 conn_index = bt_conn_index(conn); in csip_discover_cb() [all …]
|
D | bap.c | 724 uint8_t conn_index = bt_conn_index(stream->conn); in stream_dir() local 727 for (size_t i = 0; i < ARRAY_SIZE(snks[conn_index]); i++) { in stream_dir() 728 const struct bt_bap_ep *snk_ep = snks[conn_index][i]; in stream_dir() 737 for (size_t i = 0; i < ARRAY_SIZE(srcs[conn_index]); i++) { in stream_dir() 738 const struct bt_bap_ep *src_ep = srcs[conn_index][i]; in stream_dir() 764 const uint8_t conn_index = bt_conn_index(conn); in add_sink() local 766 for (size_t i = 0U; i < ARRAY_SIZE(snks[conn_index]); i++) { in add_sink() 767 if (snks[conn_index][i] == NULL) { in add_sink() 770 snks[conn_index][i] = ep; in add_sink() 782 const uint8_t conn_index = bt_conn_index(conn); in add_source() local [all …]
|
/Zephyr-Core-3.5.0/samples/bluetooth/central_multilink/src/ |
D | central_multilink.c | 121 uint8_t conn_index; in mtu_exchange() local 124 conn_index = bt_conn_index(conn); in mtu_exchange() 126 printk("MTU (%u): %u\n", conn_index, bt_gatt_get_mtu(conn)); in mtu_exchange() 128 mtu_exchange_params[conn_index].func = mtu_exchange_cb; in mtu_exchange() 130 err = bt_gatt_exchange_mtu(conn, &mtu_exchange_params[conn_index]); in mtu_exchange()
|
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/audio/src/ |
D | cap_initiator_unicast_test.c | 241 const uint8_t conn_index = bt_conn_index(conn); in add_remote_sink() local 243 for (size_t i = 0U; i < ARRAY_SIZE(unicast_sink_eps[conn_index]); i++) { in add_remote_sink() 244 if (unicast_sink_eps[conn_index][i] == NULL) { in add_remote_sink() 245 printk("Conn[%u] %p: Sink #%zu: ep %p\n", conn_index, conn, i, ep); in add_remote_sink() 246 unicast_sink_eps[conn_index][i] = ep; in add_remote_sink() 256 const uint8_t conn_index = bt_conn_index(conn); in add_remote_source() local 258 for (size_t i = 0U; i < ARRAY_SIZE(unicast_source_eps[conn_index]); i++) { in add_remote_source() 259 if (unicast_source_eps[conn_index][i] == NULL) { in add_remote_source() 260 printk("Conn[%u] %p: Source #%zu: ep %p\n", conn_index, conn, i, ep); in add_remote_source() 261 unicast_source_eps[conn_index][i] = ep; in add_remote_source() [all …]
|
D | csip_set_coordinator_test.c | 62 uint8_t conn_index; in csip_discover_cb() local 71 conn_index = bt_conn_index(conn); in csip_discover_cb() 103 set_members[conn_index] = member; in csip_discover_cb()
|
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/ll/cis/src/ |
D | main.c | 446 int conn_index; local 491 conn_index = chan = conn_count; 497 for (int chan = 0, conn_index = 0; local 498 (conn_index < conn_count) && (chan < CONFIG_BT_ISO_MAX_CHAN); 499 conn_index++, chan++) { 502 for (int chan = 0, conn_index = 0; 509 iso_connect_param.acl = conn_list[conn_index];
|
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/ |
D | tbs_client.c | 159 uint8_t conn_index; in lookup_inst_by_handle() local 165 conn_index = bt_conn_index(conn); in lookup_inst_by_handle() 166 srv_inst = &srv_insts[conn_index]; in lookup_inst_by_handle() 1379 const uint8_t conn_index = bt_conn_index(conn); in tbs_client_disc_read_ccid() local 1380 struct bt_tbs_server_inst *srv_inst = &srv_insts[conn_index]; in tbs_client_disc_read_ccid() 1400 const uint8_t conn_index = bt_conn_index(conn); in discover_func() local 1401 struct bt_tbs_server_inst *srv_inst = &srv_insts[conn_index]; in discover_func() 1584 uint8_t conn_index = bt_conn_index(conn); in discover_next_instance() local 1585 struct bt_tbs_server_inst *srv_inst = &srv_insts[conn_index]; in discover_next_instance() 1637 const uint8_t conn_index = bt_conn_index(conn); in primary_discover_tbs_cb() local [all …]
|
D | csip_set_coordinator.c | 117 uint8_t conn_index; in lookup_instance_by_handle() local 123 conn_index = bt_conn_index(conn); in lookup_instance_by_handle() 124 client = &client_insts[conn_index]; in lookup_instance_by_handle() 139 uint8_t conn_index; in lookup_instance_by_index() local 147 conn_index = bt_conn_index(conn); in lookup_instance_by_index() 148 client = &client_insts[conn_index]; in lookup_instance_by_index()
|
D | vcp_vol_ctlr.c | 313 uint8_t conn_index = bt_conn_index(conn); in vcs_discover_include_func() local 333 vol_ctlr_insts[conn_index].aics[inst_idx], in vcs_discover_include_func() 361 vol_ctlr_insts[conn_index].vocs[inst_idx], in vcs_discover_include_func()
|
D | bap_unicast_client.c | 179 const uint8_t conn_index = bt_conn_index(conn); in audio_stream_by_ep_id() local 185 for (size_t i = 0U; i < ARRAY_SIZE(uni_cli_insts[conn_index].snks); i++) { in audio_stream_by_ep_id() 187 &uni_cli_insts[conn_index].snks[i]; in audio_stream_by_ep_id() 196 for (size_t i = 0U; i < ARRAY_SIZE(uni_cli_insts[conn_index].srcs); i++) { in audio_stream_by_ep_id() 198 &uni_cli_insts[conn_index].srcs[i]; in audio_stream_by_ep_id()
|