Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/tests/bluetooth/tester/src/audio/
Dbtp_bap_unicast.c32 static struct btp_bap_unicast_group cigs[CONFIG_BT_ISO_MAX_CIG]; variable
606 if (cigs[cig_id].in_use == true && in stream_released()
609 struct btp_bap_unicast_group *u_cig = &cigs[cig_id]; in stream_released()
1019 stream_params->qos = &cigs[u_stream->cig_id].qos[u_stream->cis_id]; in client_unicast_group_param_set()
1067 if (cigs[i].in_use == false) { in btp_bap_unicast_group_create()
1072 if (cigs[cig_id].in_use == true) { in btp_bap_unicast_group_create()
1073 struct btp_bap_unicast_group *u_cig = &cigs[cig_id]; in btp_bap_unicast_group_create()
1122 err = bt_bap_unicast_group_create(&param, &cigs[cig_id].cig); in btp_bap_unicast_group_create()
1128 cigs[cig_id].in_use = true; in btp_bap_unicast_group_create()
1129 *out_unicast_group = &cigs[cig_id]; in btp_bap_unicast_group_create()
[all …]
/Zephyr-Core-3.7.0/subsys/bluetooth/host/
Diso.c74 struct bt_iso_cig cigs[CONFIG_BT_ISO_MAX_CIG]; variable
1864 __ASSERT(iso_chan->iso->iso.cig_id < ARRAY_SIZE(cigs), in get_cig()
1867 return &cigs[iso_chan->iso->iso.cig_id]; in get_cig()
1874 for (size_t i = 0; i < ARRAY_SIZE(cigs); i++) { in get_free_cig()
1875 if (cigs[i].state == BT_ISO_CIG_STATE_IDLE) { in get_free_cig()
1876 cigs[i].state = BT_ISO_CIG_STATE_CONFIGURED; in get_free_cig()
1877 cigs[i].id = i; in get_free_cig()
1878 sys_slist_init(&cigs[i].cis_channels); in get_free_cig()
1879 return &cigs[i]; in get_free_cig()
3421 for (size_t i = 0U; i < ARRAY_SIZE(cigs); i++) { in bt_iso_reset()
[all …]