Home
last modified time | relevance | path

Searched refs:src_cnt (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dcap_initiator_unicast_test.c58 size_t src_cnt[CAP_AC_MAX_CONN]; member
997 size_t src_cnt, in cap_initiator_ac_create_unicast_group() argument
1014 for (size_t i = 0U; i < src_cnt; i++) { in cap_initiator_ac_create_unicast_group()
1027 for (size_t i = 0U; i < src_cnt; i++) { in cap_initiator_ac_create_unicast_group()
1033 for (size_t j = 0; j < MAX(param->snk_cnt[i], param->src_cnt[i]); j++) { in cap_initiator_ac_create_unicast_group()
1041 if (param->src_cnt[i] > j) { in cap_initiator_ac_create_unicast_group()
1063 size_t src_cnt, in cap_initiator_ac_cap_unicast_start() argument
1095 for (size_t j = 0U; j < param->src_cnt[i]; j++) { in cap_initiator_ac_cap_unicast_start()
1113 if (src_ep_cnt != src_cnt) { in cap_initiator_ac_cap_unicast_start()
1115 src_cnt); in cap_initiator_ac_cap_unicast_start()
[all …]
Dgmap_ugg_test.c78 size_t src_cnt[GMAP_UNICAST_AC_MAX_CONN]; member
607 size_t src_cnt, in gmap_unicast_ac_create_unicast_group() argument
629 for (size_t i = 0U; i < src_cnt; i++) { in gmap_unicast_ac_create_unicast_group()
635 for (size_t j = 0; j < MAX(param->snk_cnt[i], param->src_cnt[i]); j++) { in gmap_unicast_ac_create_unicast_group()
643 if (param->src_cnt[i] > j) { in gmap_unicast_ac_create_unicast_group()
663 struct unicast_stream *src_uni_streams[], size_t src_cnt, in gmap_ac_cap_unicast_start() argument
696 for (size_t j = 0U; j < param->src_cnt[i]; j++) { in gmap_ac_cap_unicast_start()
714 if (src_ep_cnt != src_cnt) { in gmap_ac_cap_unicast_start()
716 src_cnt); in gmap_ac_cap_unicast_start()
729 for (size_t i = 0U; i < src_cnt; i++) { in gmap_ac_cap_unicast_start()
[all …]
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dcap_initiator.c561 struct shell_stream *src_uni_streams[], size_t src_cnt) in cap_ac_unicast_start() argument
593 for (size_t j = 0U; j < param->src_cnt[i]; j++) { in cap_ac_unicast_start()
613 if (src_ep_cnt != src_cnt) { in cap_ac_unicast_start()
615 src_ep_cnt, src_cnt); in cap_ac_unicast_start()
628 for (size_t i = 0U; i < src_cnt; i++) { in cap_ac_unicast_start()
648 for (size_t j = 0U; j < param->src_cnt[i]; j++) { in cap_ac_unicast_start()
753 size_t src_cnt = 0; in cap_ac_unicast() local
773 if (param->src_cnt[i] > BAP_UNICAST_AC_MAX_SRC) { in cap_ac_unicast()
774 shell_error(sh, "Invalid conn_src_cnt[%zu]: %zu", i, param->src_cnt[i]); in cap_ac_unicast()
816 for (size_t j = 0U; j < param->src_cnt[i]; j++) { in cap_ac_unicast()
[all …]
Dgmap.c275 .src_cnt = {0U}, in cmd_gmap_ac_1()
291 .src_cnt = {1U}, in cmd_gmap_ac_2()
307 .src_cnt = {1U}, in cmd_gmap_ac_3()
323 .src_cnt = {0U}, in cmd_gmap_ac_4()
339 .src_cnt = {1U}, in cmd_gmap_ac_5()
356 .src_cnt = {0U}, in cmd_gmap_ac_6_i()
372 .src_cnt = {0U, 0U}, in cmd_gmap_ac_6_ii()
390 .src_cnt = {0U, 1U}, in cmd_gmap_ac_7_ii()
406 .src_cnt = {1U}, in cmd_gmap_ac_8_i()
422 .src_cnt = {1U, 0U}, in cmd_gmap_ac_8_ii()
[all …]
Dbap.c817 struct shell_stream *src_uni_streams[], size_t src_cnt) in bap_ac_create_unicast_group() argument
835 for (size_t i = 0U; i < src_cnt; i++) { in bap_ac_create_unicast_group()
849 for (size_t i = 0U; i < src_cnt; i++) { in bap_ac_create_unicast_group()
856 for (size_t j = 0; j < MAX(param->snk_cnt[i], param->src_cnt[i]); j++) { in bap_ac_create_unicast_group()
864 if (param->src_cnt[i] > j) { in bap_ac_create_unicast_group()
3780 unsigned long snk_cnt, src_cnt; in cmd_init() local
3798 src_cnt = shell_strtoul(argv[2], 0, &err); in cmd_init()
3799 if (src_cnt > CONFIG_BT_ASCS_MAX_ASE_SRC_COUNT) { in cmd_init()
3801 src_cnt, CONFIG_BT_ASCS_MAX_ASE_SRC_COUNT); in cmd_init()
3806 unicast_server_param.src_cnt = src_cnt; in cmd_init()
[all …]
Daudio.h217 size_t src_cnt[BAP_UNICAST_AC_MAX_CONN]; member
230 struct shell_stream *src_uni_streams[], size_t src_cnt);
/Zephyr-latest/subsys/bluetooth/audio/
Dbap_unicast_server.c39 return bt_ascs_register(param->snk_cnt, param->src_cnt); in bt_bap_unicast_server_register()
Dascs_internal.h361 int bt_ascs_register(uint8_t snk_cnt, uint8_t src_cnt);
Dascs.c3150 static void configure_ase_char(uint8_t snk_cnt, uint8_t src_cnt) in configure_ase_char() argument
3153 uint8_t src_ases_to_rem = CONFIG_BT_ASCS_MAX_ASE_SRC_COUNT - src_cnt; in configure_ase_char()
3176 size_t src_start_idx = ascs_svc.attr_count - (src_cnt * ASCS_ASE_CHAR_ATTR_COUNT); in configure_ase_char()
3180 for (size_t i = 0; i < src_cnt * ASCS_ASE_CHAR_ATTR_COUNT; i++) { in configure_ase_char()
3188 int bt_ascs_register(uint8_t snk_cnt, uint8_t src_cnt) in bt_ascs_register() argument
3199 src_cnt > CONFIG_BT_ASCS_MAX_ASE_SRC_COUNT) { in bt_ascs_register()
3206 if (snk_cnt == 0 && src_cnt == 0) { in bt_ascs_register()
3212 configure_ase_char(snk_cnt, src_cnt); in bt_ascs_register()
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dbap.h942 uint8_t src_cnt; member