Home
last modified time | relevance | path

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

/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_bap_unicast.c33 static struct btp_bap_unicast_group cigs[CONFIG_BT_ISO_MAX_CIG]; variable
600 if (cigs[cig_id].in_use == true && in stream_released()
603 struct btp_bap_unicast_group *u_cig = &cigs[cig_id]; in stream_released()
1032 stream_params->qos = &cigs[u_stream->cig_id].qos[u_stream->cis_id]; in client_unicast_group_param_set()
1080 if (cigs[i].in_use == false) { in btp_bap_unicast_group_create()
1085 if (cigs[cig_id].in_use == true) { in btp_bap_unicast_group_create()
1086 struct btp_bap_unicast_group *u_cig = &cigs[cig_id]; in btp_bap_unicast_group_create()
1135 err = bt_bap_unicast_group_create(&param, &cigs[cig_id].cig); in btp_bap_unicast_group_create()
1141 cigs[cig_id].in_use = true; in btp_bap_unicast_group_create()
1142 cigs[cig_id].cig_id = cig_id; in btp_bap_unicast_group_create()
[all …]
/Zephyr-latest/subsys/bluetooth/host/
Diso.c77 struct bt_iso_cig cigs[CONFIG_BT_ISO_MAX_CIG]; variable
1938 __ASSERT(iso_chan->iso->iso.cig_id < ARRAY_SIZE(cigs), "Invalid cig_id %u", in get_cig()
1941 return &cigs[iso_chan->iso->iso.cig_id]; in get_cig()
1948 for (size_t i = 0; i < ARRAY_SIZE(cigs); i++) { in get_free_cig()
1949 if (cigs[i].state == BT_ISO_CIG_STATE_IDLE) { in get_free_cig()
1950 cigs[i].state = BT_ISO_CIG_STATE_CONFIGURED; in get_free_cig()
1951 cigs[i].id = i; in get_free_cig()
1952 sys_slist_init(&cigs[i].cis_channels); in get_free_cig()
1953 return &cigs[i]; in get_free_cig()
3562 for (size_t i = 0U; i < ARRAY_SIZE(cigs); i++) { in bt_iso_reset()
[all …]