/Zephyr-latest/samples/bluetooth/hap_ha/src/ |
D | ccp_call_ctrl.c | 32 atomic_t *flags_for_conn = flags[bt_conn_index(conn)]; in process_profile_connection() 69 atomic_set(flags[bt_conn_index(conn)], 0); in connected() 92 if (!atomic_test_bit(flags[bt_conn_index(conn)], CCP_FLAG_PROFILE_CONNECTED)) { in discover_cb() 109 if (!atomic_test_bit(flags[bt_conn_index(conn)], CCP_FLAG_PROFILE_CONNECTED)) { in ccid_cb() 126 if (!atomic_test_bit(flags[bt_conn_index(conn)], CCP_FLAG_PROFILE_CONNECTED)) { in status_flags_cb() 144 if (!atomic_test_bit(flags[bt_conn_index(conn)], CCP_FLAG_PROFILE_CONNECTED)) { in call_state_cb()
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | mcs.c | 85 memset(&clients[bt_conn_index(conn)], 0, sizeof(struct client_state)); in disconnected() 105 struct client_state *client = &clients[bt_conn_index(conn)]; in read_player_name() 150 struct client_state *client = &clients[bt_conn_index(conn)]; in read_icon_url() 177 struct client_state *client = &clients[bt_conn_index(conn)]; in read_track_title() 206 struct client_state *client = &clients[bt_conn_index(conn)]; in read_track_duration() 228 struct client_state *client = &clients[bt_conn_index(conn)]; in read_track_position() 276 struct client_state *client = &clients[bt_conn_index(conn)]; in read_playback_speed() 318 struct client_state *client = &clients[bt_conn_index(conn)]; in read_seeking_speed() 361 struct client_state *client = &clients[bt_conn_index(conn)]; in read_current_track_id() 416 struct client_state *client = &clients[bt_conn_index(conn)]; in read_next_track_id() [all …]
|
D | csip_set_coordinator.c | 131 conn_index = bt_conn_index(conn); in lookup_instance_by_handle() 155 conn_index = bt_conn_index(conn); in bt_csip_set_coordinator_lookup_instance_by_index() 411 client = &client_insts[bt_conn_index(conn)]; in sirk_notify_func() 479 client = &client_insts[bt_conn_index(conn)]; in size_notify_func() 539 client = &client_insts[bt_conn_index(conn)]; in lock_notify_func() 558 struct bt_csip_set_coordinator_inst *client = &client_insts[bt_conn_index(inst->conn)]; in csip_set_coordinator_write_set_lock() 578 struct bt_csip_set_coordinator_inst *client = &client_insts[bt_conn_index(svc_inst->conn)]; in read_sirk() 605 struct bt_csip_set_coordinator_inst *client = &client_insts[bt_conn_index(conn)]; in csip_set_coordinator_read_set_size() 640 struct bt_csip_set_coordinator_inst *client = &client_insts[bt_conn_index(conn)]; in csip_set_coordinator_read_rank() 684 struct bt_csip_set_coordinator_inst *client = &client_insts[bt_conn_index(conn)]; in discover_func() [all …]
|
D | tmap.c | 91 uint8_t conn_id = bt_conn_index(conn); in discover_func() 235 uint8_t conn_id = bt_conn_index(conn); in bt_tmap_discover()
|
D | bap_unicast_client.c | 205 const uint8_t conn_index = bt_conn_index(conn); in audio_stream_by_ep_id() 487 index = bt_conn_index(conn); in unicast_client_ep_find() 535 index = bt_conn_index(conn); in unicast_client_ep_new() 620 const struct unicast_client *client = &uni_cli_insts[bt_conn_index(conn)]; in unicast_client_notify_pac_record() 638 const struct unicast_client *client = &uni_cli_insts[bt_conn_index(conn)]; in unicast_client_notify_endpoint() 651 struct unicast_client *client = &uni_cli_insts[bt_conn_index(conn)]; in unicast_client_discover_complete() 1636 client = &uni_cli_insts[bt_conn_index(conn)]; in unicast_client_ase_ntf_read_func() 1691 struct unicast_client *client = &uni_cli_insts[bt_conn_index(conn)]; in long_ase_read() 1771 struct unicast_client *client = &uni_cli_insts[bt_conn_index(conn)]; in unicast_client_ep_notify() 1842 struct unicast_client *client = &uni_cli_insts[bt_conn_index(conn)]; in unicast_client_ep_set_cp() [all …]
|
D | tbs_client.c | 105 server = &srv_insts[bt_conn_index(conn)]; in tbs_inst_by_index() 129 server = &srv_insts[bt_conn_index(conn)]; in tbs_index() 177 conn_index = bt_conn_index(conn); in lookup_inst_by_handle() 823 struct bt_tbs_server_inst *srv_inst = &srv_insts[bt_conn_index(conn)]; in tbs_client_discover_complete() 1537 const uint8_t conn_index = bt_conn_index(conn); in tbs_client_disc_read_ccid() 1558 const uint8_t conn_index = bt_conn_index(conn); in discover_func() 1745 uint8_t conn_index = bt_conn_index(conn); in discover_next_instance() 1798 const uint8_t conn_index = bt_conn_index(conn); in primary_discover_tbs_cb() 1826 struct bt_tbs_server_inst *srv_inst = &srv_insts[bt_conn_index(conn)]; in primary_discover_tbs() 1848 const uint8_t conn_index = bt_conn_index(conn); in primary_discover_gtbs_cb() [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | proxy_msg.c | 86 struct bt_mesh_proxy_role *role = &roles[bt_conn_index(conn)]; in bt_mesh_proxy_msg_recv() 162 struct bt_mesh_proxy_role *role = &roles[bt_conn_index(conn)]; in bt_mesh_proxy_msg_send() 244 struct bt_mesh_proxy_role *role = &roles[bt_conn_index(conn)]; in bt_mesh_proxy_relay_send() 286 &bufs[bt_conn_index(role->conn) * in proxy_msg_init() 306 role = &roles[bt_conn_index(conn)]; in bt_mesh_proxy_role_setup()
|
/Zephyr-latest/subsys/bluetooth/services/ias/ |
D | ias.c | 85 devices[bt_conn_index(conn)].alert_level = BT_IAS_ALERT_LVL_NO_ALERT; in disconnected() 120 devices[bt_conn_index(conn)].alert_level = alert_val; in bt_ias_write_alert_lvl()
|
D | ias_client.c | 43 return &client_list[bt_conn_index(conn)]; in client_by_conn()
|
/Zephyr-latest/tests/bluetooth/audio/mocks/src/ |
D | conn.c | 11 uint8_t bt_conn_index(const struct bt_conn *conn) in bt_conn_index() function
|
/Zephyr-latest/tests/bluetooth/common/testlib/src/ |
D | conn_ref.c | 51 uint8_t index = bt_conn_index(conn); in find_by_index()
|
D | security.c | 31 LOG_INF("conn %u level %d err %d", bt_conn_index(conn), level, err); in security_changed()
|
D | connect.c | 68 conn_index = bt_conn_index(*connp); in bt_testlib_connect()
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_bap_unicast.c | 348 u_conn = &connections[bt_conn_index(conn)]; in lc3_config() 513 u_stream->conn_id = bt_conn_index(stream->conn); in stream_configured() 857 u_conn = &connections[bt_conn_index(conn)]; in endpoint_cb() 944 u_conn = &connections[bt_conn_index(conn)]; in btp_bap_discover() 1253 u_conn = &connections[bt_conn_index(conn)]; in btp_ascs_configure_codec() 1369 u_conn = &connections[bt_conn_index(conn)]; in btp_ascs_enable() 1403 u_conn = &connections[bt_conn_index(conn)]; in btp_ascs_disable() 1441 u_conn = &connections[bt_conn_index(conn)]; in btp_ascs_receiver_start_ready() 1495 u_conn = &connections[bt_conn_index(conn)]; in btp_ascs_receiver_stop_ready() 1529 u_conn = &connections[bt_conn_index(conn)]; in btp_ascs_release() [all …]
|
D | btp_cap.c | 198 struct btp_bap_unicast_connection *u_conn = btp_bap_unicast_conn_get(bt_conn_index(conn)); in cap_unicast_setup_ase() 214 u_stream->conn_id = bt_conn_index(conn); in cap_unicast_setup_ase() 371 u_conn = btp_bap_unicast_conn_get(bt_conn_index(conn)); in btp_cap_unicast_audio_update()
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/stress/src/ |
D | main.c | 74 LOG_DBG("chan %p conn %u data %p len %d", chan, bt_conn_index(chan->conn), data, len); in l2cap_chan_send() 116 LOG_DBG("Done sending %u", bt_conn_index(chan->conn)); in continue_sending() 191 LOG_DBG("continue %u left %d", bt_conn_index(chan->conn), ctx->tx_left); in deferred_send()
|
/Zephyr-latest/samples/bluetooth/central_multilink/src/ |
D | central_multilink.c | 114 printk("MTU exchange %u %s (%u)\n", bt_conn_index(conn), in mtu_exchange_cb() 125 conn_index = bt_conn_index(conn); in mtu_exchange()
|
/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | gmap_ugg_test.c | 319 for (size_t i = 0U; i < ARRAY_SIZE(sink_eps[bt_conn_index(conn)]); i++) { in add_remote_sink_ep() 320 if (sink_eps[bt_conn_index(conn)][i] == NULL) { in add_remote_sink_ep() 322 sink_eps[bt_conn_index(conn)][i] = ep; in add_remote_sink_ep() 330 for (size_t i = 0U; i < ARRAY_SIZE(source_eps[bt_conn_index(conn)]); i++) { in add_remote_source_ep() 331 if (source_eps[bt_conn_index(conn)][i] == NULL) { in add_remote_source_ep() 333 source_eps[bt_conn_index(conn)][i] = ep; in add_remote_source_ep() 685 snk_eps[snk_ep_cnt] = sink_eps[bt_conn_index(connected_conns[i])][j]; in gmap_ac_cap_unicast_start() 697 src_eps[src_ep_cnt] = source_eps[bt_conn_index(connected_conns[i])][j]; in gmap_ac_cap_unicast_start()
|
D | csip_set_coordinator_test.c | 89 conn_index = bt_conn_index(conn); in csip_discover_cb() 283 err = bt_csip_set_coordinator_discover(conns[bt_conn_index(conn)]); in discover_csis()
|
D | cap_initiator_unicast_test.c | 280 const uint8_t conn_index = bt_conn_index(conn); in add_remote_sink() 295 const uint8_t conn_index = bt_conn_index(conn); in add_remote_source() 499 const uint8_t conn_index = bt_conn_index(conn); in discover_sink() 521 const uint8_t conn_index = bt_conn_index(conn); in discover_source() 616 stream_param[0].ep = unicast_sink_eps[bt_conn_index(default_conn)][0]; in unicast_audio_start() 621 stream_param[1].ep = unicast_source_eps[bt_conn_index(default_conn)][0]; in unicast_audio_start() 1081 const uint8_t conn_index = bt_conn_index(connected_conns[i]); in cap_initiator_ac_cap_unicast_start()
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | csip_set_coordinator.c | 67 conn_index = bt_conn_index(conn); in connected_cb() 79 uint8_t conn_index = bt_conn_index(conn); in disconnected_cb() 106 conn_index = bt_conn_index(conn); in csip_discover_cb()
|
D | cap_initiator.c | 252 struct bt_bap_ep *snk_ep = snks[bt_conn_index(conn)][j]; in cmd_cap_initiator_unicast_start() 284 struct bt_bap_ep *src_ep = srcs[bt_conn_index(conn)][j]; in cmd_cap_initiator_unicast_start() 581 snk_eps[snk_ep_cnt] = snks[bt_conn_index(connected_conns[i])][j]; in cap_ac_unicast_start() 594 src_eps[src_ep_cnt] = srcs[bt_conn_index(connected_conns[i])][j]; in cap_ac_unicast_start()
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/credits/src/ |
D | main.c | 42 LOG_DBG("chan %p conn %u data %p len %d", chan, bt_conn_index(chan->conn), data, len); in l2cap_chan_send() 76 LOG_DBG("Done sending %u", bt_conn_index(chan->conn)); in continue_sending()
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/credits_seg_recv/src/ |
D | main.c | 42 LOG_DBG("chan %p conn %u data %p len %d", chan, bt_conn_index(chan->conn), data, len); in l2cap_chan_send() 71 LOG_DBG("Done sending %u", bt_conn_index(chan->conn)); in continue_sending()
|
/Zephyr-latest/tests/bluetooth/audio/cap_commander/uut/ |
D | bap_broadcast_assistant.c | 42 inst = &broadcast_assistants[bt_conn_index(conn)]; in inst_by_conn()
|