Home
last modified time | relevance | path

Searched refs:locked_members (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dcsip_set_coordinator_test.c424 const struct bt_csip_set_coordinator_set_member *locked_members[CONFIG_BT_MAX_CONN]; in test_main() local
430 for (size_t i = 0; i < ARRAY_SIZE(locked_members); i++) { in test_main()
431 locked_members[i] = set_members[i]; in test_main()
435 ordered_access(locked_members, connected_member_count, false); in test_main()
440 err = bt_csip_set_coordinator_lock(locked_members, connected_member_count, in test_main()
451 ordered_access(locked_members, connected_member_count, primary_inst->info.lockable); in test_main()
458 err = bt_csip_set_coordinator_release(locked_members, connected_member_count, in test_main()
469 ordered_access(locked_members, connected_member_count, false); in test_main()
478 err = bt_csip_set_coordinator_lock(locked_members, connected_member_count, in test_main()
492 err = bt_csip_set_coordinator_release(locked_members, connected_member_count, in test_main()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dcsip_set_coordinator.c42 static const struct bt_csip_set_coordinator_set_member *locked_members[CONFIG_BT_MAX_CONN]; variable
394 for (size_t i = 0; i < ARRAY_SIZE(locked_members); i++) { in cmd_csip_set_coordinator_lock_set()
396 locked_members[conn_count++] = set_members[i]; in cmd_csip_set_coordinator_lock_set()
400 err = bt_csip_set_coordinator_lock(locked_members, conn_count, in cmd_csip_set_coordinator_lock_set()
420 for (size_t i = 0; i < ARRAY_SIZE(locked_members); i++) { in cmd_csip_set_coordinator_release_set()
422 locked_members[conn_count++] = set_members[i]; in cmd_csip_set_coordinator_release_set()
426 err = bt_csip_set_coordinator_release(locked_members, conn_count, in cmd_csip_set_coordinator_release_set()