Lines Matching refs:cigs
77 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()
3563 struct bt_iso_cig *cig = &cigs[i]; in bt_iso_reset()