Home
last modified time | relevance | path

Searched refs:set_size (Results 1 – 11 of 11) sorted by relevance

/Zephyr-Core-3.4.0/tests/bsim/bluetooth/audio/src/
Dcsip_set_coordinator_test.c75 const uint8_t set_size = member->insts[i].info.set_size; in csip_discover_cb() local
80 printk("\tSet Size: %u\n", set_size); in csip_discover_cb()
89 if ((expect_set_size && set_size == 0U) || (!expect_set_size && set_size != 0U)) { in csip_discover_cb()
90 FAIL("Unexpected set_size: %u %u", expect_set_size, set_size); in csip_discover_cb()
174 if (inst->info.set_size == 0) { in csip_found()
177 printk("Found member (%u / %u)\n", members_found, inst->info.set_size); in csip_found()
210 if (inst->info.set_size > 0) { in discover_members_timer_handler()
211 FAIL("Could not find all members (%u / %u)\n", members_found, inst->info.set_size); in discover_members_timer_handler()
318 if (inst->info.set_size > 0) { in test_main()
319 WAIT_FOR_COND(members_found == inst->info.set_size); in test_main()
Dcsip_set_member_test.c17 .set_size = 3,
139 param.set_size = strtol(argv[++argn], NULL, 10); in test_args()
Dcap_acceptor_test.c501 .set_size = 3, in init()
/Zephyr-Core-3.4.0/subsys/bluetooth/audio/shell/
Dcsip_set_member.c68 .set_size = 2, in cm_csip_set_member_register()
80 unsigned long set_size; in cm_csip_set_member_register() local
88 set_size = shell_strtoul(argv[argn], 0, &err); in cm_csip_set_member_register()
96 if (set_size > UINT8_MAX) { in cm_csip_set_member_register()
98 set_size); in cm_csip_set_member_register()
103 param.set_size = set_size; in cm_csip_set_member_register()
Dcap_acceptor.c80 .set_size = 2, in cmd_cap_acceptor_init()
94 unsigned long set_size; in cmd_cap_acceptor_init() local
102 set_size = shell_strtoul(argv[argn], 0, &err); in cmd_cap_acceptor_init()
110 if (set_size > UINT8_MAX) { in cmd_cap_acceptor_init()
112 set_size); in cmd_cap_acceptor_init()
117 param.set_size = set_size; in cmd_cap_acceptor_init()
Dcsip_set_coordinator.c103 shell_print(ctx_shell, "\tSet Size: %u", member->insts[i].info.set_size); in csip_discover_cb()
197 members_found, cur_inst->info.set_size); in csip_found()
199 if (members_found == cur_inst->info.set_size) { in csip_found()
226 members_found, cur_inst->info.set_size); in discover_members_timer_handler()
299 if (cur_inst->info.set_size > ARRAY_SIZE(set_members)) { in cmd_csip_set_coordinator_discover_members()
306 cur_inst->info.set_size, ARRAY_SIZE(set_members)); in cmd_csip_set_coordinator_discover_members()
/Zephyr-Core-3.4.0/subsys/bluetooth/audio/
Dcsip_set_member.c44 uint8_t set_size; member
305 LOG_DBG("%u", svc_inst->set_size); in read_set_size()
308 &svc_inst->set_size, in read_set_size()
309 sizeof(svc_inst->set_size)); in read_set_size()
687 if (param->rank > 0 && param->set_size > 0 && param->rank > param->set_size) { in valid_register_param()
689 param->rank, param->set_size); in valid_register_param()
789 if (param->set_size == 0U) { in bt_csip_set_member_register()
806 inst->set_size = param->set_size; in bt_csip_set_member_register()
Dcsip_set_coordinator.c163 if (member_set_info->set_size == set_info->set_size && in lookup_instance_by_set_info()
440 uint8_t set_size; in size_notify_func() local
458 if (length == sizeof(set_size)) { in size_notify_func()
465 (void)memcpy(&set_size, data, length); in size_notify_func()
466 LOG_DBG("Set size updated from %u to %u", set_info->set_size, set_size); in size_notify_func()
468 set_info->set_size = set_size; in size_notify_func()
894 if (length == sizeof(set_info->set_size)) { in csip_set_coordinator_discover_insts_read_set_size_cb()
895 (void)memcpy(&set_info->set_size, data, length); in csip_set_coordinator_discover_insts_read_set_size_cb()
896 LOG_DBG("%u", set_info->set_size); in csip_set_coordinator_discover_insts_read_set_size_cb()
/Zephyr-Core-3.4.0/include/zephyr/bluetooth/audio/
Dcsip.h117 uint8_t set_size; member
238 uint8_t set_size; member
/Zephyr-Core-3.4.0/samples/bluetooth/tmap_peripheral/src/
Dcsip_set_member.c32 .set_size = 2, in csip_set_member_init()
/Zephyr-Core-3.4.0/samples/bluetooth/hap_ha/src/
Dcsip_set_member.c41 .set_size = 2, in csip_set_member_init()