Home
last modified time | relevance | path

Searched refs:insts (Results 1 – 9 of 9) sorted by relevance

/Zephyr-latest/tests/bluetooth/audio/cap_commander/uut/
Dcsip.c19 .insts = {
34 return &member.insts[0]; in bt_csip_set_coordinator_csis_inst_by_handle()
48 svc_inst.set_info = &member.insts[0].info; in bt_csip_set_coordinator_discover()
/Zephyr-latest/tests/bluetooth/audio/cap_initiator/uut/
Dcsip.c27 .insts = {
42 return &member.insts[0]; in bt_csip_set_coordinator_csis_inst_by_handle()
56 svc_inst.set_info = &member.insts[0].info; in bt_csip_set_coordinator_discover()
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_csip.c113 cur_csis_inst = &member->insts[0]; in csip_discover_cb()
120 LOG_DBG("CSIS[%zu]: %p", i, &member->insts[i]); in csip_discover_cb()
121 LOG_DBG("Rank: %u", member->insts[i].info.rank); in csip_discover_cb()
122 LOG_DBG("Set Size: %u", member->insts[i].info.set_size); in csip_discover_cb()
123 LOG_DBG("Lockable: %u", member->insts[i].info.lockable); in csip_discover_cb()
/Zephyr-latest/subsys/bluetooth/audio/
Dvocs_client.c38 static struct bt_vocs_client insts[CONFIG_BT_MAX_CONN * CONFIG_BT_VOCS_CLIENT_MAX_INSTANCE_COUNT]; variable
45 for (int i = 0; i < ARRAY_SIZE(insts); i++) { in lookup_vocs_by_handle()
46 if (insts[i].conn == conn && in lookup_vocs_by_handle()
47 atomic_test_bit(insts[i].flags, BT_VOCS_CLIENT_FLAG_ACTIVE) && in lookup_vocs_by_handle()
48 insts[i].start_handle <= handle && insts[i].end_handle >= handle) { in lookup_vocs_by_handle()
49 return &insts[i]; in lookup_vocs_by_handle()
662 for (int i = 0; i < ARRAY_SIZE(insts); i++) { in bt_vocs_client_free_instance_get()
663 if (!atomic_test_and_set_bit(insts[i].flags, BT_VOCS_CLIENT_FLAG_ACTIVE)) { in bt_vocs_client_free_instance_get()
664 insts[i].vocs.client_instance = true; in bt_vocs_client_free_instance_get()
665 return &insts[i].vocs; in bt_vocs_client_free_instance_get()
Dcsip_set_coordinator.c167 for (int i = 0; i < ARRAY_SIZE(member->insts); i++) { in lookup_instance_by_set_info()
170 member_set_info = &member->insts[i].info; in lookup_instance_by_set_info()
412 inst = &client->set_member.insts[svc_inst->idx]; in sirk_notify_func()
480 set_info = &client->set_member.insts[svc_inst->idx].info; in size_notify_func()
540 inst = &client->set_member.insts[svc_inst->idx]; in lock_notify_func()
676 return read_sirk((struct bt_csip_set_coordinator_svc_inst *)member->insts[0].svc_inst); in csip_set_coordinator_discover_sets()
749 set_info = &client->set_member.insts[client->cur_inst->idx].info; in discover_func()
832 client->cur_inst->set_info = &client->set_member.insts[client->cur_inst->idx].info; in primary_discover_func()
887 set_info = &client->set_member.insts[client->cur_inst->idx].info; in csip_set_coordinator_discover_insts_read_rank_cb()
919 set_info = &client->set_member.insts[client->cur_inst->idx].info; in csip_set_coordinator_discover_insts_read_set_size_cb()
[all …]
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dcsip_set_coordinator.c112 shell_print(ctx_shell, "CSIS[%zu]: %p", i, &member->insts[i]); in csip_discover_cb()
113 shell_print(ctx_shell, "\tRank: %u", member->insts[i].info.rank); in csip_discover_cb()
114 shell_print(ctx_shell, "\tSet Size: %u", member->insts[i].info.set_size); in csip_discover_cb()
115 shell_print(ctx_shell, "\tLockable: %u", member->insts[i].info.lockable); in csip_discover_cb()
335 for (size_t j = 0U; j < ARRAY_SIZE(set_members[i]->insts); j++) { in cmd_csip_set_coordinator_discover_members()
337 &set_members[i]->insts[j]; in cmd_csip_set_coordinator_discover_members()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dcsip_set_coordinator_test.c92 const uint8_t rank = member->insts[i].info.rank; in csip_discover_cb()
93 const uint8_t set_size = member->insts[i].info.set_size; in csip_discover_cb()
94 const uint8_t lockable = member->insts[i].info.lockable; in csip_discover_cb()
96 printk("CSIS[%zu]: %p\n", i, &member->insts[i]); in csip_discover_cb()
121 primary_inst = &member->insts[0]; in csip_discover_cb()
Dcsip_notify_client_test.c35 if (member->insts->info.lockable) { in csip_discover_cb()
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dcsip.h312 struct bt_csip_set_coordinator_csis_inst insts[BT_CSIP_SET_COORDINATOR_MAX_CSIS_INSTANCES]; member