Home
last modified time | relevance | path

Searched refs:svc_insts (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/subsys/bluetooth/audio/
Dcsip_set_member.c82 static struct bt_csip_set_member_svc_inst svc_insts[CONFIG_BT_CSIP_SET_MEMBER_MAX_INSTANCE_COUNT]; variable
254 cb_rsp = svc_inst->cb->sirk_read_req(conn, &svc_insts[0]); in read_sirk()
476 for (size_t i = 0U; i < ARRAY_SIZE(svc_insts); i++) { in csip_security_changed()
477 struct bt_csip_set_member_svc_inst *svc_inst = &svc_insts[i]; in csip_security_changed()
530 for (size_t i = 0U; i < ARRAY_SIZE(svc_insts); i++) { in csip_disconnected()
531 handle_csip_disconnect(&svc_insts[i], conn); in csip_disconnected()
590 for (size_t i = 0U; i < ARRAY_SIZE(svc_insts); i++) { in auth_pairing_complete()
591 handle_csip_auth_complete(&svc_insts[i], conn); in auth_pairing_complete()
597 for (size_t i = 0U; i < ARRAY_SIZE(svc_insts); i++) { in csip_bond_deleted()
598 struct bt_csip_set_member_svc_inst *svc_inst = &svc_insts[i]; in csip_bond_deleted()
[all …]
Dtbs.c73 static struct tbs_inst svc_insts[CONFIG_BT_TBS_BEARER_COUNT]; variable
79 (1U + ARRAY_SIZE(svc_insts))))
112 index = inst - svc_insts; in inst_index()
113 __ASSERT(index >= 0 && index < ARRAY_SIZE(svc_insts), "Invalid tbs_inst pointer"); in inst_index()
124 } else if (ARRAY_SIZE(svc_insts) > 0U && index < ARRAY_SIZE(svc_insts)) { in inst_lookup_index()
125 inst = &svc_insts[index]; in inst_lookup_index()
141 for (int i = 0; i < ARRAY_SIZE(svc_insts[i].calls); i++) { in lookup_call_in_inst()
169 for (size_t i = 0; i < ARRAY_SIZE(svc_insts); i++) { in lookup_call()
170 call = lookup_call_in_inst(&svc_insts[i], call_index); in lookup_call()
196 for (int i = 0; i < ARRAY_SIZE(svc_insts); i++) { in lookup_inst_by_attr()
[all …]
Dcsip_set_coordinator.c81 svc_insts[CONFIG_BT_CSIP_SET_COORDINATOR_MAX_CSIS_INSTANCES]; member
134 for (int i = 0; i < ARRAY_SIZE(client->svc_insts); i++) { in lookup_instance_by_handle()
135 if (client->svc_insts[i].start_handle <= handle && in lookup_instance_by_handle()
136 client->svc_insts[i].end_handle >= handle) { in lookup_instance_by_handle()
137 return &client->svc_insts[i]; in lookup_instance_by_handle()
157 return &client->svc_insts[idx]; in bt_csip_set_coordinator_lookup_instance_by_index()
697 client->cur_inst = &client->svc_insts[client->cur_inst->idx + 1]; in discover_func()
802 client->cur_inst = &client->svc_insts[0]; in primary_discover_func()
827 client->cur_inst = &client->svc_insts[client->inst_count]; in primary_discover_func()
1333 for (size_t i = 0; i < ARRAY_SIZE(inst->svc_insts); i++) { in csip_set_coordinator_reset()
[all …]